diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/-greeter.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/-greeter.html index 01dc966b7d..effeeedb1f 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/-greeter.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/-greeter.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/greet.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/greet.html index a79ea579ca..cead1d0654 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/greet.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/greet.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/index.html index 3dffe70824..9062e7b234 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/name.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/name.html index c2a58cdad1..ea791c0bf5 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/name.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/-greeter/name.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/index.html index bca2959cef..ecbc898461 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/main.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/main.html index 903f50a166..eeee0b5d86 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/main.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/-dokka -gradle -example/demo/main.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/arrow_down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/arrow_down.svg deleted file mode 100644 index 2478845270..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/arrow_down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/burger.svg deleted file mode 100644 index 40f73c5369..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/burger.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/theme-toggle.svg deleted file mode 100644 index fcc900f389..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/theme-toggle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/index.html index 9bbec60b3b..7d3ffb539b 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/navigation.html index c4ac0d3edf..5fd1fcafae 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/navigation.html @@ -1,12 +1,12 @@ -
- -
- -
- +
+ +
+ + -
- +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/scripts/main.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/scripts/main.js index eb22535ed1..90382844b7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/scripts/main.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/scripts/main.js @@ -49,5 +49,5 @@ t(5228);var r=t(6540),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Sy Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",n=0;n{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("span",{children:r}),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.847 14.861A6.99 6.99 0 0017.587 11a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM22.587 18a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("div",Ou({className:"template-title"},{children:r})),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M15.142 6.28a6.497 6.497 0 10-2.421 8.866c.207-.122.409-.256.602-.4L19.587 21 21 19.586l-6.261-6.251a6.51 6.51 0 00.402-7.055zm-3.413 7.129a4.5 4.5 0 11-4.463-7.814 4.5 4.5 0 014.463 7.814z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,maxHeight:510,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t { navigationPageText.then(data => { document.getElementById("sideMenu").innerHTML = data; }).then(() => { - document.querySelectorAll(".overview > a").forEach(link => { + document.querySelectorAll(".toc--row > a").forEach(link => { link.setAttribute("href", pathToRoot + link.getAttribute("href")); }) }).then(() => { - document.querySelectorAll(".sideMenuPart").forEach(nav => { - if (!nav.classList.contains("hidden")) - nav.classList.add("hidden") + document.querySelectorAll(".toc--part").forEach(nav => { + if (!nav.classList.contains("toc--part_hidden")) + nav.classList.add("toc--part_hidden") }) }).then(() => { revealNavigationForCurrentPage() @@ -33,14 +33,14 @@ displayNavigationFromPage = () => { revealNavigationForCurrentPage = () => { let pageId = document.getElementById("content").attributes["pageIds"].value.toString(); - let parts = document.querySelectorAll(".sideMenuPart"); + let parts = document.querySelectorAll(".toc--part"); let found = 0; do { parts.forEach(part => { if (part.attributes['pageId'].value.indexOf(pageId) !== -1 && found === 0) { found = 1; - if (part.classList.contains("hidden")) { - part.classList.remove("hidden"); + if (part.classList.contains("toc--part_hidden")) { + part.classList.remove("toc--part_hidden"); part.setAttribute('data-active', ""); } revealParents(part) @@ -50,25 +50,25 @@ revealNavigationForCurrentPage = () => { } while (pageId.indexOf("/") !== -1 && found === 0) }; revealParents = (part) => { - if (part.classList.contains("sideMenuPart")) { - if (part.classList.contains("hidden")) - part.classList.remove("hidden"); + if (part.classList.contains("toc--part")) { + if (part.classList.contains("toc--part_hidden")) + part.classList.remove("toc--part_hidden"); revealParents(part.parentNode) } }; scrollNavigationToSelectedElement = () => { - let selectedElement = document.querySelector('div.sideMenuPart[data-active]') + let selectedElement = document.querySelector('div.toc--part[data-active]') if (selectedElement == null) { // nothing selected, probably just the main page opened return } - let hasIcon = selectedElement.querySelectorAll(":scope > div.overview span.nav-icon").length > 0 + let hasIcon = selectedElement.querySelectorAll(":scope > div.toc--row span.toc--icon").length > 0 - // for instance enums also have children and are expandable, but are not package/module elements + // for an instance enums also have children and are expandable but are not package/module elements let isPackageElement = selectedElement.children.length > 1 && !hasIcon if (isPackageElement) { - // if package is selected or linked, it makes sense to align it to top + // if a package is selected or linked, it makes sense to align it to top // so that you can see all the members it contains selectedElement.scrollIntoView(true) } else { @@ -84,9 +84,9 @@ scrollNavigationToSelectedElement = () => { /* This is a work-around for safari being IE of our times. - It doesn't fire a DOMContentLoaded, presumabely because eventListener is added after it wants to do it + It doesn't fire a DOMContentLoaded, presumably because eventListener is added after it wants to do it */ -if (document.readyState == 'loading') { +if (document.readyState === 'loading') { window.addEventListener('DOMContentLoaded', () => { displayNavigationFromPage() }) diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/scripts/platform-content-handler.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/scripts/platform-content-handler.js index 6ecfc120a6..118de3848a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/scripts/platform-content-handler.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/scripts/platform-content-handler.js @@ -52,9 +52,10 @@ window.addEventListener('load', () => { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) initializeFiltering() } - initTabs() // initTabs comes from ui-kit/tabs + if (typeof initTabs === 'function') { + initTabs() // initTabs comes from ui-kit/tabs + } handleAnchor() - initHidingLeftNavigation() topNavbarOffset = document.getElementById('navigation-wrapper') darkModeSwitch() }) @@ -115,21 +116,6 @@ const samplesAreEnabled = () => { } } - -const initHidingLeftNavigation = () => { - document.getElementById("menu-toggle").onclick = function (event) { - //Events need to be prevented from bubbling since they will trigger next handler - event.preventDefault(); - event.stopPropagation(); - event.stopImmediatePropagation(); - document.getElementById("leftColumn").classList.toggle("open"); - } - - document.getElementById("main").onclick = () => { - document.getElementById("leftColumn").classList.remove("open"); - } -} - // Hash change is needed in order to allow for linking inside the same page with anchors // If this is not present user is forced to refresh the site in order to use an anchor window.onhashchange = handleAnchor @@ -274,6 +260,11 @@ function removeSourcesetFilterFromCache(sourceset) { } } +function refreshSourcesetsCache() { + safeLocalStorage.setItem('inactive-filters', JSON.stringify(filteringContext.restrictedDependencies.filter(p => -1 === filteringContext.activeFilters.indexOf(p)))) +} + + function togglePlatformDependent(e, container) { let target = e.target if (target.tagName !== 'BUTTON') return; @@ -322,14 +313,18 @@ function refreshPlaygroundSamples() { function refreshNoContentNotification() { const element = document.getElementsByClassName("main-content")[0] + const filteredMessage = document.querySelector(".filtered-message") + if(filteringContext.activeFilters.length === 0){ element.style.display = "none"; - const appended = document.createElement("div") - appended.className = "filtered-message" - appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" - sourcesetNotification = appended - element.parentNode.prepend(appended) + if (!filteredMessage) { + const appended = document.createElement("div") + appended.className = "filtered-message" + appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" + sourcesetNotification = appended + element.parentNode.prepend(appended) + } } else { if(sourcesetNotification) sourcesetNotification.remove() element.style.display = "block" @@ -369,4 +364,8 @@ function refreshFilterButtons() { f.removeAttribute("data-active") } }) + document.querySelectorAll("#filter-section .checkbox--input") + .forEach(f => { + f.checked = filteringContext.activeFilters.indexOf(f.getAttribute("data-filter")) !== -1; + }) } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/font-jb-sans-auto.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/font-jb-sans-auto.css index 2398f70f52..18d25d3b85 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/font-jb-sans-auto.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/font-jb-sans-auto.css @@ -8,6 +8,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; + font-display: swap; } /* Regular weight */ @font-face { @@ -15,6 +16,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff'); font-weight: 400; font-style: normal; + font-display: swap; } /* SemiBold weight */ @font-face { @@ -22,6 +24,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; + font-display: swap; } @supports (font-variation-settings: normal) { @@ -32,5 +35,6 @@ url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations'); font-weight: 100 900; font-style: normal; + font-display: swap; } } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/logo-styles.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/logo-styles.css index 988268da69..8281d5ca63 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/logo-styles.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/logo-styles.css @@ -4,6 +4,6 @@ :root { --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; + --dokka-logo-height: 28px; + --dokka-logo-width: 28px; } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/main.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/main.css index c90da07710..2a0c8dfb30 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/main.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/main.css @@ -1,6 +1,18 @@ /*! * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:rgba(0,0,0,0);fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;margin:0;padding:0;font-size:0;line-height:0}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:calc(100% - 322px) !important;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0} /* stylelint-disable color-no-hex */ .light, diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/style.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/style.css index 628d27dd02..c64fa37161 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/style.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/styles/style.css @@ -8,7 +8,7 @@ /* --- root styles --- */ :root { --default-gray: #f4f4f4; - --default-font-color: black; + --default-font-color: rgb(0, 0, 0); --header-font-color: var(--default-font-color); --breadcrumb-font-color: #637282; @@ -217,9 +217,9 @@ td:first-child { /* ---dark theme --- */ .theme-dark { - --background-color: #27282c; + --background-color: #262628; --color-dark: #3d3d41; - --default-font-color: hsla(0, 0%, 100%, 0.8); + --default-font-color: rgba(255, 255, 255, 0.96); --border-color: hsla(0, 0%, 100%, 0.2); --code-background: hsla(0, 0%, 100%, 0.05); --breadcrumb-font-color: #8c8c8e; @@ -249,170 +249,6 @@ td:first-child { height: 100%; } -/* --- Navigation styles --- */ -.navigation { - display: flex; - justify-content: space-between; - - color: #fff; - background-color: var(--color-dark); - font-family: var(--default-font-family); - letter-spacing: -0.1px; - - /* Reset margin and use padding for border */ - margin-left: 0; - margin-right: 0; - padding: 10px var(--horizontal-spacing-for-content); - - z-index: 4; -} - -.navigation--inner { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - flex: 1 1 auto; -} - -.navigation--inner, .navigation-title { - min-height: 40px; -} - -.navigation-title, .filter-section { - align-items: center; -} - -.navigation-title { - display: flex; - align-items: center; -} - -/* --- Navigation MENU --- */ -.menu-toggle { - color: var(--background-color); - line-height: 0; - font-size: 0; - text-indent: -9999px; - - background: transparent; - border: none; - padding: 0; - margin-right: 16px; - outline: none; - - transition: margin .2s ease-out; - z-index: 5; -} - -@media (min-width: 760px) { - .menu-toggle { - display: none; - } -} - -.menu-toggle::before { - display: block; - content: ''; - background: url('../images/burger.svg') no-repeat center; - height: 28px; - width: 28px; -} - -/* /--- Navigation MENU --- */ - -.library-version { - position: relative; - top: -4px; - margin-left: 3px; - - color: rgba(255, 255, 255, .7); - font-size: 13px; - font-weight: normal; - line-height: 16px; -} - -.filter-section { - z-index: 0; -} - -.no-js .filter-section { - display: none; -} - -@media (min-width: 760px) { - .filter-section { - padding: 5px 0 5px; - } -} - -/* --- Navigation controls --- */ -.navigation-controls { - display: flex; - margin-left: 4px; -} - -@media (min-width: 760px) { - .navigation-controls { - align-items: center; - } -} - -.no-js .navigation-controls { - display: none; -} - -.navigation-controls--btn { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; - height: 40px; - border-radius: 50%; - background-color: inherit; - background-position: 50% 50%; - padding: 0; - border: none; - cursor: pointer; - font-size: 0; - line-height: 0; - transition: background-color 200ms ease-in-out; - will-change: background-color; -} - -.navigation-controls--btn:hover { - background-color: var(--white-10); -} - -.navigation-controls--theme { - background-image: url("../images/theme-toggle.svg"); - background-repeat: no-repeat; -} - -@media (max-width: 759px) { - .navigation-controls--theme { - display: none; - } -} - -.navigation-controls--homepage { - background-image: url("../images/homepage.svg"); - background-repeat: no-repeat; - background-size: 24px 24px; -} - -@media (max-width: 759px) { - .navigation-controls--homepage { - display: none; - } -} - -.navigation .platform-selector:not([data-active]) { - color: #fff; -} - -/* /--- Navigation controls --- */ -/* /--- Navigation styles --- */ - /* --- Layout styles --- */ #container { @@ -421,7 +257,7 @@ td:first-child { min-height: 0; /* full height exclude header */ } -#container > .sidebar, #container > #main { +#container > #main { overflow: auto; } @@ -431,55 +267,6 @@ td:first-child { flex: 1 1 0; /* full width, but no affects for sidebar */ } -.sidebar { - display: flex; - flex-direction: column; - box-sizing: border-box; - border-right: 1px solid var(--border-color); - width: var(--sidebar-width); -} - -.no-js .sidebar { - display: none; -} - -@media (max-width: 759px) { - #container { - position: relative; - } - - .sidebar { - position: absolute; - top: 0; - bottom: 0; - box-sizing: border-box; - background: var(--background-color); - margin-left: calc(-1 * var(--sidebar-width)); - transition: margin .2s ease-out; - z-index: 4; - } - - .sidebar.open { - margin-left: 0; - } - - .sidebar.open ~ #main .navigation-controls--search { - display: none; - } - - .sidebar.open ~ #main .menu-toggle { - margin-left: var(--sidebar-width); - } -} - -.sidebar--inner { - font-size: 12px; - font-weight: 400; - line-height: 16px; - padding-top: 22px; - padding-bottom: 16px; -} - /* /--- Layout styles --- */ /* --- Main Content styles --- */ @@ -608,16 +395,6 @@ code.paragraph { display: block; } -.overview > .navButton { - position: absolute; - align-items: center; - display: flex; - justify-content: flex-end; - padding: 2px 2px 2px 0; - margin-right: 5px; - cursor: pointer; -} - .strikethrough { text-decoration: line-through; } @@ -761,166 +538,6 @@ code:not(.block) { word-break: break-word; } -.sideMenuPart > .overview { - display: flex; - align-items: center; - position: relative; - user-select: none; /* there's a weird bug with text selection */ - padding: 8px 0; -} - -.sideMenuPart a { - display: block; - align-items: center; - color: var(--default-font-color); - overflow: hidden; - padding-left: 23px; -} - -.sideMenuPart a:hover { - text-decoration: none; - color: var(--default-font-color); -} - -.sideMenuPart > .overview:before { - box-sizing: border-box; - content: ''; - top: 0; - width: var(--sidebar-width); - right: 0; - bottom: 0; - position: absolute; - z-index: -1; -} - -.overview:hover:before { - background-color: var(--navigation-highlight-color); -} - -#nav-submenu { - padding-left: 24px; -} - -.sideMenuPart { - padding-left: 12px; - box-sizing: border-box; -} - -.sideMenuPart.hidden > .overview .navButtonContent::before { - transform: rotate(0deg); -} - -.sideMenuPart > .overview .navButtonContent::before { - content: ''; - - -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - -webkit-mask-size: cover; - mask-size: cover; - background-color: var(--default-font-color); - - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - transform: rotate(90deg); - width: 16px; - height: 16px; -} - -.sideMenuPart[data-active] > .overview .navButtonContent::before { - background-color: var(--default-white); -} - -.sideMenuPart.hidden > .navButton .navButtonContent::after { - content: '\02192'; -} - -.sideMenuPart.hidden > .sideMenuPart { - display: none; -} - -.overview .nav-link-grid { - display: grid; - grid-template-columns: 16px auto; /* first is the icon, then name */ - grid-gap: 6px; - align-items: center; -} - -.nav-icon { - width: 16px; - height: 16px; -} - -.nav-icon.class::before { - content: url("../images/nav-icons/class.svg"); -} - -.nav-icon.class-kt::before { - content: url("../images/nav-icons/class-kotlin.svg"); -} - -.nav-icon.function::before { - content: url("../images/nav-icons/function.svg"); -} - -.nav-icon.enum-class::before { - content: url("../images/nav-icons/enum.svg"); -} - -.nav-icon.enum-class-kt::before { - content: url("../images/nav-icons/enum-kotlin.svg"); -} - -.nav-icon.annotation-class::before { - content: url("../images/nav-icons/annotation.svg"); -} - -.nav-icon.annotation-class-kt::before { - content: url("../images/nav-icons/annotation-kotlin.svg"); -} - -.nav-icon.abstract-class::before { - content: url("../images/nav-icons/abstract-class.svg"); -} - -.nav-icon.abstract-class-kt::before { - content: url("../images/nav-icons/abstract-class-kotlin.svg"); -} - -.nav-icon.exception-class::before { - content: url("../images/nav-icons/exception-class.svg"); -} - -.nav-icon.interface::before { - content: url("../images/nav-icons/interface.svg"); -} - -.nav-icon.interface-kt::before { - content: url("../images/nav-icons/interface-kotlin.svg"); -} - -.nav-icon.object::before { - content: url("../images/nav-icons/object.svg"); -} - -.nav-icon.typealias-kt::before { - content: url("../images/nav-icons/typealias-kotlin.svg"); -} - -.nav-icon.val::before { - content: url("../images/nav-icons/field-value.svg"); -} - -.nav-icon.var::before { - content: url("../images/nav-icons/field-variable.svg"); -} - -.filtered > a, .filtered > .navButton { - display: none; -} - - .brief { white-space: pre-wrap; overflow: hidden; @@ -1037,88 +654,6 @@ p.paragraph img { display: none !important; } -.platform-tags, .filter-section { - display: flex; - flex-wrap: wrap; - margin-bottom: -8px; - margin-left: -4px; -} - -.platform-tag { - --platform-tag-color: #bababb; - border: 0 none; - margin-right: 4px; - margin-bottom: 8px; - - font-family: var(--default-font-family); - font-size: 13px; - line-height: 1.5; - text-transform: capitalize; -} - -.platform-tag.js-like, .platform-tag.jvm-like, .platform-tag.wasm-like { - text-transform: uppercase; -} - -.filter-section .platform-tag { - cursor: pointer; - border-radius: 4px; - padding: 2px 16px; -} - -.filter-section .platform-tag.jvm-like[data-active], .platform-tags .platform-tag.jvm-like { - --platform-tag-color: #4dbb5f; -} - -.filter-section .platform-tag.js-like[data-active], .platform-tags .platform-tag.js-like { - --platform-tag-color: #ffc700; -} - -.filter-section .platform-tag.native-like[data-active], .platform-tags .platform-tag.native-like { - --platform-tag-color: #E082F3; -} - -.filter-section .platform-tag.wasm-like[data-active], .platform-tags .platform-tag.wasm-like { - --platform-tag-color: #9585F9; -} - -.filter-section .platform-tag[data-active]:hover { - color: #fff; - background-color: rgba(186, 186, 187, .7); -} - -.filter-section .platform-tag:not([data-active]) { - color: #fff; - /* Safari doesn't work correctly for `outline` with `border-radius` */ - /* outline: 1px solid rgba(255,255,255,.6); */ - /* ...use `box-shadow` instead: */ - box-shadow: 0 0 0 1px rgb(255 255 255 / 60%); - background-color: rgba(255,255,255,.05); -} - -.filter-section .platform-tag[data-active] { - color: #19191c; - background-color: var(--platform-tag-color); -} - -.platform-tags .platform-tag { - display: flex; - align-items: center; -} - -.platform-tags .platform-tag::before { - display: inline-block; - content: ''; - border-radius: 50%; - background: var(--platform-tag-color); - margin: 0 4px 0 8px; - height: 8px; - width: 8px; - - font-size: 13px; - line-height: 1.6; -} - td.content { padding-left: 24px; padding-top: 16px; @@ -1234,14 +769,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o padding: 8px; } -.sideMenuPart[data-active] > .overview:before { - background: var(--sidemenu-section-active-color); -} - -.sideMenuPart[data-active] > .overview > a { - color: var(--default-white); -} - .table { display: flex; flex-direction: column; @@ -1408,34 +935,3 @@ div.runnablesample { } /* /--- footer --- */ - -/* Logo styles */ -:root { - --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; -} - -.library-name--link { - display: flex; - align-items: center; - color: #fff; - font-weight: 530; -} - -.library-name--link::before { - content: ''; - background: var(--dokka-logo-image-url) center no-repeat; - background-size: var(--dokka-logo-height) var(--dokka-logo-width); - margin-right: 5px; - width: var(--dokka-logo-height); - height: var(--dokka-logo-width); -} - -@media (max-width: 759px) { - .library-name--link::before { - display: none; - } -} - -/* / Logo styles */ diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/abstract-class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/abstract-class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/abstract-class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/abstract-class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/abstract-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/abstract-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/abstract-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/abstract-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/annotation-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/annotation-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/annotation-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/annotation-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/annotation.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/annotation.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/annotation.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/annotation.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/arrow-down.svg similarity index 59% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/homepage.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/arrow-down.svg index e3c83b1ce3..ca54658d3c 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/homepage.svg +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/arrow-down.svg @@ -1,3 +1,3 @@ - + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/burger.svg new file mode 100644 index 0000000000..a26f194dc4 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/burger.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/checkbox-off.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/checkbox-off.svg new file mode 100644 index 0000000000..a5117e8d9a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/checkbox-off.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/checkbox-on.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/checkbox-on.svg new file mode 100644 index 0000000000..71891d57dd --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/checkbox-on.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/cross.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/cross.svg new file mode 100644 index 0000000000..232069f85e --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/enum-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/enum-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/enum-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/enum-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/enum.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/enum.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/enum.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/enum.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/exception-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/exception-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/exception-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/exception-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/field-value.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/field-value.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/field-value.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/field-value.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/field-variable.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/field-variable.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/field-variable.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/field-variable.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/filter.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/filter.svg new file mode 100644 index 0000000000..be62ea5bf3 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/filter.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/function.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/function.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/function.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/function.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/homepage.svg new file mode 100644 index 0000000000..9a8927a40a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/interface-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/interface-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/interface-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/interface-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/interface.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/interface.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/interface.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/interface.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/object.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/object.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/object.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/object.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/placeholder.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/placeholder.svg new file mode 100644 index 0000000000..e8129621d2 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/placeholder.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/theme-toggle.svg new file mode 100644 index 0000000000..490263f391 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/theme-toggle.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/typealias-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/typealias-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/nav-icons/typealias-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/assets/typealias-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/ui-kit.min.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/ui-kit.min.css index 65bf50d52d..349ee87bfe 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/ui-kit.min.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/ui-kit.min.css @@ -1 +1 @@ -:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-nav-bar:#27282c;--color-dark-theme-bg:#262628;--color-text-black:#000;--color-text-white:hsla(0,0%,100%,.96);--color-text-light-black:rgba(0,0,0,.7);--color-text-light-white:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w10:hsla(0,0%,100%,.1);--color-w20:hsla(0,0%,100%,.2);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 13px/24px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono)}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none} +.button{align-items:center;background-color:transparent;border:none;border-radius:4px;border-radius:var(--size-s1);box-sizing:border-box;color:#000;color:var(--color-text);cursor:pointer;display:flex;height:40px;justify-content:center;letter-spacing:.045em;padding:8px 12px;padding:var(--size-s2) 12px}.button[\:has\(\:first-child\)]{gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}.button:has(:first-child){gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}@media(hover:hover){.button:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.button:active{background-color:#307fff;background-color:var(--color-key-blue)}.button:disabled{cursor:not-allowed;opacity:.5}.button.focus-visible{outline:var(--focus-outline)}.button:focus-visible{outline:var(--focus-outline)}.theme-dark .button{color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.theme-dark .button:hover{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.button_background{background-color:#fff;background-color:var(--color-w100)}.theme-dark .button_background{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.theme-dark .button_background:hover{background-color:hsla(0,0%,100%,.05);background-color:var(--color-w05)}.button_dropdown{font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:8px;padding:var(--size-s2)}.button_dropdown:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;content:"";display:block;filter:invert(1);height:24px;height:var(--size-m1);transform:rotate(0);width:24px;width:var(--size-m1);will-change:transform}.theme-dark .button_dropdown:after{filter:none}.button_dropdown_active{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.button_dropdown_active:hover,.theme-dark .button_dropdown_active:hover{background-color:#639fff}.button_dropdown_active:after{filter:invert(0);transform:rotate(-180deg)}.checkbox{cursor:pointer;display:inline-block;position:relative}.checkbox--input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;visibility:hidden}.checkbox--icon{background-image:url(assets/checkbox-off.svg);height:24px;height:var(--size-m1);margin-left:-32px;margin-left:calc(var(--size-m2)*-1);position:absolute;width:24px;width:var(--size-m1)}.checkbox--input:checked+.checkbox--icon{background-image:url(assets/checkbox-on.svg)}.checkbox--input:disabled+.checkbox--icon{opacity:.2}.checkbox--input.focus-visible{outline:var(--focus-outline)}.checkbox--input:focus-visible{outline:var(--focus-outline)}.dropdown{position:relative}@media(max-width:899px){.dropdown{position:static}}.dropdown--list{background-color:#323237;background-color:var(--color-background-nav-dt);border:1px solid #56565f;box-shadow:0 2px 8px 0 rgba(0,0,0,.251);display:none;max-height:400px;max-width:360px;min-width:272px;overflow-y:auto;padding:12px 0;position:absolute;right:0;top:44px;-webkit-transform:translateZ(0);width:-moz-fit-content;width:fit-content;z-index:10}@media(max-width:899px){.dropdown--list{border:none;height:100vh;max-height:none;padding:0;right:0;top:0}}@media(max-width:439px){.dropdown--list{max-width:none;width:100vw}}.dropdown--list_positioned_right{right:0}.dropdown--list_positioned_left{left:0}@media(max-width:899px){.dropdown--list_positioned_left{left:auto}}.dropdown--list_expanded{display:block}@media(min-width:900px){.dropdown--list_toc-list{background-color:transparent;border:none;box-shadow:none;display:block;max-height:none;max-width:none;min-width:100%;padding:0;position:relative;top:0}}@media(min-width:440px)and (max-width:899px){.dropdown--list_toc-list{width:408px}}.dropdown--option{background-color:#323237;background-color:var(--color-background-nav-dt);border:none;color:var(--color-text-nav-dt);cursor:pointer;display:block;font:400 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-m);letter-spacing:-.03em;list-style-type:none;padding:8px 16px;padding:var(--size-s2) var(--size-s3);position:relative}.dropdown--option:hover{background-color:#4a4a52}.dropdown--option.focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:visited{color:var(--color-text-nav-dt)}.dropdown--option_active{background-color:#307fff;background-color:var(--color-key-blue)}.dropdown--option_active:hover{background-color:#639fff}.dropdown--option_link{color:var(--color-text-nav-dt);text-decoration:none}.dropdown--option_link.focus-visible{outline:var(--focus-outline)}.dropdown--option_link:focus-visible{outline:var(--focus-outline)}.dropdown--option .checkbox{pointer-events:none}.dropdown--option .checkbox:first-letter{text-transform:uppercase}.dropdown--overlay{background-color:hsla(0,0%,54%,.5);bottom:0;content:"";display:none;height:100vh;left:0;position:absolute;right:0;top:0;width:100vw;z-index:4}.dropdown--list_expanded+.dropdown--overlay{display:block}@media(min-width:900px){.dropdown--list_expanded+.dropdown--overlay{display:none}}.dropdown--header{align-items:center;background-color:#323237;background-color:var(--color-background-nav-dt);border-bottom:1px solid #56565f;color:hsla(0,0%,100%,.7);color:var(--color-w70);display:flex;height:52px;justify-content:space-between;padding-left:16px;padding-left:var(--size-s3);position:sticky;top:0;z-index:2}@media(min-width:900px){.dropdown--header{display:none}}.filter-section{align-items:center;display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-end;margin-right:12px;max-height:40px;z-index:1}.filter-section_loading{overflow:hidden}@media(min-width:900px){.filter-section--dropdown{display:none}}.filter-section--dropdown-toggle_as-filters{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat;min-width:40px}.filter-section--dropdown-toggle_as-filters:after{display:none}@media(max-width:899px){.filter-section{margin-right:0;max-height:none}.filter-section>:not(.dropdown){display:none}.filter-section--dropdown-toggle{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat}.filter-section--dropdown-toggle:after{display:none}}.no-js .filter-section{display:none}.ui-kit-icon{background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;filter:invert(1);font-size:0;height:24px;height:var(--size-m1);line-height:0;width:24px;width:var(--size-m1);will-change:background-color}.theme-dark .ui-kit-icon{filter:none}@media(max-width:899px){.theme-dark_mobile .ui-kit-icon{filter:none}}.ui-kit-icon_arrow-down{background-image:url(assets/arrow-down.svg)}.ui-kit-icon_placeholder{background-image:url(assets/placeholder.svg)}.ui-kit-icon_cross{background-image:url(assets/cross.svg)}.library-name--link{align-items:center;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;font:600 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-h4);margin-right:8px;margin-right:var(--size-s2);white-space:nowrap}.library-name--link.focus-visible{outline:var(--focus-outline)}.library-name--link:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.library-name--link{height:52px;margin-left:12px}}.library-name--link:before{background:var(--dokka-logo-image-url) center no-repeat;background-size:min(var(--dokka-logo-height),120px) min(var(--dokka-logo-width),36px);content:"";height:var(--dokka-logo-height);margin-right:8px;margin-right:var(--size-s2);max-height:36px;max-width:120px;width:var(--dokka-logo-width)}.library-version{box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding-top:1px}@media(max-width:899px){.library-version{align-items:center;background-color:#000;background-color:var(--color-text);display:flex;height:52px;padding-left:12px}}.navigation{align-items:center;background-color:#27282c;background-color:var(--color-background-nav);box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;flex-wrap:nowrap;justify-content:flex-start;padding:12px 24px;padding:12px var(--size-m1);z-index:4}@media(max-width:899px){.navigation{flex-wrap:wrap;height:auto;padding:0}}.theme-dark .navigation{background-color:#323237;background-color:var(--color-background-nav-dt)}@media(max-width:899px){.navigation .button{height:52px;min-width:52px}}.navigation-controls{align-items:center;display:flex;gap:4px;gap:var(--size-s1);margin-left:auto}@media(max-width:899px){.navigation-controls{background-color:#000;background-color:var(--color-text);flex-grow:1;gap:0;justify-content:flex-end}}.no-js .navigation-controls{display:none}.navigation-controls--btn{align-items:center;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;border:none;border-radius:4px;border-radius:var(--size-s1);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:0;height:40px;justify-content:center;line-height:0;padding:0;width:40px;z-index:0}@media(hover:hover){.navigation-controls--btn:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.navigation-controls--btn:active{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.navigation-controls--btn.focus-visible{outline:var(--focus-outline)}.navigation-controls--btn:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.navigation-controls--btn{height:52px;width:52px}}.navigation-controls--break{flex-basis:100%}.navigation-controls--btn_theme{background-image:url(assets/theme-toggle.svg)}.navigation-controls--btn_homepage{background-image:url(assets/homepage.svg)}.navigation-controls--btn_toc{background-image:url(assets/burger.svg);margin-left:auto}.platform-tag{--platform-tag-color:#bababb;border:0;border-radius:4px;border-radius:var(--size-s1);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:10px 12px;text-transform:capitalize}.platform-tag,button.platform-tag{cursor:pointer}button.platform-tag.focus-visible{outline:var(--focus-outline)}button.platform-tag:focus-visible{outline:var(--focus-outline)}.platform-selector-option{padding-left:44px}.platform-selector-option.js-like,.platform-selector-option.jvm-like,.platform-selector-option.wasm-like,.platform-tag.js-like,.platform-tag.jvm-like,.platform-tag.wasm-like{text-transform:uppercase}.platform-tags .platform-tag{align-items:center;display:flex}.filter-section .platform-tag[data-active]{background-color:var(--platform-tag-color);color:#19191c}.filter-section .platform-tag.jvm-like[data-active],.platform-tags .platform-tag.jvm-like{--platform-tag-color:#4dbb5f}.filter-section .platform-tag.js-like[data-active],.platform-tags .platform-tag.js-like{--platform-tag-color:#ffc700}.filter-section .platform-tag.native-like[data-active],.platform-tags .platform-tag.native-like{--platform-tag-color:#e082f3}.filter-section .platform-tag.wasm-like[data-active],.platform-tags .platform-tag.wasm-like{--platform-tag-color:#9585f9}@media(hover:hover){.filter-section .platform-tag[data-active]:hover{background-color:hsla(240,1%,73%,.7);color:#fff}}.filter-section .platform-tag[data-active]:active{background-color:hsla(240,1%,73%,.7);color:#fff}.filter-section .platform-tag:not([data-active]){background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10);color:hsla(0,0%,100%,.5);color:var(--color-w50);text-decoration:line-through}.platform-tags .platform-tag:before{background:var(--platform-tag-color);border-radius:50%;content:"";display:inline-block;font-size:13px;height:8px;line-height:1.6;margin:0 4px 0 8px;width:8px}.platform-tags{display:flex;flex-wrap:wrap;margin-bottom:-8px;margin-left:-4px}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;min-width:var(--size-l1);order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none}:root{--toc-hover-color:var(--color-b08);--toc-font:400 13px/24px var(--font-family-default);--toc-color:var(--color-text)}.theme-dark{--toc-hover-color:var(--color-w08);--toc-color:var(--color-text-dt)}@media(max-width:899px){.theme-dark_mobile{--toc-color:var(--color-text-dt);--toc-hover-color:var(--color-w08)}}.toc--part{color:#000;color:var(--toc-color);font:400 13px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--toc-font)}.toc--part,.toc--row{box-sizing:border-box}.toc--row{align-items:center;display:flex;min-height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toc--button{align-items:center;background-color:inherit;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;height:100%;justify-content:flex-end;min-width:40px;padding:0 8px 0 0;position:absolute}.toc--button:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;background-size:24px 24px;content:" ";filter:invert(1);font-size:0;height:24px;line-height:0;transform:rotate(0deg);width:24px}.toc--part_hidden .toc--button:after{transform:rotate(-90deg)}.theme-dark .toc--button:after{filter:invert(0)}@media(max-width:899px){.theme-dark_mobile .toc--button:after{filter:invert(0)}}@media(hover:hover){.toc--button:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}}.toc--button:active{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--button.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--button:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link{box-sizing:border-box;color:inherit;height:calc(100% - 16px);min-height:40px;padding:8px 4px 8px 0;width:100%}.toc--link:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--link.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--part[data-nesting-level="0"] .toc--row>.toc--link:first-child{padding-left:40px;padding-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button+.toc--link{margin-left:40px;margin-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button{width:40px;width:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="1"] .toc--row>.toc--link:first-child{padding-left:64px;padding-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button+.toc--link{margin-left:64px;margin-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button{width:64px;width:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="2"] .toc--row>.toc--link:first-child{padding-left:88px;padding-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button+.toc--link{margin-left:88px;margin-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button{width:88px;width:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="3"] .toc--row>.toc--link:first-child{padding-left:112px;padding-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button+.toc--link{margin-left:112px;margin-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button{width:112px;width:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="4"] .toc--row>.toc--link:first-child{padding-left:136px;padding-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button+.toc--link{margin-left:136px;margin-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button{width:136px;width:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="5"] .toc--row>.toc--link:first-child{padding-left:160px;padding-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button+.toc--link{margin-left:160px;margin-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button{width:160px;width:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="6"] .toc--row>.toc--link:first-child{padding-left:184px;padding-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button+.toc--link{margin-left:184px;margin-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button{width:184px;width:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="7"] .toc--row>.toc--link:first-child{padding-left:208px;padding-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button+.toc--link{margin-left:208px;margin-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button{width:208px;width:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="8"] .toc--row>.toc--link:first-child{padding-left:232px;padding-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button+.toc--link{margin-left:232px;margin-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button{width:232px;width:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="9"] .toc--row>.toc--link:first-child{padding-left:256px;padding-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button+.toc--link{margin-left:256px;margin-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button{width:256px;width:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="10"] .toc--row>.toc--link:first-child{padding-left:280px;padding-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button+.toc--link{margin-left:280px;margin-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button{width:280px;width:calc(40px + var(--size-m1)*10)}.filtered>.toc--button,.toc .filtered>a{display:none}.toc #nav-submenu{padding-left:24px}.toc--part_hidden>.toc--part{display:none}.toc--row .toc--link-grid{display:grid;grid-template-columns:16px auto;grid-gap:6px;align-items:center}.toc--icon{height:16px;width:16px}.toc--icon.class:before{content:url(assets/class.svg)}.toc--icon.class-kt:before{content:url(assets/class-kotlin.svg)}.toc--icon.function:before{content:url(assets/function.svg)}.toc--icon.enum-class:before{content:url(assets/enum.svg)}.toc--icon.enum-class-kt:before{content:url(assets/enum-kotlin.svg)}.toc--icon.annotation-class:before{content:url(assets/annotation.svg)}.toc--icon.annotation-class-kt:before{content:url(assets/annotation-kotlin.svg)}.toc--icon.abstract-class:before{content:url(assets/abstract-class.svg)}.toc--icon.abstract-class-kt:before{content:url(assets/abstract-class-kotlin.svg)}.toc--icon.exception-class:before{content:url(assets/exception-class.svg)}.toc--icon.interface:before{content:url(assets/interface.svg)}.toc--icon.interface-kt:before{content:url(assets/interface-kotlin.svg)}.toc--icon.object:before{content:url(assets/object.svg)}.toc--icon.typealias-kt:before{content:url(assets/typealias-kotlin.svg)}.toc--icon.val:before{content:url(assets/field-value.svg)}.toc--icon.var:before{content:url(assets/field-variable.svg)}.toc--part[data-active]>.toc--row .toc--button,.toc--part[data-active]>.toc--row .toc--link{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.toc--part[data-active]>.toc--row .toc--button:hover,.toc--part[data-active]>.toc--row .toc--link:hover{background-color:#578af7}.toc--part[data-active]>.toc--row .toc--button:after,.toc--part[data-active]>.toc--row .toc--link:after{filter:invert(0)}.sidebar{border-right:1px solid rgba(39,40,44,.2);box-sizing:border-box;overflow:auto;width:var(--sidebar-width)}@media(max-width:899px){.sidebar{border:none;width:0}}@media(min-width:900px){.sidebar{position:relative;z-index:1}}@media(max-width:899px){.sidebar .button{height:52px;min-width:52px}}.theme-dark .sidebar{border-right-color:#56565f}.no-js .sidebar{display:none}.sidebar--inner{padding-bottom:12px;padding-top:12px}@media(max-width:899px){.ui-kit_desktop-only{display:none}}@media(min-width:900px){.ui-kit_mobile-only{display:none}}:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-key-blue-50:rgba(48,127,255,.5);--color-background-nav:#27282c;--color-background-nav-dt:#323237;--color-background-page:#fff;--color-background-page-dt:#262628;--color-background-footer:#ebebeb;--color-background-footer-dt:#323237;--color-text:#000;--color-text-dt:hsla(0,0%,100%,.96);--color-text-light:rgba(0,0,0,.7);--color-text-light-dt:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w08:hsla(0,0%,100%,.08);--color-w10:hsla(0,0%,100%,.1);--color-w16:hsla(0,0%,100%,.16);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-w100:#fff;--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 14px/20px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono);--hover-transition:background-color 200ms ease-in-out;--rotate-transition:transform 200ms ease-in-out;--color-background:var(--color-background-page);--focus-outline:4px solid var(--color-key-blue-50)}.theme-dark{--color-background:var(--color-background-page-dt)}body,table{background-color:#fff;background-color:var(--color-background)} \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/ui-kit.min.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/ui-kit.min.js index 7c7682878a..96b8d53062 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/ui-kit.min.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/ui-kit/ui-kit.min.js @@ -1 +1 @@ -(()=>{"use strict";var t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],r=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,a){t&&localStorage.setItem(e,a)}}}();function a(e){var a,r=null===(a=e.getAttribute("data-togglable"))||void 0===a?void 0:a.split(",");!function(a){var r,o,n,l;try{for(var i=t(document.getElementsByClassName("tabs-section")),c=i.next();!c.done;c=i.next()){var u=c.value;try{for(var d=(n=void 0,t(u.children)),s=d.next();!s.done;s=d.next()){var g=s.value;g.getAttribute("data-togglable")===e.getAttribute("data-togglable")?g.setAttribute("data-active",""):g.removeAttribute("data-active")}}catch(t){n={error:t}}finally{try{s&&!s.done&&(l=d.return)&&l.call(d)}finally{if(n)throw n.error}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");r&&e&&r.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),r="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&a(e)}(t),t.addEventListener("click",(function(t){var o=t.target,n=o?o.getAttribute("data-togglable"):null;n&&(e.setItem(r,JSON.stringify(n)),a(o))}))}));var o=e.getItem(r);if(o){var n=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(o)+'"]');n&&a(n)}},window.toggleSections=a})(); \ No newline at end of file +(()=>{"use strict";function t(e,n){return!(!e||!e.classList.contains(n))||!!e.parentElement&&t(e.parentElement,n)}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("div.button").forEach((function(t){t.addEventListener("keydown",(function(e){var n=e.key;"Enter"!==n&&" "!==n||t.dispatchEvent(new MouseEvent("click"))}))}))}));function e(){return window.innerWidth<440?"mobile":window.innerWidth>=440&&window.innerWidth<900?"tablet":"desktop"}var n=function(){function t(t){this.trapElement=t,this.handleKeyDown=this.handleKeyDown.bind(this),this.trapElement.addEventListener("keydown",this.handleKeyDown)}return t.prototype.handleKeyDown=function(t){var e=Array.from(this.trapElement.querySelectorAll('[role="option"]')).filter((function(t){return"none"!==t.style.display&&-1!==t.tabIndex}));if(["Tab","ArrowDown","ArrowUp"].includes(t.key)&&0!==e.length){var n=e[0],o=e[e.length-1];if("ArrowUp"===t.key)if(document.activeElement===n)o.focus();else{var r=e.indexOf(document.activeElement);e[r-1].focus()}"ArrowDown"===t.key&&(document.activeElement===o?n.focus():(r=e.indexOf(document.activeElement),e[r+1].focus())),"Tab"===t.key&&(t.shiftKey?document.activeElement===n&&(o.focus(),t.preventDefault()):document.activeElement===o&&(n.focus(),t.preventDefault()))}},t.prototype.destroy=function(){this.trapElement.removeEventListener("keydown",this.handleKeyDown)},t}(),o='[data-role="dropdown"]',r='[data-role="dropdown-toggle"]',i='[data-role="dropdown-listbox"]';function l(t){var e,n,o=t.querySelectorAll(r);null==o||o.forEach(a),e=t.querySelector(i),n=o[0].offsetWidth,e&&(e.classList.toggle("dropdown--list_expanded"),e.classList.contains("dropdown--list_expanded")?c(e,n):c(e,void 0))}function a(t){t.classList.contains("button_dropdown")&&t.classList.toggle("button_dropdown_active")}function c(t,e){if(e){var n=parseInt(getComputedStyle(t).minWidth,10),o=isNaN(n)?e:Math.max(n,e);t.style.minWidth="".concat(o,"px")}else t.style.minWidth=""}function d(e){var n=e.target;t(n,"dropdown")&&"dropdown--overlay"!==n.className||document.querySelectorAll(o).forEach((function(t){var e,n;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(t){t.classList.remove("button_dropdown_active")})),null===(n=t.querySelectorAll(i))||void 0===n||n.forEach((function(t){t.classList.remove("dropdown--list_expanded"),t.style.minWidth=""}))}))}function u(t){t.tag.removeAttribute("style"),t.option.setAttribute("style","display: none")}function s(t){t.tag.setAttribute("style","display: none"),t.option.removeAttribute("style")}function f(t){var e,n=null===(e=t.querySelector(".checkbox--input"))||void 0===e?void 0:e.getAttribute("data-filter");n&&(-1===filteringContext.activeFilters.findIndex((function(t){return t===n}))?unfilterSourceset(n):filterSourceset(n)),refreshFiltering()}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(o).forEach((function(t){var e;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(e){e.addEventListener("click",(function(){return l(t)}))})),function(t){new n(t),t.addEventListener("keydown",(function(e){var n;"Escape"===e.key&&(l(t),null===(n=t.querySelector(r))||void 0===n||n.focus())}))}(t)})),document.addEventListener("click",d)})),document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("navigation-wrapper"),n=document.getElementById("library-version"),o=document.getElementById("filter-section"),r=document.querySelector("#filter-section + .navigation-controls--btn"),i=document.getElementById("filter-section-dropdown");if(t&&n&&o&&r&&i){var l=null==o?void 0:o.querySelectorAll(".dropdown--option"),a=null==o?void 0:o.querySelectorAll(".platform-selector");if(a&&l)if(a.length===l.length){var c=Array.from({length:a.length}).map((function(t,e){return{tag:a[e],option:l[e]}})),d=c.map((function(t){return t.tag.getBoundingClientRect().width})),v=e(),m=new ResizeObserver((function(){var n=e();v!==n&&(c.forEach(u),d=function(t){return t.map((function(t){return t.tag.getBoundingClientRect().width}))}(c)),v=n,y(),m.unobserve(t)})),g=function(){m.observe(t)};y(),g(),l.forEach((function(t){t.addEventListener("click",(function(t){f(t.target)})),t.addEventListener("keydown",(function(t){var e=t.key;"Enter"!==e&&" "!==e||f(t.target)}))})),window.addEventListener("resize",g)}else console.warn("Dokka: filter section items are not equal");else console.warn("Dokka: filter section items are not found")}else console.warn("Dokka: filter section is not found");function y(){var e,l;if(t&&i){if(t.getBoundingClientRect().width<900)return c.forEach(s),void i.removeAttribute("style");var a=(n&&r?r.getBoundingClientRect().left-n.getBoundingClientRect().right:0)-44-10,f=0;i.removeAttribute("style");var v=!1;c.forEach((function(t,e){(f+=d[e]+4)=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,n){t&&localStorage.setItem(e,n)}}}();function g(t){var e,n=null===(e=t.getAttribute("data-togglable"))||void 0===e?void 0:e.split(",");!function(){var e,n,o,r;try{for(var i=v(document.getElementsByClassName("tabs-section")),l=i.next();!l.done;l=i.next()){var a=l.value;try{for(var c=(o=void 0,v(a.children)),d=c.next();!d.done;d=c.next()){var u=d.value;u.getAttribute("data-togglable")===t.getAttribute("data-togglable")?u.setAttribute("data-active",""):u.removeAttribute("data-active")}}catch(t){o={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");n&&e&&n.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),e="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&g(e)}(t),t.addEventListener("click",(function(t){var n=t.target,o=n?n.getAttribute("data-togglable"):null;o&&(m.setItem(e,JSON.stringify(o)),g(n))}))}));var n=m.getItem(e);if(n){var o=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(n)+'"]');o&&g(o)}},window.toggleSections=g,document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-remove-style="true"]').forEach((function(t){t.removeAttribute("style")}))}))})(); \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/arrow_down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/arrow_down.svg deleted file mode 100644 index 2478845270..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/arrow_down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/burger.svg deleted file mode 100644 index 40f73c5369..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/burger.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/theme-toggle.svg deleted file mode 100644 index fcc900f389..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/theme-toggle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/index.html index f6b4cd5a26..bb5cb947ae 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/index.html @@ -31,32 +31,47 @@ - +
- +
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/-kakapo.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/-kakapo.html index dcf1e591e2..1776455510 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/-kakapo.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/-kakapo.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/description.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/description.html index 91f8f43036..f9a62ad298 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/description.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/description.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/index.html index fd81f0a19a..b0669f3710 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/-kakapo/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/index.html index 2b2cf619c5..64421aaf93 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/foo.example.module.kakapo/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/index.html index 69d2a809f6..cc97ecb929 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/navigation.html index 8b85fe9c43..9d15a26006 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kakakpo/navigation.html @@ -1,30 +1,30 @@
-
-
- Kakapo Module +
+ -
-
- foo.example.module.kakapo +
+ -
-
- Kakapo +
+
+ Kakapo
-
-
- Kea Module +
+ -
-
- foo.example.module.kea +
+ -
-
- Kea +
+
+ Kea
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/-kea.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/-kea.html index 2e767f8b84..c272e5f0e1 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/-kea.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/-kea.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/description.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/description.html index 15e4342beb..4adf17a722 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/description.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/description.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/index.html index 7d433929db..646545dcf4 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/-kea/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/index.html index e3cf0ac55b..142bd2878a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/foo.example.module.kea/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/index.html index 230bb0fb2e..2090c293f9 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/navigation.html index 8b85fe9c43..9d15a26006 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/kea/navigation.html @@ -1,30 +1,30 @@
-
-
- Kakapo Module +
+ -
-
- foo.example.module.kakapo +
+ -
-
- Kakapo +
+
+ Kakapo
-
-
- Kea Module +
+ -
-
- foo.example.module.kea +
+ -
-
- Kea +
+
+ Kea
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/navigation.html index 95c8033432..14759e6a6b 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/navigation.html @@ -1,30 +1,30 @@
-
-
- Kakapo Module +
+ -
-
- foo.example.module.kakapo +
+ -
-
- Kakapo +
+
+ Kakapo
-
-
- Kea Module +
+ -
-
- foo.example.module.kea +
+ -
-
- Kea +
+
+ Kea
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/scripts/main.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/scripts/main.js index eb22535ed1..90382844b7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/scripts/main.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/scripts/main.js @@ -49,5 +49,5 @@ t(5228);var r=t(6540),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Sy Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",n=0;n{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("span",{children:r}),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.847 14.861A6.99 6.99 0 0017.587 11a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM22.587 18a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("div",Ou({className:"template-title"},{children:r})),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M15.142 6.28a6.497 6.497 0 10-2.421 8.866c.207-.122.409-.256.602-.4L19.587 21 21 19.586l-6.261-6.251a6.51 6.51 0 00.402-7.055zm-3.413 7.129a4.5 4.5 0 11-4.463-7.814 4.5 4.5 0 014.463 7.814z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,maxHeight:510,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t { navigationPageText.then(data => { document.getElementById("sideMenu").innerHTML = data; }).then(() => { - document.querySelectorAll(".overview > a").forEach(link => { + document.querySelectorAll(".toc--row > a").forEach(link => { link.setAttribute("href", pathToRoot + link.getAttribute("href")); }) }).then(() => { - document.querySelectorAll(".sideMenuPart").forEach(nav => { - if (!nav.classList.contains("hidden")) - nav.classList.add("hidden") + document.querySelectorAll(".toc--part").forEach(nav => { + if (!nav.classList.contains("toc--part_hidden")) + nav.classList.add("toc--part_hidden") }) }).then(() => { revealNavigationForCurrentPage() @@ -33,14 +33,14 @@ displayNavigationFromPage = () => { revealNavigationForCurrentPage = () => { let pageId = document.getElementById("content").attributes["pageIds"].value.toString(); - let parts = document.querySelectorAll(".sideMenuPart"); + let parts = document.querySelectorAll(".toc--part"); let found = 0; do { parts.forEach(part => { if (part.attributes['pageId'].value.indexOf(pageId) !== -1 && found === 0) { found = 1; - if (part.classList.contains("hidden")) { - part.classList.remove("hidden"); + if (part.classList.contains("toc--part_hidden")) { + part.classList.remove("toc--part_hidden"); part.setAttribute('data-active', ""); } revealParents(part) @@ -50,25 +50,25 @@ revealNavigationForCurrentPage = () => { } while (pageId.indexOf("/") !== -1 && found === 0) }; revealParents = (part) => { - if (part.classList.contains("sideMenuPart")) { - if (part.classList.contains("hidden")) - part.classList.remove("hidden"); + if (part.classList.contains("toc--part")) { + if (part.classList.contains("toc--part_hidden")) + part.classList.remove("toc--part_hidden"); revealParents(part.parentNode) } }; scrollNavigationToSelectedElement = () => { - let selectedElement = document.querySelector('div.sideMenuPart[data-active]') + let selectedElement = document.querySelector('div.toc--part[data-active]') if (selectedElement == null) { // nothing selected, probably just the main page opened return } - let hasIcon = selectedElement.querySelectorAll(":scope > div.overview span.nav-icon").length > 0 + let hasIcon = selectedElement.querySelectorAll(":scope > div.toc--row span.toc--icon").length > 0 - // for instance enums also have children and are expandable, but are not package/module elements + // for an instance enums also have children and are expandable but are not package/module elements let isPackageElement = selectedElement.children.length > 1 && !hasIcon if (isPackageElement) { - // if package is selected or linked, it makes sense to align it to top + // if a package is selected or linked, it makes sense to align it to top // so that you can see all the members it contains selectedElement.scrollIntoView(true) } else { @@ -84,9 +84,9 @@ scrollNavigationToSelectedElement = () => { /* This is a work-around for safari being IE of our times. - It doesn't fire a DOMContentLoaded, presumabely because eventListener is added after it wants to do it + It doesn't fire a DOMContentLoaded, presumably because eventListener is added after it wants to do it */ -if (document.readyState == 'loading') { +if (document.readyState === 'loading') { window.addEventListener('DOMContentLoaded', () => { displayNavigationFromPage() }) diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/scripts/platform-content-handler.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/scripts/platform-content-handler.js index 6ecfc120a6..118de3848a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/scripts/platform-content-handler.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/scripts/platform-content-handler.js @@ -52,9 +52,10 @@ window.addEventListener('load', () => { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) initializeFiltering() } - initTabs() // initTabs comes from ui-kit/tabs + if (typeof initTabs === 'function') { + initTabs() // initTabs comes from ui-kit/tabs + } handleAnchor() - initHidingLeftNavigation() topNavbarOffset = document.getElementById('navigation-wrapper') darkModeSwitch() }) @@ -115,21 +116,6 @@ const samplesAreEnabled = () => { } } - -const initHidingLeftNavigation = () => { - document.getElementById("menu-toggle").onclick = function (event) { - //Events need to be prevented from bubbling since they will trigger next handler - event.preventDefault(); - event.stopPropagation(); - event.stopImmediatePropagation(); - document.getElementById("leftColumn").classList.toggle("open"); - } - - document.getElementById("main").onclick = () => { - document.getElementById("leftColumn").classList.remove("open"); - } -} - // Hash change is needed in order to allow for linking inside the same page with anchors // If this is not present user is forced to refresh the site in order to use an anchor window.onhashchange = handleAnchor @@ -274,6 +260,11 @@ function removeSourcesetFilterFromCache(sourceset) { } } +function refreshSourcesetsCache() { + safeLocalStorage.setItem('inactive-filters', JSON.stringify(filteringContext.restrictedDependencies.filter(p => -1 === filteringContext.activeFilters.indexOf(p)))) +} + + function togglePlatformDependent(e, container) { let target = e.target if (target.tagName !== 'BUTTON') return; @@ -322,14 +313,18 @@ function refreshPlaygroundSamples() { function refreshNoContentNotification() { const element = document.getElementsByClassName("main-content")[0] + const filteredMessage = document.querySelector(".filtered-message") + if(filteringContext.activeFilters.length === 0){ element.style.display = "none"; - const appended = document.createElement("div") - appended.className = "filtered-message" - appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" - sourcesetNotification = appended - element.parentNode.prepend(appended) + if (!filteredMessage) { + const appended = document.createElement("div") + appended.className = "filtered-message" + appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" + sourcesetNotification = appended + element.parentNode.prepend(appended) + } } else { if(sourcesetNotification) sourcesetNotification.remove() element.style.display = "block" @@ -369,4 +364,8 @@ function refreshFilterButtons() { f.removeAttribute("data-active") } }) + document.querySelectorAll("#filter-section .checkbox--input") + .forEach(f => { + f.checked = filteringContext.activeFilters.indexOf(f.getAttribute("data-filter")) !== -1; + }) } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/font-jb-sans-auto.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/font-jb-sans-auto.css index 2398f70f52..18d25d3b85 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/font-jb-sans-auto.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/font-jb-sans-auto.css @@ -8,6 +8,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; + font-display: swap; } /* Regular weight */ @font-face { @@ -15,6 +16,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff'); font-weight: 400; font-style: normal; + font-display: swap; } /* SemiBold weight */ @font-face { @@ -22,6 +24,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; + font-display: swap; } @supports (font-variation-settings: normal) { @@ -32,5 +35,6 @@ url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations'); font-weight: 100 900; font-style: normal; + font-display: swap; } } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/logo-styles.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/logo-styles.css index 988268da69..8281d5ca63 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/logo-styles.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/logo-styles.css @@ -4,6 +4,6 @@ :root { --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; + --dokka-logo-height: 28px; + --dokka-logo-width: 28px; } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/main.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/main.css index c90da07710..2a0c8dfb30 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/main.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/main.css @@ -1,6 +1,18 @@ /*! * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:rgba(0,0,0,0);fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;margin:0;padding:0;font-size:0;line-height:0}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:calc(100% - 322px) !important;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0} /* stylelint-disable color-no-hex */ .light, diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/style.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/style.css index 628d27dd02..c64fa37161 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/style.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/styles/style.css @@ -8,7 +8,7 @@ /* --- root styles --- */ :root { --default-gray: #f4f4f4; - --default-font-color: black; + --default-font-color: rgb(0, 0, 0); --header-font-color: var(--default-font-color); --breadcrumb-font-color: #637282; @@ -217,9 +217,9 @@ td:first-child { /* ---dark theme --- */ .theme-dark { - --background-color: #27282c; + --background-color: #262628; --color-dark: #3d3d41; - --default-font-color: hsla(0, 0%, 100%, 0.8); + --default-font-color: rgba(255, 255, 255, 0.96); --border-color: hsla(0, 0%, 100%, 0.2); --code-background: hsla(0, 0%, 100%, 0.05); --breadcrumb-font-color: #8c8c8e; @@ -249,170 +249,6 @@ td:first-child { height: 100%; } -/* --- Navigation styles --- */ -.navigation { - display: flex; - justify-content: space-between; - - color: #fff; - background-color: var(--color-dark); - font-family: var(--default-font-family); - letter-spacing: -0.1px; - - /* Reset margin and use padding for border */ - margin-left: 0; - margin-right: 0; - padding: 10px var(--horizontal-spacing-for-content); - - z-index: 4; -} - -.navigation--inner { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - flex: 1 1 auto; -} - -.navigation--inner, .navigation-title { - min-height: 40px; -} - -.navigation-title, .filter-section { - align-items: center; -} - -.navigation-title { - display: flex; - align-items: center; -} - -/* --- Navigation MENU --- */ -.menu-toggle { - color: var(--background-color); - line-height: 0; - font-size: 0; - text-indent: -9999px; - - background: transparent; - border: none; - padding: 0; - margin-right: 16px; - outline: none; - - transition: margin .2s ease-out; - z-index: 5; -} - -@media (min-width: 760px) { - .menu-toggle { - display: none; - } -} - -.menu-toggle::before { - display: block; - content: ''; - background: url('../images/burger.svg') no-repeat center; - height: 28px; - width: 28px; -} - -/* /--- Navigation MENU --- */ - -.library-version { - position: relative; - top: -4px; - margin-left: 3px; - - color: rgba(255, 255, 255, .7); - font-size: 13px; - font-weight: normal; - line-height: 16px; -} - -.filter-section { - z-index: 0; -} - -.no-js .filter-section { - display: none; -} - -@media (min-width: 760px) { - .filter-section { - padding: 5px 0 5px; - } -} - -/* --- Navigation controls --- */ -.navigation-controls { - display: flex; - margin-left: 4px; -} - -@media (min-width: 760px) { - .navigation-controls { - align-items: center; - } -} - -.no-js .navigation-controls { - display: none; -} - -.navigation-controls--btn { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; - height: 40px; - border-radius: 50%; - background-color: inherit; - background-position: 50% 50%; - padding: 0; - border: none; - cursor: pointer; - font-size: 0; - line-height: 0; - transition: background-color 200ms ease-in-out; - will-change: background-color; -} - -.navigation-controls--btn:hover { - background-color: var(--white-10); -} - -.navigation-controls--theme { - background-image: url("../images/theme-toggle.svg"); - background-repeat: no-repeat; -} - -@media (max-width: 759px) { - .navigation-controls--theme { - display: none; - } -} - -.navigation-controls--homepage { - background-image: url("../images/homepage.svg"); - background-repeat: no-repeat; - background-size: 24px 24px; -} - -@media (max-width: 759px) { - .navigation-controls--homepage { - display: none; - } -} - -.navigation .platform-selector:not([data-active]) { - color: #fff; -} - -/* /--- Navigation controls --- */ -/* /--- Navigation styles --- */ - /* --- Layout styles --- */ #container { @@ -421,7 +257,7 @@ td:first-child { min-height: 0; /* full height exclude header */ } -#container > .sidebar, #container > #main { +#container > #main { overflow: auto; } @@ -431,55 +267,6 @@ td:first-child { flex: 1 1 0; /* full width, but no affects for sidebar */ } -.sidebar { - display: flex; - flex-direction: column; - box-sizing: border-box; - border-right: 1px solid var(--border-color); - width: var(--sidebar-width); -} - -.no-js .sidebar { - display: none; -} - -@media (max-width: 759px) { - #container { - position: relative; - } - - .sidebar { - position: absolute; - top: 0; - bottom: 0; - box-sizing: border-box; - background: var(--background-color); - margin-left: calc(-1 * var(--sidebar-width)); - transition: margin .2s ease-out; - z-index: 4; - } - - .sidebar.open { - margin-left: 0; - } - - .sidebar.open ~ #main .navigation-controls--search { - display: none; - } - - .sidebar.open ~ #main .menu-toggle { - margin-left: var(--sidebar-width); - } -} - -.sidebar--inner { - font-size: 12px; - font-weight: 400; - line-height: 16px; - padding-top: 22px; - padding-bottom: 16px; -} - /* /--- Layout styles --- */ /* --- Main Content styles --- */ @@ -608,16 +395,6 @@ code.paragraph { display: block; } -.overview > .navButton { - position: absolute; - align-items: center; - display: flex; - justify-content: flex-end; - padding: 2px 2px 2px 0; - margin-right: 5px; - cursor: pointer; -} - .strikethrough { text-decoration: line-through; } @@ -761,166 +538,6 @@ code:not(.block) { word-break: break-word; } -.sideMenuPart > .overview { - display: flex; - align-items: center; - position: relative; - user-select: none; /* there's a weird bug with text selection */ - padding: 8px 0; -} - -.sideMenuPart a { - display: block; - align-items: center; - color: var(--default-font-color); - overflow: hidden; - padding-left: 23px; -} - -.sideMenuPart a:hover { - text-decoration: none; - color: var(--default-font-color); -} - -.sideMenuPart > .overview:before { - box-sizing: border-box; - content: ''; - top: 0; - width: var(--sidebar-width); - right: 0; - bottom: 0; - position: absolute; - z-index: -1; -} - -.overview:hover:before { - background-color: var(--navigation-highlight-color); -} - -#nav-submenu { - padding-left: 24px; -} - -.sideMenuPart { - padding-left: 12px; - box-sizing: border-box; -} - -.sideMenuPart.hidden > .overview .navButtonContent::before { - transform: rotate(0deg); -} - -.sideMenuPart > .overview .navButtonContent::before { - content: ''; - - -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - -webkit-mask-size: cover; - mask-size: cover; - background-color: var(--default-font-color); - - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - transform: rotate(90deg); - width: 16px; - height: 16px; -} - -.sideMenuPart[data-active] > .overview .navButtonContent::before { - background-color: var(--default-white); -} - -.sideMenuPart.hidden > .navButton .navButtonContent::after { - content: '\02192'; -} - -.sideMenuPart.hidden > .sideMenuPart { - display: none; -} - -.overview .nav-link-grid { - display: grid; - grid-template-columns: 16px auto; /* first is the icon, then name */ - grid-gap: 6px; - align-items: center; -} - -.nav-icon { - width: 16px; - height: 16px; -} - -.nav-icon.class::before { - content: url("../images/nav-icons/class.svg"); -} - -.nav-icon.class-kt::before { - content: url("../images/nav-icons/class-kotlin.svg"); -} - -.nav-icon.function::before { - content: url("../images/nav-icons/function.svg"); -} - -.nav-icon.enum-class::before { - content: url("../images/nav-icons/enum.svg"); -} - -.nav-icon.enum-class-kt::before { - content: url("../images/nav-icons/enum-kotlin.svg"); -} - -.nav-icon.annotation-class::before { - content: url("../images/nav-icons/annotation.svg"); -} - -.nav-icon.annotation-class-kt::before { - content: url("../images/nav-icons/annotation-kotlin.svg"); -} - -.nav-icon.abstract-class::before { - content: url("../images/nav-icons/abstract-class.svg"); -} - -.nav-icon.abstract-class-kt::before { - content: url("../images/nav-icons/abstract-class-kotlin.svg"); -} - -.nav-icon.exception-class::before { - content: url("../images/nav-icons/exception-class.svg"); -} - -.nav-icon.interface::before { - content: url("../images/nav-icons/interface.svg"); -} - -.nav-icon.interface-kt::before { - content: url("../images/nav-icons/interface-kotlin.svg"); -} - -.nav-icon.object::before { - content: url("../images/nav-icons/object.svg"); -} - -.nav-icon.typealias-kt::before { - content: url("../images/nav-icons/typealias-kotlin.svg"); -} - -.nav-icon.val::before { - content: url("../images/nav-icons/field-value.svg"); -} - -.nav-icon.var::before { - content: url("../images/nav-icons/field-variable.svg"); -} - -.filtered > a, .filtered > .navButton { - display: none; -} - - .brief { white-space: pre-wrap; overflow: hidden; @@ -1037,88 +654,6 @@ p.paragraph img { display: none !important; } -.platform-tags, .filter-section { - display: flex; - flex-wrap: wrap; - margin-bottom: -8px; - margin-left: -4px; -} - -.platform-tag { - --platform-tag-color: #bababb; - border: 0 none; - margin-right: 4px; - margin-bottom: 8px; - - font-family: var(--default-font-family); - font-size: 13px; - line-height: 1.5; - text-transform: capitalize; -} - -.platform-tag.js-like, .platform-tag.jvm-like, .platform-tag.wasm-like { - text-transform: uppercase; -} - -.filter-section .platform-tag { - cursor: pointer; - border-radius: 4px; - padding: 2px 16px; -} - -.filter-section .platform-tag.jvm-like[data-active], .platform-tags .platform-tag.jvm-like { - --platform-tag-color: #4dbb5f; -} - -.filter-section .platform-tag.js-like[data-active], .platform-tags .platform-tag.js-like { - --platform-tag-color: #ffc700; -} - -.filter-section .platform-tag.native-like[data-active], .platform-tags .platform-tag.native-like { - --platform-tag-color: #E082F3; -} - -.filter-section .platform-tag.wasm-like[data-active], .platform-tags .platform-tag.wasm-like { - --platform-tag-color: #9585F9; -} - -.filter-section .platform-tag[data-active]:hover { - color: #fff; - background-color: rgba(186, 186, 187, .7); -} - -.filter-section .platform-tag:not([data-active]) { - color: #fff; - /* Safari doesn't work correctly for `outline` with `border-radius` */ - /* outline: 1px solid rgba(255,255,255,.6); */ - /* ...use `box-shadow` instead: */ - box-shadow: 0 0 0 1px rgb(255 255 255 / 60%); - background-color: rgba(255,255,255,.05); -} - -.filter-section .platform-tag[data-active] { - color: #19191c; - background-color: var(--platform-tag-color); -} - -.platform-tags .platform-tag { - display: flex; - align-items: center; -} - -.platform-tags .platform-tag::before { - display: inline-block; - content: ''; - border-radius: 50%; - background: var(--platform-tag-color); - margin: 0 4px 0 8px; - height: 8px; - width: 8px; - - font-size: 13px; - line-height: 1.6; -} - td.content { padding-left: 24px; padding-top: 16px; @@ -1234,14 +769,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o padding: 8px; } -.sideMenuPart[data-active] > .overview:before { - background: var(--sidemenu-section-active-color); -} - -.sideMenuPart[data-active] > .overview > a { - color: var(--default-white); -} - .table { display: flex; flex-direction: column; @@ -1408,34 +935,3 @@ div.runnablesample { } /* /--- footer --- */ - -/* Logo styles */ -:root { - --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; -} - -.library-name--link { - display: flex; - align-items: center; - color: #fff; - font-weight: 530; -} - -.library-name--link::before { - content: ''; - background: var(--dokka-logo-image-url) center no-repeat; - background-size: var(--dokka-logo-height) var(--dokka-logo-width); - margin-right: 5px; - width: var(--dokka-logo-height); - height: var(--dokka-logo-width); -} - -@media (max-width: 759px) { - .library-name--link::before { - display: none; - } -} - -/* / Logo styles */ diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/abstract-class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/abstract-class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/abstract-class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/abstract-class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/abstract-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/abstract-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/abstract-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/abstract-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/annotation-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/annotation-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/annotation-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/annotation-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/annotation.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/annotation.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/annotation.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/annotation.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/arrow-down.svg similarity index 59% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/homepage.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/arrow-down.svg index e3c83b1ce3..ca54658d3c 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/homepage.svg +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/arrow-down.svg @@ -1,3 +1,3 @@ - + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/burger.svg new file mode 100644 index 0000000000..a26f194dc4 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/burger.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/checkbox-off.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/checkbox-off.svg new file mode 100644 index 0000000000..a5117e8d9a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/checkbox-off.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/checkbox-on.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/checkbox-on.svg new file mode 100644 index 0000000000..71891d57dd --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/checkbox-on.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/cross.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/cross.svg new file mode 100644 index 0000000000..232069f85e --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/enum-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/enum-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/enum-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/enum-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/enum.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/enum.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/enum.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/enum.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/exception-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/exception-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/exception-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/exception-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/field-value.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/field-value.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/field-value.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/field-value.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/field-variable.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/field-variable.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/field-variable.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/field-variable.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/filter.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/filter.svg new file mode 100644 index 0000000000..be62ea5bf3 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/filter.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/function.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/function.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/function.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/function.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/homepage.svg new file mode 100644 index 0000000000..9a8927a40a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/interface-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/interface-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/interface-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/interface-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/interface.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/interface.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/interface.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/interface.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/object.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/object.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/object.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/object.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/placeholder.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/placeholder.svg new file mode 100644 index 0000000000..e8129621d2 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/placeholder.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/theme-toggle.svg new file mode 100644 index 0000000000..490263f391 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/theme-toggle.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/typealias-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/typealias-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/nav-icons/typealias-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/assets/typealias-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/ui-kit.min.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/ui-kit.min.css index 65bf50d52d..349ee87bfe 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/ui-kit.min.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/ui-kit.min.css @@ -1 +1 @@ -:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-nav-bar:#27282c;--color-dark-theme-bg:#262628;--color-text-black:#000;--color-text-white:hsla(0,0%,100%,.96);--color-text-light-black:rgba(0,0,0,.7);--color-text-light-white:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w10:hsla(0,0%,100%,.1);--color-w20:hsla(0,0%,100%,.2);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 13px/24px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono)}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none} +.button{align-items:center;background-color:transparent;border:none;border-radius:4px;border-radius:var(--size-s1);box-sizing:border-box;color:#000;color:var(--color-text);cursor:pointer;display:flex;height:40px;justify-content:center;letter-spacing:.045em;padding:8px 12px;padding:var(--size-s2) 12px}.button[\:has\(\:first-child\)]{gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}.button:has(:first-child){gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}@media(hover:hover){.button:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.button:active{background-color:#307fff;background-color:var(--color-key-blue)}.button:disabled{cursor:not-allowed;opacity:.5}.button.focus-visible{outline:var(--focus-outline)}.button:focus-visible{outline:var(--focus-outline)}.theme-dark .button{color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.theme-dark .button:hover{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.button_background{background-color:#fff;background-color:var(--color-w100)}.theme-dark .button_background{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.theme-dark .button_background:hover{background-color:hsla(0,0%,100%,.05);background-color:var(--color-w05)}.button_dropdown{font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:8px;padding:var(--size-s2)}.button_dropdown:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;content:"";display:block;filter:invert(1);height:24px;height:var(--size-m1);transform:rotate(0);width:24px;width:var(--size-m1);will-change:transform}.theme-dark .button_dropdown:after{filter:none}.button_dropdown_active{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.button_dropdown_active:hover,.theme-dark .button_dropdown_active:hover{background-color:#639fff}.button_dropdown_active:after{filter:invert(0);transform:rotate(-180deg)}.checkbox{cursor:pointer;display:inline-block;position:relative}.checkbox--input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;visibility:hidden}.checkbox--icon{background-image:url(assets/checkbox-off.svg);height:24px;height:var(--size-m1);margin-left:-32px;margin-left:calc(var(--size-m2)*-1);position:absolute;width:24px;width:var(--size-m1)}.checkbox--input:checked+.checkbox--icon{background-image:url(assets/checkbox-on.svg)}.checkbox--input:disabled+.checkbox--icon{opacity:.2}.checkbox--input.focus-visible{outline:var(--focus-outline)}.checkbox--input:focus-visible{outline:var(--focus-outline)}.dropdown{position:relative}@media(max-width:899px){.dropdown{position:static}}.dropdown--list{background-color:#323237;background-color:var(--color-background-nav-dt);border:1px solid #56565f;box-shadow:0 2px 8px 0 rgba(0,0,0,.251);display:none;max-height:400px;max-width:360px;min-width:272px;overflow-y:auto;padding:12px 0;position:absolute;right:0;top:44px;-webkit-transform:translateZ(0);width:-moz-fit-content;width:fit-content;z-index:10}@media(max-width:899px){.dropdown--list{border:none;height:100vh;max-height:none;padding:0;right:0;top:0}}@media(max-width:439px){.dropdown--list{max-width:none;width:100vw}}.dropdown--list_positioned_right{right:0}.dropdown--list_positioned_left{left:0}@media(max-width:899px){.dropdown--list_positioned_left{left:auto}}.dropdown--list_expanded{display:block}@media(min-width:900px){.dropdown--list_toc-list{background-color:transparent;border:none;box-shadow:none;display:block;max-height:none;max-width:none;min-width:100%;padding:0;position:relative;top:0}}@media(min-width:440px)and (max-width:899px){.dropdown--list_toc-list{width:408px}}.dropdown--option{background-color:#323237;background-color:var(--color-background-nav-dt);border:none;color:var(--color-text-nav-dt);cursor:pointer;display:block;font:400 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-m);letter-spacing:-.03em;list-style-type:none;padding:8px 16px;padding:var(--size-s2) var(--size-s3);position:relative}.dropdown--option:hover{background-color:#4a4a52}.dropdown--option.focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:visited{color:var(--color-text-nav-dt)}.dropdown--option_active{background-color:#307fff;background-color:var(--color-key-blue)}.dropdown--option_active:hover{background-color:#639fff}.dropdown--option_link{color:var(--color-text-nav-dt);text-decoration:none}.dropdown--option_link.focus-visible{outline:var(--focus-outline)}.dropdown--option_link:focus-visible{outline:var(--focus-outline)}.dropdown--option .checkbox{pointer-events:none}.dropdown--option .checkbox:first-letter{text-transform:uppercase}.dropdown--overlay{background-color:hsla(0,0%,54%,.5);bottom:0;content:"";display:none;height:100vh;left:0;position:absolute;right:0;top:0;width:100vw;z-index:4}.dropdown--list_expanded+.dropdown--overlay{display:block}@media(min-width:900px){.dropdown--list_expanded+.dropdown--overlay{display:none}}.dropdown--header{align-items:center;background-color:#323237;background-color:var(--color-background-nav-dt);border-bottom:1px solid #56565f;color:hsla(0,0%,100%,.7);color:var(--color-w70);display:flex;height:52px;justify-content:space-between;padding-left:16px;padding-left:var(--size-s3);position:sticky;top:0;z-index:2}@media(min-width:900px){.dropdown--header{display:none}}.filter-section{align-items:center;display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-end;margin-right:12px;max-height:40px;z-index:1}.filter-section_loading{overflow:hidden}@media(min-width:900px){.filter-section--dropdown{display:none}}.filter-section--dropdown-toggle_as-filters{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat;min-width:40px}.filter-section--dropdown-toggle_as-filters:after{display:none}@media(max-width:899px){.filter-section{margin-right:0;max-height:none}.filter-section>:not(.dropdown){display:none}.filter-section--dropdown-toggle{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat}.filter-section--dropdown-toggle:after{display:none}}.no-js .filter-section{display:none}.ui-kit-icon{background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;filter:invert(1);font-size:0;height:24px;height:var(--size-m1);line-height:0;width:24px;width:var(--size-m1);will-change:background-color}.theme-dark .ui-kit-icon{filter:none}@media(max-width:899px){.theme-dark_mobile .ui-kit-icon{filter:none}}.ui-kit-icon_arrow-down{background-image:url(assets/arrow-down.svg)}.ui-kit-icon_placeholder{background-image:url(assets/placeholder.svg)}.ui-kit-icon_cross{background-image:url(assets/cross.svg)}.library-name--link{align-items:center;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;font:600 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-h4);margin-right:8px;margin-right:var(--size-s2);white-space:nowrap}.library-name--link.focus-visible{outline:var(--focus-outline)}.library-name--link:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.library-name--link{height:52px;margin-left:12px}}.library-name--link:before{background:var(--dokka-logo-image-url) center no-repeat;background-size:min(var(--dokka-logo-height),120px) min(var(--dokka-logo-width),36px);content:"";height:var(--dokka-logo-height);margin-right:8px;margin-right:var(--size-s2);max-height:36px;max-width:120px;width:var(--dokka-logo-width)}.library-version{box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding-top:1px}@media(max-width:899px){.library-version{align-items:center;background-color:#000;background-color:var(--color-text);display:flex;height:52px;padding-left:12px}}.navigation{align-items:center;background-color:#27282c;background-color:var(--color-background-nav);box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;flex-wrap:nowrap;justify-content:flex-start;padding:12px 24px;padding:12px var(--size-m1);z-index:4}@media(max-width:899px){.navigation{flex-wrap:wrap;height:auto;padding:0}}.theme-dark .navigation{background-color:#323237;background-color:var(--color-background-nav-dt)}@media(max-width:899px){.navigation .button{height:52px;min-width:52px}}.navigation-controls{align-items:center;display:flex;gap:4px;gap:var(--size-s1);margin-left:auto}@media(max-width:899px){.navigation-controls{background-color:#000;background-color:var(--color-text);flex-grow:1;gap:0;justify-content:flex-end}}.no-js .navigation-controls{display:none}.navigation-controls--btn{align-items:center;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;border:none;border-radius:4px;border-radius:var(--size-s1);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:0;height:40px;justify-content:center;line-height:0;padding:0;width:40px;z-index:0}@media(hover:hover){.navigation-controls--btn:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.navigation-controls--btn:active{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.navigation-controls--btn.focus-visible{outline:var(--focus-outline)}.navigation-controls--btn:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.navigation-controls--btn{height:52px;width:52px}}.navigation-controls--break{flex-basis:100%}.navigation-controls--btn_theme{background-image:url(assets/theme-toggle.svg)}.navigation-controls--btn_homepage{background-image:url(assets/homepage.svg)}.navigation-controls--btn_toc{background-image:url(assets/burger.svg);margin-left:auto}.platform-tag{--platform-tag-color:#bababb;border:0;border-radius:4px;border-radius:var(--size-s1);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:10px 12px;text-transform:capitalize}.platform-tag,button.platform-tag{cursor:pointer}button.platform-tag.focus-visible{outline:var(--focus-outline)}button.platform-tag:focus-visible{outline:var(--focus-outline)}.platform-selector-option{padding-left:44px}.platform-selector-option.js-like,.platform-selector-option.jvm-like,.platform-selector-option.wasm-like,.platform-tag.js-like,.platform-tag.jvm-like,.platform-tag.wasm-like{text-transform:uppercase}.platform-tags .platform-tag{align-items:center;display:flex}.filter-section .platform-tag[data-active]{background-color:var(--platform-tag-color);color:#19191c}.filter-section .platform-tag.jvm-like[data-active],.platform-tags .platform-tag.jvm-like{--platform-tag-color:#4dbb5f}.filter-section .platform-tag.js-like[data-active],.platform-tags .platform-tag.js-like{--platform-tag-color:#ffc700}.filter-section .platform-tag.native-like[data-active],.platform-tags .platform-tag.native-like{--platform-tag-color:#e082f3}.filter-section .platform-tag.wasm-like[data-active],.platform-tags .platform-tag.wasm-like{--platform-tag-color:#9585f9}@media(hover:hover){.filter-section .platform-tag[data-active]:hover{background-color:hsla(240,1%,73%,.7);color:#fff}}.filter-section .platform-tag[data-active]:active{background-color:hsla(240,1%,73%,.7);color:#fff}.filter-section .platform-tag:not([data-active]){background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10);color:hsla(0,0%,100%,.5);color:var(--color-w50);text-decoration:line-through}.platform-tags .platform-tag:before{background:var(--platform-tag-color);border-radius:50%;content:"";display:inline-block;font-size:13px;height:8px;line-height:1.6;margin:0 4px 0 8px;width:8px}.platform-tags{display:flex;flex-wrap:wrap;margin-bottom:-8px;margin-left:-4px}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;min-width:var(--size-l1);order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none}:root{--toc-hover-color:var(--color-b08);--toc-font:400 13px/24px var(--font-family-default);--toc-color:var(--color-text)}.theme-dark{--toc-hover-color:var(--color-w08);--toc-color:var(--color-text-dt)}@media(max-width:899px){.theme-dark_mobile{--toc-color:var(--color-text-dt);--toc-hover-color:var(--color-w08)}}.toc--part{color:#000;color:var(--toc-color);font:400 13px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--toc-font)}.toc--part,.toc--row{box-sizing:border-box}.toc--row{align-items:center;display:flex;min-height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toc--button{align-items:center;background-color:inherit;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;height:100%;justify-content:flex-end;min-width:40px;padding:0 8px 0 0;position:absolute}.toc--button:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;background-size:24px 24px;content:" ";filter:invert(1);font-size:0;height:24px;line-height:0;transform:rotate(0deg);width:24px}.toc--part_hidden .toc--button:after{transform:rotate(-90deg)}.theme-dark .toc--button:after{filter:invert(0)}@media(max-width:899px){.theme-dark_mobile .toc--button:after{filter:invert(0)}}@media(hover:hover){.toc--button:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}}.toc--button:active{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--button.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--button:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link{box-sizing:border-box;color:inherit;height:calc(100% - 16px);min-height:40px;padding:8px 4px 8px 0;width:100%}.toc--link:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--link.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--part[data-nesting-level="0"] .toc--row>.toc--link:first-child{padding-left:40px;padding-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button+.toc--link{margin-left:40px;margin-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button{width:40px;width:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="1"] .toc--row>.toc--link:first-child{padding-left:64px;padding-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button+.toc--link{margin-left:64px;margin-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button{width:64px;width:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="2"] .toc--row>.toc--link:first-child{padding-left:88px;padding-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button+.toc--link{margin-left:88px;margin-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button{width:88px;width:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="3"] .toc--row>.toc--link:first-child{padding-left:112px;padding-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button+.toc--link{margin-left:112px;margin-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button{width:112px;width:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="4"] .toc--row>.toc--link:first-child{padding-left:136px;padding-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button+.toc--link{margin-left:136px;margin-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button{width:136px;width:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="5"] .toc--row>.toc--link:first-child{padding-left:160px;padding-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button+.toc--link{margin-left:160px;margin-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button{width:160px;width:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="6"] .toc--row>.toc--link:first-child{padding-left:184px;padding-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button+.toc--link{margin-left:184px;margin-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button{width:184px;width:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="7"] .toc--row>.toc--link:first-child{padding-left:208px;padding-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button+.toc--link{margin-left:208px;margin-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button{width:208px;width:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="8"] .toc--row>.toc--link:first-child{padding-left:232px;padding-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button+.toc--link{margin-left:232px;margin-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button{width:232px;width:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="9"] .toc--row>.toc--link:first-child{padding-left:256px;padding-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button+.toc--link{margin-left:256px;margin-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button{width:256px;width:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="10"] .toc--row>.toc--link:first-child{padding-left:280px;padding-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button+.toc--link{margin-left:280px;margin-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button{width:280px;width:calc(40px + var(--size-m1)*10)}.filtered>.toc--button,.toc .filtered>a{display:none}.toc #nav-submenu{padding-left:24px}.toc--part_hidden>.toc--part{display:none}.toc--row .toc--link-grid{display:grid;grid-template-columns:16px auto;grid-gap:6px;align-items:center}.toc--icon{height:16px;width:16px}.toc--icon.class:before{content:url(assets/class.svg)}.toc--icon.class-kt:before{content:url(assets/class-kotlin.svg)}.toc--icon.function:before{content:url(assets/function.svg)}.toc--icon.enum-class:before{content:url(assets/enum.svg)}.toc--icon.enum-class-kt:before{content:url(assets/enum-kotlin.svg)}.toc--icon.annotation-class:before{content:url(assets/annotation.svg)}.toc--icon.annotation-class-kt:before{content:url(assets/annotation-kotlin.svg)}.toc--icon.abstract-class:before{content:url(assets/abstract-class.svg)}.toc--icon.abstract-class-kt:before{content:url(assets/abstract-class-kotlin.svg)}.toc--icon.exception-class:before{content:url(assets/exception-class.svg)}.toc--icon.interface:before{content:url(assets/interface.svg)}.toc--icon.interface-kt:before{content:url(assets/interface-kotlin.svg)}.toc--icon.object:before{content:url(assets/object.svg)}.toc--icon.typealias-kt:before{content:url(assets/typealias-kotlin.svg)}.toc--icon.val:before{content:url(assets/field-value.svg)}.toc--icon.var:before{content:url(assets/field-variable.svg)}.toc--part[data-active]>.toc--row .toc--button,.toc--part[data-active]>.toc--row .toc--link{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.toc--part[data-active]>.toc--row .toc--button:hover,.toc--part[data-active]>.toc--row .toc--link:hover{background-color:#578af7}.toc--part[data-active]>.toc--row .toc--button:after,.toc--part[data-active]>.toc--row .toc--link:after{filter:invert(0)}.sidebar{border-right:1px solid rgba(39,40,44,.2);box-sizing:border-box;overflow:auto;width:var(--sidebar-width)}@media(max-width:899px){.sidebar{border:none;width:0}}@media(min-width:900px){.sidebar{position:relative;z-index:1}}@media(max-width:899px){.sidebar .button{height:52px;min-width:52px}}.theme-dark .sidebar{border-right-color:#56565f}.no-js .sidebar{display:none}.sidebar--inner{padding-bottom:12px;padding-top:12px}@media(max-width:899px){.ui-kit_desktop-only{display:none}}@media(min-width:900px){.ui-kit_mobile-only{display:none}}:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-key-blue-50:rgba(48,127,255,.5);--color-background-nav:#27282c;--color-background-nav-dt:#323237;--color-background-page:#fff;--color-background-page-dt:#262628;--color-background-footer:#ebebeb;--color-background-footer-dt:#323237;--color-text:#000;--color-text-dt:hsla(0,0%,100%,.96);--color-text-light:rgba(0,0,0,.7);--color-text-light-dt:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w08:hsla(0,0%,100%,.08);--color-w10:hsla(0,0%,100%,.1);--color-w16:hsla(0,0%,100%,.16);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-w100:#fff;--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 14px/20px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono);--hover-transition:background-color 200ms ease-in-out;--rotate-transition:transform 200ms ease-in-out;--color-background:var(--color-background-page);--focus-outline:4px solid var(--color-key-blue-50)}.theme-dark{--color-background:var(--color-background-page-dt)}body,table{background-color:#fff;background-color:var(--color-background)} \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/ui-kit.min.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/ui-kit.min.js index 7c7682878a..96b8d53062 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/ui-kit.min.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/ui-kit/ui-kit.min.js @@ -1 +1 @@ -(()=>{"use strict";var t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],r=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,a){t&&localStorage.setItem(e,a)}}}();function a(e){var a,r=null===(a=e.getAttribute("data-togglable"))||void 0===a?void 0:a.split(",");!function(a){var r,o,n,l;try{for(var i=t(document.getElementsByClassName("tabs-section")),c=i.next();!c.done;c=i.next()){var u=c.value;try{for(var d=(n=void 0,t(u.children)),s=d.next();!s.done;s=d.next()){var g=s.value;g.getAttribute("data-togglable")===e.getAttribute("data-togglable")?g.setAttribute("data-active",""):g.removeAttribute("data-active")}}catch(t){n={error:t}}finally{try{s&&!s.done&&(l=d.return)&&l.call(d)}finally{if(n)throw n.error}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");r&&e&&r.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),r="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&a(e)}(t),t.addEventListener("click",(function(t){var o=t.target,n=o?o.getAttribute("data-togglable"):null;n&&(e.setItem(r,JSON.stringify(n)),a(o))}))}));var o=e.getItem(r);if(o){var n=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(o)+'"]');n&&a(n)}},window.toggleSections=a})(); \ No newline at end of file +(()=>{"use strict";function t(e,n){return!(!e||!e.classList.contains(n))||!!e.parentElement&&t(e.parentElement,n)}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("div.button").forEach((function(t){t.addEventListener("keydown",(function(e){var n=e.key;"Enter"!==n&&" "!==n||t.dispatchEvent(new MouseEvent("click"))}))}))}));function e(){return window.innerWidth<440?"mobile":window.innerWidth>=440&&window.innerWidth<900?"tablet":"desktop"}var n=function(){function t(t){this.trapElement=t,this.handleKeyDown=this.handleKeyDown.bind(this),this.trapElement.addEventListener("keydown",this.handleKeyDown)}return t.prototype.handleKeyDown=function(t){var e=Array.from(this.trapElement.querySelectorAll('[role="option"]')).filter((function(t){return"none"!==t.style.display&&-1!==t.tabIndex}));if(["Tab","ArrowDown","ArrowUp"].includes(t.key)&&0!==e.length){var n=e[0],o=e[e.length-1];if("ArrowUp"===t.key)if(document.activeElement===n)o.focus();else{var r=e.indexOf(document.activeElement);e[r-1].focus()}"ArrowDown"===t.key&&(document.activeElement===o?n.focus():(r=e.indexOf(document.activeElement),e[r+1].focus())),"Tab"===t.key&&(t.shiftKey?document.activeElement===n&&(o.focus(),t.preventDefault()):document.activeElement===o&&(n.focus(),t.preventDefault()))}},t.prototype.destroy=function(){this.trapElement.removeEventListener("keydown",this.handleKeyDown)},t}(),o='[data-role="dropdown"]',r='[data-role="dropdown-toggle"]',i='[data-role="dropdown-listbox"]';function l(t){var e,n,o=t.querySelectorAll(r);null==o||o.forEach(a),e=t.querySelector(i),n=o[0].offsetWidth,e&&(e.classList.toggle("dropdown--list_expanded"),e.classList.contains("dropdown--list_expanded")?c(e,n):c(e,void 0))}function a(t){t.classList.contains("button_dropdown")&&t.classList.toggle("button_dropdown_active")}function c(t,e){if(e){var n=parseInt(getComputedStyle(t).minWidth,10),o=isNaN(n)?e:Math.max(n,e);t.style.minWidth="".concat(o,"px")}else t.style.minWidth=""}function d(e){var n=e.target;t(n,"dropdown")&&"dropdown--overlay"!==n.className||document.querySelectorAll(o).forEach((function(t){var e,n;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(t){t.classList.remove("button_dropdown_active")})),null===(n=t.querySelectorAll(i))||void 0===n||n.forEach((function(t){t.classList.remove("dropdown--list_expanded"),t.style.minWidth=""}))}))}function u(t){t.tag.removeAttribute("style"),t.option.setAttribute("style","display: none")}function s(t){t.tag.setAttribute("style","display: none"),t.option.removeAttribute("style")}function f(t){var e,n=null===(e=t.querySelector(".checkbox--input"))||void 0===e?void 0:e.getAttribute("data-filter");n&&(-1===filteringContext.activeFilters.findIndex((function(t){return t===n}))?unfilterSourceset(n):filterSourceset(n)),refreshFiltering()}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(o).forEach((function(t){var e;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(e){e.addEventListener("click",(function(){return l(t)}))})),function(t){new n(t),t.addEventListener("keydown",(function(e){var n;"Escape"===e.key&&(l(t),null===(n=t.querySelector(r))||void 0===n||n.focus())}))}(t)})),document.addEventListener("click",d)})),document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("navigation-wrapper"),n=document.getElementById("library-version"),o=document.getElementById("filter-section"),r=document.querySelector("#filter-section + .navigation-controls--btn"),i=document.getElementById("filter-section-dropdown");if(t&&n&&o&&r&&i){var l=null==o?void 0:o.querySelectorAll(".dropdown--option"),a=null==o?void 0:o.querySelectorAll(".platform-selector");if(a&&l)if(a.length===l.length){var c=Array.from({length:a.length}).map((function(t,e){return{tag:a[e],option:l[e]}})),d=c.map((function(t){return t.tag.getBoundingClientRect().width})),v=e(),m=new ResizeObserver((function(){var n=e();v!==n&&(c.forEach(u),d=function(t){return t.map((function(t){return t.tag.getBoundingClientRect().width}))}(c)),v=n,y(),m.unobserve(t)})),g=function(){m.observe(t)};y(),g(),l.forEach((function(t){t.addEventListener("click",(function(t){f(t.target)})),t.addEventListener("keydown",(function(t){var e=t.key;"Enter"!==e&&" "!==e||f(t.target)}))})),window.addEventListener("resize",g)}else console.warn("Dokka: filter section items are not equal");else console.warn("Dokka: filter section items are not found")}else console.warn("Dokka: filter section is not found");function y(){var e,l;if(t&&i){if(t.getBoundingClientRect().width<900)return c.forEach(s),void i.removeAttribute("style");var a=(n&&r?r.getBoundingClientRect().left-n.getBoundingClientRect().right:0)-44-10,f=0;i.removeAttribute("style");var v=!1;c.forEach((function(t,e){(f+=d[e]+4)=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,n){t&&localStorage.setItem(e,n)}}}();function g(t){var e,n=null===(e=t.getAttribute("data-togglable"))||void 0===e?void 0:e.split(",");!function(){var e,n,o,r;try{for(var i=v(document.getElementsByClassName("tabs-section")),l=i.next();!l.done;l=i.next()){var a=l.value;try{for(var c=(o=void 0,v(a.children)),d=c.next();!d.done;d=c.next()){var u=d.value;u.getAttribute("data-togglable")===t.getAttribute("data-togglable")?u.setAttribute("data-active",""):u.removeAttribute("data-active")}}catch(t){o={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");n&&e&&n.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),e="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&g(e)}(t),t.addEventListener("click",(function(t){var n=t.target,o=n?n.getAttribute("data-togglable"):null;o&&(m.setItem(e,JSON.stringify(o)),g(n))}))}));var n=m.getItem(e);if(n){var o=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(n)+'"]');o&&g(o)}},window.toggleSections=g,document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-remove-style="true"]').forEach((function(t){t.removeAttribute("style")}))}))})(); \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/-greeter.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/-greeter.html index 4f8ec54ecf..12db58fef5 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/-greeter.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/-greeter.html @@ -32,37 +32,78 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/greet.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/greet.html index 74a4e95e6a..d5cab2f68c 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/greet.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/greet.html @@ -32,37 +32,78 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/index.html index 50a725880e..429fcaf33a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/index.html @@ -32,37 +32,78 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/name.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/name.html index 380d68b398..c1fc282595 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/name.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/-greeter/name.html @@ -32,37 +32,78 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/index.html index c32205d3f6..153021d394 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/index.html @@ -32,37 +32,78 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/main.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/main.html index 422fc3ced4..3acf2ca625 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/main.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/custom-format-example/demo/main.html @@ -32,37 +32,78 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/arrow_down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/arrow_down.svg deleted file mode 100644 index 2478845270..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/arrow_down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/burger.svg deleted file mode 100644 index 40f73c5369..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/burger.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/theme-toggle.svg deleted file mode 100644 index fcc900f389..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/theme-toggle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/index.html index 72c78708b9..87409e5cdc 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/index.html @@ -32,37 +32,78 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/navigation.html index 2b94aeb82d..cd2d38c9a8 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/navigation.html @@ -1,12 +1,12 @@ -
- -
- -
- +
+ +
+ + -
- +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/scripts/main.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/scripts/main.js index eb22535ed1..90382844b7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/scripts/main.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/scripts/main.js @@ -49,5 +49,5 @@ t(5228);var r=t(6540),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Sy Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",n=0;n{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("span",{children:r}),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.847 14.861A6.99 6.99 0 0017.587 11a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM22.587 18a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("div",Ou({className:"template-title"},{children:r})),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M15.142 6.28a6.497 6.497 0 10-2.421 8.866c.207-.122.409-.256.602-.4L19.587 21 21 19.586l-6.261-6.251a6.51 6.51 0 00.402-7.055zm-3.413 7.129a4.5 4.5 0 11-4.463-7.814 4.5 4.5 0 014.463 7.814z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,maxHeight:510,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t { navigationPageText.then(data => { document.getElementById("sideMenu").innerHTML = data; }).then(() => { - document.querySelectorAll(".overview > a").forEach(link => { + document.querySelectorAll(".toc--row > a").forEach(link => { link.setAttribute("href", pathToRoot + link.getAttribute("href")); }) }).then(() => { - document.querySelectorAll(".sideMenuPart").forEach(nav => { - if (!nav.classList.contains("hidden")) - nav.classList.add("hidden") + document.querySelectorAll(".toc--part").forEach(nav => { + if (!nav.classList.contains("toc--part_hidden")) + nav.classList.add("toc--part_hidden") }) }).then(() => { revealNavigationForCurrentPage() @@ -33,14 +33,14 @@ displayNavigationFromPage = () => { revealNavigationForCurrentPage = () => { let pageId = document.getElementById("content").attributes["pageIds"].value.toString(); - let parts = document.querySelectorAll(".sideMenuPart"); + let parts = document.querySelectorAll(".toc--part"); let found = 0; do { parts.forEach(part => { if (part.attributes['pageId'].value.indexOf(pageId) !== -1 && found === 0) { found = 1; - if (part.classList.contains("hidden")) { - part.classList.remove("hidden"); + if (part.classList.contains("toc--part_hidden")) { + part.classList.remove("toc--part_hidden"); part.setAttribute('data-active', ""); } revealParents(part) @@ -50,25 +50,25 @@ revealNavigationForCurrentPage = () => { } while (pageId.indexOf("/") !== -1 && found === 0) }; revealParents = (part) => { - if (part.classList.contains("sideMenuPart")) { - if (part.classList.contains("hidden")) - part.classList.remove("hidden"); + if (part.classList.contains("toc--part")) { + if (part.classList.contains("toc--part_hidden")) + part.classList.remove("toc--part_hidden"); revealParents(part.parentNode) } }; scrollNavigationToSelectedElement = () => { - let selectedElement = document.querySelector('div.sideMenuPart[data-active]') + let selectedElement = document.querySelector('div.toc--part[data-active]') if (selectedElement == null) { // nothing selected, probably just the main page opened return } - let hasIcon = selectedElement.querySelectorAll(":scope > div.overview span.nav-icon").length > 0 + let hasIcon = selectedElement.querySelectorAll(":scope > div.toc--row span.toc--icon").length > 0 - // for instance enums also have children and are expandable, but are not package/module elements + // for an instance enums also have children and are expandable but are not package/module elements let isPackageElement = selectedElement.children.length > 1 && !hasIcon if (isPackageElement) { - // if package is selected or linked, it makes sense to align it to top + // if a package is selected or linked, it makes sense to align it to top // so that you can see all the members it contains selectedElement.scrollIntoView(true) } else { @@ -84,9 +84,9 @@ scrollNavigationToSelectedElement = () => { /* This is a work-around for safari being IE of our times. - It doesn't fire a DOMContentLoaded, presumabely because eventListener is added after it wants to do it + It doesn't fire a DOMContentLoaded, presumably because eventListener is added after it wants to do it */ -if (document.readyState == 'loading') { +if (document.readyState === 'loading') { window.addEventListener('DOMContentLoaded', () => { displayNavigationFromPage() }) diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/scripts/platform-content-handler.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/scripts/platform-content-handler.js index 6ecfc120a6..118de3848a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/scripts/platform-content-handler.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/scripts/platform-content-handler.js @@ -52,9 +52,10 @@ window.addEventListener('load', () => { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) initializeFiltering() } - initTabs() // initTabs comes from ui-kit/tabs + if (typeof initTabs === 'function') { + initTabs() // initTabs comes from ui-kit/tabs + } handleAnchor() - initHidingLeftNavigation() topNavbarOffset = document.getElementById('navigation-wrapper') darkModeSwitch() }) @@ -115,21 +116,6 @@ const samplesAreEnabled = () => { } } - -const initHidingLeftNavigation = () => { - document.getElementById("menu-toggle").onclick = function (event) { - //Events need to be prevented from bubbling since they will trigger next handler - event.preventDefault(); - event.stopPropagation(); - event.stopImmediatePropagation(); - document.getElementById("leftColumn").classList.toggle("open"); - } - - document.getElementById("main").onclick = () => { - document.getElementById("leftColumn").classList.remove("open"); - } -} - // Hash change is needed in order to allow for linking inside the same page with anchors // If this is not present user is forced to refresh the site in order to use an anchor window.onhashchange = handleAnchor @@ -274,6 +260,11 @@ function removeSourcesetFilterFromCache(sourceset) { } } +function refreshSourcesetsCache() { + safeLocalStorage.setItem('inactive-filters', JSON.stringify(filteringContext.restrictedDependencies.filter(p => -1 === filteringContext.activeFilters.indexOf(p)))) +} + + function togglePlatformDependent(e, container) { let target = e.target if (target.tagName !== 'BUTTON') return; @@ -322,14 +313,18 @@ function refreshPlaygroundSamples() { function refreshNoContentNotification() { const element = document.getElementsByClassName("main-content")[0] + const filteredMessage = document.querySelector(".filtered-message") + if(filteringContext.activeFilters.length === 0){ element.style.display = "none"; - const appended = document.createElement("div") - appended.className = "filtered-message" - appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" - sourcesetNotification = appended - element.parentNode.prepend(appended) + if (!filteredMessage) { + const appended = document.createElement("div") + appended.className = "filtered-message" + appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" + sourcesetNotification = appended + element.parentNode.prepend(appended) + } } else { if(sourcesetNotification) sourcesetNotification.remove() element.style.display = "block" @@ -369,4 +364,8 @@ function refreshFilterButtons() { f.removeAttribute("data-active") } }) + document.querySelectorAll("#filter-section .checkbox--input") + .forEach(f => { + f.checked = filteringContext.activeFilters.indexOf(f.getAttribute("data-filter")) !== -1; + }) } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/font-jb-sans-auto.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/font-jb-sans-auto.css index 2398f70f52..18d25d3b85 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/font-jb-sans-auto.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/font-jb-sans-auto.css @@ -8,6 +8,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; + font-display: swap; } /* Regular weight */ @font-face { @@ -15,6 +16,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff'); font-weight: 400; font-style: normal; + font-display: swap; } /* SemiBold weight */ @font-face { @@ -22,6 +24,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; + font-display: swap; } @supports (font-variation-settings: normal) { @@ -32,5 +35,6 @@ url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations'); font-weight: 100 900; font-style: normal; + font-display: swap; } } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/main.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/main.css index c90da07710..2a0c8dfb30 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/main.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/main.css @@ -1,6 +1,18 @@ /*! * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:rgba(0,0,0,0);fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;margin:0;padding:0;font-size:0;line-height:0}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:calc(100% - 322px) !important;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0} /* stylelint-disable color-no-hex */ .light, diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/style.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/style.css index 628d27dd02..c64fa37161 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/style.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/styles/style.css @@ -8,7 +8,7 @@ /* --- root styles --- */ :root { --default-gray: #f4f4f4; - --default-font-color: black; + --default-font-color: rgb(0, 0, 0); --header-font-color: var(--default-font-color); --breadcrumb-font-color: #637282; @@ -217,9 +217,9 @@ td:first-child { /* ---dark theme --- */ .theme-dark { - --background-color: #27282c; + --background-color: #262628; --color-dark: #3d3d41; - --default-font-color: hsla(0, 0%, 100%, 0.8); + --default-font-color: rgba(255, 255, 255, 0.96); --border-color: hsla(0, 0%, 100%, 0.2); --code-background: hsla(0, 0%, 100%, 0.05); --breadcrumb-font-color: #8c8c8e; @@ -249,170 +249,6 @@ td:first-child { height: 100%; } -/* --- Navigation styles --- */ -.navigation { - display: flex; - justify-content: space-between; - - color: #fff; - background-color: var(--color-dark); - font-family: var(--default-font-family); - letter-spacing: -0.1px; - - /* Reset margin and use padding for border */ - margin-left: 0; - margin-right: 0; - padding: 10px var(--horizontal-spacing-for-content); - - z-index: 4; -} - -.navigation--inner { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - flex: 1 1 auto; -} - -.navigation--inner, .navigation-title { - min-height: 40px; -} - -.navigation-title, .filter-section { - align-items: center; -} - -.navigation-title { - display: flex; - align-items: center; -} - -/* --- Navigation MENU --- */ -.menu-toggle { - color: var(--background-color); - line-height: 0; - font-size: 0; - text-indent: -9999px; - - background: transparent; - border: none; - padding: 0; - margin-right: 16px; - outline: none; - - transition: margin .2s ease-out; - z-index: 5; -} - -@media (min-width: 760px) { - .menu-toggle { - display: none; - } -} - -.menu-toggle::before { - display: block; - content: ''; - background: url('../images/burger.svg') no-repeat center; - height: 28px; - width: 28px; -} - -/* /--- Navigation MENU --- */ - -.library-version { - position: relative; - top: -4px; - margin-left: 3px; - - color: rgba(255, 255, 255, .7); - font-size: 13px; - font-weight: normal; - line-height: 16px; -} - -.filter-section { - z-index: 0; -} - -.no-js .filter-section { - display: none; -} - -@media (min-width: 760px) { - .filter-section { - padding: 5px 0 5px; - } -} - -/* --- Navigation controls --- */ -.navigation-controls { - display: flex; - margin-left: 4px; -} - -@media (min-width: 760px) { - .navigation-controls { - align-items: center; - } -} - -.no-js .navigation-controls { - display: none; -} - -.navigation-controls--btn { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; - height: 40px; - border-radius: 50%; - background-color: inherit; - background-position: 50% 50%; - padding: 0; - border: none; - cursor: pointer; - font-size: 0; - line-height: 0; - transition: background-color 200ms ease-in-out; - will-change: background-color; -} - -.navigation-controls--btn:hover { - background-color: var(--white-10); -} - -.navigation-controls--theme { - background-image: url("../images/theme-toggle.svg"); - background-repeat: no-repeat; -} - -@media (max-width: 759px) { - .navigation-controls--theme { - display: none; - } -} - -.navigation-controls--homepage { - background-image: url("../images/homepage.svg"); - background-repeat: no-repeat; - background-size: 24px 24px; -} - -@media (max-width: 759px) { - .navigation-controls--homepage { - display: none; - } -} - -.navigation .platform-selector:not([data-active]) { - color: #fff; -} - -/* /--- Navigation controls --- */ -/* /--- Navigation styles --- */ - /* --- Layout styles --- */ #container { @@ -421,7 +257,7 @@ td:first-child { min-height: 0; /* full height exclude header */ } -#container > .sidebar, #container > #main { +#container > #main { overflow: auto; } @@ -431,55 +267,6 @@ td:first-child { flex: 1 1 0; /* full width, but no affects for sidebar */ } -.sidebar { - display: flex; - flex-direction: column; - box-sizing: border-box; - border-right: 1px solid var(--border-color); - width: var(--sidebar-width); -} - -.no-js .sidebar { - display: none; -} - -@media (max-width: 759px) { - #container { - position: relative; - } - - .sidebar { - position: absolute; - top: 0; - bottom: 0; - box-sizing: border-box; - background: var(--background-color); - margin-left: calc(-1 * var(--sidebar-width)); - transition: margin .2s ease-out; - z-index: 4; - } - - .sidebar.open { - margin-left: 0; - } - - .sidebar.open ~ #main .navigation-controls--search { - display: none; - } - - .sidebar.open ~ #main .menu-toggle { - margin-left: var(--sidebar-width); - } -} - -.sidebar--inner { - font-size: 12px; - font-weight: 400; - line-height: 16px; - padding-top: 22px; - padding-bottom: 16px; -} - /* /--- Layout styles --- */ /* --- Main Content styles --- */ @@ -608,16 +395,6 @@ code.paragraph { display: block; } -.overview > .navButton { - position: absolute; - align-items: center; - display: flex; - justify-content: flex-end; - padding: 2px 2px 2px 0; - margin-right: 5px; - cursor: pointer; -} - .strikethrough { text-decoration: line-through; } @@ -761,166 +538,6 @@ code:not(.block) { word-break: break-word; } -.sideMenuPart > .overview { - display: flex; - align-items: center; - position: relative; - user-select: none; /* there's a weird bug with text selection */ - padding: 8px 0; -} - -.sideMenuPart a { - display: block; - align-items: center; - color: var(--default-font-color); - overflow: hidden; - padding-left: 23px; -} - -.sideMenuPart a:hover { - text-decoration: none; - color: var(--default-font-color); -} - -.sideMenuPart > .overview:before { - box-sizing: border-box; - content: ''; - top: 0; - width: var(--sidebar-width); - right: 0; - bottom: 0; - position: absolute; - z-index: -1; -} - -.overview:hover:before { - background-color: var(--navigation-highlight-color); -} - -#nav-submenu { - padding-left: 24px; -} - -.sideMenuPart { - padding-left: 12px; - box-sizing: border-box; -} - -.sideMenuPart.hidden > .overview .navButtonContent::before { - transform: rotate(0deg); -} - -.sideMenuPart > .overview .navButtonContent::before { - content: ''; - - -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - -webkit-mask-size: cover; - mask-size: cover; - background-color: var(--default-font-color); - - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - transform: rotate(90deg); - width: 16px; - height: 16px; -} - -.sideMenuPart[data-active] > .overview .navButtonContent::before { - background-color: var(--default-white); -} - -.sideMenuPart.hidden > .navButton .navButtonContent::after { - content: '\02192'; -} - -.sideMenuPart.hidden > .sideMenuPart { - display: none; -} - -.overview .nav-link-grid { - display: grid; - grid-template-columns: 16px auto; /* first is the icon, then name */ - grid-gap: 6px; - align-items: center; -} - -.nav-icon { - width: 16px; - height: 16px; -} - -.nav-icon.class::before { - content: url("../images/nav-icons/class.svg"); -} - -.nav-icon.class-kt::before { - content: url("../images/nav-icons/class-kotlin.svg"); -} - -.nav-icon.function::before { - content: url("../images/nav-icons/function.svg"); -} - -.nav-icon.enum-class::before { - content: url("../images/nav-icons/enum.svg"); -} - -.nav-icon.enum-class-kt::before { - content: url("../images/nav-icons/enum-kotlin.svg"); -} - -.nav-icon.annotation-class::before { - content: url("../images/nav-icons/annotation.svg"); -} - -.nav-icon.annotation-class-kt::before { - content: url("../images/nav-icons/annotation-kotlin.svg"); -} - -.nav-icon.abstract-class::before { - content: url("../images/nav-icons/abstract-class.svg"); -} - -.nav-icon.abstract-class-kt::before { - content: url("../images/nav-icons/abstract-class-kotlin.svg"); -} - -.nav-icon.exception-class::before { - content: url("../images/nav-icons/exception-class.svg"); -} - -.nav-icon.interface::before { - content: url("../images/nav-icons/interface.svg"); -} - -.nav-icon.interface-kt::before { - content: url("../images/nav-icons/interface-kotlin.svg"); -} - -.nav-icon.object::before { - content: url("../images/nav-icons/object.svg"); -} - -.nav-icon.typealias-kt::before { - content: url("../images/nav-icons/typealias-kotlin.svg"); -} - -.nav-icon.val::before { - content: url("../images/nav-icons/field-value.svg"); -} - -.nav-icon.var::before { - content: url("../images/nav-icons/field-variable.svg"); -} - -.filtered > a, .filtered > .navButton { - display: none; -} - - .brief { white-space: pre-wrap; overflow: hidden; @@ -1037,88 +654,6 @@ p.paragraph img { display: none !important; } -.platform-tags, .filter-section { - display: flex; - flex-wrap: wrap; - margin-bottom: -8px; - margin-left: -4px; -} - -.platform-tag { - --platform-tag-color: #bababb; - border: 0 none; - margin-right: 4px; - margin-bottom: 8px; - - font-family: var(--default-font-family); - font-size: 13px; - line-height: 1.5; - text-transform: capitalize; -} - -.platform-tag.js-like, .platform-tag.jvm-like, .platform-tag.wasm-like { - text-transform: uppercase; -} - -.filter-section .platform-tag { - cursor: pointer; - border-radius: 4px; - padding: 2px 16px; -} - -.filter-section .platform-tag.jvm-like[data-active], .platform-tags .platform-tag.jvm-like { - --platform-tag-color: #4dbb5f; -} - -.filter-section .platform-tag.js-like[data-active], .platform-tags .platform-tag.js-like { - --platform-tag-color: #ffc700; -} - -.filter-section .platform-tag.native-like[data-active], .platform-tags .platform-tag.native-like { - --platform-tag-color: #E082F3; -} - -.filter-section .platform-tag.wasm-like[data-active], .platform-tags .platform-tag.wasm-like { - --platform-tag-color: #9585F9; -} - -.filter-section .platform-tag[data-active]:hover { - color: #fff; - background-color: rgba(186, 186, 187, .7); -} - -.filter-section .platform-tag:not([data-active]) { - color: #fff; - /* Safari doesn't work correctly for `outline` with `border-radius` */ - /* outline: 1px solid rgba(255,255,255,.6); */ - /* ...use `box-shadow` instead: */ - box-shadow: 0 0 0 1px rgb(255 255 255 / 60%); - background-color: rgba(255,255,255,.05); -} - -.filter-section .platform-tag[data-active] { - color: #19191c; - background-color: var(--platform-tag-color); -} - -.platform-tags .platform-tag { - display: flex; - align-items: center; -} - -.platform-tags .platform-tag::before { - display: inline-block; - content: ''; - border-radius: 50%; - background: var(--platform-tag-color); - margin: 0 4px 0 8px; - height: 8px; - width: 8px; - - font-size: 13px; - line-height: 1.6; -} - td.content { padding-left: 24px; padding-top: 16px; @@ -1234,14 +769,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o padding: 8px; } -.sideMenuPart[data-active] > .overview:before { - background: var(--sidemenu-section-active-color); -} - -.sideMenuPart[data-active] > .overview > a { - color: var(--default-white); -} - .table { display: flex; flex-direction: column; @@ -1408,34 +935,3 @@ div.runnablesample { } /* /--- footer --- */ - -/* Logo styles */ -:root { - --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; -} - -.library-name--link { - display: flex; - align-items: center; - color: #fff; - font-weight: 530; -} - -.library-name--link::before { - content: ''; - background: var(--dokka-logo-image-url) center no-repeat; - background-size: var(--dokka-logo-height) var(--dokka-logo-width); - margin-right: 5px; - width: var(--dokka-logo-height); - height: var(--dokka-logo-width); -} - -@media (max-width: 759px) { - .library-name--link::before { - display: none; - } -} - -/* / Logo styles */ diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/abstract-class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/abstract-class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/abstract-class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/abstract-class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/abstract-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/abstract-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/abstract-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/abstract-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/annotation-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/annotation-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/annotation-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/annotation-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/annotation.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/annotation.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/annotation.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/annotation.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/arrow-down.svg similarity index 59% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/homepage.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/arrow-down.svg index e3c83b1ce3..ca54658d3c 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/basic-gradle-example/html/images/homepage.svg +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/arrow-down.svg @@ -1,3 +1,3 @@ - + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/burger.svg new file mode 100644 index 0000000000..a26f194dc4 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/burger.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/checkbox-off.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/checkbox-off.svg new file mode 100644 index 0000000000..a5117e8d9a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/checkbox-off.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/checkbox-on.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/checkbox-on.svg new file mode 100644 index 0000000000..71891d57dd --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/checkbox-on.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/cross.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/cross.svg new file mode 100644 index 0000000000..232069f85e --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/enum-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/enum-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/enum-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/enum-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/enum.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/enum.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/enum.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/enum.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/exception-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/exception-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/exception-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/exception-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/field-value.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/field-value.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/field-value.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/field-value.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/field-variable.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/field-variable.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/field-variable.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/field-variable.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/filter.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/filter.svg new file mode 100644 index 0000000000..be62ea5bf3 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/filter.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/function.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/function.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/function.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/function.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/homepage.svg new file mode 100644 index 0000000000..9a8927a40a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/interface-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/interface-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/interface-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/interface-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/interface.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/interface.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/interface.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/interface.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/object.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/object.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/object.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/object.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/placeholder.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/placeholder.svg new file mode 100644 index 0000000000..e8129621d2 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/placeholder.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/theme-toggle.svg new file mode 100644 index 0000000000..490263f391 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/theme-toggle.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/typealias-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/typealias-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/images/nav-icons/typealias-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/assets/typealias-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/ui-kit.min.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/ui-kit.min.css index 65bf50d52d..349ee87bfe 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/ui-kit.min.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/ui-kit.min.css @@ -1 +1 @@ -:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-nav-bar:#27282c;--color-dark-theme-bg:#262628;--color-text-black:#000;--color-text-white:hsla(0,0%,100%,.96);--color-text-light-black:rgba(0,0,0,.7);--color-text-light-white:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w10:hsla(0,0%,100%,.1);--color-w20:hsla(0,0%,100%,.2);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 13px/24px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono)}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none} +.button{align-items:center;background-color:transparent;border:none;border-radius:4px;border-radius:var(--size-s1);box-sizing:border-box;color:#000;color:var(--color-text);cursor:pointer;display:flex;height:40px;justify-content:center;letter-spacing:.045em;padding:8px 12px;padding:var(--size-s2) 12px}.button[\:has\(\:first-child\)]{gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}.button:has(:first-child){gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}@media(hover:hover){.button:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.button:active{background-color:#307fff;background-color:var(--color-key-blue)}.button:disabled{cursor:not-allowed;opacity:.5}.button.focus-visible{outline:var(--focus-outline)}.button:focus-visible{outline:var(--focus-outline)}.theme-dark .button{color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.theme-dark .button:hover{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.button_background{background-color:#fff;background-color:var(--color-w100)}.theme-dark .button_background{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.theme-dark .button_background:hover{background-color:hsla(0,0%,100%,.05);background-color:var(--color-w05)}.button_dropdown{font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:8px;padding:var(--size-s2)}.button_dropdown:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;content:"";display:block;filter:invert(1);height:24px;height:var(--size-m1);transform:rotate(0);width:24px;width:var(--size-m1);will-change:transform}.theme-dark .button_dropdown:after{filter:none}.button_dropdown_active{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.button_dropdown_active:hover,.theme-dark .button_dropdown_active:hover{background-color:#639fff}.button_dropdown_active:after{filter:invert(0);transform:rotate(-180deg)}.checkbox{cursor:pointer;display:inline-block;position:relative}.checkbox--input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;visibility:hidden}.checkbox--icon{background-image:url(assets/checkbox-off.svg);height:24px;height:var(--size-m1);margin-left:-32px;margin-left:calc(var(--size-m2)*-1);position:absolute;width:24px;width:var(--size-m1)}.checkbox--input:checked+.checkbox--icon{background-image:url(assets/checkbox-on.svg)}.checkbox--input:disabled+.checkbox--icon{opacity:.2}.checkbox--input.focus-visible{outline:var(--focus-outline)}.checkbox--input:focus-visible{outline:var(--focus-outline)}.dropdown{position:relative}@media(max-width:899px){.dropdown{position:static}}.dropdown--list{background-color:#323237;background-color:var(--color-background-nav-dt);border:1px solid #56565f;box-shadow:0 2px 8px 0 rgba(0,0,0,.251);display:none;max-height:400px;max-width:360px;min-width:272px;overflow-y:auto;padding:12px 0;position:absolute;right:0;top:44px;-webkit-transform:translateZ(0);width:-moz-fit-content;width:fit-content;z-index:10}@media(max-width:899px){.dropdown--list{border:none;height:100vh;max-height:none;padding:0;right:0;top:0}}@media(max-width:439px){.dropdown--list{max-width:none;width:100vw}}.dropdown--list_positioned_right{right:0}.dropdown--list_positioned_left{left:0}@media(max-width:899px){.dropdown--list_positioned_left{left:auto}}.dropdown--list_expanded{display:block}@media(min-width:900px){.dropdown--list_toc-list{background-color:transparent;border:none;box-shadow:none;display:block;max-height:none;max-width:none;min-width:100%;padding:0;position:relative;top:0}}@media(min-width:440px)and (max-width:899px){.dropdown--list_toc-list{width:408px}}.dropdown--option{background-color:#323237;background-color:var(--color-background-nav-dt);border:none;color:var(--color-text-nav-dt);cursor:pointer;display:block;font:400 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-m);letter-spacing:-.03em;list-style-type:none;padding:8px 16px;padding:var(--size-s2) var(--size-s3);position:relative}.dropdown--option:hover{background-color:#4a4a52}.dropdown--option.focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:visited{color:var(--color-text-nav-dt)}.dropdown--option_active{background-color:#307fff;background-color:var(--color-key-blue)}.dropdown--option_active:hover{background-color:#639fff}.dropdown--option_link{color:var(--color-text-nav-dt);text-decoration:none}.dropdown--option_link.focus-visible{outline:var(--focus-outline)}.dropdown--option_link:focus-visible{outline:var(--focus-outline)}.dropdown--option .checkbox{pointer-events:none}.dropdown--option .checkbox:first-letter{text-transform:uppercase}.dropdown--overlay{background-color:hsla(0,0%,54%,.5);bottom:0;content:"";display:none;height:100vh;left:0;position:absolute;right:0;top:0;width:100vw;z-index:4}.dropdown--list_expanded+.dropdown--overlay{display:block}@media(min-width:900px){.dropdown--list_expanded+.dropdown--overlay{display:none}}.dropdown--header{align-items:center;background-color:#323237;background-color:var(--color-background-nav-dt);border-bottom:1px solid #56565f;color:hsla(0,0%,100%,.7);color:var(--color-w70);display:flex;height:52px;justify-content:space-between;padding-left:16px;padding-left:var(--size-s3);position:sticky;top:0;z-index:2}@media(min-width:900px){.dropdown--header{display:none}}.filter-section{align-items:center;display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-end;margin-right:12px;max-height:40px;z-index:1}.filter-section_loading{overflow:hidden}@media(min-width:900px){.filter-section--dropdown{display:none}}.filter-section--dropdown-toggle_as-filters{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat;min-width:40px}.filter-section--dropdown-toggle_as-filters:after{display:none}@media(max-width:899px){.filter-section{margin-right:0;max-height:none}.filter-section>:not(.dropdown){display:none}.filter-section--dropdown-toggle{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat}.filter-section--dropdown-toggle:after{display:none}}.no-js .filter-section{display:none}.ui-kit-icon{background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;filter:invert(1);font-size:0;height:24px;height:var(--size-m1);line-height:0;width:24px;width:var(--size-m1);will-change:background-color}.theme-dark .ui-kit-icon{filter:none}@media(max-width:899px){.theme-dark_mobile .ui-kit-icon{filter:none}}.ui-kit-icon_arrow-down{background-image:url(assets/arrow-down.svg)}.ui-kit-icon_placeholder{background-image:url(assets/placeholder.svg)}.ui-kit-icon_cross{background-image:url(assets/cross.svg)}.library-name--link{align-items:center;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;font:600 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-h4);margin-right:8px;margin-right:var(--size-s2);white-space:nowrap}.library-name--link.focus-visible{outline:var(--focus-outline)}.library-name--link:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.library-name--link{height:52px;margin-left:12px}}.library-name--link:before{background:var(--dokka-logo-image-url) center no-repeat;background-size:min(var(--dokka-logo-height),120px) min(var(--dokka-logo-width),36px);content:"";height:var(--dokka-logo-height);margin-right:8px;margin-right:var(--size-s2);max-height:36px;max-width:120px;width:var(--dokka-logo-width)}.library-version{box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding-top:1px}@media(max-width:899px){.library-version{align-items:center;background-color:#000;background-color:var(--color-text);display:flex;height:52px;padding-left:12px}}.navigation{align-items:center;background-color:#27282c;background-color:var(--color-background-nav);box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;flex-wrap:nowrap;justify-content:flex-start;padding:12px 24px;padding:12px var(--size-m1);z-index:4}@media(max-width:899px){.navigation{flex-wrap:wrap;height:auto;padding:0}}.theme-dark .navigation{background-color:#323237;background-color:var(--color-background-nav-dt)}@media(max-width:899px){.navigation .button{height:52px;min-width:52px}}.navigation-controls{align-items:center;display:flex;gap:4px;gap:var(--size-s1);margin-left:auto}@media(max-width:899px){.navigation-controls{background-color:#000;background-color:var(--color-text);flex-grow:1;gap:0;justify-content:flex-end}}.no-js .navigation-controls{display:none}.navigation-controls--btn{align-items:center;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;border:none;border-radius:4px;border-radius:var(--size-s1);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:0;height:40px;justify-content:center;line-height:0;padding:0;width:40px;z-index:0}@media(hover:hover){.navigation-controls--btn:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.navigation-controls--btn:active{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.navigation-controls--btn.focus-visible{outline:var(--focus-outline)}.navigation-controls--btn:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.navigation-controls--btn{height:52px;width:52px}}.navigation-controls--break{flex-basis:100%}.navigation-controls--btn_theme{background-image:url(assets/theme-toggle.svg)}.navigation-controls--btn_homepage{background-image:url(assets/homepage.svg)}.navigation-controls--btn_toc{background-image:url(assets/burger.svg);margin-left:auto}.platform-tag{--platform-tag-color:#bababb;border:0;border-radius:4px;border-radius:var(--size-s1);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:10px 12px;text-transform:capitalize}.platform-tag,button.platform-tag{cursor:pointer}button.platform-tag.focus-visible{outline:var(--focus-outline)}button.platform-tag:focus-visible{outline:var(--focus-outline)}.platform-selector-option{padding-left:44px}.platform-selector-option.js-like,.platform-selector-option.jvm-like,.platform-selector-option.wasm-like,.platform-tag.js-like,.platform-tag.jvm-like,.platform-tag.wasm-like{text-transform:uppercase}.platform-tags .platform-tag{align-items:center;display:flex}.filter-section .platform-tag[data-active]{background-color:var(--platform-tag-color);color:#19191c}.filter-section .platform-tag.jvm-like[data-active],.platform-tags .platform-tag.jvm-like{--platform-tag-color:#4dbb5f}.filter-section .platform-tag.js-like[data-active],.platform-tags .platform-tag.js-like{--platform-tag-color:#ffc700}.filter-section .platform-tag.native-like[data-active],.platform-tags .platform-tag.native-like{--platform-tag-color:#e082f3}.filter-section .platform-tag.wasm-like[data-active],.platform-tags .platform-tag.wasm-like{--platform-tag-color:#9585f9}@media(hover:hover){.filter-section .platform-tag[data-active]:hover{background-color:hsla(240,1%,73%,.7);color:#fff}}.filter-section .platform-tag[data-active]:active{background-color:hsla(240,1%,73%,.7);color:#fff}.filter-section .platform-tag:not([data-active]){background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10);color:hsla(0,0%,100%,.5);color:var(--color-w50);text-decoration:line-through}.platform-tags .platform-tag:before{background:var(--platform-tag-color);border-radius:50%;content:"";display:inline-block;font-size:13px;height:8px;line-height:1.6;margin:0 4px 0 8px;width:8px}.platform-tags{display:flex;flex-wrap:wrap;margin-bottom:-8px;margin-left:-4px}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;min-width:var(--size-l1);order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none}:root{--toc-hover-color:var(--color-b08);--toc-font:400 13px/24px var(--font-family-default);--toc-color:var(--color-text)}.theme-dark{--toc-hover-color:var(--color-w08);--toc-color:var(--color-text-dt)}@media(max-width:899px){.theme-dark_mobile{--toc-color:var(--color-text-dt);--toc-hover-color:var(--color-w08)}}.toc--part{color:#000;color:var(--toc-color);font:400 13px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--toc-font)}.toc--part,.toc--row{box-sizing:border-box}.toc--row{align-items:center;display:flex;min-height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toc--button{align-items:center;background-color:inherit;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;height:100%;justify-content:flex-end;min-width:40px;padding:0 8px 0 0;position:absolute}.toc--button:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;background-size:24px 24px;content:" ";filter:invert(1);font-size:0;height:24px;line-height:0;transform:rotate(0deg);width:24px}.toc--part_hidden .toc--button:after{transform:rotate(-90deg)}.theme-dark .toc--button:after{filter:invert(0)}@media(max-width:899px){.theme-dark_mobile .toc--button:after{filter:invert(0)}}@media(hover:hover){.toc--button:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}}.toc--button:active{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--button.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--button:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link{box-sizing:border-box;color:inherit;height:calc(100% - 16px);min-height:40px;padding:8px 4px 8px 0;width:100%}.toc--link:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--link.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--part[data-nesting-level="0"] .toc--row>.toc--link:first-child{padding-left:40px;padding-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button+.toc--link{margin-left:40px;margin-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button{width:40px;width:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="1"] .toc--row>.toc--link:first-child{padding-left:64px;padding-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button+.toc--link{margin-left:64px;margin-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button{width:64px;width:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="2"] .toc--row>.toc--link:first-child{padding-left:88px;padding-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button+.toc--link{margin-left:88px;margin-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button{width:88px;width:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="3"] .toc--row>.toc--link:first-child{padding-left:112px;padding-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button+.toc--link{margin-left:112px;margin-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button{width:112px;width:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="4"] .toc--row>.toc--link:first-child{padding-left:136px;padding-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button+.toc--link{margin-left:136px;margin-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button{width:136px;width:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="5"] .toc--row>.toc--link:first-child{padding-left:160px;padding-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button+.toc--link{margin-left:160px;margin-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button{width:160px;width:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="6"] .toc--row>.toc--link:first-child{padding-left:184px;padding-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button+.toc--link{margin-left:184px;margin-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button{width:184px;width:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="7"] .toc--row>.toc--link:first-child{padding-left:208px;padding-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button+.toc--link{margin-left:208px;margin-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button{width:208px;width:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="8"] .toc--row>.toc--link:first-child{padding-left:232px;padding-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button+.toc--link{margin-left:232px;margin-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button{width:232px;width:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="9"] .toc--row>.toc--link:first-child{padding-left:256px;padding-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button+.toc--link{margin-left:256px;margin-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button{width:256px;width:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="10"] .toc--row>.toc--link:first-child{padding-left:280px;padding-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button+.toc--link{margin-left:280px;margin-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button{width:280px;width:calc(40px + var(--size-m1)*10)}.filtered>.toc--button,.toc .filtered>a{display:none}.toc #nav-submenu{padding-left:24px}.toc--part_hidden>.toc--part{display:none}.toc--row .toc--link-grid{display:grid;grid-template-columns:16px auto;grid-gap:6px;align-items:center}.toc--icon{height:16px;width:16px}.toc--icon.class:before{content:url(assets/class.svg)}.toc--icon.class-kt:before{content:url(assets/class-kotlin.svg)}.toc--icon.function:before{content:url(assets/function.svg)}.toc--icon.enum-class:before{content:url(assets/enum.svg)}.toc--icon.enum-class-kt:before{content:url(assets/enum-kotlin.svg)}.toc--icon.annotation-class:before{content:url(assets/annotation.svg)}.toc--icon.annotation-class-kt:before{content:url(assets/annotation-kotlin.svg)}.toc--icon.abstract-class:before{content:url(assets/abstract-class.svg)}.toc--icon.abstract-class-kt:before{content:url(assets/abstract-class-kotlin.svg)}.toc--icon.exception-class:before{content:url(assets/exception-class.svg)}.toc--icon.interface:before{content:url(assets/interface.svg)}.toc--icon.interface-kt:before{content:url(assets/interface-kotlin.svg)}.toc--icon.object:before{content:url(assets/object.svg)}.toc--icon.typealias-kt:before{content:url(assets/typealias-kotlin.svg)}.toc--icon.val:before{content:url(assets/field-value.svg)}.toc--icon.var:before{content:url(assets/field-variable.svg)}.toc--part[data-active]>.toc--row .toc--button,.toc--part[data-active]>.toc--row .toc--link{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.toc--part[data-active]>.toc--row .toc--button:hover,.toc--part[data-active]>.toc--row .toc--link:hover{background-color:#578af7}.toc--part[data-active]>.toc--row .toc--button:after,.toc--part[data-active]>.toc--row .toc--link:after{filter:invert(0)}.sidebar{border-right:1px solid rgba(39,40,44,.2);box-sizing:border-box;overflow:auto;width:var(--sidebar-width)}@media(max-width:899px){.sidebar{border:none;width:0}}@media(min-width:900px){.sidebar{position:relative;z-index:1}}@media(max-width:899px){.sidebar .button{height:52px;min-width:52px}}.theme-dark .sidebar{border-right-color:#56565f}.no-js .sidebar{display:none}.sidebar--inner{padding-bottom:12px;padding-top:12px}@media(max-width:899px){.ui-kit_desktop-only{display:none}}@media(min-width:900px){.ui-kit_mobile-only{display:none}}:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-key-blue-50:rgba(48,127,255,.5);--color-background-nav:#27282c;--color-background-nav-dt:#323237;--color-background-page:#fff;--color-background-page-dt:#262628;--color-background-footer:#ebebeb;--color-background-footer-dt:#323237;--color-text:#000;--color-text-dt:hsla(0,0%,100%,.96);--color-text-light:rgba(0,0,0,.7);--color-text-light-dt:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w08:hsla(0,0%,100%,.08);--color-w10:hsla(0,0%,100%,.1);--color-w16:hsla(0,0%,100%,.16);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-w100:#fff;--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 14px/20px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono);--hover-transition:background-color 200ms ease-in-out;--rotate-transition:transform 200ms ease-in-out;--color-background:var(--color-background-page);--focus-outline:4px solid var(--color-key-blue-50)}.theme-dark{--color-background:var(--color-background-page-dt)}body,table{background-color:#fff;background-color:var(--color-background)} \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/ui-kit.min.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/ui-kit.min.js index 7c7682878a..96b8d53062 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/ui-kit.min.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/custom-styling-example/html/ui-kit/ui-kit.min.js @@ -1 +1 @@ -(()=>{"use strict";var t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],r=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,a){t&&localStorage.setItem(e,a)}}}();function a(e){var a,r=null===(a=e.getAttribute("data-togglable"))||void 0===a?void 0:a.split(",");!function(a){var r,o,n,l;try{for(var i=t(document.getElementsByClassName("tabs-section")),c=i.next();!c.done;c=i.next()){var u=c.value;try{for(var d=(n=void 0,t(u.children)),s=d.next();!s.done;s=d.next()){var g=s.value;g.getAttribute("data-togglable")===e.getAttribute("data-togglable")?g.setAttribute("data-active",""):g.removeAttribute("data-active")}}catch(t){n={error:t}}finally{try{s&&!s.done&&(l=d.return)&&l.call(d)}finally{if(n)throw n.error}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");r&&e&&r.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),r="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&a(e)}(t),t.addEventListener("click",(function(t){var o=t.target,n=o?o.getAttribute("data-togglable"):null;n&&(e.setItem(r,JSON.stringify(n)),a(o))}))}));var o=e.getItem(r);if(o){var n=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(o)+'"]');n&&a(n)}},window.toggleSections=a})(); \ No newline at end of file +(()=>{"use strict";function t(e,n){return!(!e||!e.classList.contains(n))||!!e.parentElement&&t(e.parentElement,n)}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("div.button").forEach((function(t){t.addEventListener("keydown",(function(e){var n=e.key;"Enter"!==n&&" "!==n||t.dispatchEvent(new MouseEvent("click"))}))}))}));function e(){return window.innerWidth<440?"mobile":window.innerWidth>=440&&window.innerWidth<900?"tablet":"desktop"}var n=function(){function t(t){this.trapElement=t,this.handleKeyDown=this.handleKeyDown.bind(this),this.trapElement.addEventListener("keydown",this.handleKeyDown)}return t.prototype.handleKeyDown=function(t){var e=Array.from(this.trapElement.querySelectorAll('[role="option"]')).filter((function(t){return"none"!==t.style.display&&-1!==t.tabIndex}));if(["Tab","ArrowDown","ArrowUp"].includes(t.key)&&0!==e.length){var n=e[0],o=e[e.length-1];if("ArrowUp"===t.key)if(document.activeElement===n)o.focus();else{var r=e.indexOf(document.activeElement);e[r-1].focus()}"ArrowDown"===t.key&&(document.activeElement===o?n.focus():(r=e.indexOf(document.activeElement),e[r+1].focus())),"Tab"===t.key&&(t.shiftKey?document.activeElement===n&&(o.focus(),t.preventDefault()):document.activeElement===o&&(n.focus(),t.preventDefault()))}},t.prototype.destroy=function(){this.trapElement.removeEventListener("keydown",this.handleKeyDown)},t}(),o='[data-role="dropdown"]',r='[data-role="dropdown-toggle"]',i='[data-role="dropdown-listbox"]';function l(t){var e,n,o=t.querySelectorAll(r);null==o||o.forEach(a),e=t.querySelector(i),n=o[0].offsetWidth,e&&(e.classList.toggle("dropdown--list_expanded"),e.classList.contains("dropdown--list_expanded")?c(e,n):c(e,void 0))}function a(t){t.classList.contains("button_dropdown")&&t.classList.toggle("button_dropdown_active")}function c(t,e){if(e){var n=parseInt(getComputedStyle(t).minWidth,10),o=isNaN(n)?e:Math.max(n,e);t.style.minWidth="".concat(o,"px")}else t.style.minWidth=""}function d(e){var n=e.target;t(n,"dropdown")&&"dropdown--overlay"!==n.className||document.querySelectorAll(o).forEach((function(t){var e,n;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(t){t.classList.remove("button_dropdown_active")})),null===(n=t.querySelectorAll(i))||void 0===n||n.forEach((function(t){t.classList.remove("dropdown--list_expanded"),t.style.minWidth=""}))}))}function u(t){t.tag.removeAttribute("style"),t.option.setAttribute("style","display: none")}function s(t){t.tag.setAttribute("style","display: none"),t.option.removeAttribute("style")}function f(t){var e,n=null===(e=t.querySelector(".checkbox--input"))||void 0===e?void 0:e.getAttribute("data-filter");n&&(-1===filteringContext.activeFilters.findIndex((function(t){return t===n}))?unfilterSourceset(n):filterSourceset(n)),refreshFiltering()}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(o).forEach((function(t){var e;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(e){e.addEventListener("click",(function(){return l(t)}))})),function(t){new n(t),t.addEventListener("keydown",(function(e){var n;"Escape"===e.key&&(l(t),null===(n=t.querySelector(r))||void 0===n||n.focus())}))}(t)})),document.addEventListener("click",d)})),document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("navigation-wrapper"),n=document.getElementById("library-version"),o=document.getElementById("filter-section"),r=document.querySelector("#filter-section + .navigation-controls--btn"),i=document.getElementById("filter-section-dropdown");if(t&&n&&o&&r&&i){var l=null==o?void 0:o.querySelectorAll(".dropdown--option"),a=null==o?void 0:o.querySelectorAll(".platform-selector");if(a&&l)if(a.length===l.length){var c=Array.from({length:a.length}).map((function(t,e){return{tag:a[e],option:l[e]}})),d=c.map((function(t){return t.tag.getBoundingClientRect().width})),v=e(),m=new ResizeObserver((function(){var n=e();v!==n&&(c.forEach(u),d=function(t){return t.map((function(t){return t.tag.getBoundingClientRect().width}))}(c)),v=n,y(),m.unobserve(t)})),g=function(){m.observe(t)};y(),g(),l.forEach((function(t){t.addEventListener("click",(function(t){f(t.target)})),t.addEventListener("keydown",(function(t){var e=t.key;"Enter"!==e&&" "!==e||f(t.target)}))})),window.addEventListener("resize",g)}else console.warn("Dokka: filter section items are not equal");else console.warn("Dokka: filter section items are not found")}else console.warn("Dokka: filter section is not found");function y(){var e,l;if(t&&i){if(t.getBoundingClientRect().width<900)return c.forEach(s),void i.removeAttribute("style");var a=(n&&r?r.getBoundingClientRect().left-n.getBoundingClientRect().right:0)-44-10,f=0;i.removeAttribute("style");var v=!1;c.forEach((function(t,e){(f+=d[e]+4)=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,n){t&&localStorage.setItem(e,n)}}}();function g(t){var e,n=null===(e=t.getAttribute("data-togglable"))||void 0===e?void 0:e.split(",");!function(){var e,n,o,r;try{for(var i=v(document.getElementsByClassName("tabs-section")),l=i.next();!l.done;l=i.next()){var a=l.value;try{for(var c=(o=void 0,v(a.children)),d=c.next();!d.done;d=c.next()){var u=d.value;u.getAttribute("data-togglable")===t.getAttribute("data-togglable")?u.setAttribute("data-active",""):u.removeAttribute("data-active")}}catch(t){o={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");n&&e&&n.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),e="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&g(e)}(t),t.addEventListener("click",(function(t){var n=t.target,o=n?n.getAttribute("data-togglable"):null;o&&(m.setItem(e,JSON.stringify(o)),g(n))}))}));var n=m.getItem(e);if(n){var o=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(n)+'"]');o&&g(o)}},window.toggleSections=g,document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-remove-style="true"]').forEach((function(t){t.removeAttribute("style")}))}))})(); \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/arrow_down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/arrow_down.svg deleted file mode 100644 index 2478845270..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/arrow_down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/burger.svg deleted file mode 100644 index 40f73c5369..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/burger.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/theme-toggle.svg deleted file mode 100644 index fcc900f389..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/theme-toggle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/index.html index a1e32c8a76..073e4a59dc 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/index.html @@ -31,32 +31,47 @@ - +
- +
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/-my-java-application.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/-my-java-application.html index 4e76fe8d39..fddd3540b2 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/-my-java-application.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/-my-java-application.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/index.html index 8e17eabd10..0b5c810736 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/main.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/main.html index 2eec3b2c91..fa6637a70f 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/main.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/-my-java-application/main.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/index.html index 7bf9be2431..8dd7b42992 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/demo/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/index.html index 8175683c95..c25026dd64 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/navigation.html index 34efe21c47..2906ced616 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-application/navigation.html @@ -1,55 +1,55 @@
-
-
- my-java-application +
+ -
-
- demo +
+
+ demo
- -
-
- my-java-features +
+ -
-
- demo.feature +
+ -
- -
-
- demo.mongodb +
+ - -
-
- my-java-library +
+ -
-
- demo +
+
+ demo
-
- diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/-my-java-feature-util/-my-java-feature-util.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/-my-java-feature-util/-my-java-feature-util.html index 15199bcd78..fb050c501a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/-my-java-feature-util/-my-java-feature-util.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/-my-java-feature-util/-my-java-feature-util.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/-my-java-feature-util/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/-my-java-feature-util/index.html index b794634b44..86686bfe7f 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/-my-java-feature-util/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/-my-java-feature-util/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/index.html index 1a7b638c56..a82dd5b158 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.feature/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/-my-mongo-db-util/-my-mongo-db-util.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/-my-mongo-db-util/-my-mongo-db-util.html index 4289b5557c..d4151f6f9a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/-my-mongo-db-util/-my-mongo-db-util.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/-my-mongo-db-util/-my-mongo-db-util.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/-my-mongo-db-util/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/-my-mongo-db-util/index.html index baaf16741d..d0ea4fd5ee 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/-my-mongo-db-util/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/-my-mongo-db-util/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/index.html index 329968b774..42809de604 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/demo.mongodb/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/index.html index 421d97a0a6..5babbca103 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/index.html @@ -31,34 +31,71 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/navigation.html index 34efe21c47..2906ced616 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-features/navigation.html @@ -1,55 +1,55 @@
-
-
- my-java-application +
+ -
-
- demo +
+
+ demo
- -
-
- my-java-features +
+ -
-
- demo.feature +
+ -
- -
-
- demo.mongodb +
+ - -
-
- my-java-library +
+ -
-
- demo +
+
+ demo
-
- diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/-my-java-library-class/-my-java-library-class.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/-my-java-library-class/-my-java-library-class.html index 2ca00850d0..a795252548 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/-my-java-library-class/-my-java-library-class.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/-my-java-library-class/-my-java-library-class.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/-my-java-library-class/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/-my-java-library-class/index.html index b93fc8e147..6b0c11c622 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/-my-java-library-class/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/-my-java-library-class/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/index.html index 9566fc72ee..ba6c252613 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/demo/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/index.html index 2b342049f8..9143080336 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/navigation.html index 34efe21c47..2906ced616 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/my-java-library/navigation.html @@ -1,55 +1,55 @@
-
-
- my-java-application +
+ -
-
- demo +
+
+ demo
- -
-
- my-java-features +
+ -
-
- demo.feature +
+ -
- -
-
- demo.mongodb +
+ - -
-
- my-java-library +
+ -
-
- demo +
+
+ demo
-
- diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/navigation.html index 45ba81f56f..3ceadc9d24 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/navigation.html @@ -1,55 +1,55 @@
-
-
- my-java-application +
+ -
-
- demo +
+
+ demo
- -
-
- my-java-features +
+ -
-
- demo.feature +
+ -
- -
-
- demo.mongodb +
+ - -
-
- my-java-library +
+ -
-
- demo +
+
+ demo
-
- diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/scripts/main.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/scripts/main.js index eb22535ed1..90382844b7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/scripts/main.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/scripts/main.js @@ -49,5 +49,5 @@ t(5228);var r=t(6540),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Sy Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",n=0;n{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("span",{children:r}),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.847 14.861A6.99 6.99 0 0017.587 11a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM22.587 18a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("div",Ou({className:"template-title"},{children:r})),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M15.142 6.28a6.497 6.497 0 10-2.421 8.866c.207-.122.409-.256.602-.4L19.587 21 21 19.586l-6.261-6.251a6.51 6.51 0 00.402-7.055zm-3.413 7.129a4.5 4.5 0 11-4.463-7.814 4.5 4.5 0 014.463 7.814z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,maxHeight:510,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t { navigationPageText.then(data => { document.getElementById("sideMenu").innerHTML = data; }).then(() => { - document.querySelectorAll(".overview > a").forEach(link => { + document.querySelectorAll(".toc--row > a").forEach(link => { link.setAttribute("href", pathToRoot + link.getAttribute("href")); }) }).then(() => { - document.querySelectorAll(".sideMenuPart").forEach(nav => { - if (!nav.classList.contains("hidden")) - nav.classList.add("hidden") + document.querySelectorAll(".toc--part").forEach(nav => { + if (!nav.classList.contains("toc--part_hidden")) + nav.classList.add("toc--part_hidden") }) }).then(() => { revealNavigationForCurrentPage() @@ -33,14 +33,14 @@ displayNavigationFromPage = () => { revealNavigationForCurrentPage = () => { let pageId = document.getElementById("content").attributes["pageIds"].value.toString(); - let parts = document.querySelectorAll(".sideMenuPart"); + let parts = document.querySelectorAll(".toc--part"); let found = 0; do { parts.forEach(part => { if (part.attributes['pageId'].value.indexOf(pageId) !== -1 && found === 0) { found = 1; - if (part.classList.contains("hidden")) { - part.classList.remove("hidden"); + if (part.classList.contains("toc--part_hidden")) { + part.classList.remove("toc--part_hidden"); part.setAttribute('data-active', ""); } revealParents(part) @@ -50,25 +50,25 @@ revealNavigationForCurrentPage = () => { } while (pageId.indexOf("/") !== -1 && found === 0) }; revealParents = (part) => { - if (part.classList.contains("sideMenuPart")) { - if (part.classList.contains("hidden")) - part.classList.remove("hidden"); + if (part.classList.contains("toc--part")) { + if (part.classList.contains("toc--part_hidden")) + part.classList.remove("toc--part_hidden"); revealParents(part.parentNode) } }; scrollNavigationToSelectedElement = () => { - let selectedElement = document.querySelector('div.sideMenuPart[data-active]') + let selectedElement = document.querySelector('div.toc--part[data-active]') if (selectedElement == null) { // nothing selected, probably just the main page opened return } - let hasIcon = selectedElement.querySelectorAll(":scope > div.overview span.nav-icon").length > 0 + let hasIcon = selectedElement.querySelectorAll(":scope > div.toc--row span.toc--icon").length > 0 - // for instance enums also have children and are expandable, but are not package/module elements + // for an instance enums also have children and are expandable but are not package/module elements let isPackageElement = selectedElement.children.length > 1 && !hasIcon if (isPackageElement) { - // if package is selected or linked, it makes sense to align it to top + // if a package is selected or linked, it makes sense to align it to top // so that you can see all the members it contains selectedElement.scrollIntoView(true) } else { @@ -84,9 +84,9 @@ scrollNavigationToSelectedElement = () => { /* This is a work-around for safari being IE of our times. - It doesn't fire a DOMContentLoaded, presumabely because eventListener is added after it wants to do it + It doesn't fire a DOMContentLoaded, presumably because eventListener is added after it wants to do it */ -if (document.readyState == 'loading') { +if (document.readyState === 'loading') { window.addEventListener('DOMContentLoaded', () => { displayNavigationFromPage() }) diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/scripts/platform-content-handler.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/scripts/platform-content-handler.js index 6ecfc120a6..118de3848a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/scripts/platform-content-handler.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/scripts/platform-content-handler.js @@ -52,9 +52,10 @@ window.addEventListener('load', () => { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) initializeFiltering() } - initTabs() // initTabs comes from ui-kit/tabs + if (typeof initTabs === 'function') { + initTabs() // initTabs comes from ui-kit/tabs + } handleAnchor() - initHidingLeftNavigation() topNavbarOffset = document.getElementById('navigation-wrapper') darkModeSwitch() }) @@ -115,21 +116,6 @@ const samplesAreEnabled = () => { } } - -const initHidingLeftNavigation = () => { - document.getElementById("menu-toggle").onclick = function (event) { - //Events need to be prevented from bubbling since they will trigger next handler - event.preventDefault(); - event.stopPropagation(); - event.stopImmediatePropagation(); - document.getElementById("leftColumn").classList.toggle("open"); - } - - document.getElementById("main").onclick = () => { - document.getElementById("leftColumn").classList.remove("open"); - } -} - // Hash change is needed in order to allow for linking inside the same page with anchors // If this is not present user is forced to refresh the site in order to use an anchor window.onhashchange = handleAnchor @@ -274,6 +260,11 @@ function removeSourcesetFilterFromCache(sourceset) { } } +function refreshSourcesetsCache() { + safeLocalStorage.setItem('inactive-filters', JSON.stringify(filteringContext.restrictedDependencies.filter(p => -1 === filteringContext.activeFilters.indexOf(p)))) +} + + function togglePlatformDependent(e, container) { let target = e.target if (target.tagName !== 'BUTTON') return; @@ -322,14 +313,18 @@ function refreshPlaygroundSamples() { function refreshNoContentNotification() { const element = document.getElementsByClassName("main-content")[0] + const filteredMessage = document.querySelector(".filtered-message") + if(filteringContext.activeFilters.length === 0){ element.style.display = "none"; - const appended = document.createElement("div") - appended.className = "filtered-message" - appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" - sourcesetNotification = appended - element.parentNode.prepend(appended) + if (!filteredMessage) { + const appended = document.createElement("div") + appended.className = "filtered-message" + appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" + sourcesetNotification = appended + element.parentNode.prepend(appended) + } } else { if(sourcesetNotification) sourcesetNotification.remove() element.style.display = "block" @@ -369,4 +364,8 @@ function refreshFilterButtons() { f.removeAttribute("data-active") } }) + document.querySelectorAll("#filter-section .checkbox--input") + .forEach(f => { + f.checked = filteringContext.activeFilters.indexOf(f.getAttribute("data-filter")) !== -1; + }) } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/font-jb-sans-auto.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/font-jb-sans-auto.css index 2398f70f52..18d25d3b85 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/font-jb-sans-auto.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/font-jb-sans-auto.css @@ -8,6 +8,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; + font-display: swap; } /* Regular weight */ @font-face { @@ -15,6 +16,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff'); font-weight: 400; font-style: normal; + font-display: swap; } /* SemiBold weight */ @font-face { @@ -22,6 +24,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; + font-display: swap; } @supports (font-variation-settings: normal) { @@ -32,5 +35,6 @@ url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations'); font-weight: 100 900; font-style: normal; + font-display: swap; } } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/logo-styles.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/logo-styles.css index 988268da69..8281d5ca63 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/logo-styles.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/logo-styles.css @@ -4,6 +4,6 @@ :root { --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; + --dokka-logo-height: 28px; + --dokka-logo-width: 28px; } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/main.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/main.css index c90da07710..2a0c8dfb30 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/main.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/main.css @@ -1,6 +1,18 @@ /*! * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:rgba(0,0,0,0);fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;margin:0;padding:0;font-size:0;line-height:0}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:calc(100% - 322px) !important;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0} /* stylelint-disable color-no-hex */ .light, diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/style.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/style.css index 628d27dd02..c64fa37161 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/style.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/styles/style.css @@ -8,7 +8,7 @@ /* --- root styles --- */ :root { --default-gray: #f4f4f4; - --default-font-color: black; + --default-font-color: rgb(0, 0, 0); --header-font-color: var(--default-font-color); --breadcrumb-font-color: #637282; @@ -217,9 +217,9 @@ td:first-child { /* ---dark theme --- */ .theme-dark { - --background-color: #27282c; + --background-color: #262628; --color-dark: #3d3d41; - --default-font-color: hsla(0, 0%, 100%, 0.8); + --default-font-color: rgba(255, 255, 255, 0.96); --border-color: hsla(0, 0%, 100%, 0.2); --code-background: hsla(0, 0%, 100%, 0.05); --breadcrumb-font-color: #8c8c8e; @@ -249,170 +249,6 @@ td:first-child { height: 100%; } -/* --- Navigation styles --- */ -.navigation { - display: flex; - justify-content: space-between; - - color: #fff; - background-color: var(--color-dark); - font-family: var(--default-font-family); - letter-spacing: -0.1px; - - /* Reset margin and use padding for border */ - margin-left: 0; - margin-right: 0; - padding: 10px var(--horizontal-spacing-for-content); - - z-index: 4; -} - -.navigation--inner { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - flex: 1 1 auto; -} - -.navigation--inner, .navigation-title { - min-height: 40px; -} - -.navigation-title, .filter-section { - align-items: center; -} - -.navigation-title { - display: flex; - align-items: center; -} - -/* --- Navigation MENU --- */ -.menu-toggle { - color: var(--background-color); - line-height: 0; - font-size: 0; - text-indent: -9999px; - - background: transparent; - border: none; - padding: 0; - margin-right: 16px; - outline: none; - - transition: margin .2s ease-out; - z-index: 5; -} - -@media (min-width: 760px) { - .menu-toggle { - display: none; - } -} - -.menu-toggle::before { - display: block; - content: ''; - background: url('../images/burger.svg') no-repeat center; - height: 28px; - width: 28px; -} - -/* /--- Navigation MENU --- */ - -.library-version { - position: relative; - top: -4px; - margin-left: 3px; - - color: rgba(255, 255, 255, .7); - font-size: 13px; - font-weight: normal; - line-height: 16px; -} - -.filter-section { - z-index: 0; -} - -.no-js .filter-section { - display: none; -} - -@media (min-width: 760px) { - .filter-section { - padding: 5px 0 5px; - } -} - -/* --- Navigation controls --- */ -.navigation-controls { - display: flex; - margin-left: 4px; -} - -@media (min-width: 760px) { - .navigation-controls { - align-items: center; - } -} - -.no-js .navigation-controls { - display: none; -} - -.navigation-controls--btn { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; - height: 40px; - border-radius: 50%; - background-color: inherit; - background-position: 50% 50%; - padding: 0; - border: none; - cursor: pointer; - font-size: 0; - line-height: 0; - transition: background-color 200ms ease-in-out; - will-change: background-color; -} - -.navigation-controls--btn:hover { - background-color: var(--white-10); -} - -.navigation-controls--theme { - background-image: url("../images/theme-toggle.svg"); - background-repeat: no-repeat; -} - -@media (max-width: 759px) { - .navigation-controls--theme { - display: none; - } -} - -.navigation-controls--homepage { - background-image: url("../images/homepage.svg"); - background-repeat: no-repeat; - background-size: 24px 24px; -} - -@media (max-width: 759px) { - .navigation-controls--homepage { - display: none; - } -} - -.navigation .platform-selector:not([data-active]) { - color: #fff; -} - -/* /--- Navigation controls --- */ -/* /--- Navigation styles --- */ - /* --- Layout styles --- */ #container { @@ -421,7 +257,7 @@ td:first-child { min-height: 0; /* full height exclude header */ } -#container > .sidebar, #container > #main { +#container > #main { overflow: auto; } @@ -431,55 +267,6 @@ td:first-child { flex: 1 1 0; /* full width, but no affects for sidebar */ } -.sidebar { - display: flex; - flex-direction: column; - box-sizing: border-box; - border-right: 1px solid var(--border-color); - width: var(--sidebar-width); -} - -.no-js .sidebar { - display: none; -} - -@media (max-width: 759px) { - #container { - position: relative; - } - - .sidebar { - position: absolute; - top: 0; - bottom: 0; - box-sizing: border-box; - background: var(--background-color); - margin-left: calc(-1 * var(--sidebar-width)); - transition: margin .2s ease-out; - z-index: 4; - } - - .sidebar.open { - margin-left: 0; - } - - .sidebar.open ~ #main .navigation-controls--search { - display: none; - } - - .sidebar.open ~ #main .menu-toggle { - margin-left: var(--sidebar-width); - } -} - -.sidebar--inner { - font-size: 12px; - font-weight: 400; - line-height: 16px; - padding-top: 22px; - padding-bottom: 16px; -} - /* /--- Layout styles --- */ /* --- Main Content styles --- */ @@ -608,16 +395,6 @@ code.paragraph { display: block; } -.overview > .navButton { - position: absolute; - align-items: center; - display: flex; - justify-content: flex-end; - padding: 2px 2px 2px 0; - margin-right: 5px; - cursor: pointer; -} - .strikethrough { text-decoration: line-through; } @@ -761,166 +538,6 @@ code:not(.block) { word-break: break-word; } -.sideMenuPart > .overview { - display: flex; - align-items: center; - position: relative; - user-select: none; /* there's a weird bug with text selection */ - padding: 8px 0; -} - -.sideMenuPart a { - display: block; - align-items: center; - color: var(--default-font-color); - overflow: hidden; - padding-left: 23px; -} - -.sideMenuPart a:hover { - text-decoration: none; - color: var(--default-font-color); -} - -.sideMenuPart > .overview:before { - box-sizing: border-box; - content: ''; - top: 0; - width: var(--sidebar-width); - right: 0; - bottom: 0; - position: absolute; - z-index: -1; -} - -.overview:hover:before { - background-color: var(--navigation-highlight-color); -} - -#nav-submenu { - padding-left: 24px; -} - -.sideMenuPart { - padding-left: 12px; - box-sizing: border-box; -} - -.sideMenuPart.hidden > .overview .navButtonContent::before { - transform: rotate(0deg); -} - -.sideMenuPart > .overview .navButtonContent::before { - content: ''; - - -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - -webkit-mask-size: cover; - mask-size: cover; - background-color: var(--default-font-color); - - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - transform: rotate(90deg); - width: 16px; - height: 16px; -} - -.sideMenuPart[data-active] > .overview .navButtonContent::before { - background-color: var(--default-white); -} - -.sideMenuPart.hidden > .navButton .navButtonContent::after { - content: '\02192'; -} - -.sideMenuPart.hidden > .sideMenuPart { - display: none; -} - -.overview .nav-link-grid { - display: grid; - grid-template-columns: 16px auto; /* first is the icon, then name */ - grid-gap: 6px; - align-items: center; -} - -.nav-icon { - width: 16px; - height: 16px; -} - -.nav-icon.class::before { - content: url("../images/nav-icons/class.svg"); -} - -.nav-icon.class-kt::before { - content: url("../images/nav-icons/class-kotlin.svg"); -} - -.nav-icon.function::before { - content: url("../images/nav-icons/function.svg"); -} - -.nav-icon.enum-class::before { - content: url("../images/nav-icons/enum.svg"); -} - -.nav-icon.enum-class-kt::before { - content: url("../images/nav-icons/enum-kotlin.svg"); -} - -.nav-icon.annotation-class::before { - content: url("../images/nav-icons/annotation.svg"); -} - -.nav-icon.annotation-class-kt::before { - content: url("../images/nav-icons/annotation-kotlin.svg"); -} - -.nav-icon.abstract-class::before { - content: url("../images/nav-icons/abstract-class.svg"); -} - -.nav-icon.abstract-class-kt::before { - content: url("../images/nav-icons/abstract-class-kotlin.svg"); -} - -.nav-icon.exception-class::before { - content: url("../images/nav-icons/exception-class.svg"); -} - -.nav-icon.interface::before { - content: url("../images/nav-icons/interface.svg"); -} - -.nav-icon.interface-kt::before { - content: url("../images/nav-icons/interface-kotlin.svg"); -} - -.nav-icon.object::before { - content: url("../images/nav-icons/object.svg"); -} - -.nav-icon.typealias-kt::before { - content: url("../images/nav-icons/typealias-kotlin.svg"); -} - -.nav-icon.val::before { - content: url("../images/nav-icons/field-value.svg"); -} - -.nav-icon.var::before { - content: url("../images/nav-icons/field-variable.svg"); -} - -.filtered > a, .filtered > .navButton { - display: none; -} - - .brief { white-space: pre-wrap; overflow: hidden; @@ -1037,88 +654,6 @@ p.paragraph img { display: none !important; } -.platform-tags, .filter-section { - display: flex; - flex-wrap: wrap; - margin-bottom: -8px; - margin-left: -4px; -} - -.platform-tag { - --platform-tag-color: #bababb; - border: 0 none; - margin-right: 4px; - margin-bottom: 8px; - - font-family: var(--default-font-family); - font-size: 13px; - line-height: 1.5; - text-transform: capitalize; -} - -.platform-tag.js-like, .platform-tag.jvm-like, .platform-tag.wasm-like { - text-transform: uppercase; -} - -.filter-section .platform-tag { - cursor: pointer; - border-radius: 4px; - padding: 2px 16px; -} - -.filter-section .platform-tag.jvm-like[data-active], .platform-tags .platform-tag.jvm-like { - --platform-tag-color: #4dbb5f; -} - -.filter-section .platform-tag.js-like[data-active], .platform-tags .platform-tag.js-like { - --platform-tag-color: #ffc700; -} - -.filter-section .platform-tag.native-like[data-active], .platform-tags .platform-tag.native-like { - --platform-tag-color: #E082F3; -} - -.filter-section .platform-tag.wasm-like[data-active], .platform-tags .platform-tag.wasm-like { - --platform-tag-color: #9585F9; -} - -.filter-section .platform-tag[data-active]:hover { - color: #fff; - background-color: rgba(186, 186, 187, .7); -} - -.filter-section .platform-tag:not([data-active]) { - color: #fff; - /* Safari doesn't work correctly for `outline` with `border-radius` */ - /* outline: 1px solid rgba(255,255,255,.6); */ - /* ...use `box-shadow` instead: */ - box-shadow: 0 0 0 1px rgb(255 255 255 / 60%); - background-color: rgba(255,255,255,.05); -} - -.filter-section .platform-tag[data-active] { - color: #19191c; - background-color: var(--platform-tag-color); -} - -.platform-tags .platform-tag { - display: flex; - align-items: center; -} - -.platform-tags .platform-tag::before { - display: inline-block; - content: ''; - border-radius: 50%; - background: var(--platform-tag-color); - margin: 0 4px 0 8px; - height: 8px; - width: 8px; - - font-size: 13px; - line-height: 1.6; -} - td.content { padding-left: 24px; padding-top: 16px; @@ -1234,14 +769,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o padding: 8px; } -.sideMenuPart[data-active] > .overview:before { - background: var(--sidemenu-section-active-color); -} - -.sideMenuPart[data-active] > .overview > a { - color: var(--default-white); -} - .table { display: flex; flex-direction: column; @@ -1408,34 +935,3 @@ div.runnablesample { } /* /--- footer --- */ - -/* Logo styles */ -:root { - --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; -} - -.library-name--link { - display: flex; - align-items: center; - color: #fff; - font-weight: 530; -} - -.library-name--link::before { - content: ''; - background: var(--dokka-logo-image-url) center no-repeat; - background-size: var(--dokka-logo-height) var(--dokka-logo-width); - margin-right: 5px; - width: var(--dokka-logo-height); - height: var(--dokka-logo-width); -} - -@media (max-width: 759px) { - .library-name--link::before { - display: none; - } -} - -/* / Logo styles */ diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/abstract-class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/abstract-class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/abstract-class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/abstract-class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/abstract-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/abstract-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/abstract-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/abstract-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/annotation-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/annotation-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/annotation-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/annotation-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/annotation.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/annotation.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/annotation.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/annotation.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/arrow-down.svg similarity index 59% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/homepage.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/arrow-down.svg index e3c83b1ce3..ca54658d3c 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/composite-build-example/html/images/homepage.svg +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/arrow-down.svg @@ -1,3 +1,3 @@ - + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/burger.svg new file mode 100644 index 0000000000..a26f194dc4 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/burger.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/checkbox-off.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/checkbox-off.svg new file mode 100644 index 0000000000..a5117e8d9a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/checkbox-off.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/checkbox-on.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/checkbox-on.svg new file mode 100644 index 0000000000..71891d57dd --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/checkbox-on.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/cross.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/cross.svg new file mode 100644 index 0000000000..232069f85e --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/enum-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/enum-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/enum-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/enum-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/enum.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/enum.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/enum.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/enum.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/exception-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/exception-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/exception-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/exception-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/field-value.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/field-value.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/field-value.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/field-value.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/field-variable.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/field-variable.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/field-variable.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/field-variable.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/filter.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/filter.svg new file mode 100644 index 0000000000..be62ea5bf3 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/filter.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/function.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/function.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/function.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/function.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/homepage.svg new file mode 100644 index 0000000000..9a8927a40a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/interface-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/interface-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/interface-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/interface-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/interface.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/interface.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/interface.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/interface.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/object.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/object.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/object.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/object.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/placeholder.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/placeholder.svg new file mode 100644 index 0000000000..e8129621d2 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/placeholder.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/theme-toggle.svg new file mode 100644 index 0000000000..490263f391 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/theme-toggle.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/typealias-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/typealias-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/images/nav-icons/typealias-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/assets/typealias-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/ui-kit.min.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/ui-kit.min.css index 65bf50d52d..349ee87bfe 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/ui-kit.min.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/ui-kit.min.css @@ -1 +1 @@ -:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-nav-bar:#27282c;--color-dark-theme-bg:#262628;--color-text-black:#000;--color-text-white:hsla(0,0%,100%,.96);--color-text-light-black:rgba(0,0,0,.7);--color-text-light-white:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w10:hsla(0,0%,100%,.1);--color-w20:hsla(0,0%,100%,.2);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 13px/24px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono)}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none} +.button{align-items:center;background-color:transparent;border:none;border-radius:4px;border-radius:var(--size-s1);box-sizing:border-box;color:#000;color:var(--color-text);cursor:pointer;display:flex;height:40px;justify-content:center;letter-spacing:.045em;padding:8px 12px;padding:var(--size-s2) 12px}.button[\:has\(\:first-child\)]{gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}.button:has(:first-child){gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}@media(hover:hover){.button:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.button:active{background-color:#307fff;background-color:var(--color-key-blue)}.button:disabled{cursor:not-allowed;opacity:.5}.button.focus-visible{outline:var(--focus-outline)}.button:focus-visible{outline:var(--focus-outline)}.theme-dark .button{color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.theme-dark .button:hover{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.button_background{background-color:#fff;background-color:var(--color-w100)}.theme-dark .button_background{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.theme-dark .button_background:hover{background-color:hsla(0,0%,100%,.05);background-color:var(--color-w05)}.button_dropdown{font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:8px;padding:var(--size-s2)}.button_dropdown:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;content:"";display:block;filter:invert(1);height:24px;height:var(--size-m1);transform:rotate(0);width:24px;width:var(--size-m1);will-change:transform}.theme-dark .button_dropdown:after{filter:none}.button_dropdown_active{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.button_dropdown_active:hover,.theme-dark .button_dropdown_active:hover{background-color:#639fff}.button_dropdown_active:after{filter:invert(0);transform:rotate(-180deg)}.checkbox{cursor:pointer;display:inline-block;position:relative}.checkbox--input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;visibility:hidden}.checkbox--icon{background-image:url(assets/checkbox-off.svg);height:24px;height:var(--size-m1);margin-left:-32px;margin-left:calc(var(--size-m2)*-1);position:absolute;width:24px;width:var(--size-m1)}.checkbox--input:checked+.checkbox--icon{background-image:url(assets/checkbox-on.svg)}.checkbox--input:disabled+.checkbox--icon{opacity:.2}.checkbox--input.focus-visible{outline:var(--focus-outline)}.checkbox--input:focus-visible{outline:var(--focus-outline)}.dropdown{position:relative}@media(max-width:899px){.dropdown{position:static}}.dropdown--list{background-color:#323237;background-color:var(--color-background-nav-dt);border:1px solid #56565f;box-shadow:0 2px 8px 0 rgba(0,0,0,.251);display:none;max-height:400px;max-width:360px;min-width:272px;overflow-y:auto;padding:12px 0;position:absolute;right:0;top:44px;-webkit-transform:translateZ(0);width:-moz-fit-content;width:fit-content;z-index:10}@media(max-width:899px){.dropdown--list{border:none;height:100vh;max-height:none;padding:0;right:0;top:0}}@media(max-width:439px){.dropdown--list{max-width:none;width:100vw}}.dropdown--list_positioned_right{right:0}.dropdown--list_positioned_left{left:0}@media(max-width:899px){.dropdown--list_positioned_left{left:auto}}.dropdown--list_expanded{display:block}@media(min-width:900px){.dropdown--list_toc-list{background-color:transparent;border:none;box-shadow:none;display:block;max-height:none;max-width:none;min-width:100%;padding:0;position:relative;top:0}}@media(min-width:440px)and (max-width:899px){.dropdown--list_toc-list{width:408px}}.dropdown--option{background-color:#323237;background-color:var(--color-background-nav-dt);border:none;color:var(--color-text-nav-dt);cursor:pointer;display:block;font:400 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-m);letter-spacing:-.03em;list-style-type:none;padding:8px 16px;padding:var(--size-s2) var(--size-s3);position:relative}.dropdown--option:hover{background-color:#4a4a52}.dropdown--option.focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:visited{color:var(--color-text-nav-dt)}.dropdown--option_active{background-color:#307fff;background-color:var(--color-key-blue)}.dropdown--option_active:hover{background-color:#639fff}.dropdown--option_link{color:var(--color-text-nav-dt);text-decoration:none}.dropdown--option_link.focus-visible{outline:var(--focus-outline)}.dropdown--option_link:focus-visible{outline:var(--focus-outline)}.dropdown--option .checkbox{pointer-events:none}.dropdown--option .checkbox:first-letter{text-transform:uppercase}.dropdown--overlay{background-color:hsla(0,0%,54%,.5);bottom:0;content:"";display:none;height:100vh;left:0;position:absolute;right:0;top:0;width:100vw;z-index:4}.dropdown--list_expanded+.dropdown--overlay{display:block}@media(min-width:900px){.dropdown--list_expanded+.dropdown--overlay{display:none}}.dropdown--header{align-items:center;background-color:#323237;background-color:var(--color-background-nav-dt);border-bottom:1px solid #56565f;color:hsla(0,0%,100%,.7);color:var(--color-w70);display:flex;height:52px;justify-content:space-between;padding-left:16px;padding-left:var(--size-s3);position:sticky;top:0;z-index:2}@media(min-width:900px){.dropdown--header{display:none}}.filter-section{align-items:center;display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-end;margin-right:12px;max-height:40px;z-index:1}.filter-section_loading{overflow:hidden}@media(min-width:900px){.filter-section--dropdown{display:none}}.filter-section--dropdown-toggle_as-filters{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat;min-width:40px}.filter-section--dropdown-toggle_as-filters:after{display:none}@media(max-width:899px){.filter-section{margin-right:0;max-height:none}.filter-section>:not(.dropdown){display:none}.filter-section--dropdown-toggle{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat}.filter-section--dropdown-toggle:after{display:none}}.no-js .filter-section{display:none}.ui-kit-icon{background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;filter:invert(1);font-size:0;height:24px;height:var(--size-m1);line-height:0;width:24px;width:var(--size-m1);will-change:background-color}.theme-dark .ui-kit-icon{filter:none}@media(max-width:899px){.theme-dark_mobile .ui-kit-icon{filter:none}}.ui-kit-icon_arrow-down{background-image:url(assets/arrow-down.svg)}.ui-kit-icon_placeholder{background-image:url(assets/placeholder.svg)}.ui-kit-icon_cross{background-image:url(assets/cross.svg)}.library-name--link{align-items:center;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;font:600 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-h4);margin-right:8px;margin-right:var(--size-s2);white-space:nowrap}.library-name--link.focus-visible{outline:var(--focus-outline)}.library-name--link:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.library-name--link{height:52px;margin-left:12px}}.library-name--link:before{background:var(--dokka-logo-image-url) center no-repeat;background-size:min(var(--dokka-logo-height),120px) min(var(--dokka-logo-width),36px);content:"";height:var(--dokka-logo-height);margin-right:8px;margin-right:var(--size-s2);max-height:36px;max-width:120px;width:var(--dokka-logo-width)}.library-version{box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding-top:1px}@media(max-width:899px){.library-version{align-items:center;background-color:#000;background-color:var(--color-text);display:flex;height:52px;padding-left:12px}}.navigation{align-items:center;background-color:#27282c;background-color:var(--color-background-nav);box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;flex-wrap:nowrap;justify-content:flex-start;padding:12px 24px;padding:12px var(--size-m1);z-index:4}@media(max-width:899px){.navigation{flex-wrap:wrap;height:auto;padding:0}}.theme-dark .navigation{background-color:#323237;background-color:var(--color-background-nav-dt)}@media(max-width:899px){.navigation .button{height:52px;min-width:52px}}.navigation-controls{align-items:center;display:flex;gap:4px;gap:var(--size-s1);margin-left:auto}@media(max-width:899px){.navigation-controls{background-color:#000;background-color:var(--color-text);flex-grow:1;gap:0;justify-content:flex-end}}.no-js .navigation-controls{display:none}.navigation-controls--btn{align-items:center;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;border:none;border-radius:4px;border-radius:var(--size-s1);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:0;height:40px;justify-content:center;line-height:0;padding:0;width:40px;z-index:0}@media(hover:hover){.navigation-controls--btn:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.navigation-controls--btn:active{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.navigation-controls--btn.focus-visible{outline:var(--focus-outline)}.navigation-controls--btn:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.navigation-controls--btn{height:52px;width:52px}}.navigation-controls--break{flex-basis:100%}.navigation-controls--btn_theme{background-image:url(assets/theme-toggle.svg)}.navigation-controls--btn_homepage{background-image:url(assets/homepage.svg)}.navigation-controls--btn_toc{background-image:url(assets/burger.svg);margin-left:auto}.platform-tag{--platform-tag-color:#bababb;border:0;border-radius:4px;border-radius:var(--size-s1);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:10px 12px;text-transform:capitalize}.platform-tag,button.platform-tag{cursor:pointer}button.platform-tag.focus-visible{outline:var(--focus-outline)}button.platform-tag:focus-visible{outline:var(--focus-outline)}.platform-selector-option{padding-left:44px}.platform-selector-option.js-like,.platform-selector-option.jvm-like,.platform-selector-option.wasm-like,.platform-tag.js-like,.platform-tag.jvm-like,.platform-tag.wasm-like{text-transform:uppercase}.platform-tags .platform-tag{align-items:center;display:flex}.filter-section .platform-tag[data-active]{background-color:var(--platform-tag-color);color:#19191c}.filter-section .platform-tag.jvm-like[data-active],.platform-tags .platform-tag.jvm-like{--platform-tag-color:#4dbb5f}.filter-section .platform-tag.js-like[data-active],.platform-tags .platform-tag.js-like{--platform-tag-color:#ffc700}.filter-section .platform-tag.native-like[data-active],.platform-tags .platform-tag.native-like{--platform-tag-color:#e082f3}.filter-section .platform-tag.wasm-like[data-active],.platform-tags .platform-tag.wasm-like{--platform-tag-color:#9585f9}@media(hover:hover){.filter-section .platform-tag[data-active]:hover{background-color:hsla(240,1%,73%,.7);color:#fff}}.filter-section .platform-tag[data-active]:active{background-color:hsla(240,1%,73%,.7);color:#fff}.filter-section .platform-tag:not([data-active]){background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10);color:hsla(0,0%,100%,.5);color:var(--color-w50);text-decoration:line-through}.platform-tags .platform-tag:before{background:var(--platform-tag-color);border-radius:50%;content:"";display:inline-block;font-size:13px;height:8px;line-height:1.6;margin:0 4px 0 8px;width:8px}.platform-tags{display:flex;flex-wrap:wrap;margin-bottom:-8px;margin-left:-4px}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;min-width:var(--size-l1);order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none}:root{--toc-hover-color:var(--color-b08);--toc-font:400 13px/24px var(--font-family-default);--toc-color:var(--color-text)}.theme-dark{--toc-hover-color:var(--color-w08);--toc-color:var(--color-text-dt)}@media(max-width:899px){.theme-dark_mobile{--toc-color:var(--color-text-dt);--toc-hover-color:var(--color-w08)}}.toc--part{color:#000;color:var(--toc-color);font:400 13px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--toc-font)}.toc--part,.toc--row{box-sizing:border-box}.toc--row{align-items:center;display:flex;min-height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toc--button{align-items:center;background-color:inherit;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;height:100%;justify-content:flex-end;min-width:40px;padding:0 8px 0 0;position:absolute}.toc--button:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;background-size:24px 24px;content:" ";filter:invert(1);font-size:0;height:24px;line-height:0;transform:rotate(0deg);width:24px}.toc--part_hidden .toc--button:after{transform:rotate(-90deg)}.theme-dark .toc--button:after{filter:invert(0)}@media(max-width:899px){.theme-dark_mobile .toc--button:after{filter:invert(0)}}@media(hover:hover){.toc--button:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}}.toc--button:active{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--button.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--button:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link{box-sizing:border-box;color:inherit;height:calc(100% - 16px);min-height:40px;padding:8px 4px 8px 0;width:100%}.toc--link:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--link.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--part[data-nesting-level="0"] .toc--row>.toc--link:first-child{padding-left:40px;padding-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button+.toc--link{margin-left:40px;margin-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button{width:40px;width:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="1"] .toc--row>.toc--link:first-child{padding-left:64px;padding-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button+.toc--link{margin-left:64px;margin-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button{width:64px;width:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="2"] .toc--row>.toc--link:first-child{padding-left:88px;padding-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button+.toc--link{margin-left:88px;margin-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button{width:88px;width:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="3"] .toc--row>.toc--link:first-child{padding-left:112px;padding-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button+.toc--link{margin-left:112px;margin-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button{width:112px;width:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="4"] .toc--row>.toc--link:first-child{padding-left:136px;padding-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button+.toc--link{margin-left:136px;margin-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button{width:136px;width:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="5"] .toc--row>.toc--link:first-child{padding-left:160px;padding-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button+.toc--link{margin-left:160px;margin-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button{width:160px;width:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="6"] .toc--row>.toc--link:first-child{padding-left:184px;padding-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button+.toc--link{margin-left:184px;margin-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button{width:184px;width:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="7"] .toc--row>.toc--link:first-child{padding-left:208px;padding-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button+.toc--link{margin-left:208px;margin-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button{width:208px;width:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="8"] .toc--row>.toc--link:first-child{padding-left:232px;padding-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button+.toc--link{margin-left:232px;margin-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button{width:232px;width:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="9"] .toc--row>.toc--link:first-child{padding-left:256px;padding-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button+.toc--link{margin-left:256px;margin-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button{width:256px;width:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="10"] .toc--row>.toc--link:first-child{padding-left:280px;padding-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button+.toc--link{margin-left:280px;margin-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button{width:280px;width:calc(40px + var(--size-m1)*10)}.filtered>.toc--button,.toc .filtered>a{display:none}.toc #nav-submenu{padding-left:24px}.toc--part_hidden>.toc--part{display:none}.toc--row .toc--link-grid{display:grid;grid-template-columns:16px auto;grid-gap:6px;align-items:center}.toc--icon{height:16px;width:16px}.toc--icon.class:before{content:url(assets/class.svg)}.toc--icon.class-kt:before{content:url(assets/class-kotlin.svg)}.toc--icon.function:before{content:url(assets/function.svg)}.toc--icon.enum-class:before{content:url(assets/enum.svg)}.toc--icon.enum-class-kt:before{content:url(assets/enum-kotlin.svg)}.toc--icon.annotation-class:before{content:url(assets/annotation.svg)}.toc--icon.annotation-class-kt:before{content:url(assets/annotation-kotlin.svg)}.toc--icon.abstract-class:before{content:url(assets/abstract-class.svg)}.toc--icon.abstract-class-kt:before{content:url(assets/abstract-class-kotlin.svg)}.toc--icon.exception-class:before{content:url(assets/exception-class.svg)}.toc--icon.interface:before{content:url(assets/interface.svg)}.toc--icon.interface-kt:before{content:url(assets/interface-kotlin.svg)}.toc--icon.object:before{content:url(assets/object.svg)}.toc--icon.typealias-kt:before{content:url(assets/typealias-kotlin.svg)}.toc--icon.val:before{content:url(assets/field-value.svg)}.toc--icon.var:before{content:url(assets/field-variable.svg)}.toc--part[data-active]>.toc--row .toc--button,.toc--part[data-active]>.toc--row .toc--link{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.toc--part[data-active]>.toc--row .toc--button:hover,.toc--part[data-active]>.toc--row .toc--link:hover{background-color:#578af7}.toc--part[data-active]>.toc--row .toc--button:after,.toc--part[data-active]>.toc--row .toc--link:after{filter:invert(0)}.sidebar{border-right:1px solid rgba(39,40,44,.2);box-sizing:border-box;overflow:auto;width:var(--sidebar-width)}@media(max-width:899px){.sidebar{border:none;width:0}}@media(min-width:900px){.sidebar{position:relative;z-index:1}}@media(max-width:899px){.sidebar .button{height:52px;min-width:52px}}.theme-dark .sidebar{border-right-color:#56565f}.no-js .sidebar{display:none}.sidebar--inner{padding-bottom:12px;padding-top:12px}@media(max-width:899px){.ui-kit_desktop-only{display:none}}@media(min-width:900px){.ui-kit_mobile-only{display:none}}:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-key-blue-50:rgba(48,127,255,.5);--color-background-nav:#27282c;--color-background-nav-dt:#323237;--color-background-page:#fff;--color-background-page-dt:#262628;--color-background-footer:#ebebeb;--color-background-footer-dt:#323237;--color-text:#000;--color-text-dt:hsla(0,0%,100%,.96);--color-text-light:rgba(0,0,0,.7);--color-text-light-dt:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w08:hsla(0,0%,100%,.08);--color-w10:hsla(0,0%,100%,.1);--color-w16:hsla(0,0%,100%,.16);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-w100:#fff;--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 14px/20px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono);--hover-transition:background-color 200ms ease-in-out;--rotate-transition:transform 200ms ease-in-out;--color-background:var(--color-background-page);--focus-outline:4px solid var(--color-key-blue-50)}.theme-dark{--color-background:var(--color-background-page-dt)}body,table{background-color:#fff;background-color:var(--color-background)} \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/ui-kit.min.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/ui-kit.min.js index 7c7682878a..96b8d53062 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/ui-kit.min.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/java-example/html/ui-kit/ui-kit.min.js @@ -1 +1 @@ -(()=>{"use strict";var t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],r=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,a){t&&localStorage.setItem(e,a)}}}();function a(e){var a,r=null===(a=e.getAttribute("data-togglable"))||void 0===a?void 0:a.split(",");!function(a){var r,o,n,l;try{for(var i=t(document.getElementsByClassName("tabs-section")),c=i.next();!c.done;c=i.next()){var u=c.value;try{for(var d=(n=void 0,t(u.children)),s=d.next();!s.done;s=d.next()){var g=s.value;g.getAttribute("data-togglable")===e.getAttribute("data-togglable")?g.setAttribute("data-active",""):g.removeAttribute("data-active")}}catch(t){n={error:t}}finally{try{s&&!s.done&&(l=d.return)&&l.call(d)}finally{if(n)throw n.error}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");r&&e&&r.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),r="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&a(e)}(t),t.addEventListener("click",(function(t){var o=t.target,n=o?o.getAttribute("data-togglable"):null;n&&(e.setItem(r,JSON.stringify(n)),a(o))}))}));var o=e.getItem(r);if(o){var n=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(o)+'"]');n&&a(n)}},window.toggleSections=a})(); \ No newline at end of file +(()=>{"use strict";function t(e,n){return!(!e||!e.classList.contains(n))||!!e.parentElement&&t(e.parentElement,n)}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("div.button").forEach((function(t){t.addEventListener("keydown",(function(e){var n=e.key;"Enter"!==n&&" "!==n||t.dispatchEvent(new MouseEvent("click"))}))}))}));function e(){return window.innerWidth<440?"mobile":window.innerWidth>=440&&window.innerWidth<900?"tablet":"desktop"}var n=function(){function t(t){this.trapElement=t,this.handleKeyDown=this.handleKeyDown.bind(this),this.trapElement.addEventListener("keydown",this.handleKeyDown)}return t.prototype.handleKeyDown=function(t){var e=Array.from(this.trapElement.querySelectorAll('[role="option"]')).filter((function(t){return"none"!==t.style.display&&-1!==t.tabIndex}));if(["Tab","ArrowDown","ArrowUp"].includes(t.key)&&0!==e.length){var n=e[0],o=e[e.length-1];if("ArrowUp"===t.key)if(document.activeElement===n)o.focus();else{var r=e.indexOf(document.activeElement);e[r-1].focus()}"ArrowDown"===t.key&&(document.activeElement===o?n.focus():(r=e.indexOf(document.activeElement),e[r+1].focus())),"Tab"===t.key&&(t.shiftKey?document.activeElement===n&&(o.focus(),t.preventDefault()):document.activeElement===o&&(n.focus(),t.preventDefault()))}},t.prototype.destroy=function(){this.trapElement.removeEventListener("keydown",this.handleKeyDown)},t}(),o='[data-role="dropdown"]',r='[data-role="dropdown-toggle"]',i='[data-role="dropdown-listbox"]';function l(t){var e,n,o=t.querySelectorAll(r);null==o||o.forEach(a),e=t.querySelector(i),n=o[0].offsetWidth,e&&(e.classList.toggle("dropdown--list_expanded"),e.classList.contains("dropdown--list_expanded")?c(e,n):c(e,void 0))}function a(t){t.classList.contains("button_dropdown")&&t.classList.toggle("button_dropdown_active")}function c(t,e){if(e){var n=parseInt(getComputedStyle(t).minWidth,10),o=isNaN(n)?e:Math.max(n,e);t.style.minWidth="".concat(o,"px")}else t.style.minWidth=""}function d(e){var n=e.target;t(n,"dropdown")&&"dropdown--overlay"!==n.className||document.querySelectorAll(o).forEach((function(t){var e,n;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(t){t.classList.remove("button_dropdown_active")})),null===(n=t.querySelectorAll(i))||void 0===n||n.forEach((function(t){t.classList.remove("dropdown--list_expanded"),t.style.minWidth=""}))}))}function u(t){t.tag.removeAttribute("style"),t.option.setAttribute("style","display: none")}function s(t){t.tag.setAttribute("style","display: none"),t.option.removeAttribute("style")}function f(t){var e,n=null===(e=t.querySelector(".checkbox--input"))||void 0===e?void 0:e.getAttribute("data-filter");n&&(-1===filteringContext.activeFilters.findIndex((function(t){return t===n}))?unfilterSourceset(n):filterSourceset(n)),refreshFiltering()}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(o).forEach((function(t){var e;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(e){e.addEventListener("click",(function(){return l(t)}))})),function(t){new n(t),t.addEventListener("keydown",(function(e){var n;"Escape"===e.key&&(l(t),null===(n=t.querySelector(r))||void 0===n||n.focus())}))}(t)})),document.addEventListener("click",d)})),document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("navigation-wrapper"),n=document.getElementById("library-version"),o=document.getElementById("filter-section"),r=document.querySelector("#filter-section + .navigation-controls--btn"),i=document.getElementById("filter-section-dropdown");if(t&&n&&o&&r&&i){var l=null==o?void 0:o.querySelectorAll(".dropdown--option"),a=null==o?void 0:o.querySelectorAll(".platform-selector");if(a&&l)if(a.length===l.length){var c=Array.from({length:a.length}).map((function(t,e){return{tag:a[e],option:l[e]}})),d=c.map((function(t){return t.tag.getBoundingClientRect().width})),v=e(),m=new ResizeObserver((function(){var n=e();v!==n&&(c.forEach(u),d=function(t){return t.map((function(t){return t.tag.getBoundingClientRect().width}))}(c)),v=n,y(),m.unobserve(t)})),g=function(){m.observe(t)};y(),g(),l.forEach((function(t){t.addEventListener("click",(function(t){f(t.target)})),t.addEventListener("keydown",(function(t){var e=t.key;"Enter"!==e&&" "!==e||f(t.target)}))})),window.addEventListener("resize",g)}else console.warn("Dokka: filter section items are not equal");else console.warn("Dokka: filter section items are not found")}else console.warn("Dokka: filter section is not found");function y(){var e,l;if(t&&i){if(t.getBoundingClientRect().width<900)return c.forEach(s),void i.removeAttribute("style");var a=(n&&r?r.getBoundingClientRect().left-n.getBoundingClientRect().right:0)-44-10,f=0;i.removeAttribute("style");var v=!1;c.forEach((function(t,e){(f+=d[e]+4)=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,n){t&&localStorage.setItem(e,n)}}}();function g(t){var e,n=null===(e=t.getAttribute("data-togglable"))||void 0===e?void 0:e.split(",");!function(){var e,n,o,r;try{for(var i=v(document.getElementsByClassName("tabs-section")),l=i.next();!l.done;l=i.next()){var a=l.value;try{for(var c=(o=void 0,v(a.children)),d=c.next();!d.done;d=c.next()){var u=d.value;u.getAttribute("data-togglable")===t.getAttribute("data-togglable")?u.setAttribute("data-active",""):u.removeAttribute("data-active")}}catch(t){o={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");n&&e&&n.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),e="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&g(e)}(t),t.addEventListener("click",(function(t){var n=t.target,o=n?n.getAttribute("data-togglable"):null;o&&(m.setItem(e,JSON.stringify(o)),g(n))}))}));var n=m.getItem(e);if(n){var o=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(n)+'"]');o&&g(o)}},window.toggleSections=g,document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-remove-style="true"]').forEach((function(t){t.removeAttribute("style")}))}))})(); \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/arrow_down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/arrow_down.svg deleted file mode 100644 index 2478845270..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/arrow_down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/burger.svg deleted file mode 100644 index 40f73c5369..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/burger.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/homepage.svg deleted file mode 100644 index e3c83b1ce3..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/homepage.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/theme-toggle.svg deleted file mode 100644 index fcc900f389..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/theme-toggle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/index.html index 40298c9e35..491cf85a60 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/-greeter.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/-greeter.html index 594428320f..78c43d998e 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/-greeter.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/-greeter.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/get-name.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/get-name.html index 541bf56f9b..379af4b0c7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/get-name.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/get-name.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/greet.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/greet.html index ffabf87097..e296706e81 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/greet.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/greet.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/index.html index 34b47f784a..d2cd10a8b0 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-greeter/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-hello-world-kt/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-hello-world-kt/index.html index 8435de866b..af18950c69 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-hello-world-kt/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-hello-world-kt/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-hello-world-kt/main.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-hello-world-kt/main.html index b2257ba796..ef45c9f33d 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-hello-world-kt/main.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/-hello-world-kt/main.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/index.html index e48da62950..95d6d15e3f 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/kotlin-as-java-example/demo/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/navigation.html index f889eaa8c3..226d85369a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/navigation.html @@ -1,12 +1,12 @@ -
- -
- -
- +
+ + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/scripts/main.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/scripts/main.js index eb22535ed1..90382844b7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/scripts/main.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/scripts/main.js @@ -49,5 +49,5 @@ t(5228);var r=t(6540),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Sy Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",n=0;n{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("span",{children:r}),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.847 14.861A6.99 6.99 0 0017.587 11a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM22.587 18a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("div",Ou({className:"template-title"},{children:r})),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M15.142 6.28a6.497 6.497 0 10-2.421 8.866c.207-.122.409-.256.602-.4L19.587 21 21 19.586l-6.261-6.251a6.51 6.51 0 00.402-7.055zm-3.413 7.129a4.5 4.5 0 11-4.463-7.814 4.5 4.5 0 014.463 7.814z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,maxHeight:510,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t { navigationPageText.then(data => { document.getElementById("sideMenu").innerHTML = data; }).then(() => { - document.querySelectorAll(".overview > a").forEach(link => { + document.querySelectorAll(".toc--row > a").forEach(link => { link.setAttribute("href", pathToRoot + link.getAttribute("href")); }) }).then(() => { - document.querySelectorAll(".sideMenuPart").forEach(nav => { - if (!nav.classList.contains("hidden")) - nav.classList.add("hidden") + document.querySelectorAll(".toc--part").forEach(nav => { + if (!nav.classList.contains("toc--part_hidden")) + nav.classList.add("toc--part_hidden") }) }).then(() => { revealNavigationForCurrentPage() @@ -33,14 +33,14 @@ displayNavigationFromPage = () => { revealNavigationForCurrentPage = () => { let pageId = document.getElementById("content").attributes["pageIds"].value.toString(); - let parts = document.querySelectorAll(".sideMenuPart"); + let parts = document.querySelectorAll(".toc--part"); let found = 0; do { parts.forEach(part => { if (part.attributes['pageId'].value.indexOf(pageId) !== -1 && found === 0) { found = 1; - if (part.classList.contains("hidden")) { - part.classList.remove("hidden"); + if (part.classList.contains("toc--part_hidden")) { + part.classList.remove("toc--part_hidden"); part.setAttribute('data-active', ""); } revealParents(part) @@ -50,25 +50,25 @@ revealNavigationForCurrentPage = () => { } while (pageId.indexOf("/") !== -1 && found === 0) }; revealParents = (part) => { - if (part.classList.contains("sideMenuPart")) { - if (part.classList.contains("hidden")) - part.classList.remove("hidden"); + if (part.classList.contains("toc--part")) { + if (part.classList.contains("toc--part_hidden")) + part.classList.remove("toc--part_hidden"); revealParents(part.parentNode) } }; scrollNavigationToSelectedElement = () => { - let selectedElement = document.querySelector('div.sideMenuPart[data-active]') + let selectedElement = document.querySelector('div.toc--part[data-active]') if (selectedElement == null) { // nothing selected, probably just the main page opened return } - let hasIcon = selectedElement.querySelectorAll(":scope > div.overview span.nav-icon").length > 0 + let hasIcon = selectedElement.querySelectorAll(":scope > div.toc--row span.toc--icon").length > 0 - // for instance enums also have children and are expandable, but are not package/module elements + // for an instance enums also have children and are expandable but are not package/module elements let isPackageElement = selectedElement.children.length > 1 && !hasIcon if (isPackageElement) { - // if package is selected or linked, it makes sense to align it to top + // if a package is selected or linked, it makes sense to align it to top // so that you can see all the members it contains selectedElement.scrollIntoView(true) } else { @@ -84,9 +84,9 @@ scrollNavigationToSelectedElement = () => { /* This is a work-around for safari being IE of our times. - It doesn't fire a DOMContentLoaded, presumabely because eventListener is added after it wants to do it + It doesn't fire a DOMContentLoaded, presumably because eventListener is added after it wants to do it */ -if (document.readyState == 'loading') { +if (document.readyState === 'loading') { window.addEventListener('DOMContentLoaded', () => { displayNavigationFromPage() }) diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/scripts/platform-content-handler.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/scripts/platform-content-handler.js index 6ecfc120a6..118de3848a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/scripts/platform-content-handler.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/scripts/platform-content-handler.js @@ -52,9 +52,10 @@ window.addEventListener('load', () => { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) initializeFiltering() } - initTabs() // initTabs comes from ui-kit/tabs + if (typeof initTabs === 'function') { + initTabs() // initTabs comes from ui-kit/tabs + } handleAnchor() - initHidingLeftNavigation() topNavbarOffset = document.getElementById('navigation-wrapper') darkModeSwitch() }) @@ -115,21 +116,6 @@ const samplesAreEnabled = () => { } } - -const initHidingLeftNavigation = () => { - document.getElementById("menu-toggle").onclick = function (event) { - //Events need to be prevented from bubbling since they will trigger next handler - event.preventDefault(); - event.stopPropagation(); - event.stopImmediatePropagation(); - document.getElementById("leftColumn").classList.toggle("open"); - } - - document.getElementById("main").onclick = () => { - document.getElementById("leftColumn").classList.remove("open"); - } -} - // Hash change is needed in order to allow for linking inside the same page with anchors // If this is not present user is forced to refresh the site in order to use an anchor window.onhashchange = handleAnchor @@ -274,6 +260,11 @@ function removeSourcesetFilterFromCache(sourceset) { } } +function refreshSourcesetsCache() { + safeLocalStorage.setItem('inactive-filters', JSON.stringify(filteringContext.restrictedDependencies.filter(p => -1 === filteringContext.activeFilters.indexOf(p)))) +} + + function togglePlatformDependent(e, container) { let target = e.target if (target.tagName !== 'BUTTON') return; @@ -322,14 +313,18 @@ function refreshPlaygroundSamples() { function refreshNoContentNotification() { const element = document.getElementsByClassName("main-content")[0] + const filteredMessage = document.querySelector(".filtered-message") + if(filteringContext.activeFilters.length === 0){ element.style.display = "none"; - const appended = document.createElement("div") - appended.className = "filtered-message" - appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" - sourcesetNotification = appended - element.parentNode.prepend(appended) + if (!filteredMessage) { + const appended = document.createElement("div") + appended.className = "filtered-message" + appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" + sourcesetNotification = appended + element.parentNode.prepend(appended) + } } else { if(sourcesetNotification) sourcesetNotification.remove() element.style.display = "block" @@ -369,4 +364,8 @@ function refreshFilterButtons() { f.removeAttribute("data-active") } }) + document.querySelectorAll("#filter-section .checkbox--input") + .forEach(f => { + f.checked = filteringContext.activeFilters.indexOf(f.getAttribute("data-filter")) !== -1; + }) } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/font-jb-sans-auto.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/font-jb-sans-auto.css index 2398f70f52..18d25d3b85 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/font-jb-sans-auto.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/font-jb-sans-auto.css @@ -8,6 +8,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; + font-display: swap; } /* Regular weight */ @font-face { @@ -15,6 +16,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff'); font-weight: 400; font-style: normal; + font-display: swap; } /* SemiBold weight */ @font-face { @@ -22,6 +24,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; + font-display: swap; } @supports (font-variation-settings: normal) { @@ -32,5 +35,6 @@ url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations'); font-weight: 100 900; font-style: normal; + font-display: swap; } } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/logo-styles.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/logo-styles.css index 988268da69..8281d5ca63 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/logo-styles.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/logo-styles.css @@ -4,6 +4,6 @@ :root { --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; + --dokka-logo-height: 28px; + --dokka-logo-width: 28px; } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/main.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/main.css index c90da07710..2a0c8dfb30 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/main.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/main.css @@ -1,6 +1,18 @@ /*! * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:rgba(0,0,0,0);fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;margin:0;padding:0;font-size:0;line-height:0}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:calc(100% - 322px) !important;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0} /* stylelint-disable color-no-hex */ .light, diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/style.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/style.css index 628d27dd02..c64fa37161 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/style.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/styles/style.css @@ -8,7 +8,7 @@ /* --- root styles --- */ :root { --default-gray: #f4f4f4; - --default-font-color: black; + --default-font-color: rgb(0, 0, 0); --header-font-color: var(--default-font-color); --breadcrumb-font-color: #637282; @@ -217,9 +217,9 @@ td:first-child { /* ---dark theme --- */ .theme-dark { - --background-color: #27282c; + --background-color: #262628; --color-dark: #3d3d41; - --default-font-color: hsla(0, 0%, 100%, 0.8); + --default-font-color: rgba(255, 255, 255, 0.96); --border-color: hsla(0, 0%, 100%, 0.2); --code-background: hsla(0, 0%, 100%, 0.05); --breadcrumb-font-color: #8c8c8e; @@ -249,170 +249,6 @@ td:first-child { height: 100%; } -/* --- Navigation styles --- */ -.navigation { - display: flex; - justify-content: space-between; - - color: #fff; - background-color: var(--color-dark); - font-family: var(--default-font-family); - letter-spacing: -0.1px; - - /* Reset margin and use padding for border */ - margin-left: 0; - margin-right: 0; - padding: 10px var(--horizontal-spacing-for-content); - - z-index: 4; -} - -.navigation--inner { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - flex: 1 1 auto; -} - -.navigation--inner, .navigation-title { - min-height: 40px; -} - -.navigation-title, .filter-section { - align-items: center; -} - -.navigation-title { - display: flex; - align-items: center; -} - -/* --- Navigation MENU --- */ -.menu-toggle { - color: var(--background-color); - line-height: 0; - font-size: 0; - text-indent: -9999px; - - background: transparent; - border: none; - padding: 0; - margin-right: 16px; - outline: none; - - transition: margin .2s ease-out; - z-index: 5; -} - -@media (min-width: 760px) { - .menu-toggle { - display: none; - } -} - -.menu-toggle::before { - display: block; - content: ''; - background: url('../images/burger.svg') no-repeat center; - height: 28px; - width: 28px; -} - -/* /--- Navigation MENU --- */ - -.library-version { - position: relative; - top: -4px; - margin-left: 3px; - - color: rgba(255, 255, 255, .7); - font-size: 13px; - font-weight: normal; - line-height: 16px; -} - -.filter-section { - z-index: 0; -} - -.no-js .filter-section { - display: none; -} - -@media (min-width: 760px) { - .filter-section { - padding: 5px 0 5px; - } -} - -/* --- Navigation controls --- */ -.navigation-controls { - display: flex; - margin-left: 4px; -} - -@media (min-width: 760px) { - .navigation-controls { - align-items: center; - } -} - -.no-js .navigation-controls { - display: none; -} - -.navigation-controls--btn { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; - height: 40px; - border-radius: 50%; - background-color: inherit; - background-position: 50% 50%; - padding: 0; - border: none; - cursor: pointer; - font-size: 0; - line-height: 0; - transition: background-color 200ms ease-in-out; - will-change: background-color; -} - -.navigation-controls--btn:hover { - background-color: var(--white-10); -} - -.navigation-controls--theme { - background-image: url("../images/theme-toggle.svg"); - background-repeat: no-repeat; -} - -@media (max-width: 759px) { - .navigation-controls--theme { - display: none; - } -} - -.navigation-controls--homepage { - background-image: url("../images/homepage.svg"); - background-repeat: no-repeat; - background-size: 24px 24px; -} - -@media (max-width: 759px) { - .navigation-controls--homepage { - display: none; - } -} - -.navigation .platform-selector:not([data-active]) { - color: #fff; -} - -/* /--- Navigation controls --- */ -/* /--- Navigation styles --- */ - /* --- Layout styles --- */ #container { @@ -421,7 +257,7 @@ td:first-child { min-height: 0; /* full height exclude header */ } -#container > .sidebar, #container > #main { +#container > #main { overflow: auto; } @@ -431,55 +267,6 @@ td:first-child { flex: 1 1 0; /* full width, but no affects for sidebar */ } -.sidebar { - display: flex; - flex-direction: column; - box-sizing: border-box; - border-right: 1px solid var(--border-color); - width: var(--sidebar-width); -} - -.no-js .sidebar { - display: none; -} - -@media (max-width: 759px) { - #container { - position: relative; - } - - .sidebar { - position: absolute; - top: 0; - bottom: 0; - box-sizing: border-box; - background: var(--background-color); - margin-left: calc(-1 * var(--sidebar-width)); - transition: margin .2s ease-out; - z-index: 4; - } - - .sidebar.open { - margin-left: 0; - } - - .sidebar.open ~ #main .navigation-controls--search { - display: none; - } - - .sidebar.open ~ #main .menu-toggle { - margin-left: var(--sidebar-width); - } -} - -.sidebar--inner { - font-size: 12px; - font-weight: 400; - line-height: 16px; - padding-top: 22px; - padding-bottom: 16px; -} - /* /--- Layout styles --- */ /* --- Main Content styles --- */ @@ -608,16 +395,6 @@ code.paragraph { display: block; } -.overview > .navButton { - position: absolute; - align-items: center; - display: flex; - justify-content: flex-end; - padding: 2px 2px 2px 0; - margin-right: 5px; - cursor: pointer; -} - .strikethrough { text-decoration: line-through; } @@ -761,166 +538,6 @@ code:not(.block) { word-break: break-word; } -.sideMenuPart > .overview { - display: flex; - align-items: center; - position: relative; - user-select: none; /* there's a weird bug with text selection */ - padding: 8px 0; -} - -.sideMenuPart a { - display: block; - align-items: center; - color: var(--default-font-color); - overflow: hidden; - padding-left: 23px; -} - -.sideMenuPart a:hover { - text-decoration: none; - color: var(--default-font-color); -} - -.sideMenuPart > .overview:before { - box-sizing: border-box; - content: ''; - top: 0; - width: var(--sidebar-width); - right: 0; - bottom: 0; - position: absolute; - z-index: -1; -} - -.overview:hover:before { - background-color: var(--navigation-highlight-color); -} - -#nav-submenu { - padding-left: 24px; -} - -.sideMenuPart { - padding-left: 12px; - box-sizing: border-box; -} - -.sideMenuPart.hidden > .overview .navButtonContent::before { - transform: rotate(0deg); -} - -.sideMenuPart > .overview .navButtonContent::before { - content: ''; - - -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - -webkit-mask-size: cover; - mask-size: cover; - background-color: var(--default-font-color); - - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - transform: rotate(90deg); - width: 16px; - height: 16px; -} - -.sideMenuPart[data-active] > .overview .navButtonContent::before { - background-color: var(--default-white); -} - -.sideMenuPart.hidden > .navButton .navButtonContent::after { - content: '\02192'; -} - -.sideMenuPart.hidden > .sideMenuPart { - display: none; -} - -.overview .nav-link-grid { - display: grid; - grid-template-columns: 16px auto; /* first is the icon, then name */ - grid-gap: 6px; - align-items: center; -} - -.nav-icon { - width: 16px; - height: 16px; -} - -.nav-icon.class::before { - content: url("../images/nav-icons/class.svg"); -} - -.nav-icon.class-kt::before { - content: url("../images/nav-icons/class-kotlin.svg"); -} - -.nav-icon.function::before { - content: url("../images/nav-icons/function.svg"); -} - -.nav-icon.enum-class::before { - content: url("../images/nav-icons/enum.svg"); -} - -.nav-icon.enum-class-kt::before { - content: url("../images/nav-icons/enum-kotlin.svg"); -} - -.nav-icon.annotation-class::before { - content: url("../images/nav-icons/annotation.svg"); -} - -.nav-icon.annotation-class-kt::before { - content: url("../images/nav-icons/annotation-kotlin.svg"); -} - -.nav-icon.abstract-class::before { - content: url("../images/nav-icons/abstract-class.svg"); -} - -.nav-icon.abstract-class-kt::before { - content: url("../images/nav-icons/abstract-class-kotlin.svg"); -} - -.nav-icon.exception-class::before { - content: url("../images/nav-icons/exception-class.svg"); -} - -.nav-icon.interface::before { - content: url("../images/nav-icons/interface.svg"); -} - -.nav-icon.interface-kt::before { - content: url("../images/nav-icons/interface-kotlin.svg"); -} - -.nav-icon.object::before { - content: url("../images/nav-icons/object.svg"); -} - -.nav-icon.typealias-kt::before { - content: url("../images/nav-icons/typealias-kotlin.svg"); -} - -.nav-icon.val::before { - content: url("../images/nav-icons/field-value.svg"); -} - -.nav-icon.var::before { - content: url("../images/nav-icons/field-variable.svg"); -} - -.filtered > a, .filtered > .navButton { - display: none; -} - - .brief { white-space: pre-wrap; overflow: hidden; @@ -1037,88 +654,6 @@ p.paragraph img { display: none !important; } -.platform-tags, .filter-section { - display: flex; - flex-wrap: wrap; - margin-bottom: -8px; - margin-left: -4px; -} - -.platform-tag { - --platform-tag-color: #bababb; - border: 0 none; - margin-right: 4px; - margin-bottom: 8px; - - font-family: var(--default-font-family); - font-size: 13px; - line-height: 1.5; - text-transform: capitalize; -} - -.platform-tag.js-like, .platform-tag.jvm-like, .platform-tag.wasm-like { - text-transform: uppercase; -} - -.filter-section .platform-tag { - cursor: pointer; - border-radius: 4px; - padding: 2px 16px; -} - -.filter-section .platform-tag.jvm-like[data-active], .platform-tags .platform-tag.jvm-like { - --platform-tag-color: #4dbb5f; -} - -.filter-section .platform-tag.js-like[data-active], .platform-tags .platform-tag.js-like { - --platform-tag-color: #ffc700; -} - -.filter-section .platform-tag.native-like[data-active], .platform-tags .platform-tag.native-like { - --platform-tag-color: #E082F3; -} - -.filter-section .platform-tag.wasm-like[data-active], .platform-tags .platform-tag.wasm-like { - --platform-tag-color: #9585F9; -} - -.filter-section .platform-tag[data-active]:hover { - color: #fff; - background-color: rgba(186, 186, 187, .7); -} - -.filter-section .platform-tag:not([data-active]) { - color: #fff; - /* Safari doesn't work correctly for `outline` with `border-radius` */ - /* outline: 1px solid rgba(255,255,255,.6); */ - /* ...use `box-shadow` instead: */ - box-shadow: 0 0 0 1px rgb(255 255 255 / 60%); - background-color: rgba(255,255,255,.05); -} - -.filter-section .platform-tag[data-active] { - color: #19191c; - background-color: var(--platform-tag-color); -} - -.platform-tags .platform-tag { - display: flex; - align-items: center; -} - -.platform-tags .platform-tag::before { - display: inline-block; - content: ''; - border-radius: 50%; - background: var(--platform-tag-color); - margin: 0 4px 0 8px; - height: 8px; - width: 8px; - - font-size: 13px; - line-height: 1.6; -} - td.content { padding-left: 24px; padding-top: 16px; @@ -1234,14 +769,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o padding: 8px; } -.sideMenuPart[data-active] > .overview:before { - background: var(--sidemenu-section-active-color); -} - -.sideMenuPart[data-active] > .overview > a { - color: var(--default-white); -} - .table { display: flex; flex-direction: column; @@ -1408,34 +935,3 @@ div.runnablesample { } /* /--- footer --- */ - -/* Logo styles */ -:root { - --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; -} - -.library-name--link { - display: flex; - align-items: center; - color: #fff; - font-weight: 530; -} - -.library-name--link::before { - content: ''; - background: var(--dokka-logo-image-url) center no-repeat; - background-size: var(--dokka-logo-height) var(--dokka-logo-width); - margin-right: 5px; - width: var(--dokka-logo-height); - height: var(--dokka-logo-width); -} - -@media (max-width: 759px) { - .library-name--link::before { - display: none; - } -} - -/* / Logo styles */ diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/abstract-class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/abstract-class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/abstract-class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/abstract-class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/abstract-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/abstract-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/abstract-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/abstract-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/annotation-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/annotation-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/annotation-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/annotation-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/annotation.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/annotation.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/annotation.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/annotation.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/arrow-down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/arrow-down.svg new file mode 100644 index 0000000000..ca54658d3c --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/arrow-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/burger.svg new file mode 100644 index 0000000000..a26f194dc4 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/burger.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/checkbox-off.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/checkbox-off.svg new file mode 100644 index 0000000000..a5117e8d9a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/checkbox-off.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/checkbox-on.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/checkbox-on.svg new file mode 100644 index 0000000000..71891d57dd --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/checkbox-on.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/cross.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/cross.svg new file mode 100644 index 0000000000..232069f85e --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/enum-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/enum-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/enum-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/enum-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/enum.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/enum.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/enum.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/enum.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/exception-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/exception-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/exception-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/exception-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/field-value.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/field-value.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/field-value.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/field-value.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/field-variable.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/field-variable.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/field-variable.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/field-variable.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/filter.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/filter.svg new file mode 100644 index 0000000000..be62ea5bf3 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/filter.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/function.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/function.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/function.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/function.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/homepage.svg new file mode 100644 index 0000000000..9a8927a40a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/interface-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/interface-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/interface-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/interface-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/interface.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/interface.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/interface.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/interface.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/object.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/object.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/object.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/object.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/placeholder.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/placeholder.svg new file mode 100644 index 0000000000..e8129621d2 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/placeholder.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/theme-toggle.svg new file mode 100644 index 0000000000..490263f391 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/theme-toggle.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/typealias-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/typealias-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/images/nav-icons/typealias-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/assets/typealias-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/ui-kit.min.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/ui-kit.min.css index 65bf50d52d..349ee87bfe 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/ui-kit.min.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/ui-kit.min.css @@ -1 +1 @@ -:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-nav-bar:#27282c;--color-dark-theme-bg:#262628;--color-text-black:#000;--color-text-white:hsla(0,0%,100%,.96);--color-text-light-black:rgba(0,0,0,.7);--color-text-light-white:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w10:hsla(0,0%,100%,.1);--color-w20:hsla(0,0%,100%,.2);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 13px/24px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono)}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none} +.button{align-items:center;background-color:transparent;border:none;border-radius:4px;border-radius:var(--size-s1);box-sizing:border-box;color:#000;color:var(--color-text);cursor:pointer;display:flex;height:40px;justify-content:center;letter-spacing:.045em;padding:8px 12px;padding:var(--size-s2) 12px}.button[\:has\(\:first-child\)]{gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}.button:has(:first-child){gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}@media(hover:hover){.button:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.button:active{background-color:#307fff;background-color:var(--color-key-blue)}.button:disabled{cursor:not-allowed;opacity:.5}.button.focus-visible{outline:var(--focus-outline)}.button:focus-visible{outline:var(--focus-outline)}.theme-dark .button{color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.theme-dark .button:hover{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.button_background{background-color:#fff;background-color:var(--color-w100)}.theme-dark .button_background{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.theme-dark .button_background:hover{background-color:hsla(0,0%,100%,.05);background-color:var(--color-w05)}.button_dropdown{font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:8px;padding:var(--size-s2)}.button_dropdown:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;content:"";display:block;filter:invert(1);height:24px;height:var(--size-m1);transform:rotate(0);width:24px;width:var(--size-m1);will-change:transform}.theme-dark .button_dropdown:after{filter:none}.button_dropdown_active{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.button_dropdown_active:hover,.theme-dark .button_dropdown_active:hover{background-color:#639fff}.button_dropdown_active:after{filter:invert(0);transform:rotate(-180deg)}.checkbox{cursor:pointer;display:inline-block;position:relative}.checkbox--input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;visibility:hidden}.checkbox--icon{background-image:url(assets/checkbox-off.svg);height:24px;height:var(--size-m1);margin-left:-32px;margin-left:calc(var(--size-m2)*-1);position:absolute;width:24px;width:var(--size-m1)}.checkbox--input:checked+.checkbox--icon{background-image:url(assets/checkbox-on.svg)}.checkbox--input:disabled+.checkbox--icon{opacity:.2}.checkbox--input.focus-visible{outline:var(--focus-outline)}.checkbox--input:focus-visible{outline:var(--focus-outline)}.dropdown{position:relative}@media(max-width:899px){.dropdown{position:static}}.dropdown--list{background-color:#323237;background-color:var(--color-background-nav-dt);border:1px solid #56565f;box-shadow:0 2px 8px 0 rgba(0,0,0,.251);display:none;max-height:400px;max-width:360px;min-width:272px;overflow-y:auto;padding:12px 0;position:absolute;right:0;top:44px;-webkit-transform:translateZ(0);width:-moz-fit-content;width:fit-content;z-index:10}@media(max-width:899px){.dropdown--list{border:none;height:100vh;max-height:none;padding:0;right:0;top:0}}@media(max-width:439px){.dropdown--list{max-width:none;width:100vw}}.dropdown--list_positioned_right{right:0}.dropdown--list_positioned_left{left:0}@media(max-width:899px){.dropdown--list_positioned_left{left:auto}}.dropdown--list_expanded{display:block}@media(min-width:900px){.dropdown--list_toc-list{background-color:transparent;border:none;box-shadow:none;display:block;max-height:none;max-width:none;min-width:100%;padding:0;position:relative;top:0}}@media(min-width:440px)and (max-width:899px){.dropdown--list_toc-list{width:408px}}.dropdown--option{background-color:#323237;background-color:var(--color-background-nav-dt);border:none;color:var(--color-text-nav-dt);cursor:pointer;display:block;font:400 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-m);letter-spacing:-.03em;list-style-type:none;padding:8px 16px;padding:var(--size-s2) var(--size-s3);position:relative}.dropdown--option:hover{background-color:#4a4a52}.dropdown--option.focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:visited{color:var(--color-text-nav-dt)}.dropdown--option_active{background-color:#307fff;background-color:var(--color-key-blue)}.dropdown--option_active:hover{background-color:#639fff}.dropdown--option_link{color:var(--color-text-nav-dt);text-decoration:none}.dropdown--option_link.focus-visible{outline:var(--focus-outline)}.dropdown--option_link:focus-visible{outline:var(--focus-outline)}.dropdown--option .checkbox{pointer-events:none}.dropdown--option .checkbox:first-letter{text-transform:uppercase}.dropdown--overlay{background-color:hsla(0,0%,54%,.5);bottom:0;content:"";display:none;height:100vh;left:0;position:absolute;right:0;top:0;width:100vw;z-index:4}.dropdown--list_expanded+.dropdown--overlay{display:block}@media(min-width:900px){.dropdown--list_expanded+.dropdown--overlay{display:none}}.dropdown--header{align-items:center;background-color:#323237;background-color:var(--color-background-nav-dt);border-bottom:1px solid #56565f;color:hsla(0,0%,100%,.7);color:var(--color-w70);display:flex;height:52px;justify-content:space-between;padding-left:16px;padding-left:var(--size-s3);position:sticky;top:0;z-index:2}@media(min-width:900px){.dropdown--header{display:none}}.filter-section{align-items:center;display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-end;margin-right:12px;max-height:40px;z-index:1}.filter-section_loading{overflow:hidden}@media(min-width:900px){.filter-section--dropdown{display:none}}.filter-section--dropdown-toggle_as-filters{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat;min-width:40px}.filter-section--dropdown-toggle_as-filters:after{display:none}@media(max-width:899px){.filter-section{margin-right:0;max-height:none}.filter-section>:not(.dropdown){display:none}.filter-section--dropdown-toggle{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat}.filter-section--dropdown-toggle:after{display:none}}.no-js .filter-section{display:none}.ui-kit-icon{background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;filter:invert(1);font-size:0;height:24px;height:var(--size-m1);line-height:0;width:24px;width:var(--size-m1);will-change:background-color}.theme-dark .ui-kit-icon{filter:none}@media(max-width:899px){.theme-dark_mobile .ui-kit-icon{filter:none}}.ui-kit-icon_arrow-down{background-image:url(assets/arrow-down.svg)}.ui-kit-icon_placeholder{background-image:url(assets/placeholder.svg)}.ui-kit-icon_cross{background-image:url(assets/cross.svg)}.library-name--link{align-items:center;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;font:600 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-h4);margin-right:8px;margin-right:var(--size-s2);white-space:nowrap}.library-name--link.focus-visible{outline:var(--focus-outline)}.library-name--link:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.library-name--link{height:52px;margin-left:12px}}.library-name--link:before{background:var(--dokka-logo-image-url) center no-repeat;background-size:min(var(--dokka-logo-height),120px) min(var(--dokka-logo-width),36px);content:"";height:var(--dokka-logo-height);margin-right:8px;margin-right:var(--size-s2);max-height:36px;max-width:120px;width:var(--dokka-logo-width)}.library-version{box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding-top:1px}@media(max-width:899px){.library-version{align-items:center;background-color:#000;background-color:var(--color-text);display:flex;height:52px;padding-left:12px}}.navigation{align-items:center;background-color:#27282c;background-color:var(--color-background-nav);box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;flex-wrap:nowrap;justify-content:flex-start;padding:12px 24px;padding:12px var(--size-m1);z-index:4}@media(max-width:899px){.navigation{flex-wrap:wrap;height:auto;padding:0}}.theme-dark .navigation{background-color:#323237;background-color:var(--color-background-nav-dt)}@media(max-width:899px){.navigation .button{height:52px;min-width:52px}}.navigation-controls{align-items:center;display:flex;gap:4px;gap:var(--size-s1);margin-left:auto}@media(max-width:899px){.navigation-controls{background-color:#000;background-color:var(--color-text);flex-grow:1;gap:0;justify-content:flex-end}}.no-js .navigation-controls{display:none}.navigation-controls--btn{align-items:center;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;border:none;border-radius:4px;border-radius:var(--size-s1);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:0;height:40px;justify-content:center;line-height:0;padding:0;width:40px;z-index:0}@media(hover:hover){.navigation-controls--btn:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.navigation-controls--btn:active{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.navigation-controls--btn.focus-visible{outline:var(--focus-outline)}.navigation-controls--btn:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.navigation-controls--btn{height:52px;width:52px}}.navigation-controls--break{flex-basis:100%}.navigation-controls--btn_theme{background-image:url(assets/theme-toggle.svg)}.navigation-controls--btn_homepage{background-image:url(assets/homepage.svg)}.navigation-controls--btn_toc{background-image:url(assets/burger.svg);margin-left:auto}.platform-tag{--platform-tag-color:#bababb;border:0;border-radius:4px;border-radius:var(--size-s1);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:10px 12px;text-transform:capitalize}.platform-tag,button.platform-tag{cursor:pointer}button.platform-tag.focus-visible{outline:var(--focus-outline)}button.platform-tag:focus-visible{outline:var(--focus-outline)}.platform-selector-option{padding-left:44px}.platform-selector-option.js-like,.platform-selector-option.jvm-like,.platform-selector-option.wasm-like,.platform-tag.js-like,.platform-tag.jvm-like,.platform-tag.wasm-like{text-transform:uppercase}.platform-tags .platform-tag{align-items:center;display:flex}.filter-section .platform-tag[data-active]{background-color:var(--platform-tag-color);color:#19191c}.filter-section .platform-tag.jvm-like[data-active],.platform-tags .platform-tag.jvm-like{--platform-tag-color:#4dbb5f}.filter-section .platform-tag.js-like[data-active],.platform-tags .platform-tag.js-like{--platform-tag-color:#ffc700}.filter-section .platform-tag.native-like[data-active],.platform-tags .platform-tag.native-like{--platform-tag-color:#e082f3}.filter-section .platform-tag.wasm-like[data-active],.platform-tags .platform-tag.wasm-like{--platform-tag-color:#9585f9}@media(hover:hover){.filter-section .platform-tag[data-active]:hover{background-color:hsla(240,1%,73%,.7);color:#fff}}.filter-section .platform-tag[data-active]:active{background-color:hsla(240,1%,73%,.7);color:#fff}.filter-section .platform-tag:not([data-active]){background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10);color:hsla(0,0%,100%,.5);color:var(--color-w50);text-decoration:line-through}.platform-tags .platform-tag:before{background:var(--platform-tag-color);border-radius:50%;content:"";display:inline-block;font-size:13px;height:8px;line-height:1.6;margin:0 4px 0 8px;width:8px}.platform-tags{display:flex;flex-wrap:wrap;margin-bottom:-8px;margin-left:-4px}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;min-width:var(--size-l1);order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none}:root{--toc-hover-color:var(--color-b08);--toc-font:400 13px/24px var(--font-family-default);--toc-color:var(--color-text)}.theme-dark{--toc-hover-color:var(--color-w08);--toc-color:var(--color-text-dt)}@media(max-width:899px){.theme-dark_mobile{--toc-color:var(--color-text-dt);--toc-hover-color:var(--color-w08)}}.toc--part{color:#000;color:var(--toc-color);font:400 13px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--toc-font)}.toc--part,.toc--row{box-sizing:border-box}.toc--row{align-items:center;display:flex;min-height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toc--button{align-items:center;background-color:inherit;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;height:100%;justify-content:flex-end;min-width:40px;padding:0 8px 0 0;position:absolute}.toc--button:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;background-size:24px 24px;content:" ";filter:invert(1);font-size:0;height:24px;line-height:0;transform:rotate(0deg);width:24px}.toc--part_hidden .toc--button:after{transform:rotate(-90deg)}.theme-dark .toc--button:after{filter:invert(0)}@media(max-width:899px){.theme-dark_mobile .toc--button:after{filter:invert(0)}}@media(hover:hover){.toc--button:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}}.toc--button:active{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--button.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--button:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link{box-sizing:border-box;color:inherit;height:calc(100% - 16px);min-height:40px;padding:8px 4px 8px 0;width:100%}.toc--link:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--link.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--part[data-nesting-level="0"] .toc--row>.toc--link:first-child{padding-left:40px;padding-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button+.toc--link{margin-left:40px;margin-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button{width:40px;width:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="1"] .toc--row>.toc--link:first-child{padding-left:64px;padding-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button+.toc--link{margin-left:64px;margin-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button{width:64px;width:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="2"] .toc--row>.toc--link:first-child{padding-left:88px;padding-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button+.toc--link{margin-left:88px;margin-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button{width:88px;width:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="3"] .toc--row>.toc--link:first-child{padding-left:112px;padding-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button+.toc--link{margin-left:112px;margin-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button{width:112px;width:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="4"] .toc--row>.toc--link:first-child{padding-left:136px;padding-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button+.toc--link{margin-left:136px;margin-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button{width:136px;width:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="5"] .toc--row>.toc--link:first-child{padding-left:160px;padding-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button+.toc--link{margin-left:160px;margin-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button{width:160px;width:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="6"] .toc--row>.toc--link:first-child{padding-left:184px;padding-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button+.toc--link{margin-left:184px;margin-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button{width:184px;width:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="7"] .toc--row>.toc--link:first-child{padding-left:208px;padding-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button+.toc--link{margin-left:208px;margin-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button{width:208px;width:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="8"] .toc--row>.toc--link:first-child{padding-left:232px;padding-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button+.toc--link{margin-left:232px;margin-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button{width:232px;width:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="9"] .toc--row>.toc--link:first-child{padding-left:256px;padding-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button+.toc--link{margin-left:256px;margin-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button{width:256px;width:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="10"] .toc--row>.toc--link:first-child{padding-left:280px;padding-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button+.toc--link{margin-left:280px;margin-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button{width:280px;width:calc(40px + var(--size-m1)*10)}.filtered>.toc--button,.toc .filtered>a{display:none}.toc #nav-submenu{padding-left:24px}.toc--part_hidden>.toc--part{display:none}.toc--row .toc--link-grid{display:grid;grid-template-columns:16px auto;grid-gap:6px;align-items:center}.toc--icon{height:16px;width:16px}.toc--icon.class:before{content:url(assets/class.svg)}.toc--icon.class-kt:before{content:url(assets/class-kotlin.svg)}.toc--icon.function:before{content:url(assets/function.svg)}.toc--icon.enum-class:before{content:url(assets/enum.svg)}.toc--icon.enum-class-kt:before{content:url(assets/enum-kotlin.svg)}.toc--icon.annotation-class:before{content:url(assets/annotation.svg)}.toc--icon.annotation-class-kt:before{content:url(assets/annotation-kotlin.svg)}.toc--icon.abstract-class:before{content:url(assets/abstract-class.svg)}.toc--icon.abstract-class-kt:before{content:url(assets/abstract-class-kotlin.svg)}.toc--icon.exception-class:before{content:url(assets/exception-class.svg)}.toc--icon.interface:before{content:url(assets/interface.svg)}.toc--icon.interface-kt:before{content:url(assets/interface-kotlin.svg)}.toc--icon.object:before{content:url(assets/object.svg)}.toc--icon.typealias-kt:before{content:url(assets/typealias-kotlin.svg)}.toc--icon.val:before{content:url(assets/field-value.svg)}.toc--icon.var:before{content:url(assets/field-variable.svg)}.toc--part[data-active]>.toc--row .toc--button,.toc--part[data-active]>.toc--row .toc--link{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.toc--part[data-active]>.toc--row .toc--button:hover,.toc--part[data-active]>.toc--row .toc--link:hover{background-color:#578af7}.toc--part[data-active]>.toc--row .toc--button:after,.toc--part[data-active]>.toc--row .toc--link:after{filter:invert(0)}.sidebar{border-right:1px solid rgba(39,40,44,.2);box-sizing:border-box;overflow:auto;width:var(--sidebar-width)}@media(max-width:899px){.sidebar{border:none;width:0}}@media(min-width:900px){.sidebar{position:relative;z-index:1}}@media(max-width:899px){.sidebar .button{height:52px;min-width:52px}}.theme-dark .sidebar{border-right-color:#56565f}.no-js .sidebar{display:none}.sidebar--inner{padding-bottom:12px;padding-top:12px}@media(max-width:899px){.ui-kit_desktop-only{display:none}}@media(min-width:900px){.ui-kit_mobile-only{display:none}}:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-key-blue-50:rgba(48,127,255,.5);--color-background-nav:#27282c;--color-background-nav-dt:#323237;--color-background-page:#fff;--color-background-page-dt:#262628;--color-background-footer:#ebebeb;--color-background-footer-dt:#323237;--color-text:#000;--color-text-dt:hsla(0,0%,100%,.96);--color-text-light:rgba(0,0,0,.7);--color-text-light-dt:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w08:hsla(0,0%,100%,.08);--color-w10:hsla(0,0%,100%,.1);--color-w16:hsla(0,0%,100%,.16);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-w100:#fff;--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 14px/20px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono);--hover-transition:background-color 200ms ease-in-out;--rotate-transition:transform 200ms ease-in-out;--color-background:var(--color-background-page);--focus-outline:4px solid var(--color-key-blue-50)}.theme-dark{--color-background:var(--color-background-page-dt)}body,table{background-color:#fff;background-color:var(--color-background)} \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/ui-kit.min.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/ui-kit.min.js index 7c7682878a..96b8d53062 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/ui-kit.min.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-as-java-example/html/ui-kit/ui-kit.min.js @@ -1 +1 @@ -(()=>{"use strict";var t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],r=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,a){t&&localStorage.setItem(e,a)}}}();function a(e){var a,r=null===(a=e.getAttribute("data-togglable"))||void 0===a?void 0:a.split(",");!function(a){var r,o,n,l;try{for(var i=t(document.getElementsByClassName("tabs-section")),c=i.next();!c.done;c=i.next()){var u=c.value;try{for(var d=(n=void 0,t(u.children)),s=d.next();!s.done;s=d.next()){var g=s.value;g.getAttribute("data-togglable")===e.getAttribute("data-togglable")?g.setAttribute("data-active",""):g.removeAttribute("data-active")}}catch(t){n={error:t}}finally{try{s&&!s.done&&(l=d.return)&&l.call(d)}finally{if(n)throw n.error}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");r&&e&&r.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),r="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&a(e)}(t),t.addEventListener("click",(function(t){var o=t.target,n=o?o.getAttribute("data-togglable"):null;n&&(e.setItem(r,JSON.stringify(n)),a(o))}))}));var o=e.getItem(r);if(o){var n=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(o)+'"]');n&&a(n)}},window.toggleSections=a})(); \ No newline at end of file +(()=>{"use strict";function t(e,n){return!(!e||!e.classList.contains(n))||!!e.parentElement&&t(e.parentElement,n)}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("div.button").forEach((function(t){t.addEventListener("keydown",(function(e){var n=e.key;"Enter"!==n&&" "!==n||t.dispatchEvent(new MouseEvent("click"))}))}))}));function e(){return window.innerWidth<440?"mobile":window.innerWidth>=440&&window.innerWidth<900?"tablet":"desktop"}var n=function(){function t(t){this.trapElement=t,this.handleKeyDown=this.handleKeyDown.bind(this),this.trapElement.addEventListener("keydown",this.handleKeyDown)}return t.prototype.handleKeyDown=function(t){var e=Array.from(this.trapElement.querySelectorAll('[role="option"]')).filter((function(t){return"none"!==t.style.display&&-1!==t.tabIndex}));if(["Tab","ArrowDown","ArrowUp"].includes(t.key)&&0!==e.length){var n=e[0],o=e[e.length-1];if("ArrowUp"===t.key)if(document.activeElement===n)o.focus();else{var r=e.indexOf(document.activeElement);e[r-1].focus()}"ArrowDown"===t.key&&(document.activeElement===o?n.focus():(r=e.indexOf(document.activeElement),e[r+1].focus())),"Tab"===t.key&&(t.shiftKey?document.activeElement===n&&(o.focus(),t.preventDefault()):document.activeElement===o&&(n.focus(),t.preventDefault()))}},t.prototype.destroy=function(){this.trapElement.removeEventListener("keydown",this.handleKeyDown)},t}(),o='[data-role="dropdown"]',r='[data-role="dropdown-toggle"]',i='[data-role="dropdown-listbox"]';function l(t){var e,n,o=t.querySelectorAll(r);null==o||o.forEach(a),e=t.querySelector(i),n=o[0].offsetWidth,e&&(e.classList.toggle("dropdown--list_expanded"),e.classList.contains("dropdown--list_expanded")?c(e,n):c(e,void 0))}function a(t){t.classList.contains("button_dropdown")&&t.classList.toggle("button_dropdown_active")}function c(t,e){if(e){var n=parseInt(getComputedStyle(t).minWidth,10),o=isNaN(n)?e:Math.max(n,e);t.style.minWidth="".concat(o,"px")}else t.style.minWidth=""}function d(e){var n=e.target;t(n,"dropdown")&&"dropdown--overlay"!==n.className||document.querySelectorAll(o).forEach((function(t){var e,n;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(t){t.classList.remove("button_dropdown_active")})),null===(n=t.querySelectorAll(i))||void 0===n||n.forEach((function(t){t.classList.remove("dropdown--list_expanded"),t.style.minWidth=""}))}))}function u(t){t.tag.removeAttribute("style"),t.option.setAttribute("style","display: none")}function s(t){t.tag.setAttribute("style","display: none"),t.option.removeAttribute("style")}function f(t){var e,n=null===(e=t.querySelector(".checkbox--input"))||void 0===e?void 0:e.getAttribute("data-filter");n&&(-1===filteringContext.activeFilters.findIndex((function(t){return t===n}))?unfilterSourceset(n):filterSourceset(n)),refreshFiltering()}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(o).forEach((function(t){var e;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(e){e.addEventListener("click",(function(){return l(t)}))})),function(t){new n(t),t.addEventListener("keydown",(function(e){var n;"Escape"===e.key&&(l(t),null===(n=t.querySelector(r))||void 0===n||n.focus())}))}(t)})),document.addEventListener("click",d)})),document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("navigation-wrapper"),n=document.getElementById("library-version"),o=document.getElementById("filter-section"),r=document.querySelector("#filter-section + .navigation-controls--btn"),i=document.getElementById("filter-section-dropdown");if(t&&n&&o&&r&&i){var l=null==o?void 0:o.querySelectorAll(".dropdown--option"),a=null==o?void 0:o.querySelectorAll(".platform-selector");if(a&&l)if(a.length===l.length){var c=Array.from({length:a.length}).map((function(t,e){return{tag:a[e],option:l[e]}})),d=c.map((function(t){return t.tag.getBoundingClientRect().width})),v=e(),m=new ResizeObserver((function(){var n=e();v!==n&&(c.forEach(u),d=function(t){return t.map((function(t){return t.tag.getBoundingClientRect().width}))}(c)),v=n,y(),m.unobserve(t)})),g=function(){m.observe(t)};y(),g(),l.forEach((function(t){t.addEventListener("click",(function(t){f(t.target)})),t.addEventListener("keydown",(function(t){var e=t.key;"Enter"!==e&&" "!==e||f(t.target)}))})),window.addEventListener("resize",g)}else console.warn("Dokka: filter section items are not equal");else console.warn("Dokka: filter section items are not found")}else console.warn("Dokka: filter section is not found");function y(){var e,l;if(t&&i){if(t.getBoundingClientRect().width<900)return c.forEach(s),void i.removeAttribute("style");var a=(n&&r?r.getBoundingClientRect().left-n.getBoundingClientRect().right:0)-44-10,f=0;i.removeAttribute("style");var v=!1;c.forEach((function(t,e){(f+=d[e]+4)=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,n){t&&localStorage.setItem(e,n)}}}();function g(t){var e,n=null===(e=t.getAttribute("data-togglable"))||void 0===e?void 0:e.split(",");!function(){var e,n,o,r;try{for(var i=v(document.getElementsByClassName("tabs-section")),l=i.next();!l.done;l=i.next()){var a=l.value;try{for(var c=(o=void 0,v(a.children)),d=c.next();!d.done;d=c.next()){var u=d.value;u.getAttribute("data-togglable")===t.getAttribute("data-togglable")?u.setAttribute("data-active",""):u.removeAttribute("data-active")}}catch(t){o={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");n&&e&&n.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),e="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&g(e)}(t),t.addEventListener("click",(function(t){var n=t.target,o=n?n.getAttribute("data-togglable"):null;o&&(m.setItem(e,JSON.stringify(o)),g(n))}))}));var n=m.getItem(e);if(n){var o=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(n)+'"]');o&&g(o)}},window.toggleSections=g,document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-remove-style="true"]').forEach((function(t){t.removeAttribute("style")}))}))})(); \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/-foo/-foo.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/-foo/-foo.html index 50276f3045..987c258e4d 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/-foo/-foo.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/-foo/-foo.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/-foo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/-foo/index.html index 7ff3246426..c2b095f887 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/-foo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/-foo/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/index.html index 51182ad8ae..616bd533c4 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.common/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/async-with-delay.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/async-with-delay.html index f3a13619f8..ccd89e542d 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/async-with-delay.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/async-with-delay.html @@ -32,39 +32,116 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/index.html index c49f7f2f1f..5b03dc51af 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/index.html @@ -32,39 +32,116 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/name.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/name.html index 47089b85de..d9c6584013 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/name.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.coroutines/name.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/get-current-date.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/get-current-date.html index 58a86d00be..8eb0c49893 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/get-current-date.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/get-current-date.html @@ -32,39 +32,116 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/get-date.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/get-date.html index 8380ab8ce6..5b472a76f3 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/get-date.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/get-date.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/index.html index 0935652c4b..ab80695c8f 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp.date/index.html @@ -32,39 +32,116 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/aliases.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/aliases.html index 1e8c37e8cf..cf765a2962 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/aliases.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/aliases.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/description.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/description.html index dd38a970c9..27bd94c5b6 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/description.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/description.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/index.html index 9a9222345c..24a98b2871 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/usage.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/usage.html index b068f0e0b7..7768928047 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/usage.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/-java-annotation/usage.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[js]my-extension.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[js]my-extension.html index 4f0a04a982..afa4f646a7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[js]my-extension.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[js]my-extension.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[js]shared.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[js]shared.html index 8251ddf86d..0de122d5fa 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[js]shared.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[js]shared.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[jvm]my-extension.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[jvm]my-extension.html index 751a1088f9..dc084a7566 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[jvm]my-extension.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[jvm]my-extension.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[jvm]shared.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[jvm]shared.html index 04e819aef9..5cd41240be 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[jvm]shared.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/[jvm]shared.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/index.html index f25b7f17c4..c36570fab9 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/index.html @@ -32,37 +32,96 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/js.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/js.html index b1dcc01b34..fc49b7a413 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/js.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/js.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/jvm.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/jvm.html index f6c35fb2b5..328ea881db 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/jvm.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/jvm.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/print-pointer-raw-value.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/print-pointer-raw-value.html index a1702fdc67..55b6a4aecc 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/print-pointer-raw-value.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/print-pointer-raw-value.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/start-connection-pipeline.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/start-connection-pipeline.html index 16f402a12e..5b4da6ded4 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/start-connection-pipeline.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/dokka-multiplatform-example/org.kotlintestmpp/start-connection-pipeline.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/arrow_down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/arrow_down.svg deleted file mode 100644 index 2478845270..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/arrow_down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/burger.svg deleted file mode 100644 index 40f73c5369..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/burger.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/homepage.svg deleted file mode 100644 index e3c83b1ce3..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/homepage.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/theme-toggle.svg deleted file mode 100644 index fcc900f389..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/theme-toggle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/index.html index 8c8687ad15..b8e88d2c91 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/index.html @@ -32,39 +32,116 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/navigation.html index 219bf3635b..ea353e8c07 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/navigation.html @@ -1,57 +1,57 @@ -
- -
- -
- +
+ +
+ + -
- + -
- + -
- + -
- + -
- +
+
-
- +
+
-
- + - -
- -
- + -
- -
- +
+ + -
- +
+
-
- -
- + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/scripts/main.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/scripts/main.js index eb22535ed1..90382844b7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/scripts/main.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/scripts/main.js @@ -49,5 +49,5 @@ t(5228);var r=t(6540),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Sy Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",n=0;n{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("span",{children:r}),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.847 14.861A6.99 6.99 0 0017.587 11a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM22.587 18a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("div",Ou({className:"template-title"},{children:r})),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M15.142 6.28a6.497 6.497 0 10-2.421 8.866c.207-.122.409-.256.602-.4L19.587 21 21 19.586l-6.261-6.251a6.51 6.51 0 00.402-7.055zm-3.413 7.129a4.5 4.5 0 11-4.463-7.814 4.5 4.5 0 014.463 7.814z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,maxHeight:510,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t { navigationPageText.then(data => { document.getElementById("sideMenu").innerHTML = data; }).then(() => { - document.querySelectorAll(".overview > a").forEach(link => { + document.querySelectorAll(".toc--row > a").forEach(link => { link.setAttribute("href", pathToRoot + link.getAttribute("href")); }) }).then(() => { - document.querySelectorAll(".sideMenuPart").forEach(nav => { - if (!nav.classList.contains("hidden")) - nav.classList.add("hidden") + document.querySelectorAll(".toc--part").forEach(nav => { + if (!nav.classList.contains("toc--part_hidden")) + nav.classList.add("toc--part_hidden") }) }).then(() => { revealNavigationForCurrentPage() @@ -33,14 +33,14 @@ displayNavigationFromPage = () => { revealNavigationForCurrentPage = () => { let pageId = document.getElementById("content").attributes["pageIds"].value.toString(); - let parts = document.querySelectorAll(".sideMenuPart"); + let parts = document.querySelectorAll(".toc--part"); let found = 0; do { parts.forEach(part => { if (part.attributes['pageId'].value.indexOf(pageId) !== -1 && found === 0) { found = 1; - if (part.classList.contains("hidden")) { - part.classList.remove("hidden"); + if (part.classList.contains("toc--part_hidden")) { + part.classList.remove("toc--part_hidden"); part.setAttribute('data-active', ""); } revealParents(part) @@ -50,25 +50,25 @@ revealNavigationForCurrentPage = () => { } while (pageId.indexOf("/") !== -1 && found === 0) }; revealParents = (part) => { - if (part.classList.contains("sideMenuPart")) { - if (part.classList.contains("hidden")) - part.classList.remove("hidden"); + if (part.classList.contains("toc--part")) { + if (part.classList.contains("toc--part_hidden")) + part.classList.remove("toc--part_hidden"); revealParents(part.parentNode) } }; scrollNavigationToSelectedElement = () => { - let selectedElement = document.querySelector('div.sideMenuPart[data-active]') + let selectedElement = document.querySelector('div.toc--part[data-active]') if (selectedElement == null) { // nothing selected, probably just the main page opened return } - let hasIcon = selectedElement.querySelectorAll(":scope > div.overview span.nav-icon").length > 0 + let hasIcon = selectedElement.querySelectorAll(":scope > div.toc--row span.toc--icon").length > 0 - // for instance enums also have children and are expandable, but are not package/module elements + // for an instance enums also have children and are expandable but are not package/module elements let isPackageElement = selectedElement.children.length > 1 && !hasIcon if (isPackageElement) { - // if package is selected or linked, it makes sense to align it to top + // if a package is selected or linked, it makes sense to align it to top // so that you can see all the members it contains selectedElement.scrollIntoView(true) } else { @@ -84,9 +84,9 @@ scrollNavigationToSelectedElement = () => { /* This is a work-around for safari being IE of our times. - It doesn't fire a DOMContentLoaded, presumabely because eventListener is added after it wants to do it + It doesn't fire a DOMContentLoaded, presumably because eventListener is added after it wants to do it */ -if (document.readyState == 'loading') { +if (document.readyState === 'loading') { window.addEventListener('DOMContentLoaded', () => { displayNavigationFromPage() }) diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/scripts/platform-content-handler.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/scripts/platform-content-handler.js index 6ecfc120a6..118de3848a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/scripts/platform-content-handler.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/scripts/platform-content-handler.js @@ -52,9 +52,10 @@ window.addEventListener('load', () => { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) initializeFiltering() } - initTabs() // initTabs comes from ui-kit/tabs + if (typeof initTabs === 'function') { + initTabs() // initTabs comes from ui-kit/tabs + } handleAnchor() - initHidingLeftNavigation() topNavbarOffset = document.getElementById('navigation-wrapper') darkModeSwitch() }) @@ -115,21 +116,6 @@ const samplesAreEnabled = () => { } } - -const initHidingLeftNavigation = () => { - document.getElementById("menu-toggle").onclick = function (event) { - //Events need to be prevented from bubbling since they will trigger next handler - event.preventDefault(); - event.stopPropagation(); - event.stopImmediatePropagation(); - document.getElementById("leftColumn").classList.toggle("open"); - } - - document.getElementById("main").onclick = () => { - document.getElementById("leftColumn").classList.remove("open"); - } -} - // Hash change is needed in order to allow for linking inside the same page with anchors // If this is not present user is forced to refresh the site in order to use an anchor window.onhashchange = handleAnchor @@ -274,6 +260,11 @@ function removeSourcesetFilterFromCache(sourceset) { } } +function refreshSourcesetsCache() { + safeLocalStorage.setItem('inactive-filters', JSON.stringify(filteringContext.restrictedDependencies.filter(p => -1 === filteringContext.activeFilters.indexOf(p)))) +} + + function togglePlatformDependent(e, container) { let target = e.target if (target.tagName !== 'BUTTON') return; @@ -322,14 +313,18 @@ function refreshPlaygroundSamples() { function refreshNoContentNotification() { const element = document.getElementsByClassName("main-content")[0] + const filteredMessage = document.querySelector(".filtered-message") + if(filteringContext.activeFilters.length === 0){ element.style.display = "none"; - const appended = document.createElement("div") - appended.className = "filtered-message" - appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" - sourcesetNotification = appended - element.parentNode.prepend(appended) + if (!filteredMessage) { + const appended = document.createElement("div") + appended.className = "filtered-message" + appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" + sourcesetNotification = appended + element.parentNode.prepend(appended) + } } else { if(sourcesetNotification) sourcesetNotification.remove() element.style.display = "block" @@ -369,4 +364,8 @@ function refreshFilterButtons() { f.removeAttribute("data-active") } }) + document.querySelectorAll("#filter-section .checkbox--input") + .forEach(f => { + f.checked = filteringContext.activeFilters.indexOf(f.getAttribute("data-filter")) !== -1; + }) } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/font-jb-sans-auto.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/font-jb-sans-auto.css index 2398f70f52..18d25d3b85 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/font-jb-sans-auto.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/font-jb-sans-auto.css @@ -8,6 +8,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; + font-display: swap; } /* Regular weight */ @font-face { @@ -15,6 +16,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff'); font-weight: 400; font-style: normal; + font-display: swap; } /* SemiBold weight */ @font-face { @@ -22,6 +24,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; + font-display: swap; } @supports (font-variation-settings: normal) { @@ -32,5 +35,6 @@ url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations'); font-weight: 100 900; font-style: normal; + font-display: swap; } } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/logo-styles.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/logo-styles.css index 988268da69..8281d5ca63 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/logo-styles.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/logo-styles.css @@ -4,6 +4,6 @@ :root { --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; + --dokka-logo-height: 28px; + --dokka-logo-width: 28px; } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/main.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/main.css index c90da07710..2a0c8dfb30 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/main.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/main.css @@ -1,6 +1,18 @@ /*! * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:rgba(0,0,0,0);fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;margin:0;padding:0;font-size:0;line-height:0}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:calc(100% - 322px) !important;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0} /* stylelint-disable color-no-hex */ .light, diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/style.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/style.css index 628d27dd02..c64fa37161 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/style.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/styles/style.css @@ -8,7 +8,7 @@ /* --- root styles --- */ :root { --default-gray: #f4f4f4; - --default-font-color: black; + --default-font-color: rgb(0, 0, 0); --header-font-color: var(--default-font-color); --breadcrumb-font-color: #637282; @@ -217,9 +217,9 @@ td:first-child { /* ---dark theme --- */ .theme-dark { - --background-color: #27282c; + --background-color: #262628; --color-dark: #3d3d41; - --default-font-color: hsla(0, 0%, 100%, 0.8); + --default-font-color: rgba(255, 255, 255, 0.96); --border-color: hsla(0, 0%, 100%, 0.2); --code-background: hsla(0, 0%, 100%, 0.05); --breadcrumb-font-color: #8c8c8e; @@ -249,170 +249,6 @@ td:first-child { height: 100%; } -/* --- Navigation styles --- */ -.navigation { - display: flex; - justify-content: space-between; - - color: #fff; - background-color: var(--color-dark); - font-family: var(--default-font-family); - letter-spacing: -0.1px; - - /* Reset margin and use padding for border */ - margin-left: 0; - margin-right: 0; - padding: 10px var(--horizontal-spacing-for-content); - - z-index: 4; -} - -.navigation--inner { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - flex: 1 1 auto; -} - -.navigation--inner, .navigation-title { - min-height: 40px; -} - -.navigation-title, .filter-section { - align-items: center; -} - -.navigation-title { - display: flex; - align-items: center; -} - -/* --- Navigation MENU --- */ -.menu-toggle { - color: var(--background-color); - line-height: 0; - font-size: 0; - text-indent: -9999px; - - background: transparent; - border: none; - padding: 0; - margin-right: 16px; - outline: none; - - transition: margin .2s ease-out; - z-index: 5; -} - -@media (min-width: 760px) { - .menu-toggle { - display: none; - } -} - -.menu-toggle::before { - display: block; - content: ''; - background: url('../images/burger.svg') no-repeat center; - height: 28px; - width: 28px; -} - -/* /--- Navigation MENU --- */ - -.library-version { - position: relative; - top: -4px; - margin-left: 3px; - - color: rgba(255, 255, 255, .7); - font-size: 13px; - font-weight: normal; - line-height: 16px; -} - -.filter-section { - z-index: 0; -} - -.no-js .filter-section { - display: none; -} - -@media (min-width: 760px) { - .filter-section { - padding: 5px 0 5px; - } -} - -/* --- Navigation controls --- */ -.navigation-controls { - display: flex; - margin-left: 4px; -} - -@media (min-width: 760px) { - .navigation-controls { - align-items: center; - } -} - -.no-js .navigation-controls { - display: none; -} - -.navigation-controls--btn { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; - height: 40px; - border-radius: 50%; - background-color: inherit; - background-position: 50% 50%; - padding: 0; - border: none; - cursor: pointer; - font-size: 0; - line-height: 0; - transition: background-color 200ms ease-in-out; - will-change: background-color; -} - -.navigation-controls--btn:hover { - background-color: var(--white-10); -} - -.navigation-controls--theme { - background-image: url("../images/theme-toggle.svg"); - background-repeat: no-repeat; -} - -@media (max-width: 759px) { - .navigation-controls--theme { - display: none; - } -} - -.navigation-controls--homepage { - background-image: url("../images/homepage.svg"); - background-repeat: no-repeat; - background-size: 24px 24px; -} - -@media (max-width: 759px) { - .navigation-controls--homepage { - display: none; - } -} - -.navigation .platform-selector:not([data-active]) { - color: #fff; -} - -/* /--- Navigation controls --- */ -/* /--- Navigation styles --- */ - /* --- Layout styles --- */ #container { @@ -421,7 +257,7 @@ td:first-child { min-height: 0; /* full height exclude header */ } -#container > .sidebar, #container > #main { +#container > #main { overflow: auto; } @@ -431,55 +267,6 @@ td:first-child { flex: 1 1 0; /* full width, but no affects for sidebar */ } -.sidebar { - display: flex; - flex-direction: column; - box-sizing: border-box; - border-right: 1px solid var(--border-color); - width: var(--sidebar-width); -} - -.no-js .sidebar { - display: none; -} - -@media (max-width: 759px) { - #container { - position: relative; - } - - .sidebar { - position: absolute; - top: 0; - bottom: 0; - box-sizing: border-box; - background: var(--background-color); - margin-left: calc(-1 * var(--sidebar-width)); - transition: margin .2s ease-out; - z-index: 4; - } - - .sidebar.open { - margin-left: 0; - } - - .sidebar.open ~ #main .navigation-controls--search { - display: none; - } - - .sidebar.open ~ #main .menu-toggle { - margin-left: var(--sidebar-width); - } -} - -.sidebar--inner { - font-size: 12px; - font-weight: 400; - line-height: 16px; - padding-top: 22px; - padding-bottom: 16px; -} - /* /--- Layout styles --- */ /* --- Main Content styles --- */ @@ -608,16 +395,6 @@ code.paragraph { display: block; } -.overview > .navButton { - position: absolute; - align-items: center; - display: flex; - justify-content: flex-end; - padding: 2px 2px 2px 0; - margin-right: 5px; - cursor: pointer; -} - .strikethrough { text-decoration: line-through; } @@ -761,166 +538,6 @@ code:not(.block) { word-break: break-word; } -.sideMenuPart > .overview { - display: flex; - align-items: center; - position: relative; - user-select: none; /* there's a weird bug with text selection */ - padding: 8px 0; -} - -.sideMenuPart a { - display: block; - align-items: center; - color: var(--default-font-color); - overflow: hidden; - padding-left: 23px; -} - -.sideMenuPart a:hover { - text-decoration: none; - color: var(--default-font-color); -} - -.sideMenuPart > .overview:before { - box-sizing: border-box; - content: ''; - top: 0; - width: var(--sidebar-width); - right: 0; - bottom: 0; - position: absolute; - z-index: -1; -} - -.overview:hover:before { - background-color: var(--navigation-highlight-color); -} - -#nav-submenu { - padding-left: 24px; -} - -.sideMenuPart { - padding-left: 12px; - box-sizing: border-box; -} - -.sideMenuPart.hidden > .overview .navButtonContent::before { - transform: rotate(0deg); -} - -.sideMenuPart > .overview .navButtonContent::before { - content: ''; - - -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - -webkit-mask-size: cover; - mask-size: cover; - background-color: var(--default-font-color); - - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - transform: rotate(90deg); - width: 16px; - height: 16px; -} - -.sideMenuPart[data-active] > .overview .navButtonContent::before { - background-color: var(--default-white); -} - -.sideMenuPart.hidden > .navButton .navButtonContent::after { - content: '\02192'; -} - -.sideMenuPart.hidden > .sideMenuPart { - display: none; -} - -.overview .nav-link-grid { - display: grid; - grid-template-columns: 16px auto; /* first is the icon, then name */ - grid-gap: 6px; - align-items: center; -} - -.nav-icon { - width: 16px; - height: 16px; -} - -.nav-icon.class::before { - content: url("../images/nav-icons/class.svg"); -} - -.nav-icon.class-kt::before { - content: url("../images/nav-icons/class-kotlin.svg"); -} - -.nav-icon.function::before { - content: url("../images/nav-icons/function.svg"); -} - -.nav-icon.enum-class::before { - content: url("../images/nav-icons/enum.svg"); -} - -.nav-icon.enum-class-kt::before { - content: url("../images/nav-icons/enum-kotlin.svg"); -} - -.nav-icon.annotation-class::before { - content: url("../images/nav-icons/annotation.svg"); -} - -.nav-icon.annotation-class-kt::before { - content: url("../images/nav-icons/annotation-kotlin.svg"); -} - -.nav-icon.abstract-class::before { - content: url("../images/nav-icons/abstract-class.svg"); -} - -.nav-icon.abstract-class-kt::before { - content: url("../images/nav-icons/abstract-class-kotlin.svg"); -} - -.nav-icon.exception-class::before { - content: url("../images/nav-icons/exception-class.svg"); -} - -.nav-icon.interface::before { - content: url("../images/nav-icons/interface.svg"); -} - -.nav-icon.interface-kt::before { - content: url("../images/nav-icons/interface-kotlin.svg"); -} - -.nav-icon.object::before { - content: url("../images/nav-icons/object.svg"); -} - -.nav-icon.typealias-kt::before { - content: url("../images/nav-icons/typealias-kotlin.svg"); -} - -.nav-icon.val::before { - content: url("../images/nav-icons/field-value.svg"); -} - -.nav-icon.var::before { - content: url("../images/nav-icons/field-variable.svg"); -} - -.filtered > a, .filtered > .navButton { - display: none; -} - - .brief { white-space: pre-wrap; overflow: hidden; @@ -1037,88 +654,6 @@ p.paragraph img { display: none !important; } -.platform-tags, .filter-section { - display: flex; - flex-wrap: wrap; - margin-bottom: -8px; - margin-left: -4px; -} - -.platform-tag { - --platform-tag-color: #bababb; - border: 0 none; - margin-right: 4px; - margin-bottom: 8px; - - font-family: var(--default-font-family); - font-size: 13px; - line-height: 1.5; - text-transform: capitalize; -} - -.platform-tag.js-like, .platform-tag.jvm-like, .platform-tag.wasm-like { - text-transform: uppercase; -} - -.filter-section .platform-tag { - cursor: pointer; - border-radius: 4px; - padding: 2px 16px; -} - -.filter-section .platform-tag.jvm-like[data-active], .platform-tags .platform-tag.jvm-like { - --platform-tag-color: #4dbb5f; -} - -.filter-section .platform-tag.js-like[data-active], .platform-tags .platform-tag.js-like { - --platform-tag-color: #ffc700; -} - -.filter-section .platform-tag.native-like[data-active], .platform-tags .platform-tag.native-like { - --platform-tag-color: #E082F3; -} - -.filter-section .platform-tag.wasm-like[data-active], .platform-tags .platform-tag.wasm-like { - --platform-tag-color: #9585F9; -} - -.filter-section .platform-tag[data-active]:hover { - color: #fff; - background-color: rgba(186, 186, 187, .7); -} - -.filter-section .platform-tag:not([data-active]) { - color: #fff; - /* Safari doesn't work correctly for `outline` with `border-radius` */ - /* outline: 1px solid rgba(255,255,255,.6); */ - /* ...use `box-shadow` instead: */ - box-shadow: 0 0 0 1px rgb(255 255 255 / 60%); - background-color: rgba(255,255,255,.05); -} - -.filter-section .platform-tag[data-active] { - color: #19191c; - background-color: var(--platform-tag-color); -} - -.platform-tags .platform-tag { - display: flex; - align-items: center; -} - -.platform-tags .platform-tag::before { - display: inline-block; - content: ''; - border-radius: 50%; - background: var(--platform-tag-color); - margin: 0 4px 0 8px; - height: 8px; - width: 8px; - - font-size: 13px; - line-height: 1.6; -} - td.content { padding-left: 24px; padding-top: 16px; @@ -1234,14 +769,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o padding: 8px; } -.sideMenuPart[data-active] > .overview:before { - background: var(--sidemenu-section-active-color); -} - -.sideMenuPart[data-active] > .overview > a { - color: var(--default-white); -} - .table { display: flex; flex-direction: column; @@ -1408,34 +935,3 @@ div.runnablesample { } /* /--- footer --- */ - -/* Logo styles */ -:root { - --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; -} - -.library-name--link { - display: flex; - align-items: center; - color: #fff; - font-weight: 530; -} - -.library-name--link::before { - content: ''; - background: var(--dokka-logo-image-url) center no-repeat; - background-size: var(--dokka-logo-height) var(--dokka-logo-width); - margin-right: 5px; - width: var(--dokka-logo-height); - height: var(--dokka-logo-width); -} - -@media (max-width: 759px) { - .library-name--link::before { - display: none; - } -} - -/* / Logo styles */ diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/abstract-class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/abstract-class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/abstract-class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/abstract-class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/abstract-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/abstract-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/abstract-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/abstract-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/annotation-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/annotation-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/annotation-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/annotation-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/annotation.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/annotation.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/annotation.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/annotation.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/arrow-down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/arrow-down.svg new file mode 100644 index 0000000000..ca54658d3c --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/arrow-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/burger.svg new file mode 100644 index 0000000000..a26f194dc4 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/burger.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/checkbox-off.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/checkbox-off.svg new file mode 100644 index 0000000000..a5117e8d9a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/checkbox-off.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/checkbox-on.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/checkbox-on.svg new file mode 100644 index 0000000000..71891d57dd --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/checkbox-on.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/cross.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/cross.svg new file mode 100644 index 0000000000..232069f85e --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/enum-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/enum-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/enum-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/enum-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/enum.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/enum.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/enum.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/enum.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/exception-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/exception-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/exception-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/exception-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/field-value.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/field-value.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/field-value.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/field-value.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/field-variable.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/field-variable.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/field-variable.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/field-variable.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/filter.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/filter.svg new file mode 100644 index 0000000000..be62ea5bf3 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/filter.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/function.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/function.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/function.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/function.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/homepage.svg new file mode 100644 index 0000000000..9a8927a40a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/interface-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/interface-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/interface-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/interface-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/interface.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/interface.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/interface.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/interface.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/object.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/object.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/object.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/object.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/placeholder.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/placeholder.svg new file mode 100644 index 0000000000..e8129621d2 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/placeholder.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/theme-toggle.svg new file mode 100644 index 0000000000..490263f391 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/theme-toggle.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/typealias-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/typealias-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/images/nav-icons/typealias-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/assets/typealias-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/ui-kit.min.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/ui-kit.min.css index 65bf50d52d..349ee87bfe 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/ui-kit.min.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/ui-kit.min.css @@ -1 +1 @@ -:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-nav-bar:#27282c;--color-dark-theme-bg:#262628;--color-text-black:#000;--color-text-white:hsla(0,0%,100%,.96);--color-text-light-black:rgba(0,0,0,.7);--color-text-light-white:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w10:hsla(0,0%,100%,.1);--color-w20:hsla(0,0%,100%,.2);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 13px/24px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono)}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none} +.button{align-items:center;background-color:transparent;border:none;border-radius:4px;border-radius:var(--size-s1);box-sizing:border-box;color:#000;color:var(--color-text);cursor:pointer;display:flex;height:40px;justify-content:center;letter-spacing:.045em;padding:8px 12px;padding:var(--size-s2) 12px}.button[\:has\(\:first-child\)]{gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}.button:has(:first-child){gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}@media(hover:hover){.button:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.button:active{background-color:#307fff;background-color:var(--color-key-blue)}.button:disabled{cursor:not-allowed;opacity:.5}.button.focus-visible{outline:var(--focus-outline)}.button:focus-visible{outline:var(--focus-outline)}.theme-dark .button{color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.theme-dark .button:hover{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.button_background{background-color:#fff;background-color:var(--color-w100)}.theme-dark .button_background{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.theme-dark .button_background:hover{background-color:hsla(0,0%,100%,.05);background-color:var(--color-w05)}.button_dropdown{font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:8px;padding:var(--size-s2)}.button_dropdown:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;content:"";display:block;filter:invert(1);height:24px;height:var(--size-m1);transform:rotate(0);width:24px;width:var(--size-m1);will-change:transform}.theme-dark .button_dropdown:after{filter:none}.button_dropdown_active{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.button_dropdown_active:hover,.theme-dark .button_dropdown_active:hover{background-color:#639fff}.button_dropdown_active:after{filter:invert(0);transform:rotate(-180deg)}.checkbox{cursor:pointer;display:inline-block;position:relative}.checkbox--input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;visibility:hidden}.checkbox--icon{background-image:url(assets/checkbox-off.svg);height:24px;height:var(--size-m1);margin-left:-32px;margin-left:calc(var(--size-m2)*-1);position:absolute;width:24px;width:var(--size-m1)}.checkbox--input:checked+.checkbox--icon{background-image:url(assets/checkbox-on.svg)}.checkbox--input:disabled+.checkbox--icon{opacity:.2}.checkbox--input.focus-visible{outline:var(--focus-outline)}.checkbox--input:focus-visible{outline:var(--focus-outline)}.dropdown{position:relative}@media(max-width:899px){.dropdown{position:static}}.dropdown--list{background-color:#323237;background-color:var(--color-background-nav-dt);border:1px solid #56565f;box-shadow:0 2px 8px 0 rgba(0,0,0,.251);display:none;max-height:400px;max-width:360px;min-width:272px;overflow-y:auto;padding:12px 0;position:absolute;right:0;top:44px;-webkit-transform:translateZ(0);width:-moz-fit-content;width:fit-content;z-index:10}@media(max-width:899px){.dropdown--list{border:none;height:100vh;max-height:none;padding:0;right:0;top:0}}@media(max-width:439px){.dropdown--list{max-width:none;width:100vw}}.dropdown--list_positioned_right{right:0}.dropdown--list_positioned_left{left:0}@media(max-width:899px){.dropdown--list_positioned_left{left:auto}}.dropdown--list_expanded{display:block}@media(min-width:900px){.dropdown--list_toc-list{background-color:transparent;border:none;box-shadow:none;display:block;max-height:none;max-width:none;min-width:100%;padding:0;position:relative;top:0}}@media(min-width:440px)and (max-width:899px){.dropdown--list_toc-list{width:408px}}.dropdown--option{background-color:#323237;background-color:var(--color-background-nav-dt);border:none;color:var(--color-text-nav-dt);cursor:pointer;display:block;font:400 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-m);letter-spacing:-.03em;list-style-type:none;padding:8px 16px;padding:var(--size-s2) var(--size-s3);position:relative}.dropdown--option:hover{background-color:#4a4a52}.dropdown--option.focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:visited{color:var(--color-text-nav-dt)}.dropdown--option_active{background-color:#307fff;background-color:var(--color-key-blue)}.dropdown--option_active:hover{background-color:#639fff}.dropdown--option_link{color:var(--color-text-nav-dt);text-decoration:none}.dropdown--option_link.focus-visible{outline:var(--focus-outline)}.dropdown--option_link:focus-visible{outline:var(--focus-outline)}.dropdown--option .checkbox{pointer-events:none}.dropdown--option .checkbox:first-letter{text-transform:uppercase}.dropdown--overlay{background-color:hsla(0,0%,54%,.5);bottom:0;content:"";display:none;height:100vh;left:0;position:absolute;right:0;top:0;width:100vw;z-index:4}.dropdown--list_expanded+.dropdown--overlay{display:block}@media(min-width:900px){.dropdown--list_expanded+.dropdown--overlay{display:none}}.dropdown--header{align-items:center;background-color:#323237;background-color:var(--color-background-nav-dt);border-bottom:1px solid #56565f;color:hsla(0,0%,100%,.7);color:var(--color-w70);display:flex;height:52px;justify-content:space-between;padding-left:16px;padding-left:var(--size-s3);position:sticky;top:0;z-index:2}@media(min-width:900px){.dropdown--header{display:none}}.filter-section{align-items:center;display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-end;margin-right:12px;max-height:40px;z-index:1}.filter-section_loading{overflow:hidden}@media(min-width:900px){.filter-section--dropdown{display:none}}.filter-section--dropdown-toggle_as-filters{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat;min-width:40px}.filter-section--dropdown-toggle_as-filters:after{display:none}@media(max-width:899px){.filter-section{margin-right:0;max-height:none}.filter-section>:not(.dropdown){display:none}.filter-section--dropdown-toggle{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat}.filter-section--dropdown-toggle:after{display:none}}.no-js .filter-section{display:none}.ui-kit-icon{background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;filter:invert(1);font-size:0;height:24px;height:var(--size-m1);line-height:0;width:24px;width:var(--size-m1);will-change:background-color}.theme-dark .ui-kit-icon{filter:none}@media(max-width:899px){.theme-dark_mobile .ui-kit-icon{filter:none}}.ui-kit-icon_arrow-down{background-image:url(assets/arrow-down.svg)}.ui-kit-icon_placeholder{background-image:url(assets/placeholder.svg)}.ui-kit-icon_cross{background-image:url(assets/cross.svg)}.library-name--link{align-items:center;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;font:600 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-h4);margin-right:8px;margin-right:var(--size-s2);white-space:nowrap}.library-name--link.focus-visible{outline:var(--focus-outline)}.library-name--link:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.library-name--link{height:52px;margin-left:12px}}.library-name--link:before{background:var(--dokka-logo-image-url) center no-repeat;background-size:min(var(--dokka-logo-height),120px) min(var(--dokka-logo-width),36px);content:"";height:var(--dokka-logo-height);margin-right:8px;margin-right:var(--size-s2);max-height:36px;max-width:120px;width:var(--dokka-logo-width)}.library-version{box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding-top:1px}@media(max-width:899px){.library-version{align-items:center;background-color:#000;background-color:var(--color-text);display:flex;height:52px;padding-left:12px}}.navigation{align-items:center;background-color:#27282c;background-color:var(--color-background-nav);box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;flex-wrap:nowrap;justify-content:flex-start;padding:12px 24px;padding:12px var(--size-m1);z-index:4}@media(max-width:899px){.navigation{flex-wrap:wrap;height:auto;padding:0}}.theme-dark .navigation{background-color:#323237;background-color:var(--color-background-nav-dt)}@media(max-width:899px){.navigation .button{height:52px;min-width:52px}}.navigation-controls{align-items:center;display:flex;gap:4px;gap:var(--size-s1);margin-left:auto}@media(max-width:899px){.navigation-controls{background-color:#000;background-color:var(--color-text);flex-grow:1;gap:0;justify-content:flex-end}}.no-js .navigation-controls{display:none}.navigation-controls--btn{align-items:center;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;border:none;border-radius:4px;border-radius:var(--size-s1);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:0;height:40px;justify-content:center;line-height:0;padding:0;width:40px;z-index:0}@media(hover:hover){.navigation-controls--btn:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.navigation-controls--btn:active{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.navigation-controls--btn.focus-visible{outline:var(--focus-outline)}.navigation-controls--btn:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.navigation-controls--btn{height:52px;width:52px}}.navigation-controls--break{flex-basis:100%}.navigation-controls--btn_theme{background-image:url(assets/theme-toggle.svg)}.navigation-controls--btn_homepage{background-image:url(assets/homepage.svg)}.navigation-controls--btn_toc{background-image:url(assets/burger.svg);margin-left:auto}.platform-tag{--platform-tag-color:#bababb;border:0;border-radius:4px;border-radius:var(--size-s1);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:10px 12px;text-transform:capitalize}.platform-tag,button.platform-tag{cursor:pointer}button.platform-tag.focus-visible{outline:var(--focus-outline)}button.platform-tag:focus-visible{outline:var(--focus-outline)}.platform-selector-option{padding-left:44px}.platform-selector-option.js-like,.platform-selector-option.jvm-like,.platform-selector-option.wasm-like,.platform-tag.js-like,.platform-tag.jvm-like,.platform-tag.wasm-like{text-transform:uppercase}.platform-tags .platform-tag{align-items:center;display:flex}.filter-section .platform-tag[data-active]{background-color:var(--platform-tag-color);color:#19191c}.filter-section .platform-tag.jvm-like[data-active],.platform-tags .platform-tag.jvm-like{--platform-tag-color:#4dbb5f}.filter-section .platform-tag.js-like[data-active],.platform-tags .platform-tag.js-like{--platform-tag-color:#ffc700}.filter-section .platform-tag.native-like[data-active],.platform-tags .platform-tag.native-like{--platform-tag-color:#e082f3}.filter-section .platform-tag.wasm-like[data-active],.platform-tags .platform-tag.wasm-like{--platform-tag-color:#9585f9}@media(hover:hover){.filter-section .platform-tag[data-active]:hover{background-color:hsla(240,1%,73%,.7);color:#fff}}.filter-section .platform-tag[data-active]:active{background-color:hsla(240,1%,73%,.7);color:#fff}.filter-section .platform-tag:not([data-active]){background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10);color:hsla(0,0%,100%,.5);color:var(--color-w50);text-decoration:line-through}.platform-tags .platform-tag:before{background:var(--platform-tag-color);border-radius:50%;content:"";display:inline-block;font-size:13px;height:8px;line-height:1.6;margin:0 4px 0 8px;width:8px}.platform-tags{display:flex;flex-wrap:wrap;margin-bottom:-8px;margin-left:-4px}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;min-width:var(--size-l1);order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none}:root{--toc-hover-color:var(--color-b08);--toc-font:400 13px/24px var(--font-family-default);--toc-color:var(--color-text)}.theme-dark{--toc-hover-color:var(--color-w08);--toc-color:var(--color-text-dt)}@media(max-width:899px){.theme-dark_mobile{--toc-color:var(--color-text-dt);--toc-hover-color:var(--color-w08)}}.toc--part{color:#000;color:var(--toc-color);font:400 13px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--toc-font)}.toc--part,.toc--row{box-sizing:border-box}.toc--row{align-items:center;display:flex;min-height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toc--button{align-items:center;background-color:inherit;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;height:100%;justify-content:flex-end;min-width:40px;padding:0 8px 0 0;position:absolute}.toc--button:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;background-size:24px 24px;content:" ";filter:invert(1);font-size:0;height:24px;line-height:0;transform:rotate(0deg);width:24px}.toc--part_hidden .toc--button:after{transform:rotate(-90deg)}.theme-dark .toc--button:after{filter:invert(0)}@media(max-width:899px){.theme-dark_mobile .toc--button:after{filter:invert(0)}}@media(hover:hover){.toc--button:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}}.toc--button:active{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--button.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--button:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link{box-sizing:border-box;color:inherit;height:calc(100% - 16px);min-height:40px;padding:8px 4px 8px 0;width:100%}.toc--link:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--link.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--part[data-nesting-level="0"] .toc--row>.toc--link:first-child{padding-left:40px;padding-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button+.toc--link{margin-left:40px;margin-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button{width:40px;width:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="1"] .toc--row>.toc--link:first-child{padding-left:64px;padding-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button+.toc--link{margin-left:64px;margin-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button{width:64px;width:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="2"] .toc--row>.toc--link:first-child{padding-left:88px;padding-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button+.toc--link{margin-left:88px;margin-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button{width:88px;width:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="3"] .toc--row>.toc--link:first-child{padding-left:112px;padding-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button+.toc--link{margin-left:112px;margin-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button{width:112px;width:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="4"] .toc--row>.toc--link:first-child{padding-left:136px;padding-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button+.toc--link{margin-left:136px;margin-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button{width:136px;width:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="5"] .toc--row>.toc--link:first-child{padding-left:160px;padding-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button+.toc--link{margin-left:160px;margin-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button{width:160px;width:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="6"] .toc--row>.toc--link:first-child{padding-left:184px;padding-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button+.toc--link{margin-left:184px;margin-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button{width:184px;width:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="7"] .toc--row>.toc--link:first-child{padding-left:208px;padding-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button+.toc--link{margin-left:208px;margin-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button{width:208px;width:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="8"] .toc--row>.toc--link:first-child{padding-left:232px;padding-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button+.toc--link{margin-left:232px;margin-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button{width:232px;width:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="9"] .toc--row>.toc--link:first-child{padding-left:256px;padding-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button+.toc--link{margin-left:256px;margin-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button{width:256px;width:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="10"] .toc--row>.toc--link:first-child{padding-left:280px;padding-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button+.toc--link{margin-left:280px;margin-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button{width:280px;width:calc(40px + var(--size-m1)*10)}.filtered>.toc--button,.toc .filtered>a{display:none}.toc #nav-submenu{padding-left:24px}.toc--part_hidden>.toc--part{display:none}.toc--row .toc--link-grid{display:grid;grid-template-columns:16px auto;grid-gap:6px;align-items:center}.toc--icon{height:16px;width:16px}.toc--icon.class:before{content:url(assets/class.svg)}.toc--icon.class-kt:before{content:url(assets/class-kotlin.svg)}.toc--icon.function:before{content:url(assets/function.svg)}.toc--icon.enum-class:before{content:url(assets/enum.svg)}.toc--icon.enum-class-kt:before{content:url(assets/enum-kotlin.svg)}.toc--icon.annotation-class:before{content:url(assets/annotation.svg)}.toc--icon.annotation-class-kt:before{content:url(assets/annotation-kotlin.svg)}.toc--icon.abstract-class:before{content:url(assets/abstract-class.svg)}.toc--icon.abstract-class-kt:before{content:url(assets/abstract-class-kotlin.svg)}.toc--icon.exception-class:before{content:url(assets/exception-class.svg)}.toc--icon.interface:before{content:url(assets/interface.svg)}.toc--icon.interface-kt:before{content:url(assets/interface-kotlin.svg)}.toc--icon.object:before{content:url(assets/object.svg)}.toc--icon.typealias-kt:before{content:url(assets/typealias-kotlin.svg)}.toc--icon.val:before{content:url(assets/field-value.svg)}.toc--icon.var:before{content:url(assets/field-variable.svg)}.toc--part[data-active]>.toc--row .toc--button,.toc--part[data-active]>.toc--row .toc--link{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.toc--part[data-active]>.toc--row .toc--button:hover,.toc--part[data-active]>.toc--row .toc--link:hover{background-color:#578af7}.toc--part[data-active]>.toc--row .toc--button:after,.toc--part[data-active]>.toc--row .toc--link:after{filter:invert(0)}.sidebar{border-right:1px solid rgba(39,40,44,.2);box-sizing:border-box;overflow:auto;width:var(--sidebar-width)}@media(max-width:899px){.sidebar{border:none;width:0}}@media(min-width:900px){.sidebar{position:relative;z-index:1}}@media(max-width:899px){.sidebar .button{height:52px;min-width:52px}}.theme-dark .sidebar{border-right-color:#56565f}.no-js .sidebar{display:none}.sidebar--inner{padding-bottom:12px;padding-top:12px}@media(max-width:899px){.ui-kit_desktop-only{display:none}}@media(min-width:900px){.ui-kit_mobile-only{display:none}}:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-key-blue-50:rgba(48,127,255,.5);--color-background-nav:#27282c;--color-background-nav-dt:#323237;--color-background-page:#fff;--color-background-page-dt:#262628;--color-background-footer:#ebebeb;--color-background-footer-dt:#323237;--color-text:#000;--color-text-dt:hsla(0,0%,100%,.96);--color-text-light:rgba(0,0,0,.7);--color-text-light-dt:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w08:hsla(0,0%,100%,.08);--color-w10:hsla(0,0%,100%,.1);--color-w16:hsla(0,0%,100%,.16);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-w100:#fff;--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 14px/20px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono);--hover-transition:background-color 200ms ease-in-out;--rotate-transition:transform 200ms ease-in-out;--color-background:var(--color-background-page);--focus-outline:4px solid var(--color-key-blue-50)}.theme-dark{--color-background:var(--color-background-page-dt)}body,table{background-color:#fff;background-color:var(--color-background)} \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/ui-kit.min.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/ui-kit.min.js index 7c7682878a..96b8d53062 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/ui-kit.min.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/kotlin-multiplatform-example/html/ui-kit/ui-kit.min.js @@ -1 +1 @@ -(()=>{"use strict";var t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],r=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,a){t&&localStorage.setItem(e,a)}}}();function a(e){var a,r=null===(a=e.getAttribute("data-togglable"))||void 0===a?void 0:a.split(",");!function(a){var r,o,n,l;try{for(var i=t(document.getElementsByClassName("tabs-section")),c=i.next();!c.done;c=i.next()){var u=c.value;try{for(var d=(n=void 0,t(u.children)),s=d.next();!s.done;s=d.next()){var g=s.value;g.getAttribute("data-togglable")===e.getAttribute("data-togglable")?g.setAttribute("data-active",""):g.removeAttribute("data-active")}}catch(t){n={error:t}}finally{try{s&&!s.done&&(l=d.return)&&l.call(d)}finally{if(n)throw n.error}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");r&&e&&r.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),r="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&a(e)}(t),t.addEventListener("click",(function(t){var o=t.target,n=o?o.getAttribute("data-togglable"):null;n&&(e.setItem(r,JSON.stringify(n)),a(o))}))}));var o=e.getItem(r);if(o){var n=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(o)+'"]');n&&a(n)}},window.toggleSections=a})(); \ No newline at end of file +(()=>{"use strict";function t(e,n){return!(!e||!e.classList.contains(n))||!!e.parentElement&&t(e.parentElement,n)}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("div.button").forEach((function(t){t.addEventListener("keydown",(function(e){var n=e.key;"Enter"!==n&&" "!==n||t.dispatchEvent(new MouseEvent("click"))}))}))}));function e(){return window.innerWidth<440?"mobile":window.innerWidth>=440&&window.innerWidth<900?"tablet":"desktop"}var n=function(){function t(t){this.trapElement=t,this.handleKeyDown=this.handleKeyDown.bind(this),this.trapElement.addEventListener("keydown",this.handleKeyDown)}return t.prototype.handleKeyDown=function(t){var e=Array.from(this.trapElement.querySelectorAll('[role="option"]')).filter((function(t){return"none"!==t.style.display&&-1!==t.tabIndex}));if(["Tab","ArrowDown","ArrowUp"].includes(t.key)&&0!==e.length){var n=e[0],o=e[e.length-1];if("ArrowUp"===t.key)if(document.activeElement===n)o.focus();else{var r=e.indexOf(document.activeElement);e[r-1].focus()}"ArrowDown"===t.key&&(document.activeElement===o?n.focus():(r=e.indexOf(document.activeElement),e[r+1].focus())),"Tab"===t.key&&(t.shiftKey?document.activeElement===n&&(o.focus(),t.preventDefault()):document.activeElement===o&&(n.focus(),t.preventDefault()))}},t.prototype.destroy=function(){this.trapElement.removeEventListener("keydown",this.handleKeyDown)},t}(),o='[data-role="dropdown"]',r='[data-role="dropdown-toggle"]',i='[data-role="dropdown-listbox"]';function l(t){var e,n,o=t.querySelectorAll(r);null==o||o.forEach(a),e=t.querySelector(i),n=o[0].offsetWidth,e&&(e.classList.toggle("dropdown--list_expanded"),e.classList.contains("dropdown--list_expanded")?c(e,n):c(e,void 0))}function a(t){t.classList.contains("button_dropdown")&&t.classList.toggle("button_dropdown_active")}function c(t,e){if(e){var n=parseInt(getComputedStyle(t).minWidth,10),o=isNaN(n)?e:Math.max(n,e);t.style.minWidth="".concat(o,"px")}else t.style.minWidth=""}function d(e){var n=e.target;t(n,"dropdown")&&"dropdown--overlay"!==n.className||document.querySelectorAll(o).forEach((function(t){var e,n;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(t){t.classList.remove("button_dropdown_active")})),null===(n=t.querySelectorAll(i))||void 0===n||n.forEach((function(t){t.classList.remove("dropdown--list_expanded"),t.style.minWidth=""}))}))}function u(t){t.tag.removeAttribute("style"),t.option.setAttribute("style","display: none")}function s(t){t.tag.setAttribute("style","display: none"),t.option.removeAttribute("style")}function f(t){var e,n=null===(e=t.querySelector(".checkbox--input"))||void 0===e?void 0:e.getAttribute("data-filter");n&&(-1===filteringContext.activeFilters.findIndex((function(t){return t===n}))?unfilterSourceset(n):filterSourceset(n)),refreshFiltering()}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(o).forEach((function(t){var e;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(e){e.addEventListener("click",(function(){return l(t)}))})),function(t){new n(t),t.addEventListener("keydown",(function(e){var n;"Escape"===e.key&&(l(t),null===(n=t.querySelector(r))||void 0===n||n.focus())}))}(t)})),document.addEventListener("click",d)})),document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("navigation-wrapper"),n=document.getElementById("library-version"),o=document.getElementById("filter-section"),r=document.querySelector("#filter-section + .navigation-controls--btn"),i=document.getElementById("filter-section-dropdown");if(t&&n&&o&&r&&i){var l=null==o?void 0:o.querySelectorAll(".dropdown--option"),a=null==o?void 0:o.querySelectorAll(".platform-selector");if(a&&l)if(a.length===l.length){var c=Array.from({length:a.length}).map((function(t,e){return{tag:a[e],option:l[e]}})),d=c.map((function(t){return t.tag.getBoundingClientRect().width})),v=e(),m=new ResizeObserver((function(){var n=e();v!==n&&(c.forEach(u),d=function(t){return t.map((function(t){return t.tag.getBoundingClientRect().width}))}(c)),v=n,y(),m.unobserve(t)})),g=function(){m.observe(t)};y(),g(),l.forEach((function(t){t.addEventListener("click",(function(t){f(t.target)})),t.addEventListener("keydown",(function(t){var e=t.key;"Enter"!==e&&" "!==e||f(t.target)}))})),window.addEventListener("resize",g)}else console.warn("Dokka: filter section items are not equal");else console.warn("Dokka: filter section items are not found")}else console.warn("Dokka: filter section is not found");function y(){var e,l;if(t&&i){if(t.getBoundingClientRect().width<900)return c.forEach(s),void i.removeAttribute("style");var a=(n&&r?r.getBoundingClientRect().left-n.getBoundingClientRect().right:0)-44-10,f=0;i.removeAttribute("style");var v=!1;c.forEach((function(t,e){(f+=d[e]+4)=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,n){t&&localStorage.setItem(e,n)}}}();function g(t){var e,n=null===(e=t.getAttribute("data-togglable"))||void 0===e?void 0:e.split(",");!function(){var e,n,o,r;try{for(var i=v(document.getElementsByClassName("tabs-section")),l=i.next();!l.done;l=i.next()){var a=l.value;try{for(var c=(o=void 0,v(a.children)),d=c.next();!d.done;d=c.next()){var u=d.value;u.getAttribute("data-togglable")===t.getAttribute("data-togglable")?u.setAttribute("data-active",""):u.removeAttribute("data-active")}}catch(t){o={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");n&&e&&n.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),e="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&g(e)}(t),t.addEventListener("click",(function(t){var n=t.target,o=n?n.getAttribute("data-togglable"):null;o&&(m.setItem(e,JSON.stringify(o)),g(n))}))}));var n=m.getItem(e);if(n){var o=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(n)+'"]');o&&g(o)}},window.toggleSections=g,document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-remove-style="true"]').forEach((function(t){t.removeAttribute("style")}))}))})(); \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/-greeter.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/-greeter.html index 203680578c..3e1185618d 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/-greeter.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/-greeter.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/greet.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/greet.html index c6727e4ea1..835a34fe58 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/greet.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/greet.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/index.html index 0abc82c33b..e68cf398d1 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/name.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/name.html index 9ffcae0b67..c739f3ba10 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/name.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/-greeter/name.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/index.html index 8fb9b80811..f128d1263b 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/main.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/main.html index a8ed961c17..7b756750e2 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/main.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/dokka-library-publishing-example/demo/main.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/arrow_down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/arrow_down.svg deleted file mode 100644 index 2478845270..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/arrow_down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/burger.svg deleted file mode 100644 index 40f73c5369..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/burger.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/homepage.svg deleted file mode 100644 index e3c83b1ce3..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/homepage.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/theme-toggle.svg deleted file mode 100644 index fcc900f389..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/theme-toggle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/index.html index a51bae1727..6a1e823f32 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/index.html @@ -32,35 +32,76 @@ - +
-
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/navigation.html index beec76a74e..5cbbd961f4 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/navigation.html @@ -1,12 +1,12 @@ -
- -
- -
- +
+ +
+ + -
- +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/scripts/main.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/scripts/main.js index eb22535ed1..90382844b7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/scripts/main.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/scripts/main.js @@ -49,5 +49,5 @@ t(5228);var r=t(6540),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Sy Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",n=0;n{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("span",{children:r}),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.847 14.861A6.99 6.99 0 0017.587 11a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM22.587 18a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("div",Ou({className:"template-title"},{children:r})),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M15.142 6.28a6.497 6.497 0 10-2.421 8.866c.207-.122.409-.256.602-.4L19.587 21 21 19.586l-6.261-6.251a6.51 6.51 0 00.402-7.055zm-3.413 7.129a4.5 4.5 0 11-4.463-7.814 4.5 4.5 0 014.463 7.814z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,maxHeight:510,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t { navigationPageText.then(data => { document.getElementById("sideMenu").innerHTML = data; }).then(() => { - document.querySelectorAll(".overview > a").forEach(link => { + document.querySelectorAll(".toc--row > a").forEach(link => { link.setAttribute("href", pathToRoot + link.getAttribute("href")); }) }).then(() => { - document.querySelectorAll(".sideMenuPart").forEach(nav => { - if (!nav.classList.contains("hidden")) - nav.classList.add("hidden") + document.querySelectorAll(".toc--part").forEach(nav => { + if (!nav.classList.contains("toc--part_hidden")) + nav.classList.add("toc--part_hidden") }) }).then(() => { revealNavigationForCurrentPage() @@ -33,14 +33,14 @@ displayNavigationFromPage = () => { revealNavigationForCurrentPage = () => { let pageId = document.getElementById("content").attributes["pageIds"].value.toString(); - let parts = document.querySelectorAll(".sideMenuPart"); + let parts = document.querySelectorAll(".toc--part"); let found = 0; do { parts.forEach(part => { if (part.attributes['pageId'].value.indexOf(pageId) !== -1 && found === 0) { found = 1; - if (part.classList.contains("hidden")) { - part.classList.remove("hidden"); + if (part.classList.contains("toc--part_hidden")) { + part.classList.remove("toc--part_hidden"); part.setAttribute('data-active', ""); } revealParents(part) @@ -50,25 +50,25 @@ revealNavigationForCurrentPage = () => { } while (pageId.indexOf("/") !== -1 && found === 0) }; revealParents = (part) => { - if (part.classList.contains("sideMenuPart")) { - if (part.classList.contains("hidden")) - part.classList.remove("hidden"); + if (part.classList.contains("toc--part")) { + if (part.classList.contains("toc--part_hidden")) + part.classList.remove("toc--part_hidden"); revealParents(part.parentNode) } }; scrollNavigationToSelectedElement = () => { - let selectedElement = document.querySelector('div.sideMenuPart[data-active]') + let selectedElement = document.querySelector('div.toc--part[data-active]') if (selectedElement == null) { // nothing selected, probably just the main page opened return } - let hasIcon = selectedElement.querySelectorAll(":scope > div.overview span.nav-icon").length > 0 + let hasIcon = selectedElement.querySelectorAll(":scope > div.toc--row span.toc--icon").length > 0 - // for instance enums also have children and are expandable, but are not package/module elements + // for an instance enums also have children and are expandable but are not package/module elements let isPackageElement = selectedElement.children.length > 1 && !hasIcon if (isPackageElement) { - // if package is selected or linked, it makes sense to align it to top + // if a package is selected or linked, it makes sense to align it to top // so that you can see all the members it contains selectedElement.scrollIntoView(true) } else { @@ -84,9 +84,9 @@ scrollNavigationToSelectedElement = () => { /* This is a work-around for safari being IE of our times. - It doesn't fire a DOMContentLoaded, presumabely because eventListener is added after it wants to do it + It doesn't fire a DOMContentLoaded, presumably because eventListener is added after it wants to do it */ -if (document.readyState == 'loading') { +if (document.readyState === 'loading') { window.addEventListener('DOMContentLoaded', () => { displayNavigationFromPage() }) diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/scripts/platform-content-handler.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/scripts/platform-content-handler.js index 6ecfc120a6..118de3848a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/scripts/platform-content-handler.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/scripts/platform-content-handler.js @@ -52,9 +52,10 @@ window.addEventListener('load', () => { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) initializeFiltering() } - initTabs() // initTabs comes from ui-kit/tabs + if (typeof initTabs === 'function') { + initTabs() // initTabs comes from ui-kit/tabs + } handleAnchor() - initHidingLeftNavigation() topNavbarOffset = document.getElementById('navigation-wrapper') darkModeSwitch() }) @@ -115,21 +116,6 @@ const samplesAreEnabled = () => { } } - -const initHidingLeftNavigation = () => { - document.getElementById("menu-toggle").onclick = function (event) { - //Events need to be prevented from bubbling since they will trigger next handler - event.preventDefault(); - event.stopPropagation(); - event.stopImmediatePropagation(); - document.getElementById("leftColumn").classList.toggle("open"); - } - - document.getElementById("main").onclick = () => { - document.getElementById("leftColumn").classList.remove("open"); - } -} - // Hash change is needed in order to allow for linking inside the same page with anchors // If this is not present user is forced to refresh the site in order to use an anchor window.onhashchange = handleAnchor @@ -274,6 +260,11 @@ function removeSourcesetFilterFromCache(sourceset) { } } +function refreshSourcesetsCache() { + safeLocalStorage.setItem('inactive-filters', JSON.stringify(filteringContext.restrictedDependencies.filter(p => -1 === filteringContext.activeFilters.indexOf(p)))) +} + + function togglePlatformDependent(e, container) { let target = e.target if (target.tagName !== 'BUTTON') return; @@ -322,14 +313,18 @@ function refreshPlaygroundSamples() { function refreshNoContentNotification() { const element = document.getElementsByClassName("main-content")[0] + const filteredMessage = document.querySelector(".filtered-message") + if(filteringContext.activeFilters.length === 0){ element.style.display = "none"; - const appended = document.createElement("div") - appended.className = "filtered-message" - appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" - sourcesetNotification = appended - element.parentNode.prepend(appended) + if (!filteredMessage) { + const appended = document.createElement("div") + appended.className = "filtered-message" + appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" + sourcesetNotification = appended + element.parentNode.prepend(appended) + } } else { if(sourcesetNotification) sourcesetNotification.remove() element.style.display = "block" @@ -369,4 +364,8 @@ function refreshFilterButtons() { f.removeAttribute("data-active") } }) + document.querySelectorAll("#filter-section .checkbox--input") + .forEach(f => { + f.checked = filteringContext.activeFilters.indexOf(f.getAttribute("data-filter")) !== -1; + }) } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/font-jb-sans-auto.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/font-jb-sans-auto.css index 2398f70f52..18d25d3b85 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/font-jb-sans-auto.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/font-jb-sans-auto.css @@ -8,6 +8,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; + font-display: swap; } /* Regular weight */ @font-face { @@ -15,6 +16,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff'); font-weight: 400; font-style: normal; + font-display: swap; } /* SemiBold weight */ @font-face { @@ -22,6 +24,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; + font-display: swap; } @supports (font-variation-settings: normal) { @@ -32,5 +35,6 @@ url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations'); font-weight: 100 900; font-style: normal; + font-display: swap; } } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/logo-styles.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/logo-styles.css index 988268da69..8281d5ca63 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/logo-styles.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/logo-styles.css @@ -4,6 +4,6 @@ :root { --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; + --dokka-logo-height: 28px; + --dokka-logo-width: 28px; } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/main.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/main.css index c90da07710..2a0c8dfb30 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/main.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/main.css @@ -1,6 +1,18 @@ /*! * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:rgba(0,0,0,0);fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;margin:0;padding:0;font-size:0;line-height:0}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:calc(100% - 322px) !important;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0} /* stylelint-disable color-no-hex */ .light, diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/style.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/style.css index 628d27dd02..c64fa37161 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/style.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/styles/style.css @@ -8,7 +8,7 @@ /* --- root styles --- */ :root { --default-gray: #f4f4f4; - --default-font-color: black; + --default-font-color: rgb(0, 0, 0); --header-font-color: var(--default-font-color); --breadcrumb-font-color: #637282; @@ -217,9 +217,9 @@ td:first-child { /* ---dark theme --- */ .theme-dark { - --background-color: #27282c; + --background-color: #262628; --color-dark: #3d3d41; - --default-font-color: hsla(0, 0%, 100%, 0.8); + --default-font-color: rgba(255, 255, 255, 0.96); --border-color: hsla(0, 0%, 100%, 0.2); --code-background: hsla(0, 0%, 100%, 0.05); --breadcrumb-font-color: #8c8c8e; @@ -249,170 +249,6 @@ td:first-child { height: 100%; } -/* --- Navigation styles --- */ -.navigation { - display: flex; - justify-content: space-between; - - color: #fff; - background-color: var(--color-dark); - font-family: var(--default-font-family); - letter-spacing: -0.1px; - - /* Reset margin and use padding for border */ - margin-left: 0; - margin-right: 0; - padding: 10px var(--horizontal-spacing-for-content); - - z-index: 4; -} - -.navigation--inner { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - flex: 1 1 auto; -} - -.navigation--inner, .navigation-title { - min-height: 40px; -} - -.navigation-title, .filter-section { - align-items: center; -} - -.navigation-title { - display: flex; - align-items: center; -} - -/* --- Navigation MENU --- */ -.menu-toggle { - color: var(--background-color); - line-height: 0; - font-size: 0; - text-indent: -9999px; - - background: transparent; - border: none; - padding: 0; - margin-right: 16px; - outline: none; - - transition: margin .2s ease-out; - z-index: 5; -} - -@media (min-width: 760px) { - .menu-toggle { - display: none; - } -} - -.menu-toggle::before { - display: block; - content: ''; - background: url('../images/burger.svg') no-repeat center; - height: 28px; - width: 28px; -} - -/* /--- Navigation MENU --- */ - -.library-version { - position: relative; - top: -4px; - margin-left: 3px; - - color: rgba(255, 255, 255, .7); - font-size: 13px; - font-weight: normal; - line-height: 16px; -} - -.filter-section { - z-index: 0; -} - -.no-js .filter-section { - display: none; -} - -@media (min-width: 760px) { - .filter-section { - padding: 5px 0 5px; - } -} - -/* --- Navigation controls --- */ -.navigation-controls { - display: flex; - margin-left: 4px; -} - -@media (min-width: 760px) { - .navigation-controls { - align-items: center; - } -} - -.no-js .navigation-controls { - display: none; -} - -.navigation-controls--btn { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; - height: 40px; - border-radius: 50%; - background-color: inherit; - background-position: 50% 50%; - padding: 0; - border: none; - cursor: pointer; - font-size: 0; - line-height: 0; - transition: background-color 200ms ease-in-out; - will-change: background-color; -} - -.navigation-controls--btn:hover { - background-color: var(--white-10); -} - -.navigation-controls--theme { - background-image: url("../images/theme-toggle.svg"); - background-repeat: no-repeat; -} - -@media (max-width: 759px) { - .navigation-controls--theme { - display: none; - } -} - -.navigation-controls--homepage { - background-image: url("../images/homepage.svg"); - background-repeat: no-repeat; - background-size: 24px 24px; -} - -@media (max-width: 759px) { - .navigation-controls--homepage { - display: none; - } -} - -.navigation .platform-selector:not([data-active]) { - color: #fff; -} - -/* /--- Navigation controls --- */ -/* /--- Navigation styles --- */ - /* --- Layout styles --- */ #container { @@ -421,7 +257,7 @@ td:first-child { min-height: 0; /* full height exclude header */ } -#container > .sidebar, #container > #main { +#container > #main { overflow: auto; } @@ -431,55 +267,6 @@ td:first-child { flex: 1 1 0; /* full width, but no affects for sidebar */ } -.sidebar { - display: flex; - flex-direction: column; - box-sizing: border-box; - border-right: 1px solid var(--border-color); - width: var(--sidebar-width); -} - -.no-js .sidebar { - display: none; -} - -@media (max-width: 759px) { - #container { - position: relative; - } - - .sidebar { - position: absolute; - top: 0; - bottom: 0; - box-sizing: border-box; - background: var(--background-color); - margin-left: calc(-1 * var(--sidebar-width)); - transition: margin .2s ease-out; - z-index: 4; - } - - .sidebar.open { - margin-left: 0; - } - - .sidebar.open ~ #main .navigation-controls--search { - display: none; - } - - .sidebar.open ~ #main .menu-toggle { - margin-left: var(--sidebar-width); - } -} - -.sidebar--inner { - font-size: 12px; - font-weight: 400; - line-height: 16px; - padding-top: 22px; - padding-bottom: 16px; -} - /* /--- Layout styles --- */ /* --- Main Content styles --- */ @@ -608,16 +395,6 @@ code.paragraph { display: block; } -.overview > .navButton { - position: absolute; - align-items: center; - display: flex; - justify-content: flex-end; - padding: 2px 2px 2px 0; - margin-right: 5px; - cursor: pointer; -} - .strikethrough { text-decoration: line-through; } @@ -761,166 +538,6 @@ code:not(.block) { word-break: break-word; } -.sideMenuPart > .overview { - display: flex; - align-items: center; - position: relative; - user-select: none; /* there's a weird bug with text selection */ - padding: 8px 0; -} - -.sideMenuPart a { - display: block; - align-items: center; - color: var(--default-font-color); - overflow: hidden; - padding-left: 23px; -} - -.sideMenuPart a:hover { - text-decoration: none; - color: var(--default-font-color); -} - -.sideMenuPart > .overview:before { - box-sizing: border-box; - content: ''; - top: 0; - width: var(--sidebar-width); - right: 0; - bottom: 0; - position: absolute; - z-index: -1; -} - -.overview:hover:before { - background-color: var(--navigation-highlight-color); -} - -#nav-submenu { - padding-left: 24px; -} - -.sideMenuPart { - padding-left: 12px; - box-sizing: border-box; -} - -.sideMenuPart.hidden > .overview .navButtonContent::before { - transform: rotate(0deg); -} - -.sideMenuPart > .overview .navButtonContent::before { - content: ''; - - -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - -webkit-mask-size: cover; - mask-size: cover; - background-color: var(--default-font-color); - - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - transform: rotate(90deg); - width: 16px; - height: 16px; -} - -.sideMenuPart[data-active] > .overview .navButtonContent::before { - background-color: var(--default-white); -} - -.sideMenuPart.hidden > .navButton .navButtonContent::after { - content: '\02192'; -} - -.sideMenuPart.hidden > .sideMenuPart { - display: none; -} - -.overview .nav-link-grid { - display: grid; - grid-template-columns: 16px auto; /* first is the icon, then name */ - grid-gap: 6px; - align-items: center; -} - -.nav-icon { - width: 16px; - height: 16px; -} - -.nav-icon.class::before { - content: url("../images/nav-icons/class.svg"); -} - -.nav-icon.class-kt::before { - content: url("../images/nav-icons/class-kotlin.svg"); -} - -.nav-icon.function::before { - content: url("../images/nav-icons/function.svg"); -} - -.nav-icon.enum-class::before { - content: url("../images/nav-icons/enum.svg"); -} - -.nav-icon.enum-class-kt::before { - content: url("../images/nav-icons/enum-kotlin.svg"); -} - -.nav-icon.annotation-class::before { - content: url("../images/nav-icons/annotation.svg"); -} - -.nav-icon.annotation-class-kt::before { - content: url("../images/nav-icons/annotation-kotlin.svg"); -} - -.nav-icon.abstract-class::before { - content: url("../images/nav-icons/abstract-class.svg"); -} - -.nav-icon.abstract-class-kt::before { - content: url("../images/nav-icons/abstract-class-kotlin.svg"); -} - -.nav-icon.exception-class::before { - content: url("../images/nav-icons/exception-class.svg"); -} - -.nav-icon.interface::before { - content: url("../images/nav-icons/interface.svg"); -} - -.nav-icon.interface-kt::before { - content: url("../images/nav-icons/interface-kotlin.svg"); -} - -.nav-icon.object::before { - content: url("../images/nav-icons/object.svg"); -} - -.nav-icon.typealias-kt::before { - content: url("../images/nav-icons/typealias-kotlin.svg"); -} - -.nav-icon.val::before { - content: url("../images/nav-icons/field-value.svg"); -} - -.nav-icon.var::before { - content: url("../images/nav-icons/field-variable.svg"); -} - -.filtered > a, .filtered > .navButton { - display: none; -} - - .brief { white-space: pre-wrap; overflow: hidden; @@ -1037,88 +654,6 @@ p.paragraph img { display: none !important; } -.platform-tags, .filter-section { - display: flex; - flex-wrap: wrap; - margin-bottom: -8px; - margin-left: -4px; -} - -.platform-tag { - --platform-tag-color: #bababb; - border: 0 none; - margin-right: 4px; - margin-bottom: 8px; - - font-family: var(--default-font-family); - font-size: 13px; - line-height: 1.5; - text-transform: capitalize; -} - -.platform-tag.js-like, .platform-tag.jvm-like, .platform-tag.wasm-like { - text-transform: uppercase; -} - -.filter-section .platform-tag { - cursor: pointer; - border-radius: 4px; - padding: 2px 16px; -} - -.filter-section .platform-tag.jvm-like[data-active], .platform-tags .platform-tag.jvm-like { - --platform-tag-color: #4dbb5f; -} - -.filter-section .platform-tag.js-like[data-active], .platform-tags .platform-tag.js-like { - --platform-tag-color: #ffc700; -} - -.filter-section .platform-tag.native-like[data-active], .platform-tags .platform-tag.native-like { - --platform-tag-color: #E082F3; -} - -.filter-section .platform-tag.wasm-like[data-active], .platform-tags .platform-tag.wasm-like { - --platform-tag-color: #9585F9; -} - -.filter-section .platform-tag[data-active]:hover { - color: #fff; - background-color: rgba(186, 186, 187, .7); -} - -.filter-section .platform-tag:not([data-active]) { - color: #fff; - /* Safari doesn't work correctly for `outline` with `border-radius` */ - /* outline: 1px solid rgba(255,255,255,.6); */ - /* ...use `box-shadow` instead: */ - box-shadow: 0 0 0 1px rgb(255 255 255 / 60%); - background-color: rgba(255,255,255,.05); -} - -.filter-section .platform-tag[data-active] { - color: #19191c; - background-color: var(--platform-tag-color); -} - -.platform-tags .platform-tag { - display: flex; - align-items: center; -} - -.platform-tags .platform-tag::before { - display: inline-block; - content: ''; - border-radius: 50%; - background: var(--platform-tag-color); - margin: 0 4px 0 8px; - height: 8px; - width: 8px; - - font-size: 13px; - line-height: 1.6; -} - td.content { padding-left: 24px; padding-top: 16px; @@ -1234,14 +769,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o padding: 8px; } -.sideMenuPart[data-active] > .overview:before { - background: var(--sidemenu-section-active-color); -} - -.sideMenuPart[data-active] > .overview > a { - color: var(--default-white); -} - .table { display: flex; flex-direction: column; @@ -1408,34 +935,3 @@ div.runnablesample { } /* /--- footer --- */ - -/* Logo styles */ -:root { - --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; -} - -.library-name--link { - display: flex; - align-items: center; - color: #fff; - font-weight: 530; -} - -.library-name--link::before { - content: ''; - background: var(--dokka-logo-image-url) center no-repeat; - background-size: var(--dokka-logo-height) var(--dokka-logo-width); - margin-right: 5px; - width: var(--dokka-logo-height); - height: var(--dokka-logo-width); -} - -@media (max-width: 759px) { - .library-name--link::before { - display: none; - } -} - -/* / Logo styles */ diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/abstract-class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/abstract-class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/abstract-class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/abstract-class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/abstract-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/abstract-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/abstract-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/abstract-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/annotation-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/annotation-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/annotation-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/annotation-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/annotation.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/annotation.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/annotation.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/annotation.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/arrow-down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/arrow-down.svg new file mode 100644 index 0000000000..ca54658d3c --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/arrow-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/burger.svg new file mode 100644 index 0000000000..a26f194dc4 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/burger.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/checkbox-off.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/checkbox-off.svg new file mode 100644 index 0000000000..a5117e8d9a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/checkbox-off.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/checkbox-on.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/checkbox-on.svg new file mode 100644 index 0000000000..71891d57dd --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/checkbox-on.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/cross.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/cross.svg new file mode 100644 index 0000000000..232069f85e --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/enum-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/enum-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/enum-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/enum-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/enum.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/enum.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/enum.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/enum.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/exception-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/exception-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/exception-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/exception-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/field-value.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/field-value.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/field-value.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/field-value.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/field-variable.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/field-variable.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/field-variable.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/field-variable.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/filter.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/filter.svg new file mode 100644 index 0000000000..be62ea5bf3 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/filter.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/function.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/function.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/function.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/function.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/homepage.svg new file mode 100644 index 0000000000..9a8927a40a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/interface-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/interface-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/interface-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/interface-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/interface.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/interface.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/interface.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/interface.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/object.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/object.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/object.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/object.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/placeholder.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/placeholder.svg new file mode 100644 index 0000000000..e8129621d2 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/placeholder.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/theme-toggle.svg new file mode 100644 index 0000000000..490263f391 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/theme-toggle.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/typealias-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/typealias-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/images/nav-icons/typealias-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/assets/typealias-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/ui-kit.min.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/ui-kit.min.css index 65bf50d52d..349ee87bfe 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/ui-kit.min.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/ui-kit.min.css @@ -1 +1 @@ -:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-nav-bar:#27282c;--color-dark-theme-bg:#262628;--color-text-black:#000;--color-text-white:hsla(0,0%,100%,.96);--color-text-light-black:rgba(0,0,0,.7);--color-text-light-white:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w10:hsla(0,0%,100%,.1);--color-w20:hsla(0,0%,100%,.2);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 13px/24px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono)}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none} +.button{align-items:center;background-color:transparent;border:none;border-radius:4px;border-radius:var(--size-s1);box-sizing:border-box;color:#000;color:var(--color-text);cursor:pointer;display:flex;height:40px;justify-content:center;letter-spacing:.045em;padding:8px 12px;padding:var(--size-s2) 12px}.button[\:has\(\:first-child\)]{gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}.button:has(:first-child){gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}@media(hover:hover){.button:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.button:active{background-color:#307fff;background-color:var(--color-key-blue)}.button:disabled{cursor:not-allowed;opacity:.5}.button.focus-visible{outline:var(--focus-outline)}.button:focus-visible{outline:var(--focus-outline)}.theme-dark .button{color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.theme-dark .button:hover{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.button_background{background-color:#fff;background-color:var(--color-w100)}.theme-dark .button_background{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.theme-dark .button_background:hover{background-color:hsla(0,0%,100%,.05);background-color:var(--color-w05)}.button_dropdown{font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:8px;padding:var(--size-s2)}.button_dropdown:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;content:"";display:block;filter:invert(1);height:24px;height:var(--size-m1);transform:rotate(0);width:24px;width:var(--size-m1);will-change:transform}.theme-dark .button_dropdown:after{filter:none}.button_dropdown_active{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.button_dropdown_active:hover,.theme-dark .button_dropdown_active:hover{background-color:#639fff}.button_dropdown_active:after{filter:invert(0);transform:rotate(-180deg)}.checkbox{cursor:pointer;display:inline-block;position:relative}.checkbox--input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;visibility:hidden}.checkbox--icon{background-image:url(assets/checkbox-off.svg);height:24px;height:var(--size-m1);margin-left:-32px;margin-left:calc(var(--size-m2)*-1);position:absolute;width:24px;width:var(--size-m1)}.checkbox--input:checked+.checkbox--icon{background-image:url(assets/checkbox-on.svg)}.checkbox--input:disabled+.checkbox--icon{opacity:.2}.checkbox--input.focus-visible{outline:var(--focus-outline)}.checkbox--input:focus-visible{outline:var(--focus-outline)}.dropdown{position:relative}@media(max-width:899px){.dropdown{position:static}}.dropdown--list{background-color:#323237;background-color:var(--color-background-nav-dt);border:1px solid #56565f;box-shadow:0 2px 8px 0 rgba(0,0,0,.251);display:none;max-height:400px;max-width:360px;min-width:272px;overflow-y:auto;padding:12px 0;position:absolute;right:0;top:44px;-webkit-transform:translateZ(0);width:-moz-fit-content;width:fit-content;z-index:10}@media(max-width:899px){.dropdown--list{border:none;height:100vh;max-height:none;padding:0;right:0;top:0}}@media(max-width:439px){.dropdown--list{max-width:none;width:100vw}}.dropdown--list_positioned_right{right:0}.dropdown--list_positioned_left{left:0}@media(max-width:899px){.dropdown--list_positioned_left{left:auto}}.dropdown--list_expanded{display:block}@media(min-width:900px){.dropdown--list_toc-list{background-color:transparent;border:none;box-shadow:none;display:block;max-height:none;max-width:none;min-width:100%;padding:0;position:relative;top:0}}@media(min-width:440px)and (max-width:899px){.dropdown--list_toc-list{width:408px}}.dropdown--option{background-color:#323237;background-color:var(--color-background-nav-dt);border:none;color:var(--color-text-nav-dt);cursor:pointer;display:block;font:400 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-m);letter-spacing:-.03em;list-style-type:none;padding:8px 16px;padding:var(--size-s2) var(--size-s3);position:relative}.dropdown--option:hover{background-color:#4a4a52}.dropdown--option.focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:visited{color:var(--color-text-nav-dt)}.dropdown--option_active{background-color:#307fff;background-color:var(--color-key-blue)}.dropdown--option_active:hover{background-color:#639fff}.dropdown--option_link{color:var(--color-text-nav-dt);text-decoration:none}.dropdown--option_link.focus-visible{outline:var(--focus-outline)}.dropdown--option_link:focus-visible{outline:var(--focus-outline)}.dropdown--option .checkbox{pointer-events:none}.dropdown--option .checkbox:first-letter{text-transform:uppercase}.dropdown--overlay{background-color:hsla(0,0%,54%,.5);bottom:0;content:"";display:none;height:100vh;left:0;position:absolute;right:0;top:0;width:100vw;z-index:4}.dropdown--list_expanded+.dropdown--overlay{display:block}@media(min-width:900px){.dropdown--list_expanded+.dropdown--overlay{display:none}}.dropdown--header{align-items:center;background-color:#323237;background-color:var(--color-background-nav-dt);border-bottom:1px solid #56565f;color:hsla(0,0%,100%,.7);color:var(--color-w70);display:flex;height:52px;justify-content:space-between;padding-left:16px;padding-left:var(--size-s3);position:sticky;top:0;z-index:2}@media(min-width:900px){.dropdown--header{display:none}}.filter-section{align-items:center;display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-end;margin-right:12px;max-height:40px;z-index:1}.filter-section_loading{overflow:hidden}@media(min-width:900px){.filter-section--dropdown{display:none}}.filter-section--dropdown-toggle_as-filters{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat;min-width:40px}.filter-section--dropdown-toggle_as-filters:after{display:none}@media(max-width:899px){.filter-section{margin-right:0;max-height:none}.filter-section>:not(.dropdown){display:none}.filter-section--dropdown-toggle{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat}.filter-section--dropdown-toggle:after{display:none}}.no-js .filter-section{display:none}.ui-kit-icon{background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;filter:invert(1);font-size:0;height:24px;height:var(--size-m1);line-height:0;width:24px;width:var(--size-m1);will-change:background-color}.theme-dark .ui-kit-icon{filter:none}@media(max-width:899px){.theme-dark_mobile .ui-kit-icon{filter:none}}.ui-kit-icon_arrow-down{background-image:url(assets/arrow-down.svg)}.ui-kit-icon_placeholder{background-image:url(assets/placeholder.svg)}.ui-kit-icon_cross{background-image:url(assets/cross.svg)}.library-name--link{align-items:center;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;font:600 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-h4);margin-right:8px;margin-right:var(--size-s2);white-space:nowrap}.library-name--link.focus-visible{outline:var(--focus-outline)}.library-name--link:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.library-name--link{height:52px;margin-left:12px}}.library-name--link:before{background:var(--dokka-logo-image-url) center no-repeat;background-size:min(var(--dokka-logo-height),120px) min(var(--dokka-logo-width),36px);content:"";height:var(--dokka-logo-height);margin-right:8px;margin-right:var(--size-s2);max-height:36px;max-width:120px;width:var(--dokka-logo-width)}.library-version{box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding-top:1px}@media(max-width:899px){.library-version{align-items:center;background-color:#000;background-color:var(--color-text);display:flex;height:52px;padding-left:12px}}.navigation{align-items:center;background-color:#27282c;background-color:var(--color-background-nav);box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;flex-wrap:nowrap;justify-content:flex-start;padding:12px 24px;padding:12px var(--size-m1);z-index:4}@media(max-width:899px){.navigation{flex-wrap:wrap;height:auto;padding:0}}.theme-dark .navigation{background-color:#323237;background-color:var(--color-background-nav-dt)}@media(max-width:899px){.navigation .button{height:52px;min-width:52px}}.navigation-controls{align-items:center;display:flex;gap:4px;gap:var(--size-s1);margin-left:auto}@media(max-width:899px){.navigation-controls{background-color:#000;background-color:var(--color-text);flex-grow:1;gap:0;justify-content:flex-end}}.no-js .navigation-controls{display:none}.navigation-controls--btn{align-items:center;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;border:none;border-radius:4px;border-radius:var(--size-s1);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:0;height:40px;justify-content:center;line-height:0;padding:0;width:40px;z-index:0}@media(hover:hover){.navigation-controls--btn:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.navigation-controls--btn:active{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.navigation-controls--btn.focus-visible{outline:var(--focus-outline)}.navigation-controls--btn:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.navigation-controls--btn{height:52px;width:52px}}.navigation-controls--break{flex-basis:100%}.navigation-controls--btn_theme{background-image:url(assets/theme-toggle.svg)}.navigation-controls--btn_homepage{background-image:url(assets/homepage.svg)}.navigation-controls--btn_toc{background-image:url(assets/burger.svg);margin-left:auto}.platform-tag{--platform-tag-color:#bababb;border:0;border-radius:4px;border-radius:var(--size-s1);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:10px 12px;text-transform:capitalize}.platform-tag,button.platform-tag{cursor:pointer}button.platform-tag.focus-visible{outline:var(--focus-outline)}button.platform-tag:focus-visible{outline:var(--focus-outline)}.platform-selector-option{padding-left:44px}.platform-selector-option.js-like,.platform-selector-option.jvm-like,.platform-selector-option.wasm-like,.platform-tag.js-like,.platform-tag.jvm-like,.platform-tag.wasm-like{text-transform:uppercase}.platform-tags .platform-tag{align-items:center;display:flex}.filter-section .platform-tag[data-active]{background-color:var(--platform-tag-color);color:#19191c}.filter-section .platform-tag.jvm-like[data-active],.platform-tags .platform-tag.jvm-like{--platform-tag-color:#4dbb5f}.filter-section .platform-tag.js-like[data-active],.platform-tags .platform-tag.js-like{--platform-tag-color:#ffc700}.filter-section .platform-tag.native-like[data-active],.platform-tags .platform-tag.native-like{--platform-tag-color:#e082f3}.filter-section .platform-tag.wasm-like[data-active],.platform-tags .platform-tag.wasm-like{--platform-tag-color:#9585f9}@media(hover:hover){.filter-section .platform-tag[data-active]:hover{background-color:hsla(240,1%,73%,.7);color:#fff}}.filter-section .platform-tag[data-active]:active{background-color:hsla(240,1%,73%,.7);color:#fff}.filter-section .platform-tag:not([data-active]){background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10);color:hsla(0,0%,100%,.5);color:var(--color-w50);text-decoration:line-through}.platform-tags .platform-tag:before{background:var(--platform-tag-color);border-radius:50%;content:"";display:inline-block;font-size:13px;height:8px;line-height:1.6;margin:0 4px 0 8px;width:8px}.platform-tags{display:flex;flex-wrap:wrap;margin-bottom:-8px;margin-left:-4px}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;min-width:var(--size-l1);order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none}:root{--toc-hover-color:var(--color-b08);--toc-font:400 13px/24px var(--font-family-default);--toc-color:var(--color-text)}.theme-dark{--toc-hover-color:var(--color-w08);--toc-color:var(--color-text-dt)}@media(max-width:899px){.theme-dark_mobile{--toc-color:var(--color-text-dt);--toc-hover-color:var(--color-w08)}}.toc--part{color:#000;color:var(--toc-color);font:400 13px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--toc-font)}.toc--part,.toc--row{box-sizing:border-box}.toc--row{align-items:center;display:flex;min-height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toc--button{align-items:center;background-color:inherit;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;height:100%;justify-content:flex-end;min-width:40px;padding:0 8px 0 0;position:absolute}.toc--button:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;background-size:24px 24px;content:" ";filter:invert(1);font-size:0;height:24px;line-height:0;transform:rotate(0deg);width:24px}.toc--part_hidden .toc--button:after{transform:rotate(-90deg)}.theme-dark .toc--button:after{filter:invert(0)}@media(max-width:899px){.theme-dark_mobile .toc--button:after{filter:invert(0)}}@media(hover:hover){.toc--button:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}}.toc--button:active{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--button.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--button:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link{box-sizing:border-box;color:inherit;height:calc(100% - 16px);min-height:40px;padding:8px 4px 8px 0;width:100%}.toc--link:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--link.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--part[data-nesting-level="0"] .toc--row>.toc--link:first-child{padding-left:40px;padding-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button+.toc--link{margin-left:40px;margin-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button{width:40px;width:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="1"] .toc--row>.toc--link:first-child{padding-left:64px;padding-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button+.toc--link{margin-left:64px;margin-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button{width:64px;width:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="2"] .toc--row>.toc--link:first-child{padding-left:88px;padding-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button+.toc--link{margin-left:88px;margin-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button{width:88px;width:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="3"] .toc--row>.toc--link:first-child{padding-left:112px;padding-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button+.toc--link{margin-left:112px;margin-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button{width:112px;width:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="4"] .toc--row>.toc--link:first-child{padding-left:136px;padding-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button+.toc--link{margin-left:136px;margin-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button{width:136px;width:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="5"] .toc--row>.toc--link:first-child{padding-left:160px;padding-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button+.toc--link{margin-left:160px;margin-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button{width:160px;width:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="6"] .toc--row>.toc--link:first-child{padding-left:184px;padding-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button+.toc--link{margin-left:184px;margin-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button{width:184px;width:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="7"] .toc--row>.toc--link:first-child{padding-left:208px;padding-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button+.toc--link{margin-left:208px;margin-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button{width:208px;width:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="8"] .toc--row>.toc--link:first-child{padding-left:232px;padding-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button+.toc--link{margin-left:232px;margin-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button{width:232px;width:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="9"] .toc--row>.toc--link:first-child{padding-left:256px;padding-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button+.toc--link{margin-left:256px;margin-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button{width:256px;width:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="10"] .toc--row>.toc--link:first-child{padding-left:280px;padding-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button+.toc--link{margin-left:280px;margin-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button{width:280px;width:calc(40px + var(--size-m1)*10)}.filtered>.toc--button,.toc .filtered>a{display:none}.toc #nav-submenu{padding-left:24px}.toc--part_hidden>.toc--part{display:none}.toc--row .toc--link-grid{display:grid;grid-template-columns:16px auto;grid-gap:6px;align-items:center}.toc--icon{height:16px;width:16px}.toc--icon.class:before{content:url(assets/class.svg)}.toc--icon.class-kt:before{content:url(assets/class-kotlin.svg)}.toc--icon.function:before{content:url(assets/function.svg)}.toc--icon.enum-class:before{content:url(assets/enum.svg)}.toc--icon.enum-class-kt:before{content:url(assets/enum-kotlin.svg)}.toc--icon.annotation-class:before{content:url(assets/annotation.svg)}.toc--icon.annotation-class-kt:before{content:url(assets/annotation-kotlin.svg)}.toc--icon.abstract-class:before{content:url(assets/abstract-class.svg)}.toc--icon.abstract-class-kt:before{content:url(assets/abstract-class-kotlin.svg)}.toc--icon.exception-class:before{content:url(assets/exception-class.svg)}.toc--icon.interface:before{content:url(assets/interface.svg)}.toc--icon.interface-kt:before{content:url(assets/interface-kotlin.svg)}.toc--icon.object:before{content:url(assets/object.svg)}.toc--icon.typealias-kt:before{content:url(assets/typealias-kotlin.svg)}.toc--icon.val:before{content:url(assets/field-value.svg)}.toc--icon.var:before{content:url(assets/field-variable.svg)}.toc--part[data-active]>.toc--row .toc--button,.toc--part[data-active]>.toc--row .toc--link{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.toc--part[data-active]>.toc--row .toc--button:hover,.toc--part[data-active]>.toc--row .toc--link:hover{background-color:#578af7}.toc--part[data-active]>.toc--row .toc--button:after,.toc--part[data-active]>.toc--row .toc--link:after{filter:invert(0)}.sidebar{border-right:1px solid rgba(39,40,44,.2);box-sizing:border-box;overflow:auto;width:var(--sidebar-width)}@media(max-width:899px){.sidebar{border:none;width:0}}@media(min-width:900px){.sidebar{position:relative;z-index:1}}@media(max-width:899px){.sidebar .button{height:52px;min-width:52px}}.theme-dark .sidebar{border-right-color:#56565f}.no-js .sidebar{display:none}.sidebar--inner{padding-bottom:12px;padding-top:12px}@media(max-width:899px){.ui-kit_desktop-only{display:none}}@media(min-width:900px){.ui-kit_mobile-only{display:none}}:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-key-blue-50:rgba(48,127,255,.5);--color-background-nav:#27282c;--color-background-nav-dt:#323237;--color-background-page:#fff;--color-background-page-dt:#262628;--color-background-footer:#ebebeb;--color-background-footer-dt:#323237;--color-text:#000;--color-text-dt:hsla(0,0%,100%,.96);--color-text-light:rgba(0,0,0,.7);--color-text-light-dt:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w08:hsla(0,0%,100%,.08);--color-w10:hsla(0,0%,100%,.1);--color-w16:hsla(0,0%,100%,.16);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-w100:#fff;--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 14px/20px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono);--hover-transition:background-color 200ms ease-in-out;--rotate-transition:transform 200ms ease-in-out;--color-background:var(--color-background-page);--focus-outline:4px solid var(--color-key-blue-50)}.theme-dark{--color-background:var(--color-background-page-dt)}body,table{background-color:#fff;background-color:var(--color-background)} \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/ui-kit.min.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/ui-kit.min.js index 7c7682878a..96b8d53062 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/ui-kit.min.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/library-publishing-example/html/ui-kit/ui-kit.min.js @@ -1 +1 @@ -(()=>{"use strict";var t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],r=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,a){t&&localStorage.setItem(e,a)}}}();function a(e){var a,r=null===(a=e.getAttribute("data-togglable"))||void 0===a?void 0:a.split(",");!function(a){var r,o,n,l;try{for(var i=t(document.getElementsByClassName("tabs-section")),c=i.next();!c.done;c=i.next()){var u=c.value;try{for(var d=(n=void 0,t(u.children)),s=d.next();!s.done;s=d.next()){var g=s.value;g.getAttribute("data-togglable")===e.getAttribute("data-togglable")?g.setAttribute("data-active",""):g.removeAttribute("data-active")}}catch(t){n={error:t}}finally{try{s&&!s.done&&(l=d.return)&&l.call(d)}finally{if(n)throw n.error}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");r&&e&&r.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),r="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&a(e)}(t),t.addEventListener("click",(function(t){var o=t.target,n=o?o.getAttribute("data-togglable"):null;n&&(e.setItem(r,JSON.stringify(n)),a(o))}))}));var o=e.getItem(r);if(o){var n=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(o)+'"]');n&&a(n)}},window.toggleSections=a})(); \ No newline at end of file +(()=>{"use strict";function t(e,n){return!(!e||!e.classList.contains(n))||!!e.parentElement&&t(e.parentElement,n)}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("div.button").forEach((function(t){t.addEventListener("keydown",(function(e){var n=e.key;"Enter"!==n&&" "!==n||t.dispatchEvent(new MouseEvent("click"))}))}))}));function e(){return window.innerWidth<440?"mobile":window.innerWidth>=440&&window.innerWidth<900?"tablet":"desktop"}var n=function(){function t(t){this.trapElement=t,this.handleKeyDown=this.handleKeyDown.bind(this),this.trapElement.addEventListener("keydown",this.handleKeyDown)}return t.prototype.handleKeyDown=function(t){var e=Array.from(this.trapElement.querySelectorAll('[role="option"]')).filter((function(t){return"none"!==t.style.display&&-1!==t.tabIndex}));if(["Tab","ArrowDown","ArrowUp"].includes(t.key)&&0!==e.length){var n=e[0],o=e[e.length-1];if("ArrowUp"===t.key)if(document.activeElement===n)o.focus();else{var r=e.indexOf(document.activeElement);e[r-1].focus()}"ArrowDown"===t.key&&(document.activeElement===o?n.focus():(r=e.indexOf(document.activeElement),e[r+1].focus())),"Tab"===t.key&&(t.shiftKey?document.activeElement===n&&(o.focus(),t.preventDefault()):document.activeElement===o&&(n.focus(),t.preventDefault()))}},t.prototype.destroy=function(){this.trapElement.removeEventListener("keydown",this.handleKeyDown)},t}(),o='[data-role="dropdown"]',r='[data-role="dropdown-toggle"]',i='[data-role="dropdown-listbox"]';function l(t){var e,n,o=t.querySelectorAll(r);null==o||o.forEach(a),e=t.querySelector(i),n=o[0].offsetWidth,e&&(e.classList.toggle("dropdown--list_expanded"),e.classList.contains("dropdown--list_expanded")?c(e,n):c(e,void 0))}function a(t){t.classList.contains("button_dropdown")&&t.classList.toggle("button_dropdown_active")}function c(t,e){if(e){var n=parseInt(getComputedStyle(t).minWidth,10),o=isNaN(n)?e:Math.max(n,e);t.style.minWidth="".concat(o,"px")}else t.style.minWidth=""}function d(e){var n=e.target;t(n,"dropdown")&&"dropdown--overlay"!==n.className||document.querySelectorAll(o).forEach((function(t){var e,n;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(t){t.classList.remove("button_dropdown_active")})),null===(n=t.querySelectorAll(i))||void 0===n||n.forEach((function(t){t.classList.remove("dropdown--list_expanded"),t.style.minWidth=""}))}))}function u(t){t.tag.removeAttribute("style"),t.option.setAttribute("style","display: none")}function s(t){t.tag.setAttribute("style","display: none"),t.option.removeAttribute("style")}function f(t){var e,n=null===(e=t.querySelector(".checkbox--input"))||void 0===e?void 0:e.getAttribute("data-filter");n&&(-1===filteringContext.activeFilters.findIndex((function(t){return t===n}))?unfilterSourceset(n):filterSourceset(n)),refreshFiltering()}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(o).forEach((function(t){var e;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(e){e.addEventListener("click",(function(){return l(t)}))})),function(t){new n(t),t.addEventListener("keydown",(function(e){var n;"Escape"===e.key&&(l(t),null===(n=t.querySelector(r))||void 0===n||n.focus())}))}(t)})),document.addEventListener("click",d)})),document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("navigation-wrapper"),n=document.getElementById("library-version"),o=document.getElementById("filter-section"),r=document.querySelector("#filter-section + .navigation-controls--btn"),i=document.getElementById("filter-section-dropdown");if(t&&n&&o&&r&&i){var l=null==o?void 0:o.querySelectorAll(".dropdown--option"),a=null==o?void 0:o.querySelectorAll(".platform-selector");if(a&&l)if(a.length===l.length){var c=Array.from({length:a.length}).map((function(t,e){return{tag:a[e],option:l[e]}})),d=c.map((function(t){return t.tag.getBoundingClientRect().width})),v=e(),m=new ResizeObserver((function(){var n=e();v!==n&&(c.forEach(u),d=function(t){return t.map((function(t){return t.tag.getBoundingClientRect().width}))}(c)),v=n,y(),m.unobserve(t)})),g=function(){m.observe(t)};y(),g(),l.forEach((function(t){t.addEventListener("click",(function(t){f(t.target)})),t.addEventListener("keydown",(function(t){var e=t.key;"Enter"!==e&&" "!==e||f(t.target)}))})),window.addEventListener("resize",g)}else console.warn("Dokka: filter section items are not equal");else console.warn("Dokka: filter section items are not found")}else console.warn("Dokka: filter section is not found");function y(){var e,l;if(t&&i){if(t.getBoundingClientRect().width<900)return c.forEach(s),void i.removeAttribute("style");var a=(n&&r?r.getBoundingClientRect().left-n.getBoundingClientRect().right:0)-44-10,f=0;i.removeAttribute("style");var v=!1;c.forEach((function(t,e){(f+=d[e]+4)=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,n){t&&localStorage.setItem(e,n)}}}();function g(t){var e,n=null===(e=t.getAttribute("data-togglable"))||void 0===e?void 0:e.split(",");!function(){var e,n,o,r;try{for(var i=v(document.getElementsByClassName("tabs-section")),l=i.next();!l.done;l=i.next()){var a=l.value;try{for(var c=(o=void 0,v(a.children)),d=c.next();!d.done;d=c.next()){var u=d.value;u.getAttribute("data-togglable")===t.getAttribute("data-togglable")?u.setAttribute("data-active",""):u.removeAttribute("data-active")}}catch(t){o={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");n&&e&&n.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),e="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&g(e)}(t),t.addEventListener("click",(function(t){var n=t.target,o=n?n.getAttribute("data-togglable"):null;o&&(m.setItem(e,JSON.stringify(o)),g(n))}))}));var n=m.getItem(e);if(n){var o=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(n)+'"]');o&&g(o)}},window.toggleSections=g,document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-remove-style="true"]').forEach((function(t){t.removeAttribute("style")}))}))})(); \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/-child-project-a-class/-child-project-a-class.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/-child-project-a-class/-child-project-a-class.html index e8574f0bb1..447d8f201a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/-child-project-a-class/-child-project-a-class.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/-child-project-a-class/-child-project-a-class.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/-child-project-a-class/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/-child-project-a-class/index.html index 764b66484e..c3dbc5df0f 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/-child-project-a-class/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/-child-project-a-class/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/index.html index 03cdb522b0..308ad4bc67 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/demo/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/index.html index 3ab2dda86d..c7436ba5ac 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/navigation.html index a8f4954f31..bb501bd958 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectA/navigation.html @@ -1,30 +1,30 @@
-
-
- childProjectA +
+ -
-
- demo +
+
+ demo
- -
-
- childProjectB +
+ -
-
- demo +
+
+ demo
-
- diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/-child-project-b-class/-child-project-b-class.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/-child-project-b-class/-child-project-b-class.html index e5dcccc418..34c2b62a76 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/-child-project-b-class/-child-project-b-class.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/-child-project-b-class/-child-project-b-class.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/-child-project-b-class/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/-child-project-b-class/index.html index 7c89e3b1b7..c2a7cf677e 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/-child-project-b-class/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/-child-project-b-class/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/index.html index 0ded18fc87..77ec5146d7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/demo/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/index.html index 89e20b181a..ff565d5dc6 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/index.html @@ -31,33 +31,63 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/navigation.html index a8f4954f31..bb501bd958 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/childProjectB/navigation.html @@ -1,30 +1,30 @@
-
-
- childProjectA +
+ -
-
- demo +
+
+ demo
- -
-
- childProjectB +
+ -
-
- demo +
+
+ demo
-
- diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/arrow_down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/arrow_down.svg deleted file mode 100644 index 2478845270..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/arrow_down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/burger.svg deleted file mode 100644 index 40f73c5369..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/burger.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/homepage.svg deleted file mode 100644 index e3c83b1ce3..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/homepage.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/theme-toggle.svg deleted file mode 100644 index fcc900f389..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/theme-toggle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/index.html index f679a88d47..461e80ce0b 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/index.html @@ -31,32 +31,47 @@ - +
- +
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/navigation.html index ef271749a3..9f3052a889 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/navigation.html @@ -1,30 +1,30 @@
-
-
- childProjectA +
+ -
-
- demo +
+
+ demo
- -
-
- childProjectB +
+ -
-
- demo +
+
+ demo
-
- diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/scripts/main.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/scripts/main.js index eb22535ed1..90382844b7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/scripts/main.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/scripts/main.js @@ -49,5 +49,5 @@ t(5228);var r=t(6540),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Sy Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",n=0;n{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("span",{children:r}),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.847 14.861A6.99 6.99 0 0017.587 11a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM22.587 18a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("div",Ou({className:"template-title"},{children:r})),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M15.142 6.28a6.497 6.497 0 10-2.421 8.866c.207-.122.409-.256.602-.4L19.587 21 21 19.586l-6.261-6.251a6.51 6.51 0 00.402-7.055zm-3.413 7.129a4.5 4.5 0 11-4.463-7.814 4.5 4.5 0 014.463 7.814z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,maxHeight:510,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t { navigationPageText.then(data => { document.getElementById("sideMenu").innerHTML = data; }).then(() => { - document.querySelectorAll(".overview > a").forEach(link => { + document.querySelectorAll(".toc--row > a").forEach(link => { link.setAttribute("href", pathToRoot + link.getAttribute("href")); }) }).then(() => { - document.querySelectorAll(".sideMenuPart").forEach(nav => { - if (!nav.classList.contains("hidden")) - nav.classList.add("hidden") + document.querySelectorAll(".toc--part").forEach(nav => { + if (!nav.classList.contains("toc--part_hidden")) + nav.classList.add("toc--part_hidden") }) }).then(() => { revealNavigationForCurrentPage() @@ -33,14 +33,14 @@ displayNavigationFromPage = () => { revealNavigationForCurrentPage = () => { let pageId = document.getElementById("content").attributes["pageIds"].value.toString(); - let parts = document.querySelectorAll(".sideMenuPart"); + let parts = document.querySelectorAll(".toc--part"); let found = 0; do { parts.forEach(part => { if (part.attributes['pageId'].value.indexOf(pageId) !== -1 && found === 0) { found = 1; - if (part.classList.contains("hidden")) { - part.classList.remove("hidden"); + if (part.classList.contains("toc--part_hidden")) { + part.classList.remove("toc--part_hidden"); part.setAttribute('data-active', ""); } revealParents(part) @@ -50,25 +50,25 @@ revealNavigationForCurrentPage = () => { } while (pageId.indexOf("/") !== -1 && found === 0) }; revealParents = (part) => { - if (part.classList.contains("sideMenuPart")) { - if (part.classList.contains("hidden")) - part.classList.remove("hidden"); + if (part.classList.contains("toc--part")) { + if (part.classList.contains("toc--part_hidden")) + part.classList.remove("toc--part_hidden"); revealParents(part.parentNode) } }; scrollNavigationToSelectedElement = () => { - let selectedElement = document.querySelector('div.sideMenuPart[data-active]') + let selectedElement = document.querySelector('div.toc--part[data-active]') if (selectedElement == null) { // nothing selected, probably just the main page opened return } - let hasIcon = selectedElement.querySelectorAll(":scope > div.overview span.nav-icon").length > 0 + let hasIcon = selectedElement.querySelectorAll(":scope > div.toc--row span.toc--icon").length > 0 - // for instance enums also have children and are expandable, but are not package/module elements + // for an instance enums also have children and are expandable but are not package/module elements let isPackageElement = selectedElement.children.length > 1 && !hasIcon if (isPackageElement) { - // if package is selected or linked, it makes sense to align it to top + // if a package is selected or linked, it makes sense to align it to top // so that you can see all the members it contains selectedElement.scrollIntoView(true) } else { @@ -84,9 +84,9 @@ scrollNavigationToSelectedElement = () => { /* This is a work-around for safari being IE of our times. - It doesn't fire a DOMContentLoaded, presumabely because eventListener is added after it wants to do it + It doesn't fire a DOMContentLoaded, presumably because eventListener is added after it wants to do it */ -if (document.readyState == 'loading') { +if (document.readyState === 'loading') { window.addEventListener('DOMContentLoaded', () => { displayNavigationFromPage() }) diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/scripts/platform-content-handler.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/scripts/platform-content-handler.js index 6ecfc120a6..118de3848a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/scripts/platform-content-handler.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/scripts/platform-content-handler.js @@ -52,9 +52,10 @@ window.addEventListener('load', () => { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) initializeFiltering() } - initTabs() // initTabs comes from ui-kit/tabs + if (typeof initTabs === 'function') { + initTabs() // initTabs comes from ui-kit/tabs + } handleAnchor() - initHidingLeftNavigation() topNavbarOffset = document.getElementById('navigation-wrapper') darkModeSwitch() }) @@ -115,21 +116,6 @@ const samplesAreEnabled = () => { } } - -const initHidingLeftNavigation = () => { - document.getElementById("menu-toggle").onclick = function (event) { - //Events need to be prevented from bubbling since they will trigger next handler - event.preventDefault(); - event.stopPropagation(); - event.stopImmediatePropagation(); - document.getElementById("leftColumn").classList.toggle("open"); - } - - document.getElementById("main").onclick = () => { - document.getElementById("leftColumn").classList.remove("open"); - } -} - // Hash change is needed in order to allow for linking inside the same page with anchors // If this is not present user is forced to refresh the site in order to use an anchor window.onhashchange = handleAnchor @@ -274,6 +260,11 @@ function removeSourcesetFilterFromCache(sourceset) { } } +function refreshSourcesetsCache() { + safeLocalStorage.setItem('inactive-filters', JSON.stringify(filteringContext.restrictedDependencies.filter(p => -1 === filteringContext.activeFilters.indexOf(p)))) +} + + function togglePlatformDependent(e, container) { let target = e.target if (target.tagName !== 'BUTTON') return; @@ -322,14 +313,18 @@ function refreshPlaygroundSamples() { function refreshNoContentNotification() { const element = document.getElementsByClassName("main-content")[0] + const filteredMessage = document.querySelector(".filtered-message") + if(filteringContext.activeFilters.length === 0){ element.style.display = "none"; - const appended = document.createElement("div") - appended.className = "filtered-message" - appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" - sourcesetNotification = appended - element.parentNode.prepend(appended) + if (!filteredMessage) { + const appended = document.createElement("div") + appended.className = "filtered-message" + appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" + sourcesetNotification = appended + element.parentNode.prepend(appended) + } } else { if(sourcesetNotification) sourcesetNotification.remove() element.style.display = "block" @@ -369,4 +364,8 @@ function refreshFilterButtons() { f.removeAttribute("data-active") } }) + document.querySelectorAll("#filter-section .checkbox--input") + .forEach(f => { + f.checked = filteringContext.activeFilters.indexOf(f.getAttribute("data-filter")) !== -1; + }) } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/font-jb-sans-auto.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/font-jb-sans-auto.css index 2398f70f52..18d25d3b85 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/font-jb-sans-auto.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/font-jb-sans-auto.css @@ -8,6 +8,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; + font-display: swap; } /* Regular weight */ @font-face { @@ -15,6 +16,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff'); font-weight: 400; font-style: normal; + font-display: swap; } /* SemiBold weight */ @font-face { @@ -22,6 +24,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; + font-display: swap; } @supports (font-variation-settings: normal) { @@ -32,5 +35,6 @@ url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations'); font-weight: 100 900; font-style: normal; + font-display: swap; } } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/logo-styles.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/logo-styles.css index 988268da69..8281d5ca63 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/logo-styles.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/logo-styles.css @@ -4,6 +4,6 @@ :root { --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; + --dokka-logo-height: 28px; + --dokka-logo-width: 28px; } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/main.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/main.css index c90da07710..2a0c8dfb30 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/main.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/main.css @@ -1,6 +1,18 @@ /*! * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:rgba(0,0,0,0);fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;margin:0;padding:0;font-size:0;line-height:0}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:calc(100% - 322px) !important;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0} /* stylelint-disable color-no-hex */ .light, diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/style.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/style.css index 628d27dd02..c64fa37161 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/style.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/styles/style.css @@ -8,7 +8,7 @@ /* --- root styles --- */ :root { --default-gray: #f4f4f4; - --default-font-color: black; + --default-font-color: rgb(0, 0, 0); --header-font-color: var(--default-font-color); --breadcrumb-font-color: #637282; @@ -217,9 +217,9 @@ td:first-child { /* ---dark theme --- */ .theme-dark { - --background-color: #27282c; + --background-color: #262628; --color-dark: #3d3d41; - --default-font-color: hsla(0, 0%, 100%, 0.8); + --default-font-color: rgba(255, 255, 255, 0.96); --border-color: hsla(0, 0%, 100%, 0.2); --code-background: hsla(0, 0%, 100%, 0.05); --breadcrumb-font-color: #8c8c8e; @@ -249,170 +249,6 @@ td:first-child { height: 100%; } -/* --- Navigation styles --- */ -.navigation { - display: flex; - justify-content: space-between; - - color: #fff; - background-color: var(--color-dark); - font-family: var(--default-font-family); - letter-spacing: -0.1px; - - /* Reset margin and use padding for border */ - margin-left: 0; - margin-right: 0; - padding: 10px var(--horizontal-spacing-for-content); - - z-index: 4; -} - -.navigation--inner { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - flex: 1 1 auto; -} - -.navigation--inner, .navigation-title { - min-height: 40px; -} - -.navigation-title, .filter-section { - align-items: center; -} - -.navigation-title { - display: flex; - align-items: center; -} - -/* --- Navigation MENU --- */ -.menu-toggle { - color: var(--background-color); - line-height: 0; - font-size: 0; - text-indent: -9999px; - - background: transparent; - border: none; - padding: 0; - margin-right: 16px; - outline: none; - - transition: margin .2s ease-out; - z-index: 5; -} - -@media (min-width: 760px) { - .menu-toggle { - display: none; - } -} - -.menu-toggle::before { - display: block; - content: ''; - background: url('../images/burger.svg') no-repeat center; - height: 28px; - width: 28px; -} - -/* /--- Navigation MENU --- */ - -.library-version { - position: relative; - top: -4px; - margin-left: 3px; - - color: rgba(255, 255, 255, .7); - font-size: 13px; - font-weight: normal; - line-height: 16px; -} - -.filter-section { - z-index: 0; -} - -.no-js .filter-section { - display: none; -} - -@media (min-width: 760px) { - .filter-section { - padding: 5px 0 5px; - } -} - -/* --- Navigation controls --- */ -.navigation-controls { - display: flex; - margin-left: 4px; -} - -@media (min-width: 760px) { - .navigation-controls { - align-items: center; - } -} - -.no-js .navigation-controls { - display: none; -} - -.navigation-controls--btn { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; - height: 40px; - border-radius: 50%; - background-color: inherit; - background-position: 50% 50%; - padding: 0; - border: none; - cursor: pointer; - font-size: 0; - line-height: 0; - transition: background-color 200ms ease-in-out; - will-change: background-color; -} - -.navigation-controls--btn:hover { - background-color: var(--white-10); -} - -.navigation-controls--theme { - background-image: url("../images/theme-toggle.svg"); - background-repeat: no-repeat; -} - -@media (max-width: 759px) { - .navigation-controls--theme { - display: none; - } -} - -.navigation-controls--homepage { - background-image: url("../images/homepage.svg"); - background-repeat: no-repeat; - background-size: 24px 24px; -} - -@media (max-width: 759px) { - .navigation-controls--homepage { - display: none; - } -} - -.navigation .platform-selector:not([data-active]) { - color: #fff; -} - -/* /--- Navigation controls --- */ -/* /--- Navigation styles --- */ - /* --- Layout styles --- */ #container { @@ -421,7 +257,7 @@ td:first-child { min-height: 0; /* full height exclude header */ } -#container > .sidebar, #container > #main { +#container > #main { overflow: auto; } @@ -431,55 +267,6 @@ td:first-child { flex: 1 1 0; /* full width, but no affects for sidebar */ } -.sidebar { - display: flex; - flex-direction: column; - box-sizing: border-box; - border-right: 1px solid var(--border-color); - width: var(--sidebar-width); -} - -.no-js .sidebar { - display: none; -} - -@media (max-width: 759px) { - #container { - position: relative; - } - - .sidebar { - position: absolute; - top: 0; - bottom: 0; - box-sizing: border-box; - background: var(--background-color); - margin-left: calc(-1 * var(--sidebar-width)); - transition: margin .2s ease-out; - z-index: 4; - } - - .sidebar.open { - margin-left: 0; - } - - .sidebar.open ~ #main .navigation-controls--search { - display: none; - } - - .sidebar.open ~ #main .menu-toggle { - margin-left: var(--sidebar-width); - } -} - -.sidebar--inner { - font-size: 12px; - font-weight: 400; - line-height: 16px; - padding-top: 22px; - padding-bottom: 16px; -} - /* /--- Layout styles --- */ /* --- Main Content styles --- */ @@ -608,16 +395,6 @@ code.paragraph { display: block; } -.overview > .navButton { - position: absolute; - align-items: center; - display: flex; - justify-content: flex-end; - padding: 2px 2px 2px 0; - margin-right: 5px; - cursor: pointer; -} - .strikethrough { text-decoration: line-through; } @@ -761,166 +538,6 @@ code:not(.block) { word-break: break-word; } -.sideMenuPart > .overview { - display: flex; - align-items: center; - position: relative; - user-select: none; /* there's a weird bug with text selection */ - padding: 8px 0; -} - -.sideMenuPart a { - display: block; - align-items: center; - color: var(--default-font-color); - overflow: hidden; - padding-left: 23px; -} - -.sideMenuPart a:hover { - text-decoration: none; - color: var(--default-font-color); -} - -.sideMenuPart > .overview:before { - box-sizing: border-box; - content: ''; - top: 0; - width: var(--sidebar-width); - right: 0; - bottom: 0; - position: absolute; - z-index: -1; -} - -.overview:hover:before { - background-color: var(--navigation-highlight-color); -} - -#nav-submenu { - padding-left: 24px; -} - -.sideMenuPart { - padding-left: 12px; - box-sizing: border-box; -} - -.sideMenuPart.hidden > .overview .navButtonContent::before { - transform: rotate(0deg); -} - -.sideMenuPart > .overview .navButtonContent::before { - content: ''; - - -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - -webkit-mask-size: cover; - mask-size: cover; - background-color: var(--default-font-color); - - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - transform: rotate(90deg); - width: 16px; - height: 16px; -} - -.sideMenuPart[data-active] > .overview .navButtonContent::before { - background-color: var(--default-white); -} - -.sideMenuPart.hidden > .navButton .navButtonContent::after { - content: '\02192'; -} - -.sideMenuPart.hidden > .sideMenuPart { - display: none; -} - -.overview .nav-link-grid { - display: grid; - grid-template-columns: 16px auto; /* first is the icon, then name */ - grid-gap: 6px; - align-items: center; -} - -.nav-icon { - width: 16px; - height: 16px; -} - -.nav-icon.class::before { - content: url("../images/nav-icons/class.svg"); -} - -.nav-icon.class-kt::before { - content: url("../images/nav-icons/class-kotlin.svg"); -} - -.nav-icon.function::before { - content: url("../images/nav-icons/function.svg"); -} - -.nav-icon.enum-class::before { - content: url("../images/nav-icons/enum.svg"); -} - -.nav-icon.enum-class-kt::before { - content: url("../images/nav-icons/enum-kotlin.svg"); -} - -.nav-icon.annotation-class::before { - content: url("../images/nav-icons/annotation.svg"); -} - -.nav-icon.annotation-class-kt::before { - content: url("../images/nav-icons/annotation-kotlin.svg"); -} - -.nav-icon.abstract-class::before { - content: url("../images/nav-icons/abstract-class.svg"); -} - -.nav-icon.abstract-class-kt::before { - content: url("../images/nav-icons/abstract-class-kotlin.svg"); -} - -.nav-icon.exception-class::before { - content: url("../images/nav-icons/exception-class.svg"); -} - -.nav-icon.interface::before { - content: url("../images/nav-icons/interface.svg"); -} - -.nav-icon.interface-kt::before { - content: url("../images/nav-icons/interface-kotlin.svg"); -} - -.nav-icon.object::before { - content: url("../images/nav-icons/object.svg"); -} - -.nav-icon.typealias-kt::before { - content: url("../images/nav-icons/typealias-kotlin.svg"); -} - -.nav-icon.val::before { - content: url("../images/nav-icons/field-value.svg"); -} - -.nav-icon.var::before { - content: url("../images/nav-icons/field-variable.svg"); -} - -.filtered > a, .filtered > .navButton { - display: none; -} - - .brief { white-space: pre-wrap; overflow: hidden; @@ -1037,88 +654,6 @@ p.paragraph img { display: none !important; } -.platform-tags, .filter-section { - display: flex; - flex-wrap: wrap; - margin-bottom: -8px; - margin-left: -4px; -} - -.platform-tag { - --platform-tag-color: #bababb; - border: 0 none; - margin-right: 4px; - margin-bottom: 8px; - - font-family: var(--default-font-family); - font-size: 13px; - line-height: 1.5; - text-transform: capitalize; -} - -.platform-tag.js-like, .platform-tag.jvm-like, .platform-tag.wasm-like { - text-transform: uppercase; -} - -.filter-section .platform-tag { - cursor: pointer; - border-radius: 4px; - padding: 2px 16px; -} - -.filter-section .platform-tag.jvm-like[data-active], .platform-tags .platform-tag.jvm-like { - --platform-tag-color: #4dbb5f; -} - -.filter-section .platform-tag.js-like[data-active], .platform-tags .platform-tag.js-like { - --platform-tag-color: #ffc700; -} - -.filter-section .platform-tag.native-like[data-active], .platform-tags .platform-tag.native-like { - --platform-tag-color: #E082F3; -} - -.filter-section .platform-tag.wasm-like[data-active], .platform-tags .platform-tag.wasm-like { - --platform-tag-color: #9585F9; -} - -.filter-section .platform-tag[data-active]:hover { - color: #fff; - background-color: rgba(186, 186, 187, .7); -} - -.filter-section .platform-tag:not([data-active]) { - color: #fff; - /* Safari doesn't work correctly for `outline` with `border-radius` */ - /* outline: 1px solid rgba(255,255,255,.6); */ - /* ...use `box-shadow` instead: */ - box-shadow: 0 0 0 1px rgb(255 255 255 / 60%); - background-color: rgba(255,255,255,.05); -} - -.filter-section .platform-tag[data-active] { - color: #19191c; - background-color: var(--platform-tag-color); -} - -.platform-tags .platform-tag { - display: flex; - align-items: center; -} - -.platform-tags .platform-tag::before { - display: inline-block; - content: ''; - border-radius: 50%; - background: var(--platform-tag-color); - margin: 0 4px 0 8px; - height: 8px; - width: 8px; - - font-size: 13px; - line-height: 1.6; -} - td.content { padding-left: 24px; padding-top: 16px; @@ -1234,14 +769,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o padding: 8px; } -.sideMenuPart[data-active] > .overview:before { - background: var(--sidemenu-section-active-color); -} - -.sideMenuPart[data-active] > .overview > a { - color: var(--default-white); -} - .table { display: flex; flex-direction: column; @@ -1408,34 +935,3 @@ div.runnablesample { } /* /--- footer --- */ - -/* Logo styles */ -:root { - --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; -} - -.library-name--link { - display: flex; - align-items: center; - color: #fff; - font-weight: 530; -} - -.library-name--link::before { - content: ''; - background: var(--dokka-logo-image-url) center no-repeat; - background-size: var(--dokka-logo-height) var(--dokka-logo-width); - margin-right: 5px; - width: var(--dokka-logo-height); - height: var(--dokka-logo-width); -} - -@media (max-width: 759px) { - .library-name--link::before { - display: none; - } -} - -/* / Logo styles */ diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/abstract-class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/abstract-class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/abstract-class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/abstract-class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/abstract-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/abstract-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/abstract-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/abstract-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/annotation-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/annotation-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/annotation-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/annotation-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/annotation.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/annotation.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/annotation.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/annotation.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/arrow-down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/arrow-down.svg new file mode 100644 index 0000000000..ca54658d3c --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/arrow-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/burger.svg new file mode 100644 index 0000000000..a26f194dc4 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/burger.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/checkbox-off.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/checkbox-off.svg new file mode 100644 index 0000000000..a5117e8d9a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/checkbox-off.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/checkbox-on.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/checkbox-on.svg new file mode 100644 index 0000000000..71891d57dd --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/checkbox-on.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/cross.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/cross.svg new file mode 100644 index 0000000000..232069f85e --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/enum-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/enum-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/enum-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/enum-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/enum.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/enum.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/enum.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/enum.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/exception-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/exception-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/exception-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/exception-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/field-value.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/field-value.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/field-value.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/field-value.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/field-variable.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/field-variable.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/field-variable.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/field-variable.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/filter.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/filter.svg new file mode 100644 index 0000000000..be62ea5bf3 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/filter.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/function.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/function.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/function.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/function.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/homepage.svg new file mode 100644 index 0000000000..9a8927a40a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/interface-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/interface-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/interface-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/interface-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/interface.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/interface.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/interface.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/interface.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/object.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/object.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/object.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/object.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/placeholder.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/placeholder.svg new file mode 100644 index 0000000000..e8129621d2 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/placeholder.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/theme-toggle.svg new file mode 100644 index 0000000000..490263f391 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/theme-toggle.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/typealias-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/typealias-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/images/nav-icons/typealias-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/assets/typealias-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/ui-kit.min.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/ui-kit.min.css index 65bf50d52d..349ee87bfe 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/ui-kit.min.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/ui-kit.min.css @@ -1 +1 @@ -:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-nav-bar:#27282c;--color-dark-theme-bg:#262628;--color-text-black:#000;--color-text-white:hsla(0,0%,100%,.96);--color-text-light-black:rgba(0,0,0,.7);--color-text-light-white:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w10:hsla(0,0%,100%,.1);--color-w20:hsla(0,0%,100%,.2);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 13px/24px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono)}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none} +.button{align-items:center;background-color:transparent;border:none;border-radius:4px;border-radius:var(--size-s1);box-sizing:border-box;color:#000;color:var(--color-text);cursor:pointer;display:flex;height:40px;justify-content:center;letter-spacing:.045em;padding:8px 12px;padding:var(--size-s2) 12px}.button[\:has\(\:first-child\)]{gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}.button:has(:first-child){gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}@media(hover:hover){.button:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.button:active{background-color:#307fff;background-color:var(--color-key-blue)}.button:disabled{cursor:not-allowed;opacity:.5}.button.focus-visible{outline:var(--focus-outline)}.button:focus-visible{outline:var(--focus-outline)}.theme-dark .button{color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.theme-dark .button:hover{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.button_background{background-color:#fff;background-color:var(--color-w100)}.theme-dark .button_background{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.theme-dark .button_background:hover{background-color:hsla(0,0%,100%,.05);background-color:var(--color-w05)}.button_dropdown{font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:8px;padding:var(--size-s2)}.button_dropdown:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;content:"";display:block;filter:invert(1);height:24px;height:var(--size-m1);transform:rotate(0);width:24px;width:var(--size-m1);will-change:transform}.theme-dark .button_dropdown:after{filter:none}.button_dropdown_active{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.button_dropdown_active:hover,.theme-dark .button_dropdown_active:hover{background-color:#639fff}.button_dropdown_active:after{filter:invert(0);transform:rotate(-180deg)}.checkbox{cursor:pointer;display:inline-block;position:relative}.checkbox--input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;visibility:hidden}.checkbox--icon{background-image:url(assets/checkbox-off.svg);height:24px;height:var(--size-m1);margin-left:-32px;margin-left:calc(var(--size-m2)*-1);position:absolute;width:24px;width:var(--size-m1)}.checkbox--input:checked+.checkbox--icon{background-image:url(assets/checkbox-on.svg)}.checkbox--input:disabled+.checkbox--icon{opacity:.2}.checkbox--input.focus-visible{outline:var(--focus-outline)}.checkbox--input:focus-visible{outline:var(--focus-outline)}.dropdown{position:relative}@media(max-width:899px){.dropdown{position:static}}.dropdown--list{background-color:#323237;background-color:var(--color-background-nav-dt);border:1px solid #56565f;box-shadow:0 2px 8px 0 rgba(0,0,0,.251);display:none;max-height:400px;max-width:360px;min-width:272px;overflow-y:auto;padding:12px 0;position:absolute;right:0;top:44px;-webkit-transform:translateZ(0);width:-moz-fit-content;width:fit-content;z-index:10}@media(max-width:899px){.dropdown--list{border:none;height:100vh;max-height:none;padding:0;right:0;top:0}}@media(max-width:439px){.dropdown--list{max-width:none;width:100vw}}.dropdown--list_positioned_right{right:0}.dropdown--list_positioned_left{left:0}@media(max-width:899px){.dropdown--list_positioned_left{left:auto}}.dropdown--list_expanded{display:block}@media(min-width:900px){.dropdown--list_toc-list{background-color:transparent;border:none;box-shadow:none;display:block;max-height:none;max-width:none;min-width:100%;padding:0;position:relative;top:0}}@media(min-width:440px)and (max-width:899px){.dropdown--list_toc-list{width:408px}}.dropdown--option{background-color:#323237;background-color:var(--color-background-nav-dt);border:none;color:var(--color-text-nav-dt);cursor:pointer;display:block;font:400 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-m);letter-spacing:-.03em;list-style-type:none;padding:8px 16px;padding:var(--size-s2) var(--size-s3);position:relative}.dropdown--option:hover{background-color:#4a4a52}.dropdown--option.focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:visited{color:var(--color-text-nav-dt)}.dropdown--option_active{background-color:#307fff;background-color:var(--color-key-blue)}.dropdown--option_active:hover{background-color:#639fff}.dropdown--option_link{color:var(--color-text-nav-dt);text-decoration:none}.dropdown--option_link.focus-visible{outline:var(--focus-outline)}.dropdown--option_link:focus-visible{outline:var(--focus-outline)}.dropdown--option .checkbox{pointer-events:none}.dropdown--option .checkbox:first-letter{text-transform:uppercase}.dropdown--overlay{background-color:hsla(0,0%,54%,.5);bottom:0;content:"";display:none;height:100vh;left:0;position:absolute;right:0;top:0;width:100vw;z-index:4}.dropdown--list_expanded+.dropdown--overlay{display:block}@media(min-width:900px){.dropdown--list_expanded+.dropdown--overlay{display:none}}.dropdown--header{align-items:center;background-color:#323237;background-color:var(--color-background-nav-dt);border-bottom:1px solid #56565f;color:hsla(0,0%,100%,.7);color:var(--color-w70);display:flex;height:52px;justify-content:space-between;padding-left:16px;padding-left:var(--size-s3);position:sticky;top:0;z-index:2}@media(min-width:900px){.dropdown--header{display:none}}.filter-section{align-items:center;display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-end;margin-right:12px;max-height:40px;z-index:1}.filter-section_loading{overflow:hidden}@media(min-width:900px){.filter-section--dropdown{display:none}}.filter-section--dropdown-toggle_as-filters{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat;min-width:40px}.filter-section--dropdown-toggle_as-filters:after{display:none}@media(max-width:899px){.filter-section{margin-right:0;max-height:none}.filter-section>:not(.dropdown){display:none}.filter-section--dropdown-toggle{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat}.filter-section--dropdown-toggle:after{display:none}}.no-js .filter-section{display:none}.ui-kit-icon{background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;filter:invert(1);font-size:0;height:24px;height:var(--size-m1);line-height:0;width:24px;width:var(--size-m1);will-change:background-color}.theme-dark .ui-kit-icon{filter:none}@media(max-width:899px){.theme-dark_mobile .ui-kit-icon{filter:none}}.ui-kit-icon_arrow-down{background-image:url(assets/arrow-down.svg)}.ui-kit-icon_placeholder{background-image:url(assets/placeholder.svg)}.ui-kit-icon_cross{background-image:url(assets/cross.svg)}.library-name--link{align-items:center;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;font:600 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-h4);margin-right:8px;margin-right:var(--size-s2);white-space:nowrap}.library-name--link.focus-visible{outline:var(--focus-outline)}.library-name--link:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.library-name--link{height:52px;margin-left:12px}}.library-name--link:before{background:var(--dokka-logo-image-url) center no-repeat;background-size:min(var(--dokka-logo-height),120px) min(var(--dokka-logo-width),36px);content:"";height:var(--dokka-logo-height);margin-right:8px;margin-right:var(--size-s2);max-height:36px;max-width:120px;width:var(--dokka-logo-width)}.library-version{box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding-top:1px}@media(max-width:899px){.library-version{align-items:center;background-color:#000;background-color:var(--color-text);display:flex;height:52px;padding-left:12px}}.navigation{align-items:center;background-color:#27282c;background-color:var(--color-background-nav);box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;flex-wrap:nowrap;justify-content:flex-start;padding:12px 24px;padding:12px var(--size-m1);z-index:4}@media(max-width:899px){.navigation{flex-wrap:wrap;height:auto;padding:0}}.theme-dark .navigation{background-color:#323237;background-color:var(--color-background-nav-dt)}@media(max-width:899px){.navigation .button{height:52px;min-width:52px}}.navigation-controls{align-items:center;display:flex;gap:4px;gap:var(--size-s1);margin-left:auto}@media(max-width:899px){.navigation-controls{background-color:#000;background-color:var(--color-text);flex-grow:1;gap:0;justify-content:flex-end}}.no-js .navigation-controls{display:none}.navigation-controls--btn{align-items:center;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;border:none;border-radius:4px;border-radius:var(--size-s1);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:0;height:40px;justify-content:center;line-height:0;padding:0;width:40px;z-index:0}@media(hover:hover){.navigation-controls--btn:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.navigation-controls--btn:active{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.navigation-controls--btn.focus-visible{outline:var(--focus-outline)}.navigation-controls--btn:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.navigation-controls--btn{height:52px;width:52px}}.navigation-controls--break{flex-basis:100%}.navigation-controls--btn_theme{background-image:url(assets/theme-toggle.svg)}.navigation-controls--btn_homepage{background-image:url(assets/homepage.svg)}.navigation-controls--btn_toc{background-image:url(assets/burger.svg);margin-left:auto}.platform-tag{--platform-tag-color:#bababb;border:0;border-radius:4px;border-radius:var(--size-s1);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:10px 12px;text-transform:capitalize}.platform-tag,button.platform-tag{cursor:pointer}button.platform-tag.focus-visible{outline:var(--focus-outline)}button.platform-tag:focus-visible{outline:var(--focus-outline)}.platform-selector-option{padding-left:44px}.platform-selector-option.js-like,.platform-selector-option.jvm-like,.platform-selector-option.wasm-like,.platform-tag.js-like,.platform-tag.jvm-like,.platform-tag.wasm-like{text-transform:uppercase}.platform-tags .platform-tag{align-items:center;display:flex}.filter-section .platform-tag[data-active]{background-color:var(--platform-tag-color);color:#19191c}.filter-section .platform-tag.jvm-like[data-active],.platform-tags .platform-tag.jvm-like{--platform-tag-color:#4dbb5f}.filter-section .platform-tag.js-like[data-active],.platform-tags .platform-tag.js-like{--platform-tag-color:#ffc700}.filter-section .platform-tag.native-like[data-active],.platform-tags .platform-tag.native-like{--platform-tag-color:#e082f3}.filter-section .platform-tag.wasm-like[data-active],.platform-tags .platform-tag.wasm-like{--platform-tag-color:#9585f9}@media(hover:hover){.filter-section .platform-tag[data-active]:hover{background-color:hsla(240,1%,73%,.7);color:#fff}}.filter-section .platform-tag[data-active]:active{background-color:hsla(240,1%,73%,.7);color:#fff}.filter-section .platform-tag:not([data-active]){background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10);color:hsla(0,0%,100%,.5);color:var(--color-w50);text-decoration:line-through}.platform-tags .platform-tag:before{background:var(--platform-tag-color);border-radius:50%;content:"";display:inline-block;font-size:13px;height:8px;line-height:1.6;margin:0 4px 0 8px;width:8px}.platform-tags{display:flex;flex-wrap:wrap;margin-bottom:-8px;margin-left:-4px}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;min-width:var(--size-l1);order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none}:root{--toc-hover-color:var(--color-b08);--toc-font:400 13px/24px var(--font-family-default);--toc-color:var(--color-text)}.theme-dark{--toc-hover-color:var(--color-w08);--toc-color:var(--color-text-dt)}@media(max-width:899px){.theme-dark_mobile{--toc-color:var(--color-text-dt);--toc-hover-color:var(--color-w08)}}.toc--part{color:#000;color:var(--toc-color);font:400 13px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--toc-font)}.toc--part,.toc--row{box-sizing:border-box}.toc--row{align-items:center;display:flex;min-height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toc--button{align-items:center;background-color:inherit;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;height:100%;justify-content:flex-end;min-width:40px;padding:0 8px 0 0;position:absolute}.toc--button:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;background-size:24px 24px;content:" ";filter:invert(1);font-size:0;height:24px;line-height:0;transform:rotate(0deg);width:24px}.toc--part_hidden .toc--button:after{transform:rotate(-90deg)}.theme-dark .toc--button:after{filter:invert(0)}@media(max-width:899px){.theme-dark_mobile .toc--button:after{filter:invert(0)}}@media(hover:hover){.toc--button:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}}.toc--button:active{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--button.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--button:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link{box-sizing:border-box;color:inherit;height:calc(100% - 16px);min-height:40px;padding:8px 4px 8px 0;width:100%}.toc--link:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--link.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--part[data-nesting-level="0"] .toc--row>.toc--link:first-child{padding-left:40px;padding-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button+.toc--link{margin-left:40px;margin-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button{width:40px;width:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="1"] .toc--row>.toc--link:first-child{padding-left:64px;padding-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button+.toc--link{margin-left:64px;margin-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button{width:64px;width:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="2"] .toc--row>.toc--link:first-child{padding-left:88px;padding-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button+.toc--link{margin-left:88px;margin-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button{width:88px;width:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="3"] .toc--row>.toc--link:first-child{padding-left:112px;padding-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button+.toc--link{margin-left:112px;margin-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button{width:112px;width:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="4"] .toc--row>.toc--link:first-child{padding-left:136px;padding-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button+.toc--link{margin-left:136px;margin-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button{width:136px;width:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="5"] .toc--row>.toc--link:first-child{padding-left:160px;padding-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button+.toc--link{margin-left:160px;margin-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button{width:160px;width:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="6"] .toc--row>.toc--link:first-child{padding-left:184px;padding-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button+.toc--link{margin-left:184px;margin-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button{width:184px;width:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="7"] .toc--row>.toc--link:first-child{padding-left:208px;padding-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button+.toc--link{margin-left:208px;margin-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button{width:208px;width:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="8"] .toc--row>.toc--link:first-child{padding-left:232px;padding-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button+.toc--link{margin-left:232px;margin-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button{width:232px;width:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="9"] .toc--row>.toc--link:first-child{padding-left:256px;padding-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button+.toc--link{margin-left:256px;margin-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button{width:256px;width:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="10"] .toc--row>.toc--link:first-child{padding-left:280px;padding-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button+.toc--link{margin-left:280px;margin-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button{width:280px;width:calc(40px + var(--size-m1)*10)}.filtered>.toc--button,.toc .filtered>a{display:none}.toc #nav-submenu{padding-left:24px}.toc--part_hidden>.toc--part{display:none}.toc--row .toc--link-grid{display:grid;grid-template-columns:16px auto;grid-gap:6px;align-items:center}.toc--icon{height:16px;width:16px}.toc--icon.class:before{content:url(assets/class.svg)}.toc--icon.class-kt:before{content:url(assets/class-kotlin.svg)}.toc--icon.function:before{content:url(assets/function.svg)}.toc--icon.enum-class:before{content:url(assets/enum.svg)}.toc--icon.enum-class-kt:before{content:url(assets/enum-kotlin.svg)}.toc--icon.annotation-class:before{content:url(assets/annotation.svg)}.toc--icon.annotation-class-kt:before{content:url(assets/annotation-kotlin.svg)}.toc--icon.abstract-class:before{content:url(assets/abstract-class.svg)}.toc--icon.abstract-class-kt:before{content:url(assets/abstract-class-kotlin.svg)}.toc--icon.exception-class:before{content:url(assets/exception-class.svg)}.toc--icon.interface:before{content:url(assets/interface.svg)}.toc--icon.interface-kt:before{content:url(assets/interface-kotlin.svg)}.toc--icon.object:before{content:url(assets/object.svg)}.toc--icon.typealias-kt:before{content:url(assets/typealias-kotlin.svg)}.toc--icon.val:before{content:url(assets/field-value.svg)}.toc--icon.var:before{content:url(assets/field-variable.svg)}.toc--part[data-active]>.toc--row .toc--button,.toc--part[data-active]>.toc--row .toc--link{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.toc--part[data-active]>.toc--row .toc--button:hover,.toc--part[data-active]>.toc--row .toc--link:hover{background-color:#578af7}.toc--part[data-active]>.toc--row .toc--button:after,.toc--part[data-active]>.toc--row .toc--link:after{filter:invert(0)}.sidebar{border-right:1px solid rgba(39,40,44,.2);box-sizing:border-box;overflow:auto;width:var(--sidebar-width)}@media(max-width:899px){.sidebar{border:none;width:0}}@media(min-width:900px){.sidebar{position:relative;z-index:1}}@media(max-width:899px){.sidebar .button{height:52px;min-width:52px}}.theme-dark .sidebar{border-right-color:#56565f}.no-js .sidebar{display:none}.sidebar--inner{padding-bottom:12px;padding-top:12px}@media(max-width:899px){.ui-kit_desktop-only{display:none}}@media(min-width:900px){.ui-kit_mobile-only{display:none}}:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-key-blue-50:rgba(48,127,255,.5);--color-background-nav:#27282c;--color-background-nav-dt:#323237;--color-background-page:#fff;--color-background-page-dt:#262628;--color-background-footer:#ebebeb;--color-background-footer-dt:#323237;--color-text:#000;--color-text-dt:hsla(0,0%,100%,.96);--color-text-light:rgba(0,0,0,.7);--color-text-light-dt:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w08:hsla(0,0%,100%,.08);--color-w10:hsla(0,0%,100%,.1);--color-w16:hsla(0,0%,100%,.16);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-w100:#fff;--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 14px/20px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono);--hover-transition:background-color 200ms ease-in-out;--rotate-transition:transform 200ms ease-in-out;--color-background:var(--color-background-page);--focus-outline:4px solid var(--color-key-blue-50)}.theme-dark{--color-background:var(--color-background-page-dt)}body,table{background-color:#fff;background-color:var(--color-background)} \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/ui-kit.min.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/ui-kit.min.js index 7c7682878a..96b8d53062 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/ui-kit.min.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/multimodule-example/html/ui-kit/ui-kit.min.js @@ -1 +1 @@ -(()=>{"use strict";var t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],r=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,a){t&&localStorage.setItem(e,a)}}}();function a(e){var a,r=null===(a=e.getAttribute("data-togglable"))||void 0===a?void 0:a.split(",");!function(a){var r,o,n,l;try{for(var i=t(document.getElementsByClassName("tabs-section")),c=i.next();!c.done;c=i.next()){var u=c.value;try{for(var d=(n=void 0,t(u.children)),s=d.next();!s.done;s=d.next()){var g=s.value;g.getAttribute("data-togglable")===e.getAttribute("data-togglable")?g.setAttribute("data-active",""):g.removeAttribute("data-active")}}catch(t){n={error:t}}finally{try{s&&!s.done&&(l=d.return)&&l.call(d)}finally{if(n)throw n.error}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");r&&e&&r.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),r="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&a(e)}(t),t.addEventListener("click",(function(t){var o=t.target,n=o?o.getAttribute("data-togglable"):null;n&&(e.setItem(r,JSON.stringify(n)),a(o))}))}));var o=e.getItem(r);if(o){var n=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(o)+'"]');n&&a(n)}},window.toggleSections=a})(); \ No newline at end of file +(()=>{"use strict";function t(e,n){return!(!e||!e.classList.contains(n))||!!e.parentElement&&t(e.parentElement,n)}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("div.button").forEach((function(t){t.addEventListener("keydown",(function(e){var n=e.key;"Enter"!==n&&" "!==n||t.dispatchEvent(new MouseEvent("click"))}))}))}));function e(){return window.innerWidth<440?"mobile":window.innerWidth>=440&&window.innerWidth<900?"tablet":"desktop"}var n=function(){function t(t){this.trapElement=t,this.handleKeyDown=this.handleKeyDown.bind(this),this.trapElement.addEventListener("keydown",this.handleKeyDown)}return t.prototype.handleKeyDown=function(t){var e=Array.from(this.trapElement.querySelectorAll('[role="option"]')).filter((function(t){return"none"!==t.style.display&&-1!==t.tabIndex}));if(["Tab","ArrowDown","ArrowUp"].includes(t.key)&&0!==e.length){var n=e[0],o=e[e.length-1];if("ArrowUp"===t.key)if(document.activeElement===n)o.focus();else{var r=e.indexOf(document.activeElement);e[r-1].focus()}"ArrowDown"===t.key&&(document.activeElement===o?n.focus():(r=e.indexOf(document.activeElement),e[r+1].focus())),"Tab"===t.key&&(t.shiftKey?document.activeElement===n&&(o.focus(),t.preventDefault()):document.activeElement===o&&(n.focus(),t.preventDefault()))}},t.prototype.destroy=function(){this.trapElement.removeEventListener("keydown",this.handleKeyDown)},t}(),o='[data-role="dropdown"]',r='[data-role="dropdown-toggle"]',i='[data-role="dropdown-listbox"]';function l(t){var e,n,o=t.querySelectorAll(r);null==o||o.forEach(a),e=t.querySelector(i),n=o[0].offsetWidth,e&&(e.classList.toggle("dropdown--list_expanded"),e.classList.contains("dropdown--list_expanded")?c(e,n):c(e,void 0))}function a(t){t.classList.contains("button_dropdown")&&t.classList.toggle("button_dropdown_active")}function c(t,e){if(e){var n=parseInt(getComputedStyle(t).minWidth,10),o=isNaN(n)?e:Math.max(n,e);t.style.minWidth="".concat(o,"px")}else t.style.minWidth=""}function d(e){var n=e.target;t(n,"dropdown")&&"dropdown--overlay"!==n.className||document.querySelectorAll(o).forEach((function(t){var e,n;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(t){t.classList.remove("button_dropdown_active")})),null===(n=t.querySelectorAll(i))||void 0===n||n.forEach((function(t){t.classList.remove("dropdown--list_expanded"),t.style.minWidth=""}))}))}function u(t){t.tag.removeAttribute("style"),t.option.setAttribute("style","display: none")}function s(t){t.tag.setAttribute("style","display: none"),t.option.removeAttribute("style")}function f(t){var e,n=null===(e=t.querySelector(".checkbox--input"))||void 0===e?void 0:e.getAttribute("data-filter");n&&(-1===filteringContext.activeFilters.findIndex((function(t){return t===n}))?unfilterSourceset(n):filterSourceset(n)),refreshFiltering()}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(o).forEach((function(t){var e;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(e){e.addEventListener("click",(function(){return l(t)}))})),function(t){new n(t),t.addEventListener("keydown",(function(e){var n;"Escape"===e.key&&(l(t),null===(n=t.querySelector(r))||void 0===n||n.focus())}))}(t)})),document.addEventListener("click",d)})),document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("navigation-wrapper"),n=document.getElementById("library-version"),o=document.getElementById("filter-section"),r=document.querySelector("#filter-section + .navigation-controls--btn"),i=document.getElementById("filter-section-dropdown");if(t&&n&&o&&r&&i){var l=null==o?void 0:o.querySelectorAll(".dropdown--option"),a=null==o?void 0:o.querySelectorAll(".platform-selector");if(a&&l)if(a.length===l.length){var c=Array.from({length:a.length}).map((function(t,e){return{tag:a[e],option:l[e]}})),d=c.map((function(t){return t.tag.getBoundingClientRect().width})),v=e(),m=new ResizeObserver((function(){var n=e();v!==n&&(c.forEach(u),d=function(t){return t.map((function(t){return t.tag.getBoundingClientRect().width}))}(c)),v=n,y(),m.unobserve(t)})),g=function(){m.observe(t)};y(),g(),l.forEach((function(t){t.addEventListener("click",(function(t){f(t.target)})),t.addEventListener("keydown",(function(t){var e=t.key;"Enter"!==e&&" "!==e||f(t.target)}))})),window.addEventListener("resize",g)}else console.warn("Dokka: filter section items are not equal");else console.warn("Dokka: filter section items are not found")}else console.warn("Dokka: filter section is not found");function y(){var e,l;if(t&&i){if(t.getBoundingClientRect().width<900)return c.forEach(s),void i.removeAttribute("style");var a=(n&&r?r.getBoundingClientRect().left-n.getBoundingClientRect().right:0)-44-10,f=0;i.removeAttribute("style");var v=!1;c.forEach((function(t,e){(f+=d[e]+4)=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,n){t&&localStorage.setItem(e,n)}}}();function g(t){var e,n=null===(e=t.getAttribute("data-togglable"))||void 0===e?void 0:e.split(",");!function(){var e,n,o,r;try{for(var i=v(document.getElementsByClassName("tabs-section")),l=i.next();!l.done;l=i.next()){var a=l.value;try{for(var c=(o=void 0,v(a.children)),d=c.next();!d.done;d=c.next()){var u=d.value;u.getAttribute("data-togglable")===t.getAttribute("data-togglable")?u.setAttribute("data-active",""):u.removeAttribute("data-active")}}catch(t){o={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");n&&e&&n.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),e="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&g(e)}(t),t.addEventListener("click",(function(t){var n=t.target,o=n?n.getAttribute("data-togglable"):null;o&&(m.setItem(e,JSON.stringify(o)),g(n))}))}));var n=m.getItem(e);if(n){var o=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(n)+'"]');o&&g(o)}},window.toggleSections=g,document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-remove-style="true"]').forEach((function(t){t.removeAttribute("style")}))}))})(); \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/-child-project-a-class.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/-child-project-a-class.html index 5acf73071e..244e1dbddf 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/-child-project-a-class.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/-child-project-a-class.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/extend.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/extend.html index aef77b7a9f..13cee79b01 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/extend.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/extend.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/index.html index c72d068de9..5bf801dcc0 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-child-project-a-class/index.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/-fancy-a-p-i.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/-fancy-a-p-i.html index 9c194f0ee7..f8bf11aa39 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/-fancy-a-p-i.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/-fancy-a-p-i.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/do-something.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/do-something.html index ef8bd2908c..23336f28a8 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/do-something.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/do-something.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/index.html index 48e876dc41..4ee875deb7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/-fancy-a-p-i/index.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/index.html index db813b69b0..b612d2751a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/demo/index.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/index.html index 06e1545432..987943e285 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/index.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/navigation.html index 09626d94f6..904e5d6f05 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectA/navigation.html @@ -1,40 +1,40 @@
-
-
- childProjectA +
+ -
-
- demo +
+
+ demo
-
-
- ChildProjectAClass + -
-
- FancyAPI +
+
-
-
- childProjectB +
+ -
-
- demo +
+
+ demo
-
-
- ChildProjectBClass + -
- diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/-child-project-b-class/-child-project-b-class.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/-child-project-b-class/-child-project-b-class.html index 636df3f5e0..27e3fe1ef4 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/-child-project-b-class/-child-project-b-class.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/-child-project-b-class/-child-project-b-class.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/-child-project-b-class/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/-child-project-b-class/index.html index 5c277aa416..7d9b6c3057 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/-child-project-b-class/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/-child-project-b-class/index.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/index.html index b375ca3efd..b7d788fb26 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/index.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/super-function42.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/super-function42.html index 449bd99616..726da263a6 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/super-function42.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/demo/super-function42.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/index.html index 004ebaeb04..e1bdc65f69 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/index.html @@ -31,37 +31,72 @@ - +
- + + +
+
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/navigation.html index 09626d94f6..904e5d6f05 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/childProjectB/navigation.html @@ -1,40 +1,40 @@
-
-
- childProjectA +
+ -
-
- demo +
+
+ demo
-
-
- ChildProjectAClass + -
-
- FancyAPI +
+
-
-
- childProjectB +
+ -
-
- demo +
+
+ demo
-
-
- ChildProjectBClass + -
- diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/arrow_down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/arrow_down.svg deleted file mode 100644 index 2478845270..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/arrow_down.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/burger.svg deleted file mode 100644 index 40f73c5369..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/burger.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/homepage.svg deleted file mode 100644 index e3c83b1ce3..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/homepage.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/theme-toggle.svg deleted file mode 100644 index fcc900f389..0000000000 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/theme-toggle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/index.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/index.html index e40584aa5a..85a0bc1a55 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/index.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/index.html @@ -31,37 +31,57 @@ - +
- +
diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/navigation.html b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/navigation.html index 102e56597f..a6217b0bc2 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/navigation.html +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/navigation.html @@ -1,40 +1,40 @@
-
-
- childProjectA +
+ -
-
- demo +
+
+ demo
-
-
- ChildProjectAClass + -
-
- FancyAPI +
+
-
-
- childProjectB +
+ -
-
- demo +
+
+ demo
-
-
- ChildProjectBClass + -
- diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/scripts/main.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/scripts/main.js index eb22535ed1..90382844b7 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/scripts/main.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/scripts/main.js @@ -49,5 +49,5 @@ t(5228);var r=t(6540),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Sy Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",n=0;n{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("span",{children:r}),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.847 14.861A6.99 6.99 0 0017.587 11a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM22.587 18a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";var r=t(4901),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5548:(e,n,t)=>{"use strict";var r=t(3517),o=t(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},3506:(e,n,t)=>{"use strict";var r=t(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,n,t)=>{"use strict";var r=t(8227),o=t(2360),i=t(4913).f,a=r("unscopables"),l=Array.prototype;void 0===l[a]&&i(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},7829:(e,n,t)=>{"use strict";var r=t(8183).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},679:(e,n,t)=>{"use strict";var r=t(1625),o=TypeError;e.exports=function(e,n){if(r(n,e))return e;throw new o("Incorrect invocation")}},8551:(e,n,t)=>{"use strict";var r=t(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},5652:(e,n,t)=>{"use strict";var r=t(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,n,t)=>{"use strict";var r=t(9213).forEach,o=t(4598)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8981),a=t(6319),l=t(4209),c=t(3517),u=t(6198),s=t(4659),f=t(81),p=t(851),d=Array;e.exports=function(e){var n=i(e),t=c(this),g=arguments.length,h=g>1?arguments[1]:void 0,v=void 0!==h;v&&(h=r(h,g>2?arguments[2]:void 0));var b,A,m,y,E,C,w=p(n),_=0;if(!w||this===d&&l(w))for(b=u(n),A=t?new this(b):d(b);b>_;_++)C=v?h(n[_],_):n[_],s(A,_,C);else for(A=t?new this:[],E=(y=f(n,w)).next;!(m=o(E,y)).done;_++)C=v?a(y,h,[m.value,_],!0):m.value,s(A,_,C);return A.length=_,A}},9617:(e,n,t)=>{"use strict";var r=t(5397),o=t(5610),i=t(6198),a=function(e){return function(n,t,a){var l=r(n),c=i(l);if(0===c)return!e&&-1;var u,s=o(a,c);if(e&&t!=t){for(;c>s;)if((u=l[s++])!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9213:(e,n,t)=>{"use strict";var r=t(6080),o=t(9504),i=t(7055),a=t(8981),l=t(6198),c=t(1469),u=o([].push),s=function(e){var n=1===e,t=2===e,o=3===e,s=4===e,f=6===e,p=7===e,d=5===e||f;return function(g,h,v,b){for(var A,m,y=a(g),E=i(y),C=l(E),w=r(h,v),_=0,x=b||c,S=n?x(g,C):t||p?x(g,0):void 0;C>_;_++)if((d||_ in E)&&(m=w(A=E[_],_,y),e))if(n)S[_]=m;else if(m)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:u(S,A)}else switch(e){case 4:return!1;case 7:u(S,A)}return f?-1:o||s?s:S}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},597:(e,n,t)=>{"use strict";var r=t(9039),o=t(8227),i=t(7388),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},4598:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){return 1},1)}))}},926:(e,n,t)=>{"use strict";var r=t(9306),o=t(8981),i=t(7055),a=t(6198),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(n,t,u,s){var f=o(n),p=i(f),d=a(f);if(r(t),0===d&&u<2)throw new l(c);var g=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(g in p){s=p[g],g+=h;break}if(g+=h,e?g<0:d<=g)throw new l(c)}for(;e?g>=0:d>g;g+=h)g in p&&(s=t(s,p[g],g,f));return s}};e.exports={left:u(!1),right:u(!0)}},4527:(e,n,t)=>{"use strict";var r=t(3724),o=t(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,n){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=n}:function(e,n){return e.length=n}},7680:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r([].slice)},4488:(e,n,t)=>{"use strict";var r=t(7680),o=Math.floor,i=function(e,n){var t=e.length;if(t<8)for(var a,l,c=1;c0;)e[l]=e[--l];l!==c++&&(e[l]=a)}else for(var u=o(t/2),s=i(r(e,0,u),n),f=i(r(e,u),n),p=s.length,d=f.length,g=0,h=0;g{"use strict";var r=t(4376),o=t(3517),i=t(34),a=t(8227)("species"),l=Array;e.exports=function(e){var n;return r(e)&&(n=e.constructor,(o(n)&&(n===l||r(n.prototype))||i(n)&&null===(n=n[a]))&&(n=void 0)),void 0===n?l:n}},1469:(e,n,t)=>{"use strict";var r=t(7433);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},6319:(e,n,t)=>{"use strict";var r=t(8551),o=t(9539);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},4428:(e,n,t)=>{"use strict";var r=t(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){try{if(!n&&!o)return!1}catch(e){return!1}var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4576:(e,n,t)=>{"use strict";var r=t(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,n,t)=>{"use strict";var r=t(2140),o=t(4901),i=t(4576),a=t(8227)("toStringTag"),l=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=l(e),a))?t:c?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},6938:(e,n,t)=>{"use strict";var r=t(2360),o=t(2106),i=t(6279),a=t(6080),l=t(679),c=t(4117),u=t(2652),s=t(1088),f=t(2529),p=t(7633),d=t(3724),g=t(3451).fastKey,h=t(1181),v=h.set,b=h.getterFor;e.exports={getConstructor:function(e,n,t,s){var f=e((function(e,o){l(e,p),v(e,{type:n,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),c(o)||u(o,e[s],{that:e,AS_ENTRIES:t})})),p=f.prototype,h=b(n),A=function(e,n,t){var r,o,i=h(e),a=m(e,n);return a?a.value=t:(i.last=a={index:o=g(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},m=function(e,n){var t,r=h(e),o=g(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key===n)return t};return i(p,{clear:function(){for(var e=h(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:this.size=0},delete:function(e){var n=this,t=h(n),r=m(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first===r&&(t.first=o),t.last===r&&(t.last=i),d?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!m(this,e)}}),i(p,t?{get:function(e){var n=m(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(e,n,t){var r=n+" Iterator",o=b(n),i=b(r);s(e,n,(function(e,n){v(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?f("keys"===n?t.key:"values"===n?t.value:[t.key,t.value],!1):(e.target=void 0,f(void 0,!0))}),t?"entries":"values",!t,!0),p(n)}}},4006:(e,n,t)=>{"use strict";var r=t(9504),o=t(6279),i=t(3451).getWeakData,a=t(679),l=t(8551),c=t(4117),u=t(34),s=t(2652),f=t(9213),p=t(9297),d=t(1181),g=d.set,h=d.getterFor,v=f.find,b=f.findIndex,A=r([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},C=function(e,n){return v(e.entries,(function(e){return e[0]===n}))};E.prototype={get:function(e){var n=C(this,e);if(n)return n[1]},has:function(e){return!!C(this,e)},set:function(e,n){var t=C(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=b(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var f=e((function(e,o){a(e,d),g(e,{type:n,id:m++,frozen:void 0}),c(o)||s(o,e[r],{that:e,AS_ENTRIES:t})})),d=f.prototype,v=h(n),b=function(e,n,t){var r=v(e),o=i(l(n),!0);return!0===o?y(r).set(n,t):o[r.id]=t,e};return o(d,{delete:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).delete(e):t&&p(t,n.id)&&delete t[n.id]},has:function(e){var n=v(this);if(!u(e))return!1;var t=i(e);return!0===t?y(n).has(e):t&&p(t,n.id)}}),o(d,t?{get:function(e){var n=v(this);if(u(e)){var t=i(e);return!0===t?y(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return b(this,e,n)}}:{add:function(e){return b(this,e,!0)}}),f}}},6468:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9504),a=t(2796),l=t(6840),c=t(3451),u=t(2652),s=t(679),f=t(4901),p=t(4117),d=t(34),g=t(9039),h=t(4428),v=t(687),b=t(3167);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),y=A?"set":"add",E=o[e],C=E&&E.prototype,w=E,_={},x=function(e){var n=i(C[e]);l(C,e,"add"===e?function(e){return n(this,0===e?0:e),this}:"delete"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:"get"===e?function(e){return m&&!d(e)?void 0:n(this,0===e?0:e)}:"has"===e?function(e){return!(m&&!d(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(E)||!(m||C.forEach&&!g((function(){(new E).entries().next()})))))w=t.getConstructor(n,e,A,y),c.enable();else if(a(e,!0)){var S=new w,k=S[y](m?{}:-0,1)!==S,O=g((function(){S.has(1)})),B=h((function(e){new E(e)})),T=!m&&g((function(){for(var e=new E,n=5;n--;)e[y](n,n);return!e.has(-0)}));B||((w=n((function(e,n){s(e,C);var t=b(new E,e,w);return p(n)||u(n,t[y],{that:t,AS_ENTRIES:A}),t}))).prototype=C,C.constructor=w),(O||T)&&(x("delete"),x("has"),A&&x("get")),(T||k)&&x(y),m&&C.clear&&delete C.clear}return _[e]=w,r({global:!0,constructor:!0,forced:w!==E},_),v(w,e),m||t.setStrong(w,e,A),w}},7740:(e,n,t)=>{"use strict";var r=t(9297),o=t(5031),i=t(7347),a=t(4913);e.exports=function(e,n,t){for(var l=o(n),c=a.f,u=i.f,s=0;s{"use strict";var r=t(8227)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},2211:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7240:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},2529:e=>{"use strict";e.exports=function(e,n){return{value:e,done:n}}},6699:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},6980:e=>{"use strict";e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},4659:(e,n,t)=>{"use strict";var r=t(3724),o=t(4913),i=t(6980);e.exports=function(e,n,t){r?o.f(e,n,i(0,t)):e[n]=t}},3640:(e,n,t)=>{"use strict";var r=t(8551),o=t(4270),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},2106:(e,n,t)=>{"use strict";var r=t(283),o=t(4913);e.exports=function(e,n,t){return t.get&&r(t.get,n,{getter:!0}),t.set&&r(t.set,n,{setter:!0}),o.f(e,n,t)}},6840:(e,n,t)=>{"use strict";var r=t(4901),o=t(4913),i=t(283),a=t(9433);e.exports=function(e,n,t,l){l||(l={});var c=l.enumerable,u=void 0!==l.name?l.name:n;if(r(t)&&i(t,u,l),l.global)c?e[n]=t:a(n,t);else{try{l.unsafe?e[n]&&(c=!0):delete e[n]}catch(e){}c?e[n]=t:o.f(e,n,{value:t,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6279:(e,n,t)=>{"use strict";var r=t(6840);e.exports=function(e,n,t){for(var o in n)r(e,o,n[o],t);return e}},9433:(e,n,t)=>{"use strict";var r=t(4475),o=Object.defineProperty;e.exports=function(e,n){try{o(r,e,{value:n,configurable:!0,writable:!0})}catch(t){r[e]=n}return n}},4606:(e,n,t)=>{"use strict";var r=t(6823),o=TypeError;e.exports=function(e,n){if(!delete e[n])throw new o("Cannot delete property "+r(n)+" of "+r(e))}},3724:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,n,t)=>{"use strict";var r=t(4475),o=t(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6837:e=>{"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={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}},9296:(e,n,t)=>{"use strict";var r=t(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8834:(e,n,t)=>{"use strict";var r=t(9392).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6763:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},3202:(e,n,t)=>{"use strict";var r=t(9392);e.exports=/MSIE|Trident/.test(r)},9088:(e,n,t)=>{"use strict";var r=t(4475),o=t(4576);e.exports="process"===o(r.process)},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,n,t)=>{"use strict";var r,o,i=t(4475),a=t(9392),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9160:(e,n,t)=>{"use strict";var r=t(9392).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,n,t)=>{"use strict";var r=t(4475),o=t(7347).f,i=t(6699),a=t(6840),l=t(9433),c=t(7740),u=t(2796);e.exports=function(e,n){var t,s,f,p,d,g=e.target,h=e.global,v=e.stat;if(t=h?r:v?r[g]||l(g,{}):r[g]&&r[g].prototype)for(s in n){if(p=n[s],f=e.dontCallGetSet?(d=o(t,s))&&d.value:t[s],!u(h?s:g+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,n,t)=>{"use strict";t(7495);var r=t(9565),o=t(6840),i=t(7323),a=t(9039),l=t(8227),c=t(6699),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!==""[e](n)})),g=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!g||t){var h=/./[p],v=n(p,""[e],(function(e,n,t,o,a){var l=n.exec;return l===i||l===s.exec?d&&!a?{done:!0,value:r(h,n,t,o)}:{done:!0,value:r(e,t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},2744:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,n,t)=>{"use strict";var r=t(7476),o=t(9306),i=t(616),a=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?a(e,n):function(){return e.apply(n,arguments)}}},616:(e,n,t)=>{"use strict";var r=t(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},566:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306),i=t(34),a=t(9297),l=t(7680),c=t(616),u=Function,s=r([].concat),f=r([].join),p={};e.exports=c?u.bind:function(e){var n=o(this),t=n.prototype,r=l(arguments,1),c=function(){var t=s(r,l(arguments));return this instanceof c?function(e,n,t){if(!a(p,n)){for(var r=[],o=0;o{"use strict";var r=t(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,n,t)=>{"use strict";var r=t(3724),o=t(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},6706:(e,n,t)=>{"use strict";var r=t(9504),o=t(9306);e.exports=function(e,n,t){try{return r(o(Object.getOwnPropertyDescriptor(e,n)[t]))}catch(e){}}},7476:(e,n,t)=>{"use strict";var r=t(4576),o=t(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,n,t)=>{"use strict";var r=t(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,n,t)=>{"use strict";var r=t(4475),o=t(4901);e.exports=function(e,n){return arguments.length<2?(t=r[e],o(t)?t:void 0):r[e]&&r[e][n];var t}},851:(e,n,t)=>{"use strict";var r=t(6955),o=t(5966),i=t(4117),a=t(6269),l=t(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,l)||o(e,"@@iterator")||a[r(e)]}},81:(e,n,t)=>{"use strict";var r=t(9565),o=t(9306),i=t(8551),a=t(6823),l=t(851),c=TypeError;e.exports=function(e,n){var t=arguments.length<2?l(e):n;if(o(t))return i(r(t,e));throw new c(a(e)+" is not iterable")}},6933:(e,n,t)=>{"use strict";var r=t(9504),o=t(4376),i=t(4901),a=t(4576),l=t(655),c=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var n=e.length,t=[],r=0;r{"use strict";var r=t(9306),o=t(4117);e.exports=function(e,n){var t=e[n];return o(t)?void 0:r(t)}},2478:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,g=r.length,h=s;return void 0!==f&&(f=o(f),h=u),l(p,h,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>g){var p=i(s/10);return 0===p?o:p<=g?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},4475:function(e,n,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,n,t)=>{"use strict";var r=t(9504),o=t(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},421:e=>{"use strict";e.exports={}},397:(e,n,t)=>{"use strict";var r=t(7751);e.exports=r("document","documentElement")},5917:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4576),a=Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?l(e,""):a(e)}:a},3167:(e,n,t)=>{"use strict";var r=t(4901),o=t(34),i=t(2967);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},3706:(e,n,t)=>{"use strict";var r=t(9504),o=t(4901),i=t(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(421),a=t(34),l=t(9297),c=t(4913).f,u=t(8480),s=t(298),f=t(4124),p=t(3392),d=t(2744),g=!1,h=p("meta"),v=0,b=function(e){c(e,h,{value:{objectID:"O"+v++,weakData:{}}})},A=e.exports={enable:function(){A.enable=function(){},g=!0;var e=u.f,n=o([].splice),t={};t[h]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{"use strict";var r,o,i,a=t(8622),l=t(4475),c=t(34),u=t(6699),s=t(9297),f=t(7629),p=t(6119),d=t(421),g="Object already initialized",h=l.TypeError,v=l.WeakMap;if(a||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,n){if(b.has(e))throw new h(g);return n.facade=e,b.set(e,n),n},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var A=p("state");d[A]=!0,r=function(e,n){if(s(e,A))throw new h(g);return n.facade=e,u(e,A,n),n},o=function(e){return s(e,A)?e[A]:{}},i=function(e){return s(e,A)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!c(n)||(t=o(n)).type!==e)throw new h("Incompatible receiver, "+e+" required");return t}}}},4209:(e,n,t)=>{"use strict";var r=t(8227),o=t(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4376:(e,n,t)=>{"use strict";var r=t(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},3517:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(6955),l=t(7751),c=t(3706),u=function(){},s=l("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),g=function(e){if(!i(e))return!1;try{return s(u,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};h.sham=!0,e.exports=!s||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?h:g},2796:(e,n,t)=>{"use strict";var r=t(9039),o=t(4901),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t===s||t!==u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,n,t)=>{"use strict";var r=t(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,n,t)=>{"use strict";var r=t(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,n,t)=>{"use strict";var r=t(34),o=t(4576),i=t(8227)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"===o(e))}},757:(e,n,t)=>{"use strict";var r=t(7751),o=t(4901),i=t(1625),a=t(7040),l=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return o(n)&&i(n.prototype,l(e))}},2652:(e,n,t)=>{"use strict";var r=t(6080),o=t(9565),i=t(8551),a=t(6823),l=t(4209),c=t(6198),u=t(1625),s=t(81),f=t(851),p=t(9539),d=TypeError,g=function(e,n){this.stopped=e,this.result=n},h=g.prototype;e.exports=function(e,n,t){var v,b,A,m,y,E,C,w=t&&t.that,_=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),O=r(n,w),B=function(e){return v&&p(v,"normal",e),new g(!0,e)},T=function(e){return _?(i(e),k?O(e[0],e[1],B):O(e[0],e[1])):k?O(e,B):O(e)};if(x)v=e.iterator;else if(S)v=e;else{if(!(b=f(e)))throw new d(a(e)+" is not iterable");if(l(b)){for(A=0,m=c(e);m>A;A++)if((y=T(e[A]))&&u(h,y))return y;return new g(!1)}v=s(e,b)}for(E=x?e.next:v.next;!(C=o(E,v)).done;){try{y=T(C.value)}catch(e){p(v,"throw",e)}if("object"==typeof y&&y&&u(h,y))return y}return new g(!1)}},9539:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(5966);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3994:(e,n,t)=>{"use strict";var r=t(7657).IteratorPrototype,o=t(2360),i=t(6980),a=t(687),l=t(6269),c=function(){return this};e.exports=function(e,n,t,u){var s=n+" Iterator";return e.prototype=o(r,{next:i(+!u,t)}),a(e,s,!1,!0),l[s]=c,e}},1088:(e,n,t)=>{"use strict";var r=t(6518),o=t(9565),i=t(6395),a=t(350),l=t(4901),c=t(3994),u=t(2787),s=t(2967),f=t(687),p=t(6699),d=t(6840),g=t(8227),h=t(6269),v=t(7657),b=a.PROPER,A=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=g("iterator"),C="keys",w="values",_="entries",x=function(){return this};e.exports=function(e,n,t,a,g,v,S){c(t,n,a);var k,O,B,T=function(e){if(e===g&&D)return D;if(!y&&e&&e in j)return j[e];switch(e){case C:case w:case _:return function(){return new t(this,e)}}return function(){return new t(this)}},P=n+" Iterator",I=!1,j=e.prototype,z=j[E]||j["@@iterator"]||g&&j[g],D=!y&&z||T(g),R="Array"===n&&j.entries||z;if(R&&(k=u(R.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===m||(s?s(k,m):l(k[E])||d(k,E,x)),f(k,P,!0,!0),i&&(h[P]=x)),b&&g===w&&z&&z.name!==w&&(!i&&A?p(j,"name",w):(I=!0,D=function(){return o(z,this)})),g)if(O={values:T(w),keys:v?D:T(C),entries:T(_)},S)for(B in O)(y||I||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||I},O);return i&&!S||j[E]===D||d(j,E,D,{name:g}),h[n]=D,O}},7657:(e,n,t)=>{"use strict";var r,o,i,a=t(9039),l=t(4901),c=t(34),u=t(2360),s=t(2787),f=t(6840),p=t(8227),d=t(6395),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0),!c(r)||a((function(){var e={};return r[g].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[g])||f(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},6269:e=>{"use strict";e.exports={}},6198:(e,n,t)=>{"use strict";var r=t(8014);e.exports=function(e){return r(e.length)}},283:(e,n,t)=>{"use strict";var r=t(9504),o=t(9039),i=t(4901),a=t(9297),l=t(3724),c=t(350).CONFIGURABLE,u=t(3706),s=t(1181),f=s.enforce,p=s.get,d=String,g=Object.defineProperty,h=r("".slice),v=r("".replace),b=r([].join),A=l&&!o((function(){return 8!==g((function(){}),"length",{value:8}).length})),m=String(String).split("String"),y=e.exports=function(e,n,t){"Symbol("===h(d(n),0,7)&&(n="["+v(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||c&&e.name!==n)&&(l?g(e,"name",{value:n,configurable:!0}):e.name=n),A&&t&&a(t,"arity")&&e.length!==t.arity&&g(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?l&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),e};Function.prototype.toString=y((function(){return i(this)&&p(this).source||u(this)}),"toString")},741:e=>{"use strict";var n=Math.ceil,t=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?t:n)(r)}},5749:(e,n,t)=>{"use strict";var r=t(788),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},4213:(e,n,t)=>{"use strict";var r=t(3724),o=t(9504),i=t(9565),a=t(9039),l=t(1072),c=t(3717),u=t(8773),s=t(8981),f=t(7055),p=Object.assign,d=Object.defineProperty,g=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!==p({},e)[t]||l(p({},n)).join("")!==o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var h,v=f(arguments[a++]),b=p?g(l(v),p(v)):l(v),A=b.length,m=0;A>m;)h=b[m++],r&&!i(d,v,h)||(t[h]=v[h]);return t}:p},2360:(e,n,t)=>{"use strict";var r,o=t(8551),i=t(6801),a=t(8727),l=t(421),c=t(397),u=t(4055),s=t(6119),f="prototype",p="script",d=s("IE_PROTO"),g=function(){},h=function(e){return"<"+p+">"+e+""},v=function(e){e.write(h("")),e.close();var n=e.parentWindow.Object;return e=null,n},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,n,t;b="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),t="java"+p+":",n.style.display="none",c.appendChild(n),n.src=String(t),(e=n.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete b[f][a[o]];return b()};l[d]=!0,e.exports=Object.create||function(e,n){var t;return null!==e?(g[f]=o(e),t=new g,g[f]=null,t[d]=e):t=b(),void 0===n?t:i.f(t,n)}},6801:(e,n,t)=>{"use strict";var r=t(3724),o=t(8686),i=t(4913),a=t(8551),l=t(5397),c=t(1072);n.f=r&&!o?Object.defineProperties:function(e,n){a(e);for(var t,r=l(n),o=c(n),u=o.length,s=0;u>s;)i.f(e,t=o[s++],r[t]);return e}},4913:(e,n,t)=>{"use strict";var r=t(3724),o=t(5917),i=t(8686),a=t(8551),l=t(6969),c=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";n.f=r?i?function(e,n,t){if(a(e),n=l(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&d in t&&!t[d]){var r=s(e,n);r&&r[d]&&(e[n]=t.value,t={configurable:p in t?t[p]:r[p],enumerable:f in t?t[f]:r[f],writable:!1})}return u(e,n,t)}:u:function(e,n,t){if(a(e),n=l(n),a(t),o)try{return u(e,n,t)}catch(e){}if("get"in t||"set"in t)throw new c("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},7347:(e,n,t)=>{"use strict";var r=t(3724),o=t(9565),i=t(8773),a=t(6980),l=t(5397),c=t(6969),u=t(9297),s=t(5917),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,n){if(e=l(e),n=c(n),s)try{return f(e,n)}catch(e){}if(u(e,n))return a(!o(i.f,e,n),e[n])}},298:(e,n,t)=>{"use strict";var r=t(4576),o=t(5397),i=t(8480).f,a=t(7680),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return l&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(l)}}(e):i(o(e))}},8480:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,n)=>{"use strict";n.f=Object.getOwnPropertySymbols},2787:(e,n,t)=>{"use strict";var r=t(9297),o=t(4901),i=t(8981),a=t(6119),l=t(2211),c=a("IE_PROTO"),u=Object,s=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var n=i(e);if(r(n,c))return n[c];var t=n.constructor;return o(t)&&n instanceof t?t.prototype:n instanceof u?s:null}},4124:(e,n,t)=>{"use strict";var r=t(9039),o=t(34),i=t(4576),a=t(5652),l=Object.isExtensible,c=r((function(){l(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!l||l(e)))}:l},1625:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r({}.isPrototypeOf)},1828:(e,n,t)=>{"use strict";var r=t(9504),o=t(9297),i=t(5397),a=t(9617).indexOf,l=t(421),c=r([].push);e.exports=function(e,n){var t,r=i(e),u=0,s=[];for(t in r)!o(l,t)&&o(r,t)&&c(s,t);for(;n.length>u;)o(r,t=n[u++])&&(~a(s,t)||c(s,t));return s}},1072:(e,n,t)=>{"use strict";var r=t(1828),o=t(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,n)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!t.call({1:2},1);n.f=o?function(e){var n=r(this,e);return!!n&&n.enumerable}:t},2967:(e,n,t)=>{"use strict";var r=t(6706),o=t(34),i=t(7750),a=t(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),n=t instanceof Array}catch(e){}return function(t,r){return i(t),a(r),o(t)?(n?e(t,r):t.__proto__=r,t):t}}():void 0)},2357:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039),i=t(9504),a=t(2787),l=t(1072),c=t(5397),u=i(t(8773).f),s=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(n){for(var t,o=c(n),i=l(o),p=f&&null===a(o),d=i.length,g=0,h=[];d>g;)t=i[g++],r&&!(p?t in o:u(o,t))||s(h,e?[t,o[t]]:o[t]);return h}};e.exports={entries:p(!0),values:p(!1)}},3179:(e,n,t)=>{"use strict";var r=t(2140),o=t(6955);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(e,n,t)=>{"use strict";var r=t(9565),o=t(4901),i=t(34),a=TypeError;e.exports=function(e,n){var t,l;if("string"===n&&o(t=e.toString)&&!i(l=r(t,e)))return l;if(o(t=e.valueOf)&&!i(l=r(t,e)))return l;if("string"!==n&&o(t=e.toString)&&!i(l=r(t,e)))return l;throw new a("Can't convert object to primitive value")}},5031:(e,n,t)=>{"use strict";var r=t(7751),o=t(9504),i=t(8480),a=t(3717),l=t(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var n=i.f(l(e)),t=a.f;return t?c(n,t(e)):n}},9167:(e,n,t)=>{"use strict";var r=t(4475);e.exports=r},6682:(e,n,t)=>{"use strict";var r=t(9565),o=t(8551),i=t(4901),a=t(4576),l=t(7323),c=TypeError;e.exports=function(e,n){var t=e.exec;if(i(t)){var u=r(t,e,n);return null!==u&&o(u),u}if("RegExp"===a(e))return r(l,e,n);throw new c("RegExp#exec called on incompatible receiver")}},7323:(e,n,t)=>{"use strict";var r,o,i=t(9565),a=t(9504),l=t(655),c=t(7979),u=t(8429),s=t(5745),f=t(2360),p=t(1181).get,d=t(3635),g=t(8814),h=s("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,b=v,A=a("".charAt),m=a("".indexOf),y=a("".replace),E=a("".slice),C=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),w=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(C||_||w||d||g)&&(b=function(e){var n,t,r,o,a,u,s,d=this,g=p(d),x=l(e),S=g.raw;if(S)return S.lastIndex=d.lastIndex,n=i(b,S,x),d.lastIndex=S.lastIndex,n;var k=g.groups,O=w&&d.sticky,B=i(c,d),T=d.source,P=0,I=x;if(O&&(B=y(B,"y",""),-1===m(B,"g")&&(B+="g"),I=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A(x,d.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,P++),t=new RegExp("^(?:"+T+")",B)),_&&(t=new RegExp("^"+T+"$(?!\\s)",B)),C&&(r=d.lastIndex),o=i(v,O?t:d,I),O?o?(o.input=E(o.input,P),o[0]=E(o[0],P),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:C&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),_&&o&&o.length>1&&i(h,o[0],t,(function(){for(a=1;a{"use strict";var r=t(8551);e.exports=function(){var e=r(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}},1034:(e,n,t)=>{"use strict";var r=t(9565),o=t(9297),i=t(1625),a=t(7979),l=RegExp.prototype;e.exports=function(e){var n=e.flags;return void 0!==n||"flags"in l||o(e,"flags")||!i(l,e)?n:r(a,e)}},8429:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),l=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,n,t)=>{"use strict";var r=t(9039),o=t(4475).RegExp;e.exports=r((function(){var e=o("(?
b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,n,t)=>{"use strict";var r=t(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},9472:(e,n,t)=>{"use strict";var r,o=t(4475),i=t(8745),a=t(4901),l=t(6763),c=t(9392),u=t(7680),s=t(2812),f=o.Function,p=/MSIE .\./.test(c)||l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,n){var t=n?2:1;return p?function(r,o){var l=s(arguments.length,1)>t,c=a(r)?r:f(r),p=l?u(arguments,t):[],d=l?function(){i(c,this,p)}:c;return n?e(d,o):e(d)}:e}},7633:(e,n,t)=>{"use strict";var r=t(7751),o=t(2106),i=t(8227),a=t(3724),l=i("species");e.exports=function(e){var n=r(e);a&&n&&!n[l]&&o(n,l,{configurable:!0,get:function(){return this}})}},687:(e,n,t)=>{"use strict";var r=t(4913).f,o=t(9297),i=t(8227)("toStringTag");e.exports=function(e,n,t){e&&!t&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:n})}},6119:(e,n,t)=>{"use strict";var r=t(5745),o=t(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,n,t)=>{"use strict";var r=t(6395),o=t(4475),i=t(9433),a="__core-js_shared__",l=e.exports=o[a]||i(a,{});(l.versions||(l.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,n,t)=>{"use strict";var r=t(7629);e.exports=function(e,n){return r[e]||(r[e]=n||{})}},2293:(e,n,t)=>{"use strict";var r=t(8551),o=t(5548),i=t(4117),a=t(8227)("species");e.exports=function(e,n){var t,l=r(e).constructor;return void 0===l||i(t=r(l)[a])?n:o(t)}},3061:(e,n,t)=>{"use strict";var r=t(9039);e.exports=function(e){return r((function(){var n=""[e]('"');return n!==n.toLowerCase()||n.split('"').length>3}))}},8183:(e,n,t)=>{"use strict";var r=t(9504),o=t(1291),i=t(655),a=t(7750),l=r("".charAt),c=r("".charCodeAt),u=r("".slice),s=function(e){return function(n,t){var r,s,f=i(a(n)),p=o(t),d=f.length;return p<0||p>=d?e?"":void 0:(r=c(f,p))<55296||r>56319||p+1===d||(s=c(f,p+1))<56320||s>57343?e?l(f,p):r:e?u(f,p,p+2):s-56320+(r-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},706:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(9039),i=t(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,n,t)=>{"use strict";var r=t(9504),o=t(7750),i=t(655),a=t(7452),l=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),s=function(e){return function(n){var t=i(o(n));return 1&e&&(t=l(t,c,"")),2&e&&(t=l(t,u,"$1")),t}};e.exports={start:s(1),end:s(2),trim:s(3)}},4495:(e,n,t)=>{"use strict";var r=t(7388),o=t(9039),i=t(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,n,t)=>{"use strict";var r=t(9565),o=t(7751),i=t(8227),a=t(6840);e.exports=function(){var e=o("Symbol"),n=e&&e.prototype,t=n&&n.valueOf,l=i("toPrimitive");n&&!n[l]&&a(n,l,(function(e){return r(t,this)}),{arity:1})}},1296:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},1240:(e,n,t)=>{"use strict";var r=t(9504);e.exports=r(1..valueOf)},5610:(e,n,t)=>{"use strict";var r=t(1291),o=Math.max,i=Math.min;e.exports=function(e,n){var t=r(e);return t<0?o(t+n,0):i(t,n)}},5397:(e,n,t)=>{"use strict";var r=t(7055),o=t(7750);e.exports=function(e){return r(o(e))}},1291:(e,n,t)=>{"use strict";var r=t(741);e.exports=function(e){var n=+e;return n!=n||0===n?0:r(n)}},8014:(e,n,t)=>{"use strict";var r=t(1291),o=Math.min;e.exports=function(e){var n=r(e);return n>0?o(n,9007199254740991):0}},8981:(e,n,t)=>{"use strict";var r=t(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,n,t)=>{"use strict";var r=t(9565),o=t(34),i=t(757),a=t(5966),l=t(4270),c=t(8227),u=TypeError,s=c("toPrimitive");e.exports=function(e,n){if(!o(e)||i(e))return e;var t,c=a(e,s);if(c){if(void 0===n&&(n="default"),t=r(c,e,n),!o(t)||i(t))return t;throw new u("Can't convert object to primitive value")}return void 0===n&&(n="number"),l(e,n)}},6969:(e,n,t)=>{"use strict";var r=t(2777),o=t(757);e.exports=function(e){var n=r(e,"string");return o(n)?n:n+""}},2140:(e,n,t)=>{"use strict";var r={};r[t(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,n,t)=>{"use strict";var r=t(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},3392:(e,n,t)=>{"use strict";var r=t(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7040:(e,n,t)=>{"use strict";var r=t(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,n,t)=>{"use strict";var r=t(3724),o=t(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var n=TypeError;e.exports=function(e,t){if(e{"use strict";var r=t(4475),o=t(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},511:(e,n,t)=>{"use strict";var r=t(9167),o=t(9297),i=t(1951),a=t(4913).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},1951:(e,n,t)=>{"use strict";var r=t(8227);n.f=r},8227:(e,n,t)=>{"use strict";var r=t(4475),o=t(5745),i=t(9297),a=t(3392),l=t(4495),c=t(7040),u=r.Symbol,s=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(s,e)||(s[e]=l&&i(u,e)?u[e]:f("Symbol."+e)),s[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8706:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(4376),a=t(34),l=t(8981),c=t(6198),u=t(6837),s=t(4659),f=t(1469),p=t(597),d=t(8227),g=t(7388),h=d("isConcatSpreadable"),v=g>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var n=e[h];return void 0!==n?!!n:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var n,t,r,o,i,a=l(this),p=f(a,0),d=0;for(n=-1,r=arguments.length;n{"use strict";var r=t(6518),o=t(9213).every;r({target:"Array",proto:!0,forced:!t(4598)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2008:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).filter;r({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},8980:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).findIndex,i=t(6469),a="findIndex",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},113:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).find,i=t(6469),a="find",l=!0;a in[]&&Array(1)[a]((function(){l=!1})),r({target:"Array",proto:!0,forced:l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},1629:(e,n,t)=>{"use strict";var r=t(6518),o=t(235);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},3418:(e,n,t)=>{"use strict";var r=t(6518),o=t(7916);r({target:"Array",stat:!0,forced:!t(4428)((function(e){Array.from(e)}))},{from:o})},4423:(e,n,t)=>{"use strict";var r=t(6518),o=t(9617).includes,i=t(9039),a=t(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(e,n,t)=>{"use strict";var r=t(6518),o=t(7476),i=t(9617).indexOf,a=t(4598),l=o([].indexOf),c=!!l&&1/l([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var n=arguments.length>1?arguments[1]:void 0;return c?l(this,e,n)||0:i(this,e,n)}})},4346:(e,n,t)=>{"use strict";t(6518)({target:"Array",stat:!0},{isArray:t(4376)})},3792:(e,n,t)=>{"use strict";var r=t(5397),o=t(6469),i=t(6269),a=t(1181),l=t(4913).f,c=t(1088),u=t(2529),s=t(6395),f=t(3724),p="Array Iterator",d=a.set,g=a.getterFor(p);e.exports=c(Array,"Array",(function(e,n){d(this,{type:p,target:r(e),index:0,kind:n})}),(function(){var e=g(this),n=e.target,t=e.index++;if(!n||t>=n.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(t,!1);case"values":return u(n[t],!1)}return u([t,n[t]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!s&&f&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},8598:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(7055),a=t(5397),l=t(4598),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!l("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},2062:(e,n,t)=>{"use strict";var r=t(6518),o=t(9213).map;r({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2712:(e,n,t)=>{"use strict";var r=t(6518),o=t(926).left,i=t(4598),a=t(7388);r({target:"Array",proto:!0,forced:!t(9088)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var n=arguments.length;return o(this,e,n,n>1?arguments[1]:void 0)}})},4782:(e,n,t)=>{"use strict";var r=t(6518),o=t(4376),i=t(3517),a=t(34),l=t(5610),c=t(6198),u=t(5397),s=t(4659),f=t(8227),p=t(597),d=t(7680),g=p("slice"),h=f("species"),v=Array,b=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(e,n){var t,r,f,p=u(this),g=c(p),A=l(e,g),m=l(void 0===n?g:n,g);if(o(p)&&(t=p.constructor,(i(t)&&(t===v||o(t.prototype))||a(t)&&null===(t=t[h]))&&(t=void 0),t===v||void 0===t))return d(p,A,m);for(r=new(void 0===t?v:t)(b(m-A,0)),f=0;A{"use strict";var r=t(6518),o=t(9213).some;r({target:"Array",proto:!0,forced:!t(4598)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},6910:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(9306),a=t(8981),l=t(6198),c=t(4606),u=t(655),s=t(9039),f=t(4488),p=t(4598),d=t(8834),g=t(3202),h=t(7388),v=t(9160),b=[],A=o(b.sort),m=o(b.push),y=s((function(){b.sort(void 0)})),E=s((function(){b.sort(null)})),C=p("sort"),w=!s((function(){if(h)return h<70;if(!(d&&d>3)){if(g)return!0;if(v)return v<603;var e,n,t,r,o="";for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(r=0;r<47;r++)b.push({k:n+r,v:t})}for(b.sort((function(e,n){return n.v-e.v})),r=0;ru(t)?1:-1}}(e)),t=l(o),r=0;r{"use strict";var r=t(6518),o=t(8981),i=t(5610),a=t(1291),l=t(6198),c=t(4527),u=t(6837),s=t(1469),f=t(4659),p=t(4606),d=t(597)("splice"),g=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,n){var t,r,d,v,b,A,m=o(this),y=l(m),E=i(e,y),C=arguments.length;for(0===C?t=r=0:1===C?(t=0,r=y-E):(t=C-2,r=h(g(a(n),0),y-E)),u(y+t-r),d=s(m,r),v=0;vy-r+t;v--)p(m,v-1)}else if(t>r)for(v=y-r;v>E;v--)A=v+t-1,(b=v+r-1)in m?m[A]=m[b]:p(m,A);for(v=0;v{"use strict";var r=t(6518),o=t(9504),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},739:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2777);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var n=i(this),t=a(n,"number");return"number"!=typeof t||isFinite(t)?n.toISOString():null}})},9572:(e,n,t)=>{"use strict";var r=t(9297),o=t(6840),i=t(3640),a=t(8227)("toPrimitive"),l=Date.prototype;r(l,a)||o(l,a,i)},3288:(e,n,t)=>{"use strict";var r=t(9504),o=t(6840),i=Date.prototype,a="Invalid Date",l="toString",c=r(i[l]),u=r(i.getTime);String(new Date(NaN))!==a&&o(i,l,(function(){var e=u(this);return e==e?c(this):a}))},4170:(e,n,t)=>{"use strict";var r=t(6518),o=t(566);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},2010:(e,n,t)=>{"use strict";var r=t(3724),o=t(350).EXISTS,i=t(9504),a=t(2106),l=Function.prototype,c=i(l.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(u.exec);r&&!o&&a(l,"name",{configurable:!0,get:function(){try{return s(u,c(this))[1]}catch(e){return""}}})},3110:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(9565),l=t(9504),c=t(9039),u=t(4901),s=t(757),f=t(7680),p=t(6933),d=t(4495),g=String,h=o("JSON","stringify"),v=l(/./.exec),b=l("".charAt),A=l("".charCodeAt),m=l("".replace),y=l(1..toString),E=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),S=function(e,n){var t=f(arguments),r=p(n);if(u(r)||void 0!==e&&!s(e))return t[1]=function(e,n){if(u(r)&&(n=a(r,this,g(e),n)),!s(n))return n},i(h,null,t)},k=function(e,n,t){var r=b(t,n-1),o=b(t,n+1);return v(C,e)&&!v(w,o)||v(w,e)&&!v(C,r)?"\\u"+y(A(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:_||x},{stringify:function(e,n,t){var r=f(arguments),o=i(_?S:h,null,r);return x&&"string"==typeof o?m(o,E,k):o}})},8523:(e,n,t)=>{"use strict";t(6468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},6033:(e,n,t)=>{"use strict";t(8523)},2152:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,n){var t=65535,r=+e,o=+n,i=t&r,a=t&o;return 0|i*a+((t&r>>>16)*a+i*(t&o>>>16)<<16>>>0)}})},2892:(e,n,t)=>{"use strict";var r=t(6518),o=t(6395),i=t(3724),a=t(4475),l=t(9167),c=t(9504),u=t(2796),s=t(9297),f=t(3167),p=t(1625),d=t(757),g=t(2777),h=t(9039),v=t(8480).f,b=t(7347).f,A=t(4913).f,m=t(1240),y=t(3802).trim,E="Number",C=a[E],w=l[E],_=C.prototype,x=a.TypeError,S=c("".slice),k=c("".charCodeAt),O=function(e){var n,t,r,o,i,a,l,c,u=g(e,"number");if(d(u))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(n=k(u,0))||45===n){if(88===(t=k(u,2))||120===t)return NaN}else if(48===n){switch(k(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,l=0;lo)return NaN;return parseInt(i,r)}return+u},B=u(E,!C(" 0o1")||!C("0b1")||C("+0x1")),T=function(e){var n,t=arguments.length<1?0:C(function(e){var n=g(e,"number");return"bigint"==typeof n?n:O(n)}(e));return p(_,n=this)&&h((function(){m(n)}))?f(Object(t),this,T):t};T.prototype=_,B&&!o&&(_.constructor=T),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:T});var P=function(e,n){for(var t,r=i?v(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)s(n,t=r[o])&&!s(e,t)&&A(e,t,b(n,t))};o&&w&&P(l[E],w),(B||o)&&P(l[E],C)},9085:(e,n,t)=>{"use strict";var r=t(6518),o=t(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9904:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0,sham:!t(3724)},{create:t(2360)})},7945:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},4185:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},3851:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(5397),a=t(7347).f,l=t(3724);r({target:"Object",stat:!0,forced:!l||o((function(){a(1)})),sham:!l},{getOwnPropertyDescriptor:function(e,n){return a(i(e),n)}})},1278:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(5031),a=t(5397),l=t(7347),c=t(4659);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var n,t,r=a(e),o=l.f,u=i(r),s={},f=0;u.length>f;)void 0!==(t=o(r,n=u[f++]))&&c(s,n,t);return s}})},9773:(e,n,t)=>{"use strict";var r=t(6518),o=t(4495),i=t(9039),a=t(3717),l=t(8981);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var n=a.f;return n?n(l(e)):[]}})},875:(e,n,t)=>{"use strict";var r=t(6518),o=t(9039),i=t(8981),a=t(2787),l=t(2211);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!l},{getPrototypeOf:function(e){return a(i(e))}})},9432:(e,n,t)=>{"use strict";var r=t(6518),o=t(8981),i=t(1072);r({target:"Object",stat:!0,forced:t(9039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},287:(e,n,t)=>{"use strict";t(6518)({target:"Object",stat:!0},{setPrototypeOf:t(2967)})},6099:(e,n,t)=>{"use strict";var r=t(2140),o=t(6840),i=t(3179);r||o(Object.prototype,"toString",i,{unsafe:!0})},6034:(e,n,t)=>{"use strict";var r=t(6518),o=t(2357).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},825:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(8745),a=t(566),l=t(5548),c=t(8551),u=t(34),s=t(2360),f=t(9039),p=o("Reflect","construct"),d=Object.prototype,g=[].push,h=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),b=h||v;r({target:"Reflect",stat:!0,forced:b,sham:b},{construct:function(e,n){l(e),c(n);var t=arguments.length<3?e:l(arguments[2]);if(v&&!h)return p(e,n,t);if(e===t){switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3])}var r=[null];return i(g,r,n),new(i(a,e,r))}var o=t.prototype,f=s(u(o)?o:d),b=i(e,f,n);return u(b)?b:f}})},7495:(e,n,t)=>{"use strict";var r=t(6518),o=t(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8781:(e,n,t)=>{"use strict";var r=t(350).PROPER,o=t(6840),i=t(8551),a=t(655),l=t(9039),c=t(1034),u="toString",s=RegExp.prototype,f=s[u],p=l((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(s,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},2405:(e,n,t)=>{"use strict";t(6468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),t(6938))},1415:(e,n,t)=>{"use strict";t(2405)},9907:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},1699:(e,n,t)=>{"use strict";var r=t(6518),o=t(9504),i=t(5749),a=t(7750),l=t(655),c=t(1436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(l(a(this)),l(i(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,n,t)=>{"use strict";var r=t(8183).charAt,o=t(655),i=t(1181),a=t(1088),l=t(2529),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?l(void 0,!0):(e=r(t,o),n.index+=e.length,l(e,!1))}))},778:(e,n,t)=>{"use strict";var r=t(6518),o=t(7240);r({target:"String",proto:!0,forced:t(3061)("link")},{link:function(e){return o(this,"a","href",e)}})},1761:(e,n,t)=>{"use strict";var r=t(9565),o=t(9228),i=t(8551),a=t(4117),l=t(8014),c=t(655),u=t(7750),s=t(5966),f=t(7829),p=t(6682);o("match",(function(e,n,t){return[function(n){var t=u(this),o=a(n)?void 0:s(n,e);return o?r(o,n,t):new RegExp(n)[e](c(t))},function(e){var r=i(this),o=c(e),a=t(n,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;for(var s,d=[],g=0;null!==(s=p(r,o));){var h=c(s[0]);d[g]=h,""===h&&(r.lastIndex=f(o,l(r.lastIndex),u)),g++}return 0===g?null:d}]}))},5440:(e,n,t)=>{"use strict";var r=t(8745),o=t(9565),i=t(9504),a=t(9228),l=t(9039),c=t(8551),u=t(4901),s=t(4117),f=t(1291),p=t(8014),d=t(655),g=t(7750),h=t(7829),v=t(5966),b=t(2478),A=t(6682),m=t(8227)("replace"),y=Math.max,E=Math.min,C=i([].concat),w=i([].push),_=i("".indexOf),x=i("".slice),S="$0"==="a".replace(/./,"$0"),k=!!/./[m]&&""===/./[m]("a","$0");a("replace",(function(e,n,t){var i=k?"$":"$0";return[function(e,t){var r=g(this),i=s(e)?void 0:v(e,m);return i?o(i,e,r,t):o(n,d(r),e,t)},function(e,o){var a=c(this),l=d(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var s=t(n,a,l,o);if(s.done)return s.value}var g=u(o);g||(o=d(o));var v,m=a.global;m&&(v=a.unicode,a.lastIndex=0);for(var S,k=[];null!==(S=A(a,l))&&(w(k,S),m);){""===d(S[0])&&(a.lastIndex=h(l,p(a.lastIndex),v))}for(var O,B="",T=0,P=0;P=T&&(B+=x(l,T,z)+I,T=z+j.length)}return B+x(l,T)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!S||k)},744:(e,n,t)=>{"use strict";var r=t(9565),o=t(9504),i=t(9228),a=t(8551),l=t(4117),c=t(7750),u=t(2293),s=t(7829),f=t(8014),p=t(655),d=t(5966),g=t(6682),h=t(8429),v=t(9039),b=h.UNSUPPORTED_Y,A=Math.min,m=o([].push),y=o("".slice),E=!v((function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),C="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,n,t){var o="0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(n,this,e,t)}:n;return[function(n,t){var i=c(this),a=l(n)?void 0:d(n,e);return a?r(a,n,i,t):r(o,p(i),n,t)},function(e,r){var i=a(this),l=p(e);if(!C){var c=t(o,i,l,r,o!==n);if(c.done)return c.value}var d=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),E=new d(b?"^(?:"+i.source+")":i,v),w=void 0===r?4294967295:r>>>0;if(0===w)return[];if(0===l.length)return null===g(E,l)?[l]:[];for(var _=0,x=0,S=[];x{"use strict";var r,o=t(6518),i=t(7476),a=t(7347).f,l=t(8014),c=t(655),u=t(5749),s=t(7750),f=t(1436),p=t(6395),d=i("".slice),g=Math.min,h=f("startsWith");o({target:"String",proto:!0,forced:!!(p||h||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var n=c(s(this));u(e);var t=l(g(arguments.length>1?arguments[1]:void 0,n.length)),r=c(e);return d(n,t,t+r.length)===r}})},2762:(e,n,t)=>{"use strict";var r=t(6518),o=t(3802).trim;r({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return o(this)}})},6761:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9565),a=t(9504),l=t(6395),c=t(3724),u=t(4495),s=t(9039),f=t(9297),p=t(1625),d=t(8551),g=t(5397),h=t(6969),v=t(655),b=t(6980),A=t(2360),m=t(1072),y=t(8480),E=t(298),C=t(3717),w=t(7347),_=t(4913),x=t(6801),S=t(8773),k=t(6840),O=t(2106),B=t(5745),T=t(6119),P=t(421),I=t(3392),j=t(8227),z=t(1951),D=t(511),R=t(8242),M=t(687),N=t(1181),F=t(9213).forEach,L=T("hidden"),U="Symbol",H="prototype",W=N.set,G=N.getterFor(U),Y=Object[H],q=o.Symbol,V=q&&q[H],$=o.RangeError,K=o.TypeError,Q=o.QObject,X=w.f,Z=_.f,J=E.f,ee=S.f,ne=a([].push),te=B("symbols"),re=B("op-symbols"),oe=B("wks"),ie=!Q||!Q[H]||!Q[H].findChild,ae=function(e,n,t){var r=X(Y,n);r&&delete Y[n],Z(e,n,t),r&&e!==Y&&Z(Y,n,r)},le=c&&s((function(){return 7!==A(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,ce=function(e,n){var t=te[e]=A(V);return W(t,{type:U,tag:e,description:n}),c||(t.description=n),t},ue=function(e,n,t){e===Y&&ue(re,n,t),d(e);var r=h(n);return d(t),f(te,r)?(t.enumerable?(f(e,L)&&e[L][r]&&(e[L][r]=!1),t=A(t,{enumerable:b(0,!1)})):(f(e,L)||Z(e,L,b(1,A(null))),e[L][r]=!0),le(e,r,t)):Z(e,r,t)},se=function(e,n){d(e);var t=g(n),r=m(t).concat(ge(t));return F(r,(function(n){c&&!i(fe,t,n)||ue(e,n,t[n])})),e},fe=function(e){var n=h(e),t=i(ee,this,n);return!(this===Y&&f(te,n)&&!f(re,n))&&(!(t||!f(this,n)||!f(te,n)||f(this,L)&&this[L][n])||t)},pe=function(e,n){var t=g(e),r=h(n);if(t!==Y||!f(te,r)||f(re,r)){var o=X(t,r);return!o||!f(te,r)||f(t,L)&&t[L][r]||(o.enumerable=!0),o}},de=function(e){var n=J(g(e)),t=[];return F(n,(function(e){f(te,e)||f(P,e)||ne(t,e)})),t},ge=function(e){var n=e===Y,t=J(n?re:g(e)),r=[];return F(t,(function(e){!f(te,e)||n&&!f(Y,e)||ne(r,te[e])})),r};u||(k(V=(q=function(){if(p(V,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,n=I(e),t=function(e){var r=void 0===this?o:this;r===Y&&i(t,re,e),f(r,L)&&f(r[L],n)&&(r[L][n]=!1);var a=b(1,e);try{le(r,n,a)}catch(e){if(!(e instanceof $))throw e;ae(r,n,a)}};return c&&ie&&le(Y,n,{configurable:!0,set:t}),ce(n,e)})[H],"toString",(function(){return G(this).tag})),k(q,"withoutSetter",(function(e){return ce(I(e),e)})),S.f=fe,_.f=ue,x.f=se,w.f=pe,y.f=E.f=de,C.f=ge,z.f=function(e){return ce(j(e),e)},c&&(O(V,"description",{configurable:!0,get:function(){return G(this).description}}),l||k(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),F(m(oe),(function(e){D(e)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,n){return void 0===n?A(e):se(A(e),n)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),M(q,U),P[L]=!0},9463:(e,n,t)=>{"use strict";var r=t(6518),o=t(3724),i=t(4475),a=t(9504),l=t(9297),c=t(4901),u=t(1625),s=t(655),f=t(2106),p=t(7740),d=i.Symbol,g=d&&d.prototype;if(o&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:s(arguments[0]),n=u(g,this)?new d(e):void 0===e?d():d(e);return""===e&&(h[n]=!0),n};p(v,d),v.prototype=g,g.constructor=v;var b="Symbol(description detection)"===String(d("description detection")),A=a(g.valueOf),m=a(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),C=a("".slice);f(g,"description",{configurable:!0,get:function(){var e=A(this);if(l(h,e))return"";var n=m(e),t=b?C(n,7,-1):E(n,y,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,n,t)=>{"use strict";var r=t(6518),o=t(7751),i=t(9297),a=t(655),l=t(5745),c=t(1296),u=l("string-to-symbol-registry"),s=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var n=a(e);if(i(u,n))return u[n];var t=o("Symbol")(n);return u[n]=t,s[t]=n,t}})},2259:(e,n,t)=>{"use strict";t(511)("iterator")},2675:(e,n,t)=>{"use strict";t(6761),t(1510),t(7812),t(3110),t(9773)},7812:(e,n,t)=>{"use strict";var r=t(6518),o=t(9297),i=t(757),a=t(6823),l=t(5745),c=t(1296),u=l("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},5700:(e,n,t)=>{"use strict";var r=t(511),o=t(8242);r("toPrimitive"),o()},5746:(e,n,t)=>{"use strict";var r,o=t(2744),i=t(4475),a=t(9504),l=t(6279),c=t(3451),u=t(6468),s=t(4006),f=t(34),p=t(1181).enforce,d=t(9039),g=t(8622),h=Object,v=Array.isArray,b=h.isExtensible,A=h.isFrozen,m=h.isSealed,y=h.freeze,E=h.seal,C=!i.ActiveXObject&&"ActiveXObject"in i,w=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",w,s),x=_.prototype,S=a(x.set);if(g)if(C){r=s.getConstructor(w,"WeakMap",!0),c.enable();var k=a(x.delete),O=a(x.has),B=a(x.get);l(x,{delete:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),k(this,e)||n.frozen.delete(e)}return k(this,e)},has:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(f(e)&&!b(e)){var n=p(this);return n.frozen||(n.frozen=new r),O(this,e)?B(this,e):n.frozen.get(e)}return B(this,e)},set:function(e,n){if(f(e)&&!b(e)){var t=p(this);t.frozen||(t.frozen=new r),O(this,e)?S(this,e,n):t.frozen.set(e,n)}else S(this,e,n);return this}})}else o&&d((function(){var e=y([]);return S(new _,e,1),!A(e)}))&&l(x,{set:function(e,n){var t;return v(e)&&(A(e)?t=y:m(e)&&(t=E)),S(this,e,n),t&&t(e),this}})},3772:(e,n,t)=>{"use strict";t(5746)},3500:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(235),l=t(6699),c=function(e){if(e&&e.forEach!==a)try{l(e,"forEach",a)}catch(n){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},2953:(e,n,t)=>{"use strict";var r=t(4475),o=t(7400),i=t(9296),a=t(3792),l=t(6699),c=t(687),u=t(8227)("iterator"),s=a.values,f=function(e,n){if(e){if(e[u]!==s)try{l(e,u,s)}catch(n){e[u]=s}if(c(e,n,!0),o[n])for(var t in a)if(e[t]!==a[t])try{l(e,t,a[t])}catch(n){e[t]=a[t]}}};for(var p in o)f(r[p]&&r[p].prototype,p);f(i,"DOMTokenList")},5575:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},4599:(e,n,t)=>{"use strict";var r=t(6518),o=t(4475),i=t(9472)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},6031:(e,n,t)=>{"use strict";t(5575),t(4599)},4552:(e,n,t)=>{"use strict";var r=t(7244),o=t(1820);if(t(4039)()||t(1333)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var a=t(4634),l=t(4761),c=t(453),u=c("%Map%",!0),s=c("%Set%",!0),f=t(8075),p=f("Array.prototype.push"),d=f("String.prototype.charCodeAt"),g=f("String.prototype.slice"),h=function(e){var n=0;return{next:function(){var t,r=n>=e.length;return r||(t=e[n],n+=1),{done:r,value:t}}}},v=function(e,n){if(a(e)||r(e))return h(e);if(l(e)){var t=0;return{next:function(){var n=function(e,n){if(n+1>=e.length)return n+1;var t=d(e,n);if(t<55296||t>56319)return n+1;var r=d(e,n+1);return r<56320||r>57343?n+1:n+2}(e,t),r=g(e,t,n);return t=n,{done:n>e.length,value:r}}}}return n&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||s){var b=t(1421),A=t(256),m=f("Map.prototype.forEach",!0),y=f("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var E=f("Map.prototype.iterator",!0),C=f("Set.prototype.iterator",!0);var w=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),_=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(b(e)){if(E)return o(E(e));if(w)return w(e);if(m){var n=[];return m(e,(function(e,t){p(n,[t,e])})),h(n)}}if(A(e)){if(C)return o(C(e));if(_)return _(e);if(y){var t=[];return y(e,(function(e){p(t,e)})),h(t)}}}(e)||v(e)}}else e.exports=function(e){if(null!=e)return v(e,!0)}}}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.nc=void 0,(()=>{"use strict";var e=t(4848),n=t(6540),r=t(961),o=(t(2675),t(9463),t(2259),t(5700),t(8706),t(2008),t(113),t(8980),t(1629),t(4423),t(3792),t(8598),t(2062),t(5086),t(739),t(9085),t(7945),t(3851),t(1278),t(9432),t(6099),t(9572),t(4170),t(2892),t(9904),t(4185),t(875),t(287),t(825),t(1699),t(7764),t(3500),t(2953),t(5556)),i=t.n(o),a=t(6942),l=t.n(a);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&c===l&&u())}var w=function(){function e(n){var t=n.cellCount,r=n.cellSizeGetter,o=n.estimatedCellSize;u(this,e),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=o}return d(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var n=e.cellCount,t=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=n,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var n=this.getSizeAndPositionOfLastMeasuredCell(),t=n.offset+n.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:t,size:o},t+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),c=l.offset,u=c-r+l.size;switch(t){case"start":a=c;break;case"end":a=u;break;case"center":a=c-(r-l.size)/2;break;default:a=Math.max(u,Math.min(c,o))}var s=this.getTotalSize();return Math.max(0,Math.min(s-r,a))}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;if(0===this.getTotalSize())return{};var r=t+n,o=this._findNearestCell(t),i=this.getSizeAndPositionOfCell(o);t=i.offset+i.size;for(var a=o;tt&&(e=r-1)}return n>0?n-1:0}},{key:"_exponentialSearch",value:function(e,n){for(var t=1;e=e?this._binarySearch(t,0,e):this._exponentialSearch(t,e)}}]),e}(),_=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},x=function(){function e(n){var t=n.maxScrollSize,r=void 0===t?_():t,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;rthis._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var n=e.align,t=void 0===n?"auto":n,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var n=e.containerSize,t=e.offset;return t=this._safeOffsetToOffset({containerSize:n,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:n,offset:t})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var n=e.containerSize,t=e.offset,r=e.totalSize;return r<=n?0:t/(r-n)}},{key:"_offsetToSafeOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:r});return Math.round(i*(o-n))}},{key:"_safeOffsetToOffset",value:function(e){var n=e.containerSize,t=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return t;var i=this._getOffsetPercentage({containerSize:n,offset:t,totalSize:o});return Math.round(i*(r-n))}}]),e}();function S(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n={};return function(t){var r=t.callback,o=t.indices,i=Object.keys(o),a=!e||i.every((function(e){var n=o[e];return Array.isArray(n)?n.length>0:n>=0})),l=i.length!==Object.keys(n).length||i.some((function(e){var t=n[e],r=o[e];return Array.isArray(r)?t.join(",")!==r.join(","):t!==r}));n=o,a&&l&&r(o)}}function k(e){var n=e.cellSize,t=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,c=e.scrollOffset,u=e.scrollToAlignment,s=e.scrollToIndex,f=e.size,p=e.sizeJustIncreasedFromZero,d=e.updateScrollIndexCallback,g=t.getCellCount(),h=s>=0&&s0&&(ft.getTotalSize()-f&&d(g-1)}const O=!("undefined"==typeof window||!window.document||!window.document.createElement);var B,T;function P(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function I(e){this.setState(function(n){var t=this.constructor.getDerivedStateFromProps(e,n);return null!=t?t:null}.bind(this))}function j(e,n){try{var t=this.props,r=this.state;this.props=e,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}P.__suppressDeprecationWarning=!0,I.__suppressDeprecationWarning=!0,j.__suppressDeprecationWarning=!0;var z,D,R=(T="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||T.webkitRequestAnimationFrame||T.mozRequestAnimationFrame||T.oRequestAnimationFrame||T.msRequestAnimationFrame||function(e){return T.setTimeout(e,1e3/60)},M=T.cancelAnimationFrame||T.webkitCancelAnimationFrame||T.mozCancelAnimationFrame||T.oCancelAnimationFrame||T.msCancelAnimationFrame||function(e){T.clearTimeout(e)},N=R,F=M,L=function(e){return F(e.id)},U=function(e,n){var t;Promise.resolve().then((function(){t=Date.now()}));var r={id:N((function o(){Date.now()-t>=n?e.call():r.id=N(o)}))};return r};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return A(t,e),d(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alignment,t=void 0===n?this.props.scrollToAlignment:n,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=W({},this.props,{scrollToAlignment:t,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var n=e.scrollLeft,t=void 0===n?0:n,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,c=i.height,u=i.width,s=this.state.instanceProps,f=s.scrollbarSize,p=s.rowSizeAndPositionManager.getTotalSize(),d=s.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,d-u+f),t),h=Math.min(Math.max(0,p-c+f),o);if(this.state.scrollLeft!==g||this.state.scrollTop!==h){var v={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:h!==this.state.scrollTop?h>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:G};a||(v.scrollTop=h),l||(v.scrollLeft=g),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:h,totalColumnsWidth:d,totalRowsHeight:p})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var n=e.columnIndex,t=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,t):t}},{key:"measureAllCells",value:function(){var e=this.props,n=e.columnCount,t=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(n-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(t-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(t),c.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?t<=a:t>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var n=e.columnIndex,t=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==n&&this._updateScrollLeftForScrollToColumn(W({},o,{scrollToColumn:n})),void 0!==t&&this._updateScrollTopForScrollToRow(W({},o,{scrollToRow:t}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,c=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(e){var t=W({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var s=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});s&&(s.needToResetStyleCache=!1,this.setState(s))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&c>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),l>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,n){var t=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,c=r.rowCount,u=r.scrollToAlignment,s=r.scrollToColumn,f=r.scrollToRow,p=r.width,d=this.state,g=d.scrollLeft,h=d.scrollPositionChangeReason,v=d.scrollTop,b=d.instanceProps;this._handleInvalidatedGridSize();var A=a>0&&0===e.columnCount||c>0&&0===e.rowCount;h===Y&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||A)&&(this._scrollingContainer.scrollLeft=g),!o&&v>=0&&(v!==this._scrollingContainer.scrollTop||A)&&(this._scrollingContainer.scrollTop=v));var m=(0===e.width||0===e.height)&&l>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):k({cellSizeAndPositionManager:b.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:u,scrollToIndex:s,size:p,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollLeftForScrollToColumn(t.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):k({cellSizeAndPositionManager:b.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:f,size:l,sizeJustIncreasedFromZero:m,updateScrollIndexCallback:function(){return t._updateScrollTopForScrollToRow(t.props)}}),this._invokeOnGridRenderedHelper(),g!==n.scrollLeft||v!==n.scrollTop){var y=b.rowSizeAndPositionManager.getTotalSize(),E=b.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:v,totalColumnsWidth:E,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,l=e.containerRole,u=e.containerStyle,s=e.height,f=e.id,p=e.noContentRenderer,d=e.role,g=e.style,h=e.tabIndex,v=e.width,b=this.state,A=b.instanceProps,m=b.needToResetStyleCache,y=this._isScrolling(),C={boxSizing:"border-box",direction:"ltr",height:r?"auto":s,position:"relative",width:o?"auto":v,WebkitOverflowScrolling:"touch",willChange:"transform"};m&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=A.columnSizeAndPositionManager.getTotalSize(),_=A.rowSizeAndPositionManager.getTotalSize(),x=_>s?A.scrollbarSize:0,S=w>v?A.scrollbarSize:0;S===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),C.overflowX=w+x<=v?"hidden":"auto",C.overflowY=_+S<=s?"hidden":"auto";var k=this._childrenToDisplay,O=0===k.length&&s>0&&v>0;return n.createElement("div",c({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:E("ReactVirtualized__Grid",i),id:f,onScroll:this._onScroll,role:d,style:W({},C,{},g),tabIndex:h}),k.length>0&&n.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:W({width:t?"auto":w,height:_,maxWidth:w,maxHeight:_,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},u)},k),O&&p())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,t=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,c=e.overscanIndicesGetter,u=e.overscanRowCount,s=e.rowCount,f=e.width,p=e.isScrollingOptOut,d=n.scrollDirectionHorizontal,g=n.scrollDirectionVertical,h=n.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:n.scrollTop,b=this._initialScrollLeft>0?this._initialScrollLeft:n.scrollLeft,A=this._isScrolling(e,n);if(this._childrenToDisplay=[],a>0&&f>0){var m=h.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:b}),y=h.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),E=h.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:b}),C=h.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var w=c({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:d,startIndex:"number"==typeof m.start?m.start:0,stopIndex:"number"==typeof m.stop?m.stop:-1}),_=c({direction:"vertical",cellCount:s,overscanCellsCount:u,scrollDirection:g,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),x=w.overscanStartIndex,S=w.overscanStopIndex,k=_.overscanStartIndex,O=_.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var B=k;B<=O;B++)if(!i.has(B,0)){x=0,S=o-1;break}if(!i.hasFixedWidth())for(var T=x;T<=S;T++)if(!i.has(0,T)){k=0,O=s-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:t,columnSizeAndPositionManager:h.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:S,deferredMeasurementCache:i,horizontalOffsetAdjustment:E,isScrolling:A,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:h.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:O,scrollLeft:b,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:m,visibleRowIndices:y}),this._columnStartIndex=x,this._columnStopIndex=S,this._rowStartIndex=k,this._rowStopIndex=O}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&L(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,n=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:n})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var n=this,t=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var t=e.scrollLeft,r=e.scrollTop,a=n.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:t,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:t,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(n.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,n=this._cellCache,t=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],t&&(this._cellCache[i]=n[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,W({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var n=e.prevState,t=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:Y};return"number"==typeof t&&t>=0&&(o.scrollDirectionHorizontal=t>n.scrollLeft?1:-1,o.scrollLeft=t),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>n.scrollTop?1:-1,o.scrollTop=r),"number"==typeof t&&t>=0&&t!==n.scrollLeft||"number"==typeof r&&r>=0&&r!==n.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,n){var t=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=n.scrollLeft,c=n.instanceProps;if(t>0){var u=t-1,s=i<0?u:Math.min(u,i),f=c.rowSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>r?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,n){var t=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=n.scrollTop,c=n.instanceProps;if(r>0){var u=r-1,s=i<0?u:Math.min(u,i),f=c.columnSizeAndPositionManager.getTotalSize(),p=c.scrollbarSizeMeasured&&f>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:t-p,currentOffset:l,targetIndex:s})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(n.PureComponent),m(z,"propTypes",null),D);m(q,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var n=e.cellCache,t=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,c=e.isScrolling,u=e.isScrollingOptOut,s=e.parent,f=e.rowSizeAndPositionManager,p=e.rowStartIndex,d=e.rowStopIndex,g=e.styleCache,h=e.verticalOffsetAdjustment,v=e.visibleColumnIndices,b=e.visibleRowIndices,A=[],m=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),y=!c&&!m,E=p;E<=d;E++)for(var C=f.getSizeAndPositionOfCell(E),w=o;w<=i;w++){var _=r.getSizeAndPositionOfCell(w),x=w>=v.start&&w<=v.stop&&E>=b.start&&E<=b.stop,S="".concat(E,"-").concat(w),k=void 0;y&&g[S]?k=g[S]:a&&!a.has(E,w)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:C.size,left:_.offset+l,position:"absolute",top:C.offset+h,width:_.size},g[S]=k);var O={columnIndex:w,isScrolling:c,isVisible:x,key:S,parent:s,rowIndex:E,style:k},B=void 0;!u&&!c||l||h?B=t(O):(n[S]||(n[S]=t(O)),B=n[S]),null!=B&&!1!==B&&A.push(B)}return A},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!B&&0!==B||e)&&O){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),B=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return B},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var n=e.cellCount,t=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(n-1,i+t)}:{overscanStartIndex:Math.max(0,o-t),overscanStopIndex:Math.min(n-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(e){var n=e.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var t=null,r=null,o=null;if("function"==typeof n.componentWillMount?t="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(t="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?o="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==t||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==t?"\n "+t:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=P,n.componentWillReceiveProps=I),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=j;var l=n.componentDidUpdate;n.componentDidUpdate=function(e,n,t){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:t;l.call(this,e,n,r)}}}(q);const V=q;var $,K,Q,X,Z=(K=$=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.columnIndex,t=void 0===n?0:n,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:t})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=E("ReactVirtualized__List",t);return n.createElement(V,c({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(n.PureComponent),m($,"propTypes",null),K);function J(e,n){var r,o=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t.g).document&&r.document.attachEvent;if(!o){var i=function(){var e=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)};return function(n){return e(n)}}(),a=function(){var e=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(n){return e(n)}}(),l=function(e){var n=e.__resizeTriggers__,t=n.firstElementChild,r=n.lastElementChild,o=t.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=t.offsetWidth+1+"px",o.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},c=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var n=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(t){t.call(n,e)})))}))}},u=!1,s="",f="animationstart",p="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(u=!0),!1===u)for(var h=0;h div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=n.head||n.getElementsByTagName("head")[0],o=n.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(n.createTextNode(t)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u='
';if(window.trustedTypes){var s=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return u}});n.__resizeTriggers__.innerHTML=s.createHTML("")}else n.__resizeTriggers__.innerHTML=u;n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",c,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(t)}},removeResizeListener:function(e,n){if(o)e.detachEvent("onresize",n);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,n=this.props.onResize,t=this.state,o=t.height,i=t.width,a=this._child||r.findDOMNode(this);if(a instanceof Element&&e){var l=function(e,n){if(de(n)&&document.documentElement){var t=document.documentElement,r=ge(e),o=ge(t);return{top:r.top-o.top,left:r.left-o.left}}var i=ve(n),a=ge(e),l=ge(n);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}(a,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var c=he(e,this.props);o===c.height&&i===c.width||(this.setState({height:c.height,width:c.width}),n({height:c.height,width:c.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=J(),this.updatePosition(e),e&&(ue(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,n){var t=this.props.scrollElement,r=e.scrollElement;r!==t&&null!=r&&null!=t&&(this.updatePosition(t),se(this,r),ue(this,t),this._unregisterResizeListener(r),this._registerResizeListener(t))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(se(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,n=this.state,t=n.isScrolling,r=n.scrollTop,o=n.scrollLeft,i=n.height,a=n.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:t,scrollLeft:o,scrollTop:r,width:a})}}]),n}(n.PureComponent),m(fe,"propTypes",null),pe);m(me,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ae(),serverHeight:0,serverWidth:0});const ye=me;var Ee,Ce,we=(Ce=Ee=function(e){function n(){var e,t;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};u(this,e),m(this,"_cellHeightCache",{}),m(this,"_cellWidthCache",{}),m(this,"_columnWidthCache",{}),m(this,"_rowHeightCache",{}),m(this,"_defaultHeight",void 0),m(this,"_defaultWidth",void 0),m(this,"_minHeight",void 0),m(this,"_minWidth",void 0),m(this,"_keyMapper",void 0),m(this,"_hasFixedHeight",void 0),m(this,"_hasFixedWidth",void 0),m(this,"_columnCount",0),m(this,"_rowCount",0),m(this,"columnWidth",(function(e){var t=e.index,r=n._keyMapper(0,t);return void 0!==n._columnWidthCache[r]?n._columnWidthCache[r]:n._defaultWidth})),m(this,"rowHeight",(function(e){var t=e.index,r=n._keyMapper(t,0);return void 0!==n._rowHeightCache[r]?n._rowHeightCache[r]:n._defaultHeight}));var r=t.defaultHeight,o=t.defaultWidth,i=t.fixedHeight,a=t.fixedWidth,l=t.keyMapper,c=t.minHeight,s=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=c||0,this._minWidth=s||0,this._keyMapper=l||xe,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return d(e,[{key:"clear",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);delete this._cellHeightCache[t],delete this._cellWidthCache[t],this._updateCachedColumnAndRowSizes(e,n)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]?Math.max(this._minHeight,this._cellHeightCache[t]):this._defaultHeight}},{key:"getWidth",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var t=this._keyMapper(e,n);return void 0!==this._cellWidthCache[t]?Math.max(this._minWidth,this._cellWidthCache[t]):this._defaultWidth}},{key:"has",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=this._keyMapper(e,n);return void 0!==this._cellHeightCache[t]}},{key:"set",value:function(e,n,t,r){var o=this._keyMapper(e,n);n>=this._columnCount&&(this._columnCount=n+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=t,this._updateCachedColumnAndRowSizes(e,n)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,n){if(!this._hasFixedWidth){for(var t=0,r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"").split(/\s+/g).filter((function(e){return!!e})).forEach((function(t){return n[e](t)}))}};Xe("add"),Xe("remove");var Ze=function(){return function(e,n,t){return n&&We(e.prototype,n),t&&We(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,n,t){(n=Ge(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t}(this,"_all",new Set)}),[{key:"add",value:function(e,n,t,r){e.addEventListener(n,t,r);var o=function(){return e.removeEventListener(n,t,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(n){return e.remove(n)}))}}])}();t(4554),t(1761);var Je=t(5888),en=t.n(Je),nn=t(7500),tn=new(t.n(nn)());tn.sniff();const rn=tn;function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function an(e,n){for(var t=0;t=0;o--){var i=n._scopeChain[o];if((r=n._scopes[i.scopeId])&&null!=t&&r[t]){var a=r[t](e,t,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),ln(this,"_defaultFilter",(function(e,t,r){return t!==document&&t instanceof HTMLElement&&null!=r&&!t.matches(n.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=t.dataset.enabledShortcuts?t.dataset.enabledShortcuts.split(",").includes(r):null!=t.closest(n.ALLOW_SHORTCUTS_SELECTOR))&&(t.matches("input:not([type=checkbox]),select,textarea")||"true"===t.contentEditable)})),this.setFilter(),this.setScope()}),[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1),this._scopeChain.push(this.wrapScope(e,n))}}},{key:"popScope",value:function(e){if(e){var n=this.indexOfScope(e);if(-1!==n)return this._scopeChain.splice(n,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1)}}},{key:"setScope",value:function(e){var n=this;if(e){var t;if(t="string"==typeof e||!Array.isArray(e)&&"object"===on(e)&&null!==e?[e]:e,!Array.isArray(t))return;var r=t.map((function(e){return"string"==typeof e?n.wrapScope(e):e}));this._scopeChain=[this.ROOT_SCOPE].concat(r)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){return{scopeId:e,options:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}}},{key:"hasKey",value:function(e,n){var t;return!(null===(t=this._scopes[n])||void 0===t||!t[e])}},{key:"_getKeyboardEventType",value:function(e){if(!e.type&&"windows"===rn.os.name&&("string"==typeof e.key&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)))return"keyup";return e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(n){return n.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])}();const sn=new un;function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function pn(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=o})),f=s.length>0?Math.min.apply(Math,At(s)):Math.max.apply(Math,At(_t)),p=wt[f],d=i?"50%":p.radius,g=(0,n.useMemo)((function(){return Fe("gradient-")}),[]);return n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),xmlns:"http://www.w3.org/2000/svg"},n.createElement("defs",null,n.createElement("linearGradient",{id:g,x1:"0",y1:"0",x2:"0",y2:"1"},n.createElement("stop",{stopColor:c,offset:"0"}),n.createElement("stop",{stopColor:u,offset:"1"}))),n.createElement("g",null,n.createElement("rect",{fill:"url(#".concat(g,")"),x:"0",y:"0",width:f,height:f,rx:d,ry:d}),n.createElement("text",{x:p.text.x,y:p.text.y,fontFamily:"Arial, Helvetica, sans-serif",fontSize:p.fontSize,letterSpacing:p.letterSpacing,fill:"#FFFFFF",textAnchor:p.textAnchor,cursor:"default"},n.createElement("tspan",null,(t=r.split(/[\s._]+/).filter(Boolean).map((function(e){return Array.from(e)}))).length>=2?t[0][0].toUpperCase()+t[1][0].toUpperCase():1===t.length?t[0].length>=2?t[0].slice(0,2).join("").toUpperCase():"".concat(t[0][0].toUpperCase(),"X"):"XX"),p.underscore&&n.createElement("tspan",{x:p.underscore.x,y:p.underscore.y},"_")),n.createElement("title",null,r)))}St.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var kt,Ot=["size","url","dpr","style","round","subavatar","subavatarSize","username","skipParams"];function Bt(e){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bt(e)}function Tt(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return Pt(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pt(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?function(e){for(var n={},t=0;t=qr||n===Yr?n:0}(e);return t===qr?"Enter":String.fromCharCode(t)}return"keydown"===e.type||"keyup"===e.type?Gr[e.keyCode]||"Unidentified":""}var $r=["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp","role","tagName"];function Kr(e){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kr(e)}function Qr(e,n){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=(0,n.createContext)(e),o=(0,n.createContext)((function(){}));function a(t){var i=t.children,a=yn((0,n.useState)(e),2),l=a[0],c=a[1];return n.createElement(r.Provider,{value:l},n.createElement(o.Provider,{value:c},i))}function l(e,t){var r=(0,n.useContext)(o);(0,n.useEffect)((function(){t||r(e)}),[r,e,t])}function c(e){return l(e.value,e.skipUpdate),null}return a.propTypes={children:i().node},a.displayName="".concat(t,"Provider"),c.displayName="".concat(t,"Updater"),{ValueContext:r,UpdateContext:o,Provider:a,useUpdate:l,Updater:(0,n.memo)(c)}}(void 0,"ActiveItem"),Qo=function(e){function t(){var e;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i=0&&e.setState({activeIndex:n,activeItem:e.props.data[n],needScrollToActive:!0})})),Uo(e,"selectHandler",Ue((function(n){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[n];!e.props.useMouseUp&&o.onClick?o.onClick(o,t):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,t),e.props.onSelect&&e.props.onSelect(o,t,{tryKeepOpen:r})}}))),Uo(e,"checkboxHandler",Ue((function(n){return function(t){return e.selectHandler(n)(t,!0)}}))),Uo(e,"upHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;t=o.length-1}else t=a-1;e.moveHandler(t,e.upHandler,n)})),Uo(e,"downHandler",(function(n){var t,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,l=e.state.activeIndex;if(null===l)t=0;else if(l+1===o.length){if(i||a)return;t=0}else t=l+1;e.moveHandler(t,e.downHandler,n)})),Uo(e,"homeHandler",(function(n){e.moveHandler(0,e.downHandler,n)})),Uo(e,"endHandler",(function(n){e.moveHandler(e.props.data.length-1,e.upHandler,n)})),Uo(e,"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),Uo(e,"onDocumentKeyDown",(function(n){e.state.disabledHover||[16,17,18,19,20,91].includes(n.keyCode)||e.setState({disabledHover:!0})})),Uo(e,"mouseHandler",(function(){e.setState({scrolling:!1})})),Uo(e,"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),Uo(e,"enterHandler",(function(n,t){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(n),r.href&&!n.defaultPrevented&&(null!=t&&["command+enter","ctrl+enter"].includes(t)?window.open(r.href,"_blank"):"shift+enter"===t?window.open(r.href):window.location.href=r.href),!1}return!0})),Uo(e,"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),Uo(e,"scrollEndHandler",(function(){return e.scheduleScrollListener((function(){var n=e.inner;if(n){var t=n.scrollHeight,r=e.defaultItemHeight()/2,o=n.scrollTop+n.clientHeight+r,i=t>0&&o>=t;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),Uo(e,"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),Uo(e,"renderItem",(function(t){var r,o,i=t.index,a=void 0===i?1:i,c=t.style,u=t.isScrolling,s=void 0!==u&&u,f=t.parent,p=t.key,d=a-1,g=e.props.data[d],h=e.getId(g);if(0===a||a===e.props.data.length+1||g.rgItemType===Oo.MARGIN)r=p||"".concat(Oo.MARGIN,"_").concat(a),o=n.createElement("div",{style:{height:Bo.MARGIN}});else{g.selectedLabel,g.originalModel;var v=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0&&Object.assign(c,{activeIndex:u,activeItem:i[u]})}return c}}])}(n.Component);Uo(Qo,"propTypes",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().number,activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,shortcutsMap:i().object,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Uo(Qo,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Wo,onSelect:Wo,onScrollToBottom:Wo,onResize:Wo,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:"List"}),Uo(Qo,"isItemType",(function(e,n){var t=n.rgItemType;return null==t&&(t=Po),t===e})),Uo(Qo,"ListHint",To),Uo(Qo,"ListProps",{Type:Oo,Dimension:Bo});t(8431),t(6034),t(2762),t(6031);var Xo,Zo=t(5742),Jo=t.n(Zo),ei=t(7112),ni=t.n(ei),ti=t(4982),ri=t.n(ti),oi=(t(9907),t(4811)),ii=t.n(oi);!function(e){e.S="S",e.M="M",e.L="L"}(Xo||(Xo={}));var ai=(0,n.createContext)(Xo.M);Xo.M;var li=t(9102),ci=t.n(li);function ui(e){return ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ui(e)}function si(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ui(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==ui(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var fi=["active","danger","delayed","loader","primary","short","text","inline","dropdown","height","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"];function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0])||arguments[0],t=e.node;if(t){var r=Ri(t.querySelectorAll("input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])")).filter((function(e){return e.tabIndex>=0})),o=n?r[0]:r[r.length-1];o&&o.focus()}})),Wi(e,"focusFirst",(function(){return e.focusElement(!0)})),Wi(e,"focusLast",(function(){return e.focusElement(!1)})),Wi(e,"focusLastIfEnabled",(function(n){if(!e.trapWithoutFocus)if(e.props.focusBackOnExit){var t=n.nativeEvent.relatedTarget;null!=t&&null!=e.node&&t instanceof Element&&e.node.contains(t)&&e.restoreFocus()}else e.focusLast()})),Wi(e,"handleBlurIfWithoutFocus",(function(n){var t;if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var r=n.nativeEvent.relatedTarget;r&&(r instanceof Element&&null!==(t=e.node)&&void 0!==t&&t.contains(r)||e.focusLast())}})),Wi(e,"trapButtonNode",void 0),Wi(e,"trapButtonRef",(function(n){n&&(e.trapButtonNode=n)})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Hi(e,n)}(t,e),function(e,n,t){return n&&Ni(e.prototype,n),t&&Ni(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst)this.focusFirst();else if(!(this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode))){var e;this.trapWithoutFocus=!0,null===(e=this.trapButtonNode)||void 0===e||e.focus()}}},{key:"componentWillUnmount",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.trapDisabled,o=(e.autoFocusFirst,e.focusBackOnClose,e.focusBackOnExit),i=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&e.style&&(e.style.height="0",e.style.height="".concat(e.scrollHeight+2,"px"))}},{key:"adapt",value:function(){this.checkValue()}},{key:"render",value:function(){var e=this,t=this.props,r=t.size,o=t.active,i=t.multiline,a=t.borderless,c=t.label,u=t.labelType,s=t.error,f=t.className,p=t.inputClassName,d=t.children,g=t.value,h=t.onClear,v=t.disabled,b=t.inputRef,A=(t.onChange,t.enableShortcuts),m=(t.id,t.placeholder),y=t.icon,E=t.translations,C=t.height,w=void 0===C?this.context:C,_=t.afterInput,x=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)throw i}}}}function pl(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2],r=t?e:e.toLowerCase(),o=t?n:n.toLowerCase(),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n;if(t.length>0){r="";var o,i={to:0},a=fl(t);try{for(a.s();!(o=a.n()).done;){var l=o.value;r+="".concat(n.slice(i.to,l.from),"**").concat(n.slice(l.from,l.to),"**"),i=l}}catch(e){a.e(e)}finally{a.f()}r+=n.slice(i.to)}return{matched:e,matches:t,highlight:r}},a=o.length,l=r.length;if(l>a)return i(!1);if(l===a){var c=r===o;return i(c,c?[{from:0,to:n.length}]:[])}var u=!1,s=0,f=[],p=0;e:for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:{};if(this.isContentEditable()){e.avoidFocus||this.focus();var n=window.getSelection();if(null==n||!n.rangeCount)return 0;var t=n.getRangeAt(0),r=t.cloneRange();r.selectNodeContents(this.target),r.setEnd(t.endContainer,t.endOffset);var o=t.startContainer;if(this.target===o)return 0===t.startOffset||null==o.textContent?0:o.textContent.length;if(!this.target.contains(o))return-1;if(!o)return"selectionStart"in this.target&&this.target.selectionStart||-1;var i=this.getAbsolutePosition(o);return t.startContainer===t.endContainer?t.startOffset===t.endOffset?i+t.startOffset:{startOffset:i+t.startOffset,endOffset:i+t.endOffset,position:r.toString().length}:{startOffset:i+t.startOffset,endOffset:this.getAbsolutePosition(t.endContainer)+t.endOffset,position:r.toString().length}}return"selectionStart"in this.target&&this.target.selectionStart||-1}},{key:"getRelativePosition",value:function(e,n){var t=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:n};if(0===n){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:n}}var o=-1;if(r&&void 0!==r.nodeType)for(;t=n&&(t-=null!==(l=null===(c=(r=r.childNodes[o]).textContent)||void 0===c?void 0:c.length)&&void 0!==l?l:0,o=-1)}return{_curNode:r,_correctedPosition:n-t}}},{key:"setPosition",value:function(n){var t,r=this.isContentEditable(),o=this.target&&this.target.childNodes[0];if(void 0!==n)if("object"===cc(n)){var i=new Range,a=this.getRelativePosition(o,n.startOffset);i.setStart(a._curNode,a._correctedPosition);var l=this.getRelativePosition(o,n.endOffset);i.setEnd(l._curNode,l._correctedPosition),t=i}else if(-1===n){var c,u=r?this.target.textContent:e.normalizeNewlines("value"in this.target?this.target.value:void 0);t=null!==(c=null==u?void 0:u.length)&&void 0!==c?c:0}else{var s=this.getRelativePosition(o,n);o=s._curNode,t=s._correctedPosition}if(r){this.focus();try{var f,p,d;if(t instanceof Range)null===(f=window.getSelection())||void 0===f||f.removeAllRanges(),null===(p=window.getSelection())||void 0===p||p.addRange(t);else null===(d=window.getSelection())||void 0===d||d.collapse(o||this.target,t)}catch(e){}}else"setSelectionRange"in this.target&&"number"==typeof t&&this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,n=0;try{var t,r;null===(r=e=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0).cloneRange())||void 0===r||r.setStart(e.startContainer,e.startOffset-1)}catch(e){return n}return e&&0!==e.endOffset&&""!==e.toString()&&(n=$e(e).right-$e(this.target).left-(e.startContainer instanceof HTMLElement&&e.startContainer.offsetLeft||0)),n}}],[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}])}();sc(pc,"returnRE",/\r/g);var dc=t(6932),gc=t.n(dc),hc=["children","className","info","size"];function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)&&Array.isArray(this.props.selected)){var t=null;n?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,n){if(Array.isArray(this.props.selected)){var t=e||this.props.selected.slice(0)[this.props.selected.length-1];t&&(this.onListSelect(t,n,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}}},{key:"removeSelectedTag",value:function(){return!Array.isArray(this.props.selected)||null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!this.props.tags||(this.isEventTargetFilter(e)?!((e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&!e.target.value)||(this.removeTag(),!1):(this.removeSelectedTag(),!1))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){var e;return this.props.filter||this.props.tags?n.createElement("div",{className:Oc().filterWrapper,"data-test":"ring-select-popup-filter"},!this.props.tags&&n.createElement(hr,{glyph:null!==(e=this.props.filterIcon)&&void 0!==e?e:hl(),className:Oc().filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),n.createElement(Xc,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcutsMap,value:this.props.filterValue,inputRef:br(this.filterRef,this.props.filterRef),onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",inputClassName:l()(qc({},Oc().filterWithTagsInput,this.props.tags)),placeholder:"object"===Lc(this.props.filter)?this.props.filter.placeholder:void 0,height:this.props.tags?Xo.S:Xo.L,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.tags?void 0:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input",listId:this.props.listId,enableShortcuts:Object.keys(this.popupFilterShortcutsMap)})):null}},{key:"getCustomTag",value:function(e){if(null!==e&&"boolean"!=typeof e)return e.customTagComponent}},{key:"getTags",value:function(){return Array.isArray(this.props.selected)&&n.createElement("div",null,n.createElement(lc,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled,customTagComponent:this.getCustomTag(this.props.tags)}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=l()([Oc().filterWithTags,qc({},Oc().filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return n.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){var e=this.props,t=e.loading,r=e.message,o=e.data.length>1;return(t||r)&&n.createElement("div",{className:l()(Oc().bottomLine,qc({},Oc().bottomLineOverItem,o))},t&&n.createElement(Ol,null),r&&n.createElement("div",{className:Oc().message},r))}},{key:"getList",value:function(e){if(this.props.data.length){var t=this.props.maxHeight;return this.props.anchorElement&&(t=this._adjustListMaxHeight(this.props.hidden,t,e)),this.props.filter&&(t-=35),this.props.toolbar&&(t-=49),n.createElement(Qo,{id:this.props.listId,maxHeight:t,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,hidden:this.props.hidden,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=this,t=this.props,r=t.toolbar,o=t.topbar,i=t.className,a=t.multiple,c=t.hidden,u=t.isInputMode,s=t.anchorElement,f=t.minWidth,p=t.onCloseAttempt,d=t.onOutsideClick,g=t.directions,h=t.top,v=t.left,b=t.style,A=t.dir,m=t.filter,y=l()(Oc().popup,i);return n.createElement(sa.Consumer,null,(function(t){var i=e.getFilterWithTags(),l=a&&"object"===Lc(a)&&!a.limit&&a.selectAll&&e.getSelectAll(),E=e.getList(e.props.ringPopupTarget||t),C=e.getBottomLine(),w=i||l||E||C||r||o;return n.createElement(Sa,{trapFocus:!1,ref:e.popupRef,hidden:c||!w,attached:u,className:y,dontCloseOnAnchorClick:!0,anchorElement:s,minWidth:f,onCloseAttempt:p,onOutsideClick:d,directions:g,top:h,left:v,onMouseDown:e.mouseDownHandler,target:e.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:b},n.createElement("div",{dir:A},!c&&m&&n.createElement(mn,{map:e.shortcutsMap,scope:e.shortcutsScope}),o,c?n.createElement("div",null):i,l,E,C,r))}))}}])}(n.PureComponent);qc(Zc,"defaultProps",{data:[],activeIndex:null,toolbar:null,topbar:null,filter:!1,filterIcon:null,filterRef:$c,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:$c,onCloseAttempt:$c,onOutsideClick:$c,onFilter:$c,onClear:$c,onLoadMore:$c,selected:[],tags:null,ringPopupTarget:null,onSelectAll:$c,onEmptyPopupEnter:$c}),Zc.propTypes={activeIndex:i().number,anchorElement:i().instanceOf(HTMLElement),className:i().string,compact:i().bool,data:i().array,dir:i().oneOf(["ltr","rtl"]),directions:i().array,disabled:i().bool,disableMoveOverflow:i().bool,disableScrollToActive:i().bool,filter:i().oneOfType([i().bool,i().shape({value:i().string,placeholder:i().string})]),filterValue:i().string,filterIcon:i().oneOfType([i().string,i().elementType]),filterRef:i().oneOfType([i().func,vr(i().instanceOf(HTMLInputElement))]),hidden:i().bool,isInputMode:i().bool,listId:i().string,maxHeight:i().number,message:i().string,minWidth:i().number,multiple:i().oneOfType([i().bool,i().shape({label:i().string,limit:i().number,selectAll:i().bool})]),left:i().number,loading:i().bool,onClear:i().func,onCloseAttempt:i().func,onOutsideClick:i().func,onEmptyPopupEnter:i().func,onFilter:i().func,onLoadMore:i().func,onSelect:i().func,onSelectAll:i().func,renderOptimization:i().bool,ringPopupTarget:i().string,selected:i().oneOfType([i().object,i().array]),style:i().object,tags:i().object,toolbar:i().node,topbar:i().node,top:i().number};var Jc,eu=t(3006),nu=t.n(eu);function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0}))}}function mu(e){return e.reduce((function(e,n){return e[n.key]=!0,e}),{})}function yu(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=t.trim();hu(e.type)&&!e.allowAny&&n.selected&&!Array.isArray(n.selected)&&o===n.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],l=!1,c=Au(e.filter),u=function(){var t=uu({},r[s]);if(c(t,i,r)){var u,f;if(l=t.label===o,e.multiple&&("object"!==pu(e.multiple)||!e.multiple.removeSelectedItems))t.checkbox=!(null===(f=n.multipleMap)||void 0===f||!f[t.key]);e.multiple&&"object"===pu(e.multiple)&&e.multiple.limit&&Array.isArray(n.selected)&&(t.disabled=e.multiple.limit===n.selected.length&&!n.selected.find((function(e){return e.key===t.key}))),e.multiple&&"object"===pu(e.multiple)&&e.multiple.removeSelectedItems&&null!==(u=n.multipleMap)&&void 0!==u&&u[t.key]||a.push(t)}},s=0;s2&&void 0!==arguments[2]?arguments[2]:{},i=t&&("select"===t.type||"keydown"===t.type);if(i&&t.preventDefault(),a=n,(Qo.isItemType(Qo.ListProps.Type.ITEM,a)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(n))&&!n.disabled&&!n.isResetItem){var a,l=null!==(r=e.props.tryKeepOpen)&&void 0!==r?r:o.tryKeepOpen;if(e.props.multiple){if(l||e._hidePopup(i),null==n.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[n.key]?(o=i.filter((function(e){return e.key!==n.key})),e.props.onDeselect&&e.props.onDeselect(n)):(o=i.concat(n),e.props.onSelect&&e.props.onSelect(n,t)),e.props.onChange(o,t);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(n,e.props.data)};if("object"===pu(e.props.multiple)&&e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(n){return n.key===e.key}))?e:uu(uu({},e),{},{disabled:!0})}))),r.multipleMap[n.key]){var l=r.multipleMap,c=n.key,u=(l[c],function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.includes(r))continue;t[r]=e[r]}return t}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r0&&void 0!==arguments[0])||arguments[0];e.setState((function(t){var r,o=t.selected;return n?(r=e.props.data.filter((function(e){return(function(e){return Qo.isItemType(Qo.ListProps.Type.ITEM,e)}(e)||function(e){return Qo.isItemType(Qo.ListProps.Type.CUSTOM,e)}(e))&&!e.disabled}))).filter((function(n){return!e.props.selected.find((function(e){return n.key===e.key}))})).forEach((function(n){e.props.onSelect&&e.props.onSelect(n)})):(r=[],o.forEach((function(n){e.props.onDeselect&&e.props.onDeselect(n)}))),e.props.onChange(r,event),{filterValue:"",selected:r,selectedIndex:n?e._getSelectedIndex(r,e.props.data):null,shownData:t.shownData.map((function(e){return uu(uu({},e),{},{checkbox:n})})),multipleMap:n?mu(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),su(e,"_onCloseAttempt",(function(n,t){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&!Array.isArray(e.state.selected)&&e.filterValue(Cu(e.state.selected)))),e.props.tags&&n&&n.target&&n.target instanceof Element&&n.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(t)})),su(e,"clearFilter",(function(n){e._setFilter("",n)})),su(e,"clear",(function(n){n&&n.stopPropagation();var t=e.props.multiple?[]:null;return e.setState({selected:t,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(t,n)})),!1})),su(e,"filter",void 0),su(e,"filterRef",(function(n){e.filter=n})),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&lu(e,n)}(t,e),function(e,n,t){return n&&ru(e.prototype,n),t&&ru(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidUpdate",value:function(e,n){var t=this.state,r=t.showPopup,o=t.selected,i=this.props,a=i.onClose,l=i.onOpen,c=i.onChange,u=i.multiple;n.showPopup&&!r?a(o):!n.showPopup&&r&&l(),u===e.multiple||ri()(u,e.multiple)||c(o)}},{key:"getValueForFilter",value:function(e){return wu(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,n){return Eu(e,n)}},{key:"_getResetOption",value:function(){var e=this,t=Array.isArray(this.state.selected)&&this.state.selected.length,r=this.props.tags&&"object"===pu(this.props.tags)?this.props.tags.reset:null;if(!t||!r)return null;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:Qo.ListProps.Type.CUSTOM,template:n.createElement(_i,{text:!0,className:nu().button,"data-test":"ring-select-reset-tags-button",height:Xo.S},r.label),glyph:r.glyph,onClick:function(n,t){e.clear(t),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var n=this._getResetOption();if(n){var t=[n];return n.separator&&t.push({rgItemType:Qo.ListProps.Type.SEPARATOR}),t.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this,t=this.props.targetElement||this.node,r=this.state,o=r.showPopup,i=r.shownData,a=this._prependResetOption(i);return n.createElement(Pa.Consumer,null,(function(r){var l,c,u=r.translate;if(e.props.loading)l=null!==(c=e.props.loadingMessage)&&void 0!==c?c:u("loading");else if(!i.length){var s;l=null!==(s=e.props.notFoundMessage)&&void 0!==s?s:u("noOptionsFound")}return n.createElement(Zc,{data:a,message:l,toolbar:o&&e.getToolbar(),topbar:e.getTopbar(),loading:e.props.loading,activeIndex:e.state.selectedIndex,hidden:!o,ref:e.popupRef,maxHeight:e.props.maxHeight,minWidth:e.props.minWidth,directions:e.props.directions,className:e.props.popupClassName,style:e.props.popupStyle,top:e.props.top,left:e.props.left,filter:!e.isInputMode()&&e.props.filter,filterIcon:e.props.filterIcon,filterRef:e.props.filterRef,multiple:e.props.multiple,filterValue:e.state.filterValue,anchorElement:t,onCloseAttempt:e._onCloseAttempt,onOutsideClick:e.props.onOutsideClick,onSelect:e._listSelectHandler,onSelectAll:e._listSelectAllHandler,onFilter:e._filterChangeHandler,onClear:e.clearFilter,onLoadMore:e.props.onLoadMore,isInputMode:e.isInputMode(),selected:e.state.selected,tags:e.props.tags,compact:e.props.compact,renderOptimization:e.props.renderOptimization,ringPopupTarget:e.props.ringPopupTarget,disableMoveOverflow:e.props.disableMoveOverflow,disableScrollToActive:e.props.disableScrollToActive,dir:e.props.dir,onEmptyPopupEnter:e.onEmptyPopupEnter,listId:e.listId})}))}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!0,shownData:e})}}},{key:"_hidePopup",value:function(e){var n=this;this.node&&this.state.showPopup&&(this.setState((function(e){return{showPopup:!1,filterValue:n.props.allowAny?e.filterValue:""}})),e&&this.focus())}},{key:"getToolbar",value:function(){var e=this.props,t=e.hint,r=e.renderBottomToolbar,o=this.state.addButton||{},i=o.prefix,a=o.label,c=o.delayed;return this.state.addButton||t||r?n.createElement("div",{className:l()(su({},nu().toolbar,Boolean(this.state.addButton||r))),"data-test":"ring-select-toolbar"},r&&r(),this.state.addButton&&n.createElement(_i,{text:!0,delayed:c,className:l()(nu().button,nu().buttonSpaced),onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},i?"".concat(i," ").concat(a):a),t&&n.createElement(Qo.ListHint,{label:t,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getTopbar",value:function(){var e,n;return null===(e=(n=this.props).renderTopToolbar)||void 0===e?void 0:e.call(n)}},{key:"getFilterFn",value:function(){return Au(this.props.filter)}},{key:"getListItems",value:function(e,n){var t=yu(this.props,this.state,e,n),r=t.filteredData,o=t.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){return"string"==typeof e||"number"==typeof e?void this.setState({filterValue:e}):this.state.filterValue}},{key:"isInputMode",value:function(){return hu(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e){Array.isArray(e)&&this.setState({multipleMap:mu(e)})}},{key:"_selectionIsEmpty",value:function(){return Array.isArray(this.state.selected)&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){var e,n;return null!==(e=null!==(n=this.props.label)&&void 0!==n?n:this.props.selectedLabel)&&void 0!==e?e:"Select an option"}},{key:"_getPlaceholder",value:function(){var e;return this._selectionIsEmpty()?null!==(e=this.props.label)&&void 0!==e?e:"Select an option":this._getSelectedString()}},{key:"_getSelectedString",value:function(){if(Array.isArray(this.state.selected)){for(var e=[],n=0;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},Tu=function(n){var t=n.label;return(0,e.jsx)("strong",{children:t})},Pu=function(n){var t=n.searchResult,r=ku().chunk(function(e){return e.name.replace(e.searchKeys[e.rank],e.highlight)}(t).split("**"),2).flatMap((function(n){var t=Bu(n,2),r=t[0],o=t[1];return[r,o?(0,e.jsx)(Tu,{label:o}):null]}));return(0,e.jsxs)("div",Ou({className:"template-wrapper"},{children:[(0,e.jsx)("div",Ou({className:"template-title"},{children:r})),(0,e.jsx)("span",Ou({className:"template-description"},{children:t.description}))]}))},Iu=(xu=function(e,n){return xu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},xu(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}xu(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),ju=function(){return ju=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.createElement("svg",Qu({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),n.createElement("path",{d:"M15.142 6.28a6.497 6.497 0 10-2.421 8.866c.207-.122.409-.256.602-.4L19.587 21 21 19.586l-6.261-6.251a6.51 6.51 0 00.402-7.055zm-3.413 7.129a4.5 4.5 0 11-4.463-7.814 4.5 4.5 0 014.463 7.814z",fill:"#fff"}));var Zu;!function(e){e[e.WINDOWS=0]="WINDOWS",e[e.MACOS=1]="MACOS",e[e.LINUX=2]="LINUX",e[e.OTHER=3]="OTHER"}(Zu||(Zu={}));var Ju=function(){function e(){}return e.metaKey={name:"Command",keyArg:"Meta"},e.ctrlKey={name:"Ctrl",keyArg:"Control"},e.altKey={name:"Alt",keyArg:"Alt"},e.shiftKey={name:"Shift",keyArg:"Shift"},e}(),es=[Ju.altKey,Ju.shiftKey,Ju.ctrlKey,Ju.metaKey],ns=function(){function e(){var e,n=this;this.registerHotkeyWithAccel=function(e,t){var r=n.getOsAccelKey();document.onkeydown=function(n){var o=n.getModifierState(r.keyArg),i=es.filter((function(e){return e!==r})).map((function(e){return n.getModifierState(e.keyArg)})).some((function(e){return e}));o&&!i&&n.key===t&&(n.preventDefault(),e())}},this.osKind=(e=navigator.userAgent).includes("Mac")?Zu.MACOS:e.includes("Win")?Zu.WINDOWS:e.includes("Linux")?Zu.LINUX:Zu.OTHER}return e.prototype.getOsAccelKeyName=function(){return this.getOsAccelKey().name},e.prototype.getOsAccelKey=function(){return this.osKind===Zu.MACOS?Ju.metaKey:Ju.ctrlKey},e}(),ts=function(){return ts=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a},as=function(t){var r=t.data,o=is((0,n.useState)(r[0]),2),i=o[0],a=o[1],l=(0,n.useCallback)((function(e){if(e){var n=e;window.location.replace("".concat(window.pathToRoot).concat(n.location,"?query=").concat(n.name)),a(n)}}),[r]);return(0,e.jsx)("div",os({className:"search-container"},{children:(0,e.jsx)("div",os({className:"search"},{children:(0,e.jsx)(zu,{id:"pages-search",selectedLabel:"Search",label:"Please type page name",filter:!0,type:_u.Type.CUSTOM,clear:!0,renderOptimization:!0,disableScrollToActive:!0,selected:i,data:r,popupClassName:"popup-wrapper",onSelect:l,maxHeight:510,customAnchor:function(n){var t=n.wrapperProps,r=n.buttonProps,o=n.popup;return(0,e.jsx)(rs,{wrapperProps:t,buttonProps:r,popup:o})}})}))}))},ls=function(){var t=is((0,n.useState)([]),2),r=t[0],o=t[1];return(0,n.useEffect)((function(){var e,n,t;fetch((e="scripts/pages.json",n=window.pathToRoot,t=""==n?".":n,t.endsWith("/")?"".concat(t).concat(e):"".concat(t,"/").concat(e))).then((function(e){return e.json()})).then((function(e){o(e.map((function(e,n){return os(os({},e),{label:e.name,key:n,type:e.kind,rgItemType:Qo.ListProps.Type.CUSTOM})})))}),(function(e){console.error("failed to fetch pages data",e),o([])}))}),[]),(0,e.jsx)(as,{data:r})},cs=function(){return cs=Object.assign||function(e){for(var n,t=1,r=arguments.length;t { navigationPageText.then(data => { document.getElementById("sideMenu").innerHTML = data; }).then(() => { - document.querySelectorAll(".overview > a").forEach(link => { + document.querySelectorAll(".toc--row > a").forEach(link => { link.setAttribute("href", pathToRoot + link.getAttribute("href")); }) }).then(() => { - document.querySelectorAll(".sideMenuPart").forEach(nav => { - if (!nav.classList.contains("hidden")) - nav.classList.add("hidden") + document.querySelectorAll(".toc--part").forEach(nav => { + if (!nav.classList.contains("toc--part_hidden")) + nav.classList.add("toc--part_hidden") }) }).then(() => { revealNavigationForCurrentPage() @@ -33,14 +33,14 @@ displayNavigationFromPage = () => { revealNavigationForCurrentPage = () => { let pageId = document.getElementById("content").attributes["pageIds"].value.toString(); - let parts = document.querySelectorAll(".sideMenuPart"); + let parts = document.querySelectorAll(".toc--part"); let found = 0; do { parts.forEach(part => { if (part.attributes['pageId'].value.indexOf(pageId) !== -1 && found === 0) { found = 1; - if (part.classList.contains("hidden")) { - part.classList.remove("hidden"); + if (part.classList.contains("toc--part_hidden")) { + part.classList.remove("toc--part_hidden"); part.setAttribute('data-active', ""); } revealParents(part) @@ -50,25 +50,25 @@ revealNavigationForCurrentPage = () => { } while (pageId.indexOf("/") !== -1 && found === 0) }; revealParents = (part) => { - if (part.classList.contains("sideMenuPart")) { - if (part.classList.contains("hidden")) - part.classList.remove("hidden"); + if (part.classList.contains("toc--part")) { + if (part.classList.contains("toc--part_hidden")) + part.classList.remove("toc--part_hidden"); revealParents(part.parentNode) } }; scrollNavigationToSelectedElement = () => { - let selectedElement = document.querySelector('div.sideMenuPart[data-active]') + let selectedElement = document.querySelector('div.toc--part[data-active]') if (selectedElement == null) { // nothing selected, probably just the main page opened return } - let hasIcon = selectedElement.querySelectorAll(":scope > div.overview span.nav-icon").length > 0 + let hasIcon = selectedElement.querySelectorAll(":scope > div.toc--row span.toc--icon").length > 0 - // for instance enums also have children and are expandable, but are not package/module elements + // for an instance enums also have children and are expandable but are not package/module elements let isPackageElement = selectedElement.children.length > 1 && !hasIcon if (isPackageElement) { - // if package is selected or linked, it makes sense to align it to top + // if a package is selected or linked, it makes sense to align it to top // so that you can see all the members it contains selectedElement.scrollIntoView(true) } else { @@ -84,9 +84,9 @@ scrollNavigationToSelectedElement = () => { /* This is a work-around for safari being IE of our times. - It doesn't fire a DOMContentLoaded, presumabely because eventListener is added after it wants to do it + It doesn't fire a DOMContentLoaded, presumably because eventListener is added after it wants to do it */ -if (document.readyState == 'loading') { +if (document.readyState === 'loading') { window.addEventListener('DOMContentLoaded', () => { displayNavigationFromPage() }) diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/scripts/platform-content-handler.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/scripts/platform-content-handler.js index 6ecfc120a6..118de3848a 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/scripts/platform-content-handler.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/scripts/platform-content-handler.js @@ -52,9 +52,10 @@ window.addEventListener('load', () => { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) initializeFiltering() } - initTabs() // initTabs comes from ui-kit/tabs + if (typeof initTabs === 'function') { + initTabs() // initTabs comes from ui-kit/tabs + } handleAnchor() - initHidingLeftNavigation() topNavbarOffset = document.getElementById('navigation-wrapper') darkModeSwitch() }) @@ -115,21 +116,6 @@ const samplesAreEnabled = () => { } } - -const initHidingLeftNavigation = () => { - document.getElementById("menu-toggle").onclick = function (event) { - //Events need to be prevented from bubbling since they will trigger next handler - event.preventDefault(); - event.stopPropagation(); - event.stopImmediatePropagation(); - document.getElementById("leftColumn").classList.toggle("open"); - } - - document.getElementById("main").onclick = () => { - document.getElementById("leftColumn").classList.remove("open"); - } -} - // Hash change is needed in order to allow for linking inside the same page with anchors // If this is not present user is forced to refresh the site in order to use an anchor window.onhashchange = handleAnchor @@ -274,6 +260,11 @@ function removeSourcesetFilterFromCache(sourceset) { } } +function refreshSourcesetsCache() { + safeLocalStorage.setItem('inactive-filters', JSON.stringify(filteringContext.restrictedDependencies.filter(p => -1 === filteringContext.activeFilters.indexOf(p)))) +} + + function togglePlatformDependent(e, container) { let target = e.target if (target.tagName !== 'BUTTON') return; @@ -322,14 +313,18 @@ function refreshPlaygroundSamples() { function refreshNoContentNotification() { const element = document.getElementsByClassName("main-content")[0] + const filteredMessage = document.querySelector(".filtered-message") + if(filteringContext.activeFilters.length === 0){ element.style.display = "none"; - const appended = document.createElement("div") - appended.className = "filtered-message" - appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" - sourcesetNotification = appended - element.parentNode.prepend(appended) + if (!filteredMessage) { + const appended = document.createElement("div") + appended.className = "filtered-message" + appended.innerText = "All documentation is filtered, please adjust your source set filters in top-right corner of the screen" + sourcesetNotification = appended + element.parentNode.prepend(appended) + } } else { if(sourcesetNotification) sourcesetNotification.remove() element.style.display = "block" @@ -369,4 +364,8 @@ function refreshFilterButtons() { f.removeAttribute("data-active") } }) + document.querySelectorAll("#filter-section .checkbox--input") + .forEach(f => { + f.checked = filteringContext.activeFilters.indexOf(f.getAttribute("data-filter")) !== -1; + }) } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/font-jb-sans-auto.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/font-jb-sans-auto.css index 2398f70f52..18d25d3b85 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/font-jb-sans-auto.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/font-jb-sans-auto.css @@ -8,6 +8,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; + font-display: swap; } /* Regular weight */ @font-face { @@ -15,6 +16,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff'); font-weight: 400; font-style: normal; + font-display: swap; } /* SemiBold weight */ @font-face { @@ -22,6 +24,7 @@ src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; + font-display: swap; } @supports (font-variation-settings: normal) { @@ -32,5 +35,6 @@ url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations'); font-weight: 100 900; font-style: normal; + font-display: swap; } } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/logo-styles.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/logo-styles.css index 988268da69..8281d5ca63 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/logo-styles.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/logo-styles.css @@ -4,6 +4,6 @@ :root { --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; + --dokka-logo-height: 28px; + --dokka-logo-width: 28px; } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/main.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/main.css index c90da07710..2a0c8dfb30 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/main.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/main.css @@ -1,6 +1,18 @@ /*! * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:rgba(0,0,0,0);fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;margin:0;padding:0;font-size:0;line-height:0}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:calc(100% - 322px) !important;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + *//*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*! + * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0} /* stylelint-disable color-no-hex */ .light, diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/multimodule.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/multimodule.css index 30560715e9..6f96df6a90 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/multimodule.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/multimodule.css @@ -3,53 +3,23 @@ */ .versions-dropdown { - position: relative; + white-space: nowrap; } -.versions-dropdown-button { - display: flex; - border: none; - cursor: pointer; - padding: 5px; +@media (width < 900px) { + .versions-dropdown { + height: 52px; + margin-left: -8px; + } } -.versions-dropdown-button::after { - content: ''; - -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask-size: auto; - -webkit-mask-size: cover; - mask-size: cover; - background-color: #fff; - display: inline-block; - transform: rotate(90deg); - width: 24px; - height: 16px; +@media (width >= 900px) { + .versions-dropdown .dropdown--list { + min-width: 60px; + top: 44px; + } } -.versions-dropdown-data { - display: none; - position: absolute; - background-color: #27282c; - border: 1px solid hsla(0, 0%, 100%, .6); - box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); - z-index: 1; - overflow-y: auto; - max-height: 200px; - min-width: 50px; -} - -.versions-dropdown-data > a { - display: block; - padding: 5px; - color: #fff; - text-decoration: none; -} - -.versions-dropdown-data > a:hover { - background-color: hsla(0,0%,100%,.1) -} - -.versions-dropdown:hover .versions-dropdown-data { +.no-js .versions-dropdown:hover .dropdown--list { display: block; } diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/style.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/style.css index 628d27dd02..c64fa37161 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/style.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/styles/style.css @@ -8,7 +8,7 @@ /* --- root styles --- */ :root { --default-gray: #f4f4f4; - --default-font-color: black; + --default-font-color: rgb(0, 0, 0); --header-font-color: var(--default-font-color); --breadcrumb-font-color: #637282; @@ -217,9 +217,9 @@ td:first-child { /* ---dark theme --- */ .theme-dark { - --background-color: #27282c; + --background-color: #262628; --color-dark: #3d3d41; - --default-font-color: hsla(0, 0%, 100%, 0.8); + --default-font-color: rgba(255, 255, 255, 0.96); --border-color: hsla(0, 0%, 100%, 0.2); --code-background: hsla(0, 0%, 100%, 0.05); --breadcrumb-font-color: #8c8c8e; @@ -249,170 +249,6 @@ td:first-child { height: 100%; } -/* --- Navigation styles --- */ -.navigation { - display: flex; - justify-content: space-between; - - color: #fff; - background-color: var(--color-dark); - font-family: var(--default-font-family); - letter-spacing: -0.1px; - - /* Reset margin and use padding for border */ - margin-left: 0; - margin-right: 0; - padding: 10px var(--horizontal-spacing-for-content); - - z-index: 4; -} - -.navigation--inner { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - flex: 1 1 auto; -} - -.navigation--inner, .navigation-title { - min-height: 40px; -} - -.navigation-title, .filter-section { - align-items: center; -} - -.navigation-title { - display: flex; - align-items: center; -} - -/* --- Navigation MENU --- */ -.menu-toggle { - color: var(--background-color); - line-height: 0; - font-size: 0; - text-indent: -9999px; - - background: transparent; - border: none; - padding: 0; - margin-right: 16px; - outline: none; - - transition: margin .2s ease-out; - z-index: 5; -} - -@media (min-width: 760px) { - .menu-toggle { - display: none; - } -} - -.menu-toggle::before { - display: block; - content: ''; - background: url('../images/burger.svg') no-repeat center; - height: 28px; - width: 28px; -} - -/* /--- Navigation MENU --- */ - -.library-version { - position: relative; - top: -4px; - margin-left: 3px; - - color: rgba(255, 255, 255, .7); - font-size: 13px; - font-weight: normal; - line-height: 16px; -} - -.filter-section { - z-index: 0; -} - -.no-js .filter-section { - display: none; -} - -@media (min-width: 760px) { - .filter-section { - padding: 5px 0 5px; - } -} - -/* --- Navigation controls --- */ -.navigation-controls { - display: flex; - margin-left: 4px; -} - -@media (min-width: 760px) { - .navigation-controls { - align-items: center; - } -} - -.no-js .navigation-controls { - display: none; -} - -.navigation-controls--btn { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; - height: 40px; - border-radius: 50%; - background-color: inherit; - background-position: 50% 50%; - padding: 0; - border: none; - cursor: pointer; - font-size: 0; - line-height: 0; - transition: background-color 200ms ease-in-out; - will-change: background-color; -} - -.navigation-controls--btn:hover { - background-color: var(--white-10); -} - -.navigation-controls--theme { - background-image: url("../images/theme-toggle.svg"); - background-repeat: no-repeat; -} - -@media (max-width: 759px) { - .navigation-controls--theme { - display: none; - } -} - -.navigation-controls--homepage { - background-image: url("../images/homepage.svg"); - background-repeat: no-repeat; - background-size: 24px 24px; -} - -@media (max-width: 759px) { - .navigation-controls--homepage { - display: none; - } -} - -.navigation .platform-selector:not([data-active]) { - color: #fff; -} - -/* /--- Navigation controls --- */ -/* /--- Navigation styles --- */ - /* --- Layout styles --- */ #container { @@ -421,7 +257,7 @@ td:first-child { min-height: 0; /* full height exclude header */ } -#container > .sidebar, #container > #main { +#container > #main { overflow: auto; } @@ -431,55 +267,6 @@ td:first-child { flex: 1 1 0; /* full width, but no affects for sidebar */ } -.sidebar { - display: flex; - flex-direction: column; - box-sizing: border-box; - border-right: 1px solid var(--border-color); - width: var(--sidebar-width); -} - -.no-js .sidebar { - display: none; -} - -@media (max-width: 759px) { - #container { - position: relative; - } - - .sidebar { - position: absolute; - top: 0; - bottom: 0; - box-sizing: border-box; - background: var(--background-color); - margin-left: calc(-1 * var(--sidebar-width)); - transition: margin .2s ease-out; - z-index: 4; - } - - .sidebar.open { - margin-left: 0; - } - - .sidebar.open ~ #main .navigation-controls--search { - display: none; - } - - .sidebar.open ~ #main .menu-toggle { - margin-left: var(--sidebar-width); - } -} - -.sidebar--inner { - font-size: 12px; - font-weight: 400; - line-height: 16px; - padding-top: 22px; - padding-bottom: 16px; -} - /* /--- Layout styles --- */ /* --- Main Content styles --- */ @@ -608,16 +395,6 @@ code.paragraph { display: block; } -.overview > .navButton { - position: absolute; - align-items: center; - display: flex; - justify-content: flex-end; - padding: 2px 2px 2px 0; - margin-right: 5px; - cursor: pointer; -} - .strikethrough { text-decoration: line-through; } @@ -761,166 +538,6 @@ code:not(.block) { word-break: break-word; } -.sideMenuPart > .overview { - display: flex; - align-items: center; - position: relative; - user-select: none; /* there's a weird bug with text selection */ - padding: 8px 0; -} - -.sideMenuPart a { - display: block; - align-items: center; - color: var(--default-font-color); - overflow: hidden; - padding-left: 23px; -} - -.sideMenuPart a:hover { - text-decoration: none; - color: var(--default-font-color); -} - -.sideMenuPart > .overview:before { - box-sizing: border-box; - content: ''; - top: 0; - width: var(--sidebar-width); - right: 0; - bottom: 0; - position: absolute; - z-index: -1; -} - -.overview:hover:before { - background-color: var(--navigation-highlight-color); -} - -#nav-submenu { - padding-left: 24px; -} - -.sideMenuPart { - padding-left: 12px; - box-sizing: border-box; -} - -.sideMenuPart.hidden > .overview .navButtonContent::before { - transform: rotate(0deg); -} - -.sideMenuPart > .overview .navButtonContent::before { - content: ''; - - -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - mask: url("../images/arrow_down.svg") no-repeat 50% 50%; - -webkit-mask-size: cover; - mask-size: cover; - background-color: var(--default-font-color); - - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - transform: rotate(90deg); - width: 16px; - height: 16px; -} - -.sideMenuPart[data-active] > .overview .navButtonContent::before { - background-color: var(--default-white); -} - -.sideMenuPart.hidden > .navButton .navButtonContent::after { - content: '\02192'; -} - -.sideMenuPart.hidden > .sideMenuPart { - display: none; -} - -.overview .nav-link-grid { - display: grid; - grid-template-columns: 16px auto; /* first is the icon, then name */ - grid-gap: 6px; - align-items: center; -} - -.nav-icon { - width: 16px; - height: 16px; -} - -.nav-icon.class::before { - content: url("../images/nav-icons/class.svg"); -} - -.nav-icon.class-kt::before { - content: url("../images/nav-icons/class-kotlin.svg"); -} - -.nav-icon.function::before { - content: url("../images/nav-icons/function.svg"); -} - -.nav-icon.enum-class::before { - content: url("../images/nav-icons/enum.svg"); -} - -.nav-icon.enum-class-kt::before { - content: url("../images/nav-icons/enum-kotlin.svg"); -} - -.nav-icon.annotation-class::before { - content: url("../images/nav-icons/annotation.svg"); -} - -.nav-icon.annotation-class-kt::before { - content: url("../images/nav-icons/annotation-kotlin.svg"); -} - -.nav-icon.abstract-class::before { - content: url("../images/nav-icons/abstract-class.svg"); -} - -.nav-icon.abstract-class-kt::before { - content: url("../images/nav-icons/abstract-class-kotlin.svg"); -} - -.nav-icon.exception-class::before { - content: url("../images/nav-icons/exception-class.svg"); -} - -.nav-icon.interface::before { - content: url("../images/nav-icons/interface.svg"); -} - -.nav-icon.interface-kt::before { - content: url("../images/nav-icons/interface-kotlin.svg"); -} - -.nav-icon.object::before { - content: url("../images/nav-icons/object.svg"); -} - -.nav-icon.typealias-kt::before { - content: url("../images/nav-icons/typealias-kotlin.svg"); -} - -.nav-icon.val::before { - content: url("../images/nav-icons/field-value.svg"); -} - -.nav-icon.var::before { - content: url("../images/nav-icons/field-variable.svg"); -} - -.filtered > a, .filtered > .navButton { - display: none; -} - - .brief { white-space: pre-wrap; overflow: hidden; @@ -1037,88 +654,6 @@ p.paragraph img { display: none !important; } -.platform-tags, .filter-section { - display: flex; - flex-wrap: wrap; - margin-bottom: -8px; - margin-left: -4px; -} - -.platform-tag { - --platform-tag-color: #bababb; - border: 0 none; - margin-right: 4px; - margin-bottom: 8px; - - font-family: var(--default-font-family); - font-size: 13px; - line-height: 1.5; - text-transform: capitalize; -} - -.platform-tag.js-like, .platform-tag.jvm-like, .platform-tag.wasm-like { - text-transform: uppercase; -} - -.filter-section .platform-tag { - cursor: pointer; - border-radius: 4px; - padding: 2px 16px; -} - -.filter-section .platform-tag.jvm-like[data-active], .platform-tags .platform-tag.jvm-like { - --platform-tag-color: #4dbb5f; -} - -.filter-section .platform-tag.js-like[data-active], .platform-tags .platform-tag.js-like { - --platform-tag-color: #ffc700; -} - -.filter-section .platform-tag.native-like[data-active], .platform-tags .platform-tag.native-like { - --platform-tag-color: #E082F3; -} - -.filter-section .platform-tag.wasm-like[data-active], .platform-tags .platform-tag.wasm-like { - --platform-tag-color: #9585F9; -} - -.filter-section .platform-tag[data-active]:hover { - color: #fff; - background-color: rgba(186, 186, 187, .7); -} - -.filter-section .platform-tag:not([data-active]) { - color: #fff; - /* Safari doesn't work correctly for `outline` with `border-radius` */ - /* outline: 1px solid rgba(255,255,255,.6); */ - /* ...use `box-shadow` instead: */ - box-shadow: 0 0 0 1px rgb(255 255 255 / 60%); - background-color: rgba(255,255,255,.05); -} - -.filter-section .platform-tag[data-active] { - color: #19191c; - background-color: var(--platform-tag-color); -} - -.platform-tags .platform-tag { - display: flex; - align-items: center; -} - -.platform-tags .platform-tag::before { - display: inline-block; - content: ''; - border-radius: 50%; - background: var(--platform-tag-color); - margin: 0 4px 0 8px; - height: 8px; - width: 8px; - - font-size: 13px; - line-height: 1.6; -} - td.content { padding-left: 24px; padding-top: 16px; @@ -1234,14 +769,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o padding: 8px; } -.sideMenuPart[data-active] > .overview:before { - background: var(--sidemenu-section-active-color); -} - -.sideMenuPart[data-active] > .overview > a { - color: var(--default-white); -} - .table { display: flex; flex-direction: column; @@ -1408,34 +935,3 @@ div.runnablesample { } /* /--- footer --- */ - -/* Logo styles */ -:root { - --dokka-logo-image-url: url('../images/logo-icon.svg'); - --dokka-logo-height: 50px; - --dokka-logo-width: 50px; -} - -.library-name--link { - display: flex; - align-items: center; - color: #fff; - font-weight: 530; -} - -.library-name--link::before { - content: ''; - background: var(--dokka-logo-image-url) center no-repeat; - background-size: var(--dokka-logo-height) var(--dokka-logo-width); - margin-right: 5px; - width: var(--dokka-logo-height); - height: var(--dokka-logo-width); -} - -@media (max-width: 759px) { - .library-name--link::before { - display: none; - } -} - -/* / Logo styles */ diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/abstract-class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/abstract-class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/abstract-class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/abstract-class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/abstract-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/abstract-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/abstract-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/abstract-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/annotation-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/annotation-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/annotation-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/annotation-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/annotation.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/annotation.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/annotation.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/annotation.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/arrow-down.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/arrow-down.svg new file mode 100644 index 0000000000..ca54658d3c --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/arrow-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/burger.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/burger.svg new file mode 100644 index 0000000000..a26f194dc4 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/burger.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/checkbox-off.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/checkbox-off.svg new file mode 100644 index 0000000000..a5117e8d9a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/checkbox-off.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/checkbox-on.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/checkbox-on.svg new file mode 100644 index 0000000000..71891d57dd --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/checkbox-on.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/class-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/class-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/class-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/cross.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/cross.svg new file mode 100644 index 0000000000..232069f85e --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/enum-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/enum-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/enum-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/enum-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/enum.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/enum.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/enum.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/enum.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/exception-class.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/exception-class.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/exception-class.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/exception-class.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/field-value.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/field-value.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/field-value.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/field-value.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/field-variable.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/field-variable.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/field-variable.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/field-variable.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/filter.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/filter.svg new file mode 100644 index 0000000000..be62ea5bf3 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/filter.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/function.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/function.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/function.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/function.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/homepage.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/homepage.svg new file mode 100644 index 0000000000..9a8927a40a --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/interface-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/interface-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/interface-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/interface-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/interface.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/interface.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/interface.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/interface.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/object.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/object.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/object.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/object.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/placeholder.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/placeholder.svg new file mode 100644 index 0000000000..e8129621d2 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/placeholder.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/theme-toggle.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/theme-toggle.svg new file mode 100644 index 0000000000..490263f391 --- /dev/null +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/theme-toggle.svg @@ -0,0 +1,3 @@ + + + diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/typealias-kotlin.svg b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/typealias-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/images/nav-icons/typealias-kotlin.svg rename to dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/assets/typealias-kotlin.svg diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/ui-kit.min.css b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/ui-kit.min.css index 65bf50d52d..349ee87bfe 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/ui-kit.min.css +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/ui-kit.min.css @@ -1 +1 @@ -:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-nav-bar:#27282c;--color-dark-theme-bg:#262628;--color-text-black:#000;--color-text-white:hsla(0,0%,100%,.96);--color-text-light-black:rgba(0,0,0,.7);--color-text-light-white:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w10:hsla(0,0%,100%,.1);--color-w20:hsla(0,0%,100%,.2);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 13px/24px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono)}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none} +.button{align-items:center;background-color:transparent;border:none;border-radius:4px;border-radius:var(--size-s1);box-sizing:border-box;color:#000;color:var(--color-text);cursor:pointer;display:flex;height:40px;justify-content:center;letter-spacing:.045em;padding:8px 12px;padding:var(--size-s2) 12px}.button[\:has\(\:first-child\)]{gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}.button:has(:first-child){gap:8px;gap:var(--size-s2);padding:8px;padding:var(--size-s2)}@media(hover:hover){.button:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.button:active{background-color:#307fff;background-color:var(--color-key-blue)}.button:disabled{cursor:not-allowed;opacity:.5}.button.focus-visible{outline:var(--focus-outline)}.button:focus-visible{outline:var(--focus-outline)}.theme-dark .button{color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.theme-dark .button:hover{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.button_background{background-color:#fff;background-color:var(--color-w100)}.theme-dark .button_background{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.theme-dark .button_background:hover{background-color:hsla(0,0%,100%,.05);background-color:var(--color-w05)}.button_dropdown{font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:8px;padding:var(--size-s2)}.button_dropdown:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;content:"";display:block;filter:invert(1);height:24px;height:var(--size-m1);transform:rotate(0);width:24px;width:var(--size-m1);will-change:transform}.theme-dark .button_dropdown:after{filter:none}.button_dropdown_active{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.button_dropdown_active:hover,.theme-dark .button_dropdown_active:hover{background-color:#639fff}.button_dropdown_active:after{filter:invert(0);transform:rotate(-180deg)}.checkbox{cursor:pointer;display:inline-block;position:relative}.checkbox--input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;visibility:hidden}.checkbox--icon{background-image:url(assets/checkbox-off.svg);height:24px;height:var(--size-m1);margin-left:-32px;margin-left:calc(var(--size-m2)*-1);position:absolute;width:24px;width:var(--size-m1)}.checkbox--input:checked+.checkbox--icon{background-image:url(assets/checkbox-on.svg)}.checkbox--input:disabled+.checkbox--icon{opacity:.2}.checkbox--input.focus-visible{outline:var(--focus-outline)}.checkbox--input:focus-visible{outline:var(--focus-outline)}.dropdown{position:relative}@media(max-width:899px){.dropdown{position:static}}.dropdown--list{background-color:#323237;background-color:var(--color-background-nav-dt);border:1px solid #56565f;box-shadow:0 2px 8px 0 rgba(0,0,0,.251);display:none;max-height:400px;max-width:360px;min-width:272px;overflow-y:auto;padding:12px 0;position:absolute;right:0;top:44px;-webkit-transform:translateZ(0);width:-moz-fit-content;width:fit-content;z-index:10}@media(max-width:899px){.dropdown--list{border:none;height:100vh;max-height:none;padding:0;right:0;top:0}}@media(max-width:439px){.dropdown--list{max-width:none;width:100vw}}.dropdown--list_positioned_right{right:0}.dropdown--list_positioned_left{left:0}@media(max-width:899px){.dropdown--list_positioned_left{left:auto}}.dropdown--list_expanded{display:block}@media(min-width:900px){.dropdown--list_toc-list{background-color:transparent;border:none;box-shadow:none;display:block;max-height:none;max-width:none;min-width:100%;padding:0;position:relative;top:0}}@media(min-width:440px)and (max-width:899px){.dropdown--list_toc-list{width:408px}}.dropdown--option{background-color:#323237;background-color:var(--color-background-nav-dt);border:none;color:var(--color-text-nav-dt);cursor:pointer;display:block;font:400 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-m);letter-spacing:-.03em;list-style-type:none;padding:8px 16px;padding:var(--size-s2) var(--size-s3);position:relative}.dropdown--option:hover{background-color:#4a4a52}.dropdown--option.focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:focus-visible{outline:var(--focus-outline);z-index:1}.dropdown--option:visited{color:var(--color-text-nav-dt)}.dropdown--option_active{background-color:#307fff;background-color:var(--color-key-blue)}.dropdown--option_active:hover{background-color:#639fff}.dropdown--option_link{color:var(--color-text-nav-dt);text-decoration:none}.dropdown--option_link.focus-visible{outline:var(--focus-outline)}.dropdown--option_link:focus-visible{outline:var(--focus-outline)}.dropdown--option .checkbox{pointer-events:none}.dropdown--option .checkbox:first-letter{text-transform:uppercase}.dropdown--overlay{background-color:hsla(0,0%,54%,.5);bottom:0;content:"";display:none;height:100vh;left:0;position:absolute;right:0;top:0;width:100vw;z-index:4}.dropdown--list_expanded+.dropdown--overlay{display:block}@media(min-width:900px){.dropdown--list_expanded+.dropdown--overlay{display:none}}.dropdown--header{align-items:center;background-color:#323237;background-color:var(--color-background-nav-dt);border-bottom:1px solid #56565f;color:hsla(0,0%,100%,.7);color:var(--color-w70);display:flex;height:52px;justify-content:space-between;padding-left:16px;padding-left:var(--size-s3);position:sticky;top:0;z-index:2}@media(min-width:900px){.dropdown--header{display:none}}.filter-section{align-items:center;display:flex;flex-wrap:wrap;gap:2px;justify-content:flex-end;margin-right:12px;max-height:40px;z-index:1}.filter-section_loading{overflow:hidden}@media(min-width:900px){.filter-section--dropdown{display:none}}.filter-section--dropdown-toggle_as-filters{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat;min-width:40px}.filter-section--dropdown-toggle_as-filters:after{display:none}@media(max-width:899px){.filter-section{margin-right:0;max-height:none}.filter-section>:not(.dropdown){display:none}.filter-section--dropdown-toggle{background-image:url(assets/filter.svg);background-position:50% 50%;background-repeat:no-repeat}.filter-section--dropdown-toggle:after{display:none}}.no-js .filter-section{display:none}.ui-kit-icon{background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;filter:invert(1);font-size:0;height:24px;height:var(--size-m1);line-height:0;width:24px;width:var(--size-m1);will-change:background-color}.theme-dark .ui-kit-icon{filter:none}@media(max-width:899px){.theme-dark_mobile .ui-kit-icon{filter:none}}.ui-kit-icon_arrow-down{background-image:url(assets/arrow-down.svg)}.ui-kit-icon_placeholder{background-image:url(assets/placeholder.svg)}.ui-kit-icon_cross{background-image:url(assets/cross.svg)}.library-name--link{align-items:center;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;font:600 16px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-h4);margin-right:8px;margin-right:var(--size-s2);white-space:nowrap}.library-name--link.focus-visible{outline:var(--focus-outline)}.library-name--link:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.library-name--link{height:52px;margin-left:12px}}.library-name--link:before{background:var(--dokka-logo-image-url) center no-repeat;background-size:min(var(--dokka-logo-height),120px) min(var(--dokka-logo-width),36px);content:"";height:var(--dokka-logo-height);margin-right:8px;margin-right:var(--size-s2);max-height:36px;max-width:120px;width:var(--dokka-logo-width)}.library-version{box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding-top:1px}@media(max-width:899px){.library-version{align-items:center;background-color:#000;background-color:var(--color-text);display:flex;height:52px;padding-left:12px}}.navigation{align-items:center;background-color:#27282c;background-color:var(--color-background-nav);box-sizing:border-box;color:hsla(0,0%,100%,.96);color:var(--color-text-dt);display:flex;flex-wrap:nowrap;justify-content:flex-start;padding:12px 24px;padding:12px var(--size-m1);z-index:4}@media(max-width:899px){.navigation{flex-wrap:wrap;height:auto;padding:0}}.theme-dark .navigation{background-color:#323237;background-color:var(--color-background-nav-dt)}@media(max-width:899px){.navigation .button{height:52px;min-width:52px}}.navigation-controls{align-items:center;display:flex;gap:4px;gap:var(--size-s1);margin-left:auto}@media(max-width:899px){.navigation-controls{background-color:#000;background-color:var(--color-text);flex-grow:1;gap:0;justify-content:flex-end}}.no-js .navigation-controls{display:none}.navigation-controls--btn{align-items:center;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;border:none;border-radius:4px;border-radius:var(--size-s1);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:0;height:40px;justify-content:center;line-height:0;padding:0;width:40px;z-index:0}@media(hover:hover){.navigation-controls--btn:hover{background-color:rgba(0,0,0,.08);background-color:var(--color-b08)}}.navigation-controls--btn:active{background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10)}.navigation-controls--btn.focus-visible{outline:var(--focus-outline)}.navigation-controls--btn:focus-visible{outline:var(--focus-outline)}@media(max-width:899px){.navigation-controls--btn{height:52px;width:52px}}.navigation-controls--break{flex-basis:100%}.navigation-controls--btn_theme{background-image:url(assets/theme-toggle.svg)}.navigation-controls--btn_homepage{background-image:url(assets/homepage.svg)}.navigation-controls--btn_toc{background-image:url(assets/burger.svg);margin-left:auto}.platform-tag{--platform-tag-color:#bababb;border:0;border-radius:4px;border-radius:var(--size-s1);font:400 14px/20px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--font-text-s);padding:10px 12px;text-transform:capitalize}.platform-tag,button.platform-tag{cursor:pointer}button.platform-tag.focus-visible{outline:var(--focus-outline)}button.platform-tag:focus-visible{outline:var(--focus-outline)}.platform-selector-option{padding-left:44px}.platform-selector-option.js-like,.platform-selector-option.jvm-like,.platform-selector-option.wasm-like,.platform-tag.js-like,.platform-tag.jvm-like,.platform-tag.wasm-like{text-transform:uppercase}.platform-tags .platform-tag{align-items:center;display:flex}.filter-section .platform-tag[data-active]{background-color:var(--platform-tag-color);color:#19191c}.filter-section .platform-tag.jvm-like[data-active],.platform-tags .platform-tag.jvm-like{--platform-tag-color:#4dbb5f}.filter-section .platform-tag.js-like[data-active],.platform-tags .platform-tag.js-like{--platform-tag-color:#ffc700}.filter-section .platform-tag.native-like[data-active],.platform-tags .platform-tag.native-like{--platform-tag-color:#e082f3}.filter-section .platform-tag.wasm-like[data-active],.platform-tags .platform-tag.wasm-like{--platform-tag-color:#9585f9}@media(hover:hover){.filter-section .platform-tag[data-active]:hover{background-color:hsla(240,1%,73%,.7);color:#fff}}.filter-section .platform-tag[data-active]:active{background-color:hsla(240,1%,73%,.7);color:#fff}.filter-section .platform-tag:not([data-active]){background-color:hsla(0,0%,100%,.1);background-color:var(--color-w10);color:hsla(0,0%,100%,.5);color:var(--color-w50);text-decoration:line-through}.platform-tags .platform-tag:before{background:var(--platform-tag-color);border-radius:50%;content:"";display:inline-block;font-size:13px;height:8px;line-height:1.6;margin:0 4px 0 8px;width:8px}.platform-tags{display:flex;flex-wrap:wrap;margin-bottom:-8px;margin-left:-4px}.platform-hinted>.platform-bookmarks-row,.tabs-section{margin-left:-8px;margin-right:-8px}.platform-hinted>.platform-bookmarks-row>.platform-bookmark,.section-tab{background-color:transparent;border:0;border-bottom:1px solid var(--inactive-tab-border-color);color:var(--inactive-section-color);cursor:pointer;font-size:var(--default-font-size);margin:0 8px;outline:none;padding:11px 3px}.platform-hinted>.platform-bookmarks-row{margin-bottom:16px;margin-bottom:var(--size-s3)}.no-js .platform-bookmarks-row+.sourceset-dependent-content{margin-top:8px;margin-top:var(--size-s2)}.no-js .platform-bookmarks-row+.sourceset-dependent-content:last-of-type{margin-top:0}.section-tab:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.section-tab[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.tabs-section-body>div{margin-top:12px}.tabs-section-body .with-platform-tabs{padding-bottom:12px;padding-top:12px}.platform-hinted{display:block;flex:auto}.platform-hinted>.platform-bookmarks-row>.platform-bookmark{align-self:flex-start;background:inherit;flex:none;min-width:64px;min-width:var(--size-l1);order:5}.platform-hinted>.platform-bookmarks-row>.platform-bookmark:hover{border-bottom:2px solid var(--default-font-color);color:var(--default-font-color)}.platform-hinted>.platform-bookmarks-row>.platform-bookmark[data-active=""]{border-bottom:2px solid var(--active-tab-border-color);color:var(--active-section-color)}.js .platform-hinted>.content:not([data-active]),.js .tabs-section-body [data-togglable]:not([data-active]),.main-content[data-page-type=package] .tabs-section-body h2,.no-js .platform-bookmarks-row,.no-js .tabs-section{display:none}:root{--toc-hover-color:var(--color-b08);--toc-font:400 13px/24px var(--font-family-default);--toc-color:var(--color-text)}.theme-dark{--toc-hover-color:var(--color-w08);--toc-color:var(--color-text-dt)}@media(max-width:899px){.theme-dark_mobile{--toc-color:var(--color-text-dt);--toc-hover-color:var(--color-w08)}}.toc--part{color:#000;color:var(--toc-color);font:400 13px/24px JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Oxygen,Droid Sans,Helvetica Neue,Arial;font:var(--toc-font)}.toc--part,.toc--row{box-sizing:border-box}.toc--row{align-items:center;display:flex;min-height:40px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toc--button{align-items:center;background-color:inherit;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;height:100%;justify-content:flex-end;min-width:40px;padding:0 8px 0 0;position:absolute}.toc--button:after{background-image:url(assets/arrow-down.svg);background-repeat:no-repeat;background-size:24px 24px;content:" ";filter:invert(1);font-size:0;height:24px;line-height:0;transform:rotate(0deg);width:24px}.toc--part_hidden .toc--button:after{transform:rotate(-90deg)}.theme-dark .toc--button:after{filter:invert(0)}@media(max-width:899px){.theme-dark_mobile .toc--button:after{filter:invert(0)}}@media(hover:hover){.toc--button:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}}.toc--button:active{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--button.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--button:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link{box-sizing:border-box;color:inherit;height:calc(100% - 16px);min-height:40px;padding:8px 4px 8px 0;width:100%}.toc--link:hover{background-color:rgba(0,0,0,.08);background-color:var(--toc-hover-color)}.toc--link.focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--link:focus-visible{outline:var(--focus-outline);outline-offset:-4px}.toc--part[data-nesting-level="0"] .toc--row>.toc--link:first-child{padding-left:40px;padding-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button+.toc--link{margin-left:40px;margin-left:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="0"] .toc--button{width:40px;width:calc(40px + var(--size-m1)*0)}.toc--part[data-nesting-level="1"] .toc--row>.toc--link:first-child{padding-left:64px;padding-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button+.toc--link{margin-left:64px;margin-left:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="1"] .toc--button{width:64px;width:calc(40px + var(--size-m1)*1)}.toc--part[data-nesting-level="2"] .toc--row>.toc--link:first-child{padding-left:88px;padding-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button+.toc--link{margin-left:88px;margin-left:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="2"] .toc--button{width:88px;width:calc(40px + var(--size-m1)*2)}.toc--part[data-nesting-level="3"] .toc--row>.toc--link:first-child{padding-left:112px;padding-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button+.toc--link{margin-left:112px;margin-left:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="3"] .toc--button{width:112px;width:calc(40px + var(--size-m1)*3)}.toc--part[data-nesting-level="4"] .toc--row>.toc--link:first-child{padding-left:136px;padding-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button+.toc--link{margin-left:136px;margin-left:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="4"] .toc--button{width:136px;width:calc(40px + var(--size-m1)*4)}.toc--part[data-nesting-level="5"] .toc--row>.toc--link:first-child{padding-left:160px;padding-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button+.toc--link{margin-left:160px;margin-left:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="5"] .toc--button{width:160px;width:calc(40px + var(--size-m1)*5)}.toc--part[data-nesting-level="6"] .toc--row>.toc--link:first-child{padding-left:184px;padding-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button+.toc--link{margin-left:184px;margin-left:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="6"] .toc--button{width:184px;width:calc(40px + var(--size-m1)*6)}.toc--part[data-nesting-level="7"] .toc--row>.toc--link:first-child{padding-left:208px;padding-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button+.toc--link{margin-left:208px;margin-left:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="7"] .toc--button{width:208px;width:calc(40px + var(--size-m1)*7)}.toc--part[data-nesting-level="8"] .toc--row>.toc--link:first-child{padding-left:232px;padding-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button+.toc--link{margin-left:232px;margin-left:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="8"] .toc--button{width:232px;width:calc(40px + var(--size-m1)*8)}.toc--part[data-nesting-level="9"] .toc--row>.toc--link:first-child{padding-left:256px;padding-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button+.toc--link{margin-left:256px;margin-left:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="9"] .toc--button{width:256px;width:calc(40px + var(--size-m1)*9)}.toc--part[data-nesting-level="10"] .toc--row>.toc--link:first-child{padding-left:280px;padding-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button+.toc--link{margin-left:280px;margin-left:calc(40px + var(--size-m1)*10)}.toc--part[data-nesting-level="10"] .toc--button{width:280px;width:calc(40px + var(--size-m1)*10)}.filtered>.toc--button,.toc .filtered>a{display:none}.toc #nav-submenu{padding-left:24px}.toc--part_hidden>.toc--part{display:none}.toc--row .toc--link-grid{display:grid;grid-template-columns:16px auto;grid-gap:6px;align-items:center}.toc--icon{height:16px;width:16px}.toc--icon.class:before{content:url(assets/class.svg)}.toc--icon.class-kt:before{content:url(assets/class-kotlin.svg)}.toc--icon.function:before{content:url(assets/function.svg)}.toc--icon.enum-class:before{content:url(assets/enum.svg)}.toc--icon.enum-class-kt:before{content:url(assets/enum-kotlin.svg)}.toc--icon.annotation-class:before{content:url(assets/annotation.svg)}.toc--icon.annotation-class-kt:before{content:url(assets/annotation-kotlin.svg)}.toc--icon.abstract-class:before{content:url(assets/abstract-class.svg)}.toc--icon.abstract-class-kt:before{content:url(assets/abstract-class-kotlin.svg)}.toc--icon.exception-class:before{content:url(assets/exception-class.svg)}.toc--icon.interface:before{content:url(assets/interface.svg)}.toc--icon.interface-kt:before{content:url(assets/interface-kotlin.svg)}.toc--icon.object:before{content:url(assets/object.svg)}.toc--icon.typealias-kt:before{content:url(assets/typealias-kotlin.svg)}.toc--icon.val:before{content:url(assets/field-value.svg)}.toc--icon.var:before{content:url(assets/field-variable.svg)}.toc--part[data-active]>.toc--row .toc--button,.toc--part[data-active]>.toc--row .toc--link{background-color:#307fff;background-color:var(--color-key-blue);color:hsla(0,0%,100%,.96);color:var(--color-text-dt)}.toc--part[data-active]>.toc--row .toc--button:hover,.toc--part[data-active]>.toc--row .toc--link:hover{background-color:#578af7}.toc--part[data-active]>.toc--row .toc--button:after,.toc--part[data-active]>.toc--row .toc--link:after{filter:invert(0)}.sidebar{border-right:1px solid rgba(39,40,44,.2);box-sizing:border-box;overflow:auto;width:var(--sidebar-width)}@media(max-width:899px){.sidebar{border:none;width:0}}@media(min-width:900px){.sidebar{position:relative;z-index:1}}@media(max-width:899px){.sidebar .button{height:52px;min-width:52px}}.theme-dark .sidebar{border-right-color:#56565f}.no-js .sidebar{display:none}.sidebar--inner{padding-bottom:12px;padding-top:12px}@media(max-width:899px){.ui-kit_desktop-only{display:none}}@media(min-width:900px){.ui-kit_mobile-only{display:none}}:root{--breakpoint-desktop-min:900px;--breakpoint-tablet-max:899px;--breakpoint-tablet-min:440px;--breakpoint-mobile-max:439px;--breakpoint-mobile-min:360px;--color-key-blue:#307fff;--color-key-blue-50:rgba(48,127,255,.5);--color-background-nav:#27282c;--color-background-nav-dt:#323237;--color-background-page:#fff;--color-background-page-dt:#262628;--color-background-footer:#ebebeb;--color-background-footer-dt:#323237;--color-text:#000;--color-text-dt:hsla(0,0%,100%,.96);--color-text-light:rgba(0,0,0,.7);--color-text-light-dt:hsla(0,0%,100%,.7);--color-w05:hsla(0,0%,100%,.05);--color-w08:hsla(0,0%,100%,.08);--color-w10:hsla(0,0%,100%,.1);--color-w16:hsla(0,0%,100%,.16);--color-w50:hsla(0,0%,100%,.5);--color-w70:hsla(0,0%,100%,.7);--color-w80:hsla(0,0%,100%,.8);--color-w100:#fff;--color-b05:rgba(0,0,0,.05);--color-b08:rgba(0,0,0,.08);--color-b20:rgba(0,0,0,.2);--color-b50:rgba(0,0,0,.5);--color-b70:rgba(0,0,0,.7);--color-cd-punctuation:#999;--color-cd-keyword:#0033b3;--color-cd-keyword-alternative:#cc7832;--color-cd-builtin:#067d17;--color-cd-builtin-alternative:#e7bf6a;--color-cd-function:#00627a;--color-cd-function-alternative:#ffc66d;--color-cd-operator:#9a6e3a;--color-cd-operator-alternative:#a9b7c6;--color-cd-body:#000;--color-cd-body-alternative:#a9b7c6;--color-generic:#539df3;--color-jvm:#4dbb5f;--color-js:#ffc700;--color-wasm:#fff;--size-s1:4px;--size-s2:8px;--size-s3:16px;--size-m1:24px;--size-m2:32px;--size-m3:48px;--size-l1:64px;--size-l2:72px;--size-ta1:40px;--size-ta2:52px;--font-family-default:JetBrains Sans,Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,Arial,sans-serif;--font-family-mono:JetBrains Mono,SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;--font-h1:600 44px/44px var(--font-family-default);--font-h2:600 32px/32px var(--font-family-default);--font-h3:600 24px/24px var(--font-family-default);--font-h4:600 16px/24px var(--font-family-default);--font-text-m:400 16px/24px var(--font-family-default);--font-text-s:400 14px/20px var(--font-family-default);--font-code:400 16px/24px var(--font-family-mono);--hover-transition:background-color 200ms ease-in-out;--rotate-transition:transform 200ms ease-in-out;--color-background:var(--color-background-page);--focus-outline:4px solid var(--color-key-blue-50)}.theme-dark{--color-background:var(--color-background-page-dt)}body,table{background-color:#fff;background-color:var(--color-background)} \ No newline at end of file diff --git a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/ui-kit.min.js b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/ui-kit.min.js index 7c7682878a..96b8d53062 100644 --- a/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/ui-kit.min.js +++ b/dokka-integration-tests/gradle/src/testExampleProjects/expectedData/exampleProjects/versioning-multimodule-example/html/ui-kit/ui-kit.min.js @@ -1 +1 @@ -(()=>{"use strict";var t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],r=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,a){t&&localStorage.setItem(e,a)}}}();function a(e){var a,r=null===(a=e.getAttribute("data-togglable"))||void 0===a?void 0:a.split(",");!function(a){var r,o,n,l;try{for(var i=t(document.getElementsByClassName("tabs-section")),c=i.next();!c.done;c=i.next()){var u=c.value;try{for(var d=(n=void 0,t(u.children)),s=d.next();!s.done;s=d.next()){var g=s.value;g.getAttribute("data-togglable")===e.getAttribute("data-togglable")?g.setAttribute("data-active",""):g.removeAttribute("data-active")}}catch(t){n={error:t}}finally{try{s&&!s.done&&(l=d.return)&&l.call(d)}finally{if(n)throw n.error}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");r&&e&&r.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),r="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&a(e)}(t),t.addEventListener("click",(function(t){var o=t.target,n=o?o.getAttribute("data-togglable"):null;n&&(e.setItem(r,JSON.stringify(n)),a(o))}))}));var o=e.getItem(r);if(o){var n=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(o)+'"]');n&&a(n)}},window.toggleSections=a})(); \ No newline at end of file +(()=>{"use strict";function t(e,n){return!(!e||!e.classList.contains(n))||!!e.parentElement&&t(e.parentElement,n)}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("div.button").forEach((function(t){t.addEventListener("keydown",(function(e){var n=e.key;"Enter"!==n&&" "!==n||t.dispatchEvent(new MouseEvent("click"))}))}))}));function e(){return window.innerWidth<440?"mobile":window.innerWidth>=440&&window.innerWidth<900?"tablet":"desktop"}var n=function(){function t(t){this.trapElement=t,this.handleKeyDown=this.handleKeyDown.bind(this),this.trapElement.addEventListener("keydown",this.handleKeyDown)}return t.prototype.handleKeyDown=function(t){var e=Array.from(this.trapElement.querySelectorAll('[role="option"]')).filter((function(t){return"none"!==t.style.display&&-1!==t.tabIndex}));if(["Tab","ArrowDown","ArrowUp"].includes(t.key)&&0!==e.length){var n=e[0],o=e[e.length-1];if("ArrowUp"===t.key)if(document.activeElement===n)o.focus();else{var r=e.indexOf(document.activeElement);e[r-1].focus()}"ArrowDown"===t.key&&(document.activeElement===o?n.focus():(r=e.indexOf(document.activeElement),e[r+1].focus())),"Tab"===t.key&&(t.shiftKey?document.activeElement===n&&(o.focus(),t.preventDefault()):document.activeElement===o&&(n.focus(),t.preventDefault()))}},t.prototype.destroy=function(){this.trapElement.removeEventListener("keydown",this.handleKeyDown)},t}(),o='[data-role="dropdown"]',r='[data-role="dropdown-toggle"]',i='[data-role="dropdown-listbox"]';function l(t){var e,n,o=t.querySelectorAll(r);null==o||o.forEach(a),e=t.querySelector(i),n=o[0].offsetWidth,e&&(e.classList.toggle("dropdown--list_expanded"),e.classList.contains("dropdown--list_expanded")?c(e,n):c(e,void 0))}function a(t){t.classList.contains("button_dropdown")&&t.classList.toggle("button_dropdown_active")}function c(t,e){if(e){var n=parseInt(getComputedStyle(t).minWidth,10),o=isNaN(n)?e:Math.max(n,e);t.style.minWidth="".concat(o,"px")}else t.style.minWidth=""}function d(e){var n=e.target;t(n,"dropdown")&&"dropdown--overlay"!==n.className||document.querySelectorAll(o).forEach((function(t){var e,n;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(t){t.classList.remove("button_dropdown_active")})),null===(n=t.querySelectorAll(i))||void 0===n||n.forEach((function(t){t.classList.remove("dropdown--list_expanded"),t.style.minWidth=""}))}))}function u(t){t.tag.removeAttribute("style"),t.option.setAttribute("style","display: none")}function s(t){t.tag.setAttribute("style","display: none"),t.option.removeAttribute("style")}function f(t){var e,n=null===(e=t.querySelector(".checkbox--input"))||void 0===e?void 0:e.getAttribute("data-filter");n&&(-1===filteringContext.activeFilters.findIndex((function(t){return t===n}))?unfilterSourceset(n):filterSourceset(n)),refreshFiltering()}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(o).forEach((function(t){var e;null===(e=t.querySelectorAll(r))||void 0===e||e.forEach((function(e){e.addEventListener("click",(function(){return l(t)}))})),function(t){new n(t),t.addEventListener("keydown",(function(e){var n;"Escape"===e.key&&(l(t),null===(n=t.querySelector(r))||void 0===n||n.focus())}))}(t)})),document.addEventListener("click",d)})),document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("navigation-wrapper"),n=document.getElementById("library-version"),o=document.getElementById("filter-section"),r=document.querySelector("#filter-section + .navigation-controls--btn"),i=document.getElementById("filter-section-dropdown");if(t&&n&&o&&r&&i){var l=null==o?void 0:o.querySelectorAll(".dropdown--option"),a=null==o?void 0:o.querySelectorAll(".platform-selector");if(a&&l)if(a.length===l.length){var c=Array.from({length:a.length}).map((function(t,e){return{tag:a[e],option:l[e]}})),d=c.map((function(t){return t.tag.getBoundingClientRect().width})),v=e(),m=new ResizeObserver((function(){var n=e();v!==n&&(c.forEach(u),d=function(t){return t.map((function(t){return t.tag.getBoundingClientRect().width}))}(c)),v=n,y(),m.unobserve(t)})),g=function(){m.observe(t)};y(),g(),l.forEach((function(t){t.addEventListener("click",(function(t){f(t.target)})),t.addEventListener("keydown",(function(t){var e=t.key;"Enter"!==e&&" "!==e||f(t.target)}))})),window.addEventListener("resize",g)}else console.warn("Dokka: filter section items are not equal");else console.warn("Dokka: filter section items are not found")}else console.warn("Dokka: filter section is not found");function y(){var e,l;if(t&&i){if(t.getBoundingClientRect().width<900)return c.forEach(s),void i.removeAttribute("style");var a=(n&&r?r.getBoundingClientRect().left-n.getBoundingClientRect().right:0)-44-10,f=0;i.removeAttribute("style");var v=!1;c.forEach((function(t,e){(f+=d[e]+4)=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){var t=!1;try{var e="__testLocalStorageKey__";localStorage.setItem(e,e),localStorage.removeItem(e),t=!0}catch(t){console.error("Local storage is not available",t)}return{getItem:function(e){return t?localStorage.getItem(e):null},setItem:function(e,n){t&&localStorage.setItem(e,n)}}}();function g(t){var e,n=null===(e=t.getAttribute("data-togglable"))||void 0===e?void 0:e.split(",");!function(){var e,n,o,r;try{for(var i=v(document.getElementsByClassName("tabs-section")),l=i.next();!l.done;l=i.next()){var a=l.value;try{for(var c=(o=void 0,v(a.children)),d=c.next();!d.done;d=c.next()){var u=d.value;u.getAttribute("data-togglable")===t.getAttribute("data-togglable")?u.setAttribute("data-active",""):u.removeAttribute("data-active")}}catch(t){o={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}(),document.querySelectorAll(".tabs-section-body *[data-togglable]").forEach((function(t){var e=t.getAttribute("data-togglable");n&&e&&n.includes(e)?t.setAttribute("data-active",""):t.classList.contains("sourceset-dependent-content")||t.removeAttribute("data-active")}))}window.initTabs=function(){var t=document.querySelector(".main-content"),e="active-tab-"+(t?t.getAttribute("data-page-type"):null);document.querySelectorAll("div[tabs-section]").forEach((function(t){!function(t){var e=t.querySelector("button[data-active]");e&&g(e)}(t),t.addEventListener("click",(function(t){var n=t.target,o=n?n.getAttribute("data-togglable"):null;o&&(m.setItem(e,JSON.stringify(o)),g(n))}))}));var n=m.getItem(e);if(n){var o=document.querySelector('div[tabs-section] > button[data-togglable="'+JSON.parse(n)+'"]');o&&g(o)}},window.toggleSections=g,document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-remove-style="true"]').forEach((function(t){t.removeAttribute("style")}))}))})(); \ No newline at end of file