DCFronted/node_modules/vue-tournament-bracket/dist/vue-tournament-bracket.umd.min.js
2025-05-28 17:55:30 +08:00

2 lines
60 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-tournament-bracket"]=e(require("vue")):t["vue-tournament-bracket"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(){var e={448:function(t,e){var r,n,o;(function(i,c){n=[],r=c,o="function"===typeof r?r.apply(e,n):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var r,n,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,u=i.exec(d.stack)||c.exec(d.stack),a=u&&u[1]||!1,s=u&&u[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");a===f&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var p=0;p<l.length;p++){if("interactive"===l[p].readyState)return l[p];if(l[p].src===a)return l[p];if(a===f&&l[p].innerHTML&&l[p].innerHTML.trim()===o)return l[p]}return null}}return t}))},4888:function(t,e,r){"use strict";r.r(e);var n=r(5500),o=r.n(n),i=r(2312),c=r.n(i),u=c()(o());u.push([t.id,".vtb-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}",""]),e["default"]=u},6348:function(t,e,r){"use strict";r.r(e);var n=r(5500),o=r.n(n),i=r(2312),c=r.n(i),u=c()(o());u.push([t.id,'.vtb-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.vtb-item p{padding:20px;margin:0;background-color:#999}.vtb-item-parent{position:relative;margin-left:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vtb-item-players{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#999;margin:0;color:#fff}.vtb-item-players .vtb-player{padding:10px}.vtb-item-players .winner{background-color:#006400}.vtb-item-players .defeated{background-color:#b22222}.vtb-item-players .winner.highlight{background-color:#8fbc8f}.vtb-item-players .defeated.highlight{background-color:#cd5c5c}.vtb-item-parent:after{position:absolute;content:"";width:25px;height:2px;left:0;top:50%;background-color:gray;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.vtb-item-children{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vtb-item-child,.vtb-item-children{display:-webkit-box;display:-ms-flexbox;display:flex}.vtb-item-child{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:10px;margin-bottom:10px;position:relative}.vtb-item-child:before{right:0;-webkit-transform:translateX(100%);transform:translateX(100%);width:25px;height:2px}.vtb-item-child:after,.vtb-item-child:before{content:"";position:absolute;background-color:gray;top:50%}.vtb-item-child:after{right:-25px;height:calc(50% + 22px);width:2px}.vtb-item-child:last-child:after{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.vtb-item-child:only-child:after{display:none}',""]),e["default"]=u},2312:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n="undefined"!==typeof e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,o,i){"string"===typeof t&&(t=[[null,t,void 0]]);var c={};if(n)for(var u=0;u<this.length;u++){var a=this[u][0];null!=a&&(c[a]=!0)}for(var s=0;s<t.length;s++){var f=[].concat(t[s]);n&&c[f[0]]||("undefined"!==typeof i&&("undefined"===typeof f[5]||(f[1]="@layer".concat(f[5].length>0?" ".concat(f[5]):""," {").concat(f[1],"}")),f[5]=i),r&&(f[2]?(f[1]="@media ".concat(f[2]," {").concat(f[1],"}"),f[2]=r):f[2]=r),o&&(f[4]?(f[1]="@supports (".concat(f[4],") {").concat(f[1],"}"),f[4]=o):f[4]="".concat(o)),e.push(f))}},e}},5500:function(t){"use strict";t.exports=function(t){return t[1]}},288:function(t,e,r){var n=r(8100)["default"];function o(t,e,r){var i=e[t.id]||[];t.title="round "+r;for(var c=0;c<i.length;c++){var u=i[c],a=n(n({},u),{},{title:"round ".concat([r]),hasParent:!0,games:[]});o(a,e,r-1),t.games.push(a)}return t}r(6568),r(3248),r(1040),r(9640),r(2984),t.exports={transform:function(t){if(!t)return null;for(var e=t.length,r=[],o=[],i=function(e){if(r=t[e].games.map((function(r){return n(n({},r),{},{title:"round "+e,games:[],hasParent:!!t[e+1]})})),0===o.length)return o=r,1;for(var i=0;i<o.length;i++){var c=Math.floor(i/2);r[c].games.push(o[i])}o=r},c=0;c<e;c++)i(c);return r[0]||null},transformFlatTree:function(t){var e={},r=null;t.forEach((function(t){t.next||r?(e[t.next]||(e[t.next]=[]),e[t.next].push(t)):r=t}));var i=n(n({},r),{},{title:"round",games:[],hasParent:!1});return o(i,e,Object.keys(e).length)}}},8152:function(t,e){"use strict";e.c=(t,e)=>{const r=t.__vccOpts||t;for(const[n,o]of e)r[n]=o;return r}},1092:function(t,e,r){var n=r(4888);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var o=r(8024).c;o("7145b095",n,!0,{sourceMap:!1,shadowMode:!1})},6600:function(t,e,r){var n=r(6348);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var o=r(8024).c;o("ae25ec7a",n,!0,{sourceMap:!1,shadowMode:!1})},8024:function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},o=0;o<e.length;o++){var i=e[o],c=i[0],u=i[1],a=i[2],s=i[3],f={id:t+":"+o,css:u,media:a,sourceMap:s};n[c]?n[c].parts.push(f):r.push(n[c]={id:c,parts:[f]})}return r}r.d(e,{c:function(){return v}});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},c=o&&(document.head||document.getElementsByTagName("head")[0]),u=null,a=0,s=!1,f=function(){},l=null,p="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,r,o){s=r,l=o||{};var c=n(t,e);return h(c),function(e){for(var r=[],o=0;o<c.length;o++){var u=c[o],a=i[u.id];a.refs--,r.push(a)}e?(c=n(t,e),h(c)):c=[];for(o=0;o<r.length;o++){a=r[o];if(0===a.refs){for(var s=0;s<a.parts.length;s++)a.parts[s]();delete i[a.id]}}}}function h(t){for(var e=0;e<t.length;e++){var r=t[e],n=i[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(g(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var c=[];for(o=0;o<r.parts.length;o++)c.push(g(r.parts[o]));i[r.id]={id:r.id,refs:1,parts:c}}}}function y(){var t=document.createElement("style");return t.type="text/css",c.appendChild(t),t}function g(t){var e,r,n=document.querySelector("style["+p+'~="'+t.id+'"]');if(n){if(s)return f;n.parentNode.removeChild(n)}if(d){var o=a++;n=u||(u=y()),e=m.bind(null,n,o,!1),r=m.bind(null,n,o,!0)}else n=y(),e=x.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}var b=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}();function m(t,e,r,n){var o=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=b(e,o);else{var i=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(i,c[e]):t.appendChild(i)}}function x(t,e){var r=e.css,n=e.media,o=e.sourceMap;if(n&&t.setAttribute("media",n),l.ssrId&&t.setAttribute(p,e.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}},9648:function(e){"use strict";e.exports=t},1896:function(t,e,r){"use strict";var n=r(9063),o=r(4596),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},9472:function(t,e,r){"use strict";var n=r(968),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},2328:function(t,e,r){"use strict";var n=r(1840),o=r(8340),i=r(368).f,c=n("unscopables"),u=Array.prototype;void 0===u[c]&&i(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},6884:function(t,e,r){"use strict";var n=r(1968).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},8424:function(t,e,r){"use strict";var n=r(808),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},5935:function(t,e,r){"use strict";var n=r(4904).forEach,o=r(4528),i=o("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},2196:function(t,e,r){"use strict";var n=r(9740),o=r(4160),i=r(9480),c=function(t){return function(e,r,c){var u,a=n(e),s=i(a),f=o(c,s);if(t&&r!==r){while(s>f)if(u=a[f++],u!==u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},4904:function(t,e,r){"use strict";var n=r(2880),o=r(1447),i=r(6212),c=r(6804),u=r(9480),a=r(8488),s=o([].push),f=function(t){var e=1===t,r=2===t,o=3===t,f=4===t,l=6===t,p=7===t,d=5===t||l;return function(v,h,y,g){for(var b,m,x=c(v),w=i(x),S=u(w),O=n(h,y),P=0,k=g||a,E=e?k(v,S):r||p?k(v,0):void 0;S>P;P++)if((d||P in w)&&(b=w[P],m=O(b,P,x),t))if(e)E[P]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return P;case 2:s(E,b)}else switch(t){case 4:return!1;case 7:s(E,b)}return l?-1:o||f?f:E}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},7776:function(t,e,r){"use strict";var n=r(6040),o=r(1840),i=r(3356),c=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[],r=e.constructor={};return r[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},4528:function(t,e,r){"use strict";var n=r(6040);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},7934:function(t,e,r){"use strict";var n=r(3528),o=r(1064),i=TypeError,c=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,e){if(o(t)&&!c(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},7588:function(t,e,r){"use strict";var n=r(1447);t.exports=n([].slice)},2244:function(t,e,r){"use strict";var n=r(1064),o=r(780),i=r(808),c=r(1840),u=c("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,o(e)&&(e===a||n(e.prototype))?e=void 0:i(e)&&(e=e[u],null===e&&(e=void 0))),void 0===e?a:e}},8488:function(t,e,r){"use strict";var n=r(2244);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},5983:function(t,e,r){"use strict";var n=r(1447),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},8040:function(t,e,r){"use strict";var n=r(1712),o=r(9063),i=r(5983),c=r(1840),u=c("toStringTag"),a=Object,s="Arguments"===i(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(r){}};t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=f(e=a(t),u))?r:s?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},4304:function(t,e,r){"use strict";var n=r(6216),o=r(9976),i=r(4560),c=r(368);t.exports=function(t,e,r){for(var u=o(e),a=c.f,s=i.f,f=0;f<u.length;f++){var l=u[f];n(t,l)||r&&n(r,l)||a(t,l,s(e,l))}}},6740:function(t,e,r){"use strict";var n=r(6040);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},2596:function(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},3652:function(t,e,r){"use strict";var n=r(3528),o=r(368),i=r(9200);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9200:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8931:function(t,e,r){"use strict";var n=r(8732),o=r(368),i=r(9200);t.exports=function(t,e,r){var c=n(e);c in t?o.f(t,c,i(0,r)):t[c]=r}},6268:function(t,e,r){"use strict";var n=r(8424),o=r(7664),i=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new i("Incorrect hint");return o(this,t)}},1720:function(t,e,r){"use strict";var n=r(316),o=r(368);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},3244:function(t,e,r){"use strict";var n=r(9063),o=r(368),i=r(316),c=r(1544);t.exports=function(t,e,r,u){u||(u={});var a=u.enumerable,s=void 0!==u.name?u.name:e;if(n(r)&&i(r,s,u),u.global)a?t[e]=r:c(e,r);else{try{u.unsafe?t[e]&&(a=!0):delete t[e]}catch(f){}a?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},1544:function(t,e,r){"use strict";var n=r(5624),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},3528:function(t,e,r){"use strict";var n=r(6040);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9308:function(t,e,r){"use strict";var n=r(5624),o=r(808),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},3272:function(t){"use strict";var e=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw e("Maximum allowed index exceeded");return t}},5848:function(t){"use strict";t.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}},8280:function(t,e,r){"use strict";var n=r(9308),o=n("span").classList,i=o&&o.constructor&&o.constructor.prototype;t.exports=i===Object.prototype?void 0:i},8232:function(t){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3356:function(t,e,r){"use strict";var n,o,i=r(5624),c=r(8232),u=i.process,a=i.Deno,s=u&&u.versions||a&&a.version,f=s&&s.v8;f&&(n=f.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&c&&(n=c.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),t.exports=o},4656:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6064:function(t,e,r){"use strict";var n=r(1447),o=Error,i=n("".replace),c=function(t){return String(new o(t).stack)}("zxcasd"),u=/\n\s*at [^:]*:[^\n]*/,a=u.test(c);t.exports=function(t,e){if(a&&"string"==typeof t&&!o.prepareStackTrace)while(e--)t=i(t,u,"");return t}},4736:function(t,e,r){"use strict";var n=r(3652),o=r(6064),i=r(1512),c=Error.captureStackTrace;t.exports=function(t,e,r,u){i&&(c?c(t,e):n(t,"stack",o(r,u)))}},1512:function(t,e,r){"use strict";var n=r(6040),o=r(9200);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},3748:function(t,e,r){"use strict";var n=r(5624),o=r(4560).f,i=r(3652),c=r(3244),u=r(1544),a=r(4304),s=r(5272);t.exports=function(t,e){var r,f,l,p,d,v,h=t.target,y=t.global,g=t.stat;if(f=y?n:g?n[h]||u(h,{}):n[h]&&n[h].prototype,f)for(l in e){if(d=e[l],t.dontCallGetSet?(v=o(f,l),p=v&&v.value):p=f[l],r=s(y?l:h+(g?".":"#")+l,t.forced),!r&&void 0!==p){if(typeof d==typeof p)continue;a(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),c(f,l,d,t)}}},6040:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},8760:function(t,e,r){"use strict";r(2644);var n=r(892),o=r(3244),i=r(8096),c=r(6040),u=r(1840),a=r(3652),s=u("species"),f=RegExp.prototype;t.exports=function(t,e,r,l){var p=u(t),d=!c((function(){var e={};return e[p]=function(){return 7},7!==""[t](e)})),v=d&&!c((function(){var e=!1,r=/a/;return"split"===t&&(r={},r.constructor={},r.constructor[s]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null},r[p](""),!e}));if(!d||!v||r){var h=/./[p],y=e(p,""[t],(function(t,e,r,o,c){var u=e.exec;return u===i||u===f.exec?d&&!c?{done:!0,value:n(h,e,r,o)}:{done:!0,value:n(t,r,e,o)}:{done:!1}}));o(String.prototype,t,y[0]),o(f,p,y[1])}l&&a(f[p],"sham",!0)}},4744:function(t,e,r){"use strict";var n=r(5744),o=Function.prototype,i=o.apply,c=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(i):function(){return c.apply(i,arguments)})},2880:function(t,e,r){"use strict";var n=r(8168),o=r(1896),i=r(5744),c=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?c(t,e):function(){return t.apply(e,arguments)}}},5744:function(t,e,r){"use strict";var n=r(6040);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},892:function(t,e,r){"use strict";var n=r(5744),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},3788:function(t,e,r){"use strict";var n=r(3528),o=r(6216),i=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),a=u&&"something"===function(){}.name,s=u&&(!n||n&&c(i,"name").configurable);t.exports={EXISTS:u,PROPER:a,CONFIGURABLE:s}},6632:function(t,e,r){"use strict";var n=r(1447),o=r(1896);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(i){}}},8168:function(t,e,r){"use strict";var n=r(5983),o=r(1447);t.exports=function(t){if("Function"===n(t))return o(t)}},1447:function(t,e,r){"use strict";var n=r(5744),o=Function.prototype,i=o.call,c=n&&o.bind.bind(i,i);t.exports=n?c:function(t){return function(){return i.apply(t,arguments)}}},4960:function(t,e,r){"use strict";var n=r(5624),o=r(9063),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},6852:function(t,e,r){"use strict";var n=r(1447),o=r(1064),i=r(9063),c=r(5983),u=r(1992),a=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var s=t[n];"string"==typeof s?a(r,s):"number"!=typeof s&&"Number"!==c(s)&&"String"!==c(s)||a(r,u(s))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},364:function(t,e,r){"use strict";var n=r(1896),o=r(952);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},5624:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6216:function(t,e,r){"use strict";var n=r(1447),o=r(6804),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},6480:function(t){"use strict";t.exports={}},6836:function(t,e,r){"use strict";var n=r(4960);t.exports=n("document","documentElement")},784:function(t,e,r){"use strict";var n=r(3528),o=r(6040),i=r(9308);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6212:function(t,e,r){"use strict";var n=r(1447),o=r(6040),i=r(5983),c=Object,u=n("".split);t.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?u(t,""):c(t)}:c},2744:function(t,e,r){"use strict";var n=r(9063),o=r(808),i=r(5168);t.exports=function(t,e,r){var c,u;return i&&n(c=e.constructor)&&c!==r&&o(u=c.prototype)&&u!==r.prototype&&i(t,u),t}},8460:function(t,e,r){"use strict";var n=r(1447),o=r(9063),i=r(9136),c=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},8712:function(t,e,r){"use strict";var n=r(808),o=r(3652);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},5444:function(t,e,r){"use strict";var n,o,i,c=r(280),u=r(5624),a=r(808),s=r(3652),f=r(6216),l=r(9136),p=r(8192),d=r(6480),v="Object already initialized",h=u.TypeError,y=u.WeakMap,g=function(t){return i(t)?o(t):n(t,{})},b=function(t){return function(e){var r;if(!a(e)||(r=o(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return r}};if(c||l.state){var m=l.state||(l.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw new h(v);return e.facade=t,m.set(t,e),e},o=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var x=p("state");d[x]=!0,n=function(t,e){if(f(t,x))throw new h(v);return e.facade=t,s(t,x,e),e},o=function(t){return f(t,x)?t[x]:{}},i=function(t){return f(t,x)}}t.exports={set:n,get:o,has:i,enforce:g,getterFor:b}},1064:function(t,e,r){"use strict";var n=r(5983);t.exports=Array.isArray||function(t){return"Array"===n(t)}},9063:function(t){"use strict";var e="object"==typeof document&&document.all;t.exports="undefined"==typeof e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},780:function(t,e,r){"use strict";var n=r(1447),o=r(6040),i=r(9063),c=r(8040),u=r(4960),a=r(8460),s=function(){},f=u("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),d=!l.test(s),v=function(t){if(!i(t))return!1;try{return f(s,[],t),!0}catch(e){return!1}},h=function(t){if(!i(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(l,a(t))}catch(e){return!0}};h.sham=!0,t.exports=!f||o((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?h:v},5272:function(t,e,r){"use strict";var n=r(6040),o=r(9063),i=/#|\.prototype\./,c=function(t,e){var r=a[u(t)];return r===f||r!==s&&(o(e)?n(e):!!e)},u=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=c.data={},s=c.NATIVE="N",f=c.POLYFILL="P";t.exports=c},952:function(t){"use strict";t.exports=function(t){return null===t||void 0===t}},808:function(t,e,r){"use strict";var n=r(9063);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},968:function(t,e,r){"use strict";var n=r(808);t.exports=function(t){return n(t)||null===t}},2804:function(t){"use strict";t.exports=!1},6232:function(t,e,r){"use strict";var n=r(4960),o=r(9063),i=r(6056),c=r(9448),u=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,u(t))}},7936:function(t,e,r){"use strict";var n=r(5412).IteratorPrototype,o=r(8340),i=r(9200),c=r(4200),u=r(4920),a=function(){return this};t.exports=function(t,e,r,s){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!s,r)}),c(t,f,!1,!0),u[f]=a,t}},8752:function(t,e,r){"use strict";var n=r(3748),o=r(892),i=r(2804),c=r(3788),u=r(9063),a=r(7936),s=r(1304),f=r(5168),l=r(4200),p=r(3652),d=r(3244),v=r(1840),h=r(4920),y=r(5412),g=c.PROPER,b=c.CONFIGURABLE,m=y.IteratorPrototype,x=y.BUGGY_SAFARI_ITERATORS,w=v("iterator"),S="keys",O="values",P="entries",k=function(){return this};t.exports=function(t,e,r,c,v,y,E){a(r,e,c);var j,N,I,T=function(t){if(t===v&&R)return R;if(!x&&t&&t in _)return _[t];switch(t){case S:return function(){return new r(this,t)};case O:return function(){return new r(this,t)};case P:return function(){return new r(this,t)}}return function(){return new r(this)}},C=e+" Iterator",A=!1,_=t.prototype,M=_[w]||_["@@iterator"]||v&&_[v],R=!x&&M||T(v),L="Array"===e&&_.entries||M;if(L&&(j=s(L.call(new t)),j!==Object.prototype&&j.next&&(i||s(j)===m||(f?f(j,m):u(j[w])||d(j,w,k)),l(j,C,!0,!0),i&&(h[C]=k))),g&&v===O&&M&&M.name!==O&&(!i&&b?p(_,"name",O):(A=!0,R=function(){return o(M,this)})),v)if(N={values:T(O),keys:y?R:T(S),entries:T(P)},E)for(I in N)(x||A||!(I in _))&&d(_,I,N[I]);else n({target:e,proto:!0,forced:x||A},N);return i&&!E||_[w]===R||d(_,w,R,{name:v}),h[e]=R,N}},5412:function(t,e,r){"use strict";var n,o,i,c=r(6040),u=r(9063),a=r(808),s=r(8340),f=r(1304),l=r(3244),p=r(1840),d=r(2804),v=p("iterator"),h=!1;[].keys&&(i=[].keys(),"next"in i?(o=f(f(i)),o!==Object.prototype&&(n=o)):h=!0);var y=!a(n)||c((function(){var t={};return n[v].call(t)!==t}));y?n={}:d&&(n=s(n)),u(n[v])||l(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},4920:function(t){"use strict";t.exports={}},9480:function(t,e,r){"use strict";var n=r(960);t.exports=function(t){return n(t.length)}},316:function(t,e,r){"use strict";var n=r(1447),o=r(6040),i=r(9063),c=r(6216),u=r(3528),a=r(3788).CONFIGURABLE,s=r(8460),f=r(5444),l=f.enforce,p=f.get,d=String,v=Object.defineProperty,h=n("".slice),y=n("".replace),g=n([].join),b=u&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),m=String(String).split("String"),x=t.exports=function(t,e,r){"Symbol("===h(d(e),0,7)&&(e="["+y(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!c(t,"name")||a&&t.name!==e)&&(u?v(t,"name",{value:e,configurable:!0}):t.name=e),b&&r&&c(r,"arity")&&t.length!==r.arity&&v(t,"length",{value:r.arity});try{r&&c(r,"constructor")&&r.constructor?u&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=l(t);return c(n,"source")||(n.source=g(m,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return i(this)&&p(this).source||s(this)}),"toString")},1736:function(t){"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},8659:function(t,e,r){"use strict";var n=r(1992);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},7048:function(t,e,r){"use strict";var n=r(3528),o=r(1447),i=r(892),c=r(6040),u=r(4152),a=r(8167),s=r(2460),f=r(6804),l=r(6212),p=Object.assign,d=Object.defineProperty,v=o([].concat);t.exports=!p||c((function(){if(n&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!==p({},t)[r]||u(p({},e)).join("")!==o}))?function(t,e){var r=f(t),o=arguments.length,c=1,p=a.f,d=s.f;while(o>c){var h,y=l(arguments[c++]),g=p?v(u(y),p(y)):u(y),b=g.length,m=0;while(b>m)h=g[m++],n&&!i(d,y,h)||(r[h]=y[h])}return r}:p},8340:function(t,e,r){"use strict";var n,o=r(8424),i=r(5045),c=r(4656),u=r(6480),a=r(6836),s=r(9308),f=r(8192),l=">",p="<",d="prototype",v="script",h=f("IE_PROTO"),y=function(){},g=function(t){return p+v+l+t+p+"/"+v+l},b=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=s("iframe"),r="java"+v+":";return e.style.display="none",a.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(g("document.F=Object")),t.close(),t.F},x=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}x="undefined"!=typeof document?document.domain&&n?b(n):m():b(n);var t=c.length;while(t--)delete x[d][c[t]];return x()};u[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(y[d]=o(t),r=new y,y[d]=null,r[h]=t):r=x(),void 0===e?r:i.f(r,e)}},5045:function(t,e,r){"use strict";var n=r(3528),o=r(4859),i=r(368),c=r(8424),u=r(9740),a=r(4152);e.f=n&&!o?Object.defineProperties:function(t,e){c(t);var r,n=u(e),o=a(e),s=o.length,f=0;while(s>f)i.f(t,r=o[f++],n[r]);return t}},368:function(t,e,r){"use strict";var n=r(3528),o=r(784),i=r(4859),c=r(8424),u=r(8732),a=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",d="writable";e.f=n?i?function(t,e,r){if(c(t),e=u(e),c(r),"function"===typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=f(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return s(t,e,r)}:s:function(t,e,r){if(c(t),e=u(e),c(r),o)try{return s(t,e,r)}catch(n){}if("get"in r||"set"in r)throw new a("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},4560:function(t,e,r){"use strict";var n=r(3528),o=r(892),i=r(2460),c=r(9200),u=r(9740),a=r(8732),s=r(6216),f=r(784),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=u(t),e=a(e),f)try{return l(t,e)}catch(r){}if(s(t,e))return c(!o(i.f,t,e),t[e])}},4856:function(t,e,r){"use strict";var n=r(5983),o=r(9740),i=r(692).f,c=r(7588),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return c(u)}};t.exports.f=function(t){return u&&"Window"===n(t)?a(t):i(o(t))}},692:function(t,e,r){"use strict";var n=r(9232),o=r(4656),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},8167:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},1304:function(t,e,r){"use strict";var n=r(6216),o=r(9063),i=r(6804),c=r(8192),u=r(6740),a=c("IE_PROTO"),s=Object,f=s.prototype;t.exports=u?s.getPrototypeOf:function(t){var e=i(t);if(n(e,a))return e[a];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof s?f:null}},6056:function(t,e,r){"use strict";var n=r(1447);t.exports=n({}.isPrototypeOf)},9232:function(t,e,r){"use strict";var n=r(1447),o=r(6216),i=r(9740),c=r(2196).indexOf,u=r(6480),a=n([].push);t.exports=function(t,e){var r,n=i(t),s=0,f=[];for(r in n)!o(u,r)&&o(n,r)&&a(f,r);while(e.length>s)o(n,r=e[s++])&&(~c(f,r)||a(f,r));return f}},4152:function(t,e,r){"use strict";var n=r(9232),o=r(4656);t.exports=Object.keys||function(t){return n(t,o)}},2460:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},5168:function(t,e,r){"use strict";var n=r(6632),o=r(8424),i=r(9472);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=n(Object.prototype,"__proto__","set"),t(r,[]),e=r instanceof Array}catch(c){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},3532:function(t,e,r){"use strict";var n=r(1712),o=r(8040);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},7664:function(t,e,r){"use strict";var n=r(892),o=r(9063),i=r(808),c=TypeError;t.exports=function(t,e){var r,u;if("string"===e&&o(r=t.toString)&&!i(u=n(r,t)))return u;if(o(r=t.valueOf)&&!i(u=n(r,t)))return u;if("string"!==e&&o(r=t.toString)&&!i(u=n(r,t)))return u;throw new c("Can't convert object to primitive value")}},9976:function(t,e,r){"use strict";var n=r(4960),o=r(1447),i=r(692),c=r(8167),u=r(8424),a=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(u(t)),r=c.f;return r?a(e,r(t)):e}},4880:function(t,e,r){"use strict";var n=r(5624);t.exports=n},9904:function(t,e,r){"use strict";var n=r(368).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},1456:function(t,e,r){"use strict";var n=r(892),o=r(8424),i=r(9063),c=r(5983),u=r(8096),a=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var s=n(r,t,e);return null!==s&&o(s),s}if("RegExp"===c(t))return n(u,t,e);throw new a("RegExp#exec called on incompatible receiver")}},8096:function(t,e,r){"use strict";var n=r(892),o=r(1447),i=r(1992),c=r(8020),u=r(8548),a=r(8196),s=r(8340),f=r(5444).get,l=r(9160),p=r(7416),d=a("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,h=v,y=o("".charAt),g=o("".indexOf),b=o("".replace),m=o("".slice),x=function(){var t=/a/,e=/b*/g;return n(v,t,"a"),n(v,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),w=u.BROKEN_CARET,S=void 0!==/()??/.exec("")[1],O=x||S||w||l||p;O&&(h=function(t){var e,r,o,u,a,l,p,O=this,P=f(O),k=i(t),E=P.raw;if(E)return E.lastIndex=O.lastIndex,e=n(h,E,k),O.lastIndex=E.lastIndex,e;var j=P.groups,N=w&&O.sticky,I=n(c,O),T=O.source,C=0,A=k;if(N&&(I=b(I,"y",""),-1===g(I,"g")&&(I+="g"),A=m(k,O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&"\n"!==y(k,O.lastIndex-1))&&(T="(?: "+T+")",A=" "+A,C++),r=new RegExp("^(?:"+T+")",I)),S&&(r=new RegExp("^"+T+"$(?!\\s)",I)),x&&(o=O.lastIndex),u=n(v,N?r:O,A),N?u?(u.input=m(u.input,C),u[0]=m(u[0],C),u.index=O.lastIndex,O.lastIndex+=u[0].length):O.lastIndex=0:x&&u&&(O.lastIndex=O.global?u.index+u[0].length:o),S&&u&&u.length>1&&n(d,u[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(u[a]=void 0)})),u&&j)for(u.groups=l=s(null),a=0;a<j.length;a++)p=j[a],l[p[0]]=u[p[1]];return u}),t.exports=h},8020:function(t,e,r){"use strict";var n=r(8424);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},8548:function(t,e,r){"use strict";var n=r(6040),o=r(5624),i=o.RegExp,c=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),u=c||n((function(){return!i("a","y").sticky})),a=c||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:u,UNSUPPORTED_Y:c}},9160:function(t,e,r){"use strict";var n=r(6040),o=r(5624),i=o.RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},7416:function(t,e,r){"use strict";var n=r(6040),o=r(5624),i=o.RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},2696:function(t,e,r){"use strict";var n=r(952),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},4200:function(t,e,r){"use strict";var n=r(368).f,o=r(6216),i=r(1840),c=i("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,c)&&n(t,c,{configurable:!0,value:e})}},8192:function(t,e,r){"use strict";var n=r(8196),o=r(320),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},9136:function(t,e,r){"use strict";var n=r(5624),o=r(1544),i="__core-js_shared__",c=n[i]||o(i,{});t.exports=c},8196:function(t,e,r){"use strict";var n=r(2804),o=r(9136);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},1968:function(t,e,r){"use strict";var n=r(1447),o=r(3288),i=r(1992),c=r(2696),u=n("".charAt),a=n("".charCodeAt),s=n("".slice),f=function(t){return function(e,r){var n,f,l=i(c(e)),p=o(r),d=l.length;return p<0||p>=d?t?"":void 0:(n=a(l,p),n<55296||n>56319||p+1===d||(f=a(l,p+1))<56320||f>57343?t?u(l,p):n:t?s(l,p,p+2):f-56320+(n-55296<<10)+65536)}};t.exports={codeAt:f(!1),charAt:f(!0)}},1096:function(t,e,r){"use strict";var n=r(1447),o=r(2696),i=r(1992),c=r(3388),u=n("".replace),a=RegExp("^["+c+"]+"),s=RegExp("(^|[^"+c+"])["+c+"]+$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=u(r,a,"")),2&t&&(r=u(r,s,"$1")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},8972:function(t,e,r){"use strict";var n=r(3356),o=r(6040),i=r(5624),c=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!c(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4208:function(t,e,r){"use strict";var n=r(892),o=r(4960),i=r(1840),c=r(3244);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,u=i("toPrimitive");e&&!e[u]&&c(e,u,(function(t){return n(r,this)}),{arity:1})}},4680:function(t,e,r){"use strict";var n=r(8972);t.exports=n&&!!Symbol["for"]&&!!Symbol.keyFor},4128:function(t,e,r){"use strict";var n=r(1447);t.exports=n(1..valueOf)},4160:function(t,e,r){"use strict";var n=r(3288),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},9740:function(t,e,r){"use strict";var n=r(6212),o=r(2696);t.exports=function(t){return n(o(t))}},3288:function(t,e,r){"use strict";var n=r(1736);t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},960:function(t,e,r){"use strict";var n=r(3288),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},6804:function(t,e,r){"use strict";var n=r(2696),o=Object;t.exports=function(t){return o(n(t))}},8176:function(t,e,r){"use strict";var n=r(892),o=r(808),i=r(6232),c=r(364),u=r(7664),a=r(1840),s=TypeError,f=a("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,a=c(t,f);if(a){if(void 0===e&&(e="default"),r=n(a,t,e),!o(r)||i(r))return r;throw new s("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},8732:function(t,e,r){"use strict";var n=r(8176),o=r(6232);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},1712:function(t,e,r){"use strict";var n=r(1840),o=n("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},1992:function(t,e,r){"use strict";var n=r(8040),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},4596:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(r){return"Object"}}},320:function(t,e,r){"use strict";var n=r(1447),o=0,i=Math.random(),c=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},9448:function(t,e,r){"use strict";var n=r(8972);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4859:function(t,e,r){"use strict";var n=r(3528),o=r(6040);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},280:function(t,e,r){"use strict";var n=r(5624),o=r(9063),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},9635:function(t,e,r){"use strict";var n=r(4880),o=r(6216),i=r(7732),c=r(368).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},7732:function(t,e,r){"use strict";var n=r(1840);e.f=n},1840:function(t,e,r){"use strict";var n=r(5624),o=r(8196),i=r(6216),c=r(320),u=r(8972),a=r(9448),s=n.Symbol,f=o("wks"),l=a?s["for"]||s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)||(f[t]=u&&i(s,t)?s[t]:l("Symbol."+t)),f[t]}},3388:function(t){"use strict";t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},5240:function(t,e,r){"use strict";var n=r(4960),o=r(6216),i=r(3652),c=r(6056),u=r(5168),a=r(4304),s=r(9904),f=r(2744),l=r(8659),p=r(8712),d=r(4736),v=r(3528),h=r(2804);t.exports=function(t,e,r,y){var g="stackTraceLimit",b=y?2:1,m=t.split("."),x=m[m.length-1],w=n.apply(null,m);if(w){var S=w.prototype;if(!h&&o(S,"cause")&&delete S.cause,!r)return w;var O=n("Error"),P=e((function(t,e){var r=l(y?e:t,void 0),n=y?new w(t):new w;return void 0!==r&&i(n,"message",r),d(n,P,n.stack,2),this&&c(S,this)&&f(n,this,P),arguments.length>b&&p(n,arguments[b]),n}));if(P.prototype=S,"Error"!==x?u?u(P,O):a(P,O,{name:!0}):v&&g in w&&(s(P,w,g),s(P,w,"prepareStackTrace")),a(P,w),!h)try{S.name!==x&&i(S,"name",x),S.constructor=P}catch(k){}return P}}},1956:function(t,e,r){"use strict";var n=r(3748),o=r(4904).filter,i=r(7776),c=i("filter");n({target:"Array",proto:!0,forced:!c},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},9120:function(t,e,r){"use strict";var n=r(9740),o=r(2328),i=r(4920),c=r(5444),u=r(368).f,a=r(8752),s=r(2596),f=r(2804),l=r(3528),p="Array Iterator",d=c.set,v=c.getterFor(p);t.exports=a(Array,"Array",(function(t,e){d(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=v(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,s(void 0,!0);switch(t.kind){case"keys":return s(r,!1);case"values":return s(e[r],!1)}return s([r,e[r]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==h.name)try{u(h,"name",{value:"values"})}catch(y){}},6568:function(t,e,r){"use strict";var n=r(3748),o=r(4904).map,i=r(7776),c=i("map");n({target:"Array",proto:!0,forced:!c},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},3248:function(t,e,r){"use strict";var n=r(3748),o=r(6804),i=r(9480),c=r(7934),u=r(3272),a=r(6040),s=a((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},l=s||!f();n({target:"Array",proto:!0,arity:1,forced:l},{push:function(t){var e=o(this),r=i(e),n=arguments.length;u(r+n);for(var a=0;a<n;a++)e[r]=arguments[a],r++;return c(e,r),r}})},7056:function(t,e,r){"use strict";var n=r(6216),o=r(3244),i=r(6268),c=r(1840),u=c("toPrimitive"),a=Date.prototype;n(a,u)||o(a,u,i)},2844:function(t,e,r){"use strict";var n=r(3748),o=r(5624),i=r(4744),c=r(5240),u="WebAssembly",a=o[u],s=7!==new Error("e",{cause:7}).cause,f=function(t,e){var r={};r[t]=c(t,e,s),n({global:!0,constructor:!0,arity:1,forced:s},r)},l=function(t,e){if(a&&a[t]){var r={};r[t]=c(u+"."+t,e,s),n({target:u,stat:!0,constructor:!0,arity:1,forced:s},r)}};f("Error",(function(t){return function(e){return i(t,this,arguments)}})),f("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),f("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),f("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),f("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),f("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),f("URIError",(function(t){return function(e){return i(t,this,arguments)}})),l("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),l("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),l("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},6760:function(t,e,r){"use strict";var n=r(3748),o=r(4960),i=r(4744),c=r(892),u=r(1447),a=r(6040),s=r(9063),f=r(6232),l=r(7588),p=r(6852),d=r(8972),v=String,h=o("JSON","stringify"),y=u(/./.exec),g=u("".charAt),b=u("".charCodeAt),m=u("".replace),x=u(1..toString),w=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,O=/^[\uDC00-\uDFFF]$/,P=!d||a((function(){var t=o("Symbol")("stringify detection");return"[null]"!==h([t])||"{}"!==h({a:t})||"{}"!==h(Object(t))})),k=a((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),E=function(t,e){var r=l(arguments),n=p(e);if(s(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(s(n)&&(e=c(n,this,v(t),e)),!f(e))return e},i(h,null,r)},j=function(t,e,r){var n=g(r,e-1),o=g(r,e+1);return y(S,t)&&!y(O,o)||y(O,t)&&!y(S,n)?"\\u"+x(b(t,0),16):t};h&&n({target:"JSON",stat:!0,arity:3,forced:P||k},{stringify:function(t,e,r){var n=l(arguments),o=i(P?E:h,null,n);return k&&"string"==typeof o?m(o,w,j):o}})},9456:function(t,e,r){"use strict";var n=r(3748),o=r(2804),i=r(3528),c=r(5624),u=r(4880),a=r(1447),s=r(5272),f=r(6216),l=r(2744),p=r(6056),d=r(6232),v=r(8176),h=r(6040),y=r(692).f,g=r(4560).f,b=r(368).f,m=r(4128),x=r(1096).trim,w="Number",S=c[w],O=u[w],P=S.prototype,k=c.TypeError,E=a("".slice),j=a("".charCodeAt),N=function(t){var e=v(t,"number");return"bigint"==typeof e?e:I(e)},I=function(t){var e,r,n,o,i,c,u,a,s=v(t,"number");if(d(s))throw new k("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=x(s),e=j(s,0),43===e||45===e){if(r=j(s,2),88===r||120===r)return NaN}else if(48===e){switch(j(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(i=E(s,2),c=i.length,u=0;u<c;u++)if(a=j(i,u),a<48||a>o)return NaN;return parseInt(i,n)}return+s},T=s(w,!S(" 0o1")||!S("0b1")||S("+0x1")),C=function(t){return p(P,t)&&h((function(){m(t)}))},A=function(t){var e=arguments.length<1?0:S(N(t));return C(this)?l(Object(e),this,A):e};A.prototype=P,T&&!o&&(P.constructor=A),n({global:!0,constructor:!0,wrap:!0,forced:T},{Number:A});var _=function(t,e){for(var r,n=i?y(e):"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;n.length>o;o++)f(e,r=n[o])&&!f(t,r)&&b(t,r,g(e,r))};o&&O&&_(u[w],O),(T||o)&&_(u[w],S)},8235:function(t,e,r){"use strict";var n=r(3748),o=r(7048);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},2600:function(t,e,r){"use strict";var n=r(3748),o=r(6040),i=r(9740),c=r(4560).f,u=r(3528),a=!u||o((function(){c(1)}));n({target:"Object",stat:!0,forced:a,sham:!u},{getOwnPropertyDescriptor:function(t,e){return c(i(t),e)}})},4376:function(t,e,r){"use strict";var n=r(3748),o=r(3528),i=r(9976),c=r(9740),u=r(4560),a=r(8931);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){var e,r,n=c(t),o=u.f,s=i(n),f={},l=0;while(s.length>l)r=o(n,e=s[l++]),void 0!==r&&a(f,e,r);return f}})},8728:function(t,e,r){"use strict";var n=r(3748),o=r(8972),i=r(6040),c=r(8167),u=r(6804),a=!o||i((function(){c.f(1)}));n({target:"Object",stat:!0,forced:a},{getOwnPropertySymbols:function(t){var e=c.f;return e?e(u(t)):[]}})},1040:function(t,e,r){"use strict";var n=r(3748),o=r(6804),i=r(4152),c=r(6040),u=c((function(){i(1)}));n({target:"Object",stat:!0,forced:u},{keys:function(t){return i(o(t))}})},9640:function(t,e,r){"use strict";var n=r(1712),o=r(3244),i=r(3532);n||o(Object.prototype,"toString",i,{unsafe:!0})},2644:function(t,e,r){"use strict";var n=r(3748),o=r(8096);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8928:function(t,e,r){"use strict";var n=r(1968).charAt,o=r(1992),i=r(5444),c=r(8752),u=r(2596),a="String Iterator",s=i.set,f=i.getterFor(a);c(String,"String",(function(t){s(this,{type:a,string:o(t),index:0})}),(function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?u(void 0,!0):(t=n(r,o),e.index+=t.length,u(t,!1))}))},2888:function(t,e,r){"use strict";var n=r(892),o=r(8760),i=r(8424),c=r(952),u=r(960),a=r(1992),s=r(2696),f=r(364),l=r(6884),p=r(1456);o("match",(function(t,e,r){return[function(e){var r=s(this),o=c(e)?void 0:f(e,t);return o?n(o,e,r):new RegExp(e)[t](a(r))},function(t){var n=i(this),o=a(t),c=r(e,n,o);if(c.done)return c.value;if(!n.global)return p(n,o);var s=n.unicode;n.lastIndex=0;var f,d=[],v=0;while(null!==(f=p(n,o))){var h=a(f[0]);d[v]=h,""===h&&(n.lastIndex=l(o,u(n.lastIndex),s)),v++}return 0===v?null:d}]}))},8312:function(t,e,r){"use strict";var n=r(3748),o=r(5624),i=r(892),c=r(1447),u=r(2804),a=r(3528),s=r(8972),f=r(6040),l=r(6216),p=r(6056),d=r(8424),v=r(9740),h=r(8732),y=r(1992),g=r(9200),b=r(8340),m=r(4152),x=r(692),w=r(4856),S=r(8167),O=r(4560),P=r(368),k=r(5045),E=r(2460),j=r(3244),N=r(1720),I=r(8196),T=r(8192),C=r(6480),A=r(320),_=r(1840),M=r(7732),R=r(9635),L=r(4208),D=r(4200),F=r(5444),B=r(4904).forEach,$=T("hidden"),V="Symbol",G="prototype",U=F.set,z=F.getterFor(V),Y=Object[G],W=o.Symbol,X=W&&W[G],H=o.RangeError,q=o.TypeError,K=o.QObject,J=O.f,Q=P.f,Z=w.f,tt=E.f,et=c([].push),rt=I("symbols"),nt=I("op-symbols"),ot=I("wks"),it=!K||!K[G]||!K[G].findChild,ct=function(t,e,r){var n=J(Y,e);n&&delete Y[e],Q(t,e,r),n&&t!==Y&&Q(Y,e,n)},ut=a&&f((function(){return 7!==b(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?ct:Q,at=function(t,e){var r=rt[t]=b(X);return U(r,{type:V,tag:t,description:e}),a||(r.description=e),r},st=function(t,e,r){t===Y&&st(nt,e,r),d(t);var n=h(e);return d(r),l(rt,n)?(r.enumerable?(l(t,$)&&t[$][n]&&(t[$][n]=!1),r=b(r,{enumerable:g(0,!1)})):(l(t,$)||Q(t,$,g(1,b(null))),t[$][n]=!0),ut(t,n,r)):Q(t,n,r)},ft=function(t,e){d(t);var r=v(e),n=m(r).concat(ht(r));return B(n,(function(e){a&&!i(pt,r,e)||st(t,e,r[e])})),t},lt=function(t,e){return void 0===e?b(t):ft(b(t),e)},pt=function(t){var e=h(t),r=i(tt,this,e);return!(this===Y&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,$)&&this[$][e])||r)},dt=function(t,e){var r=v(t),n=h(e);if(r!==Y||!l(rt,n)||l(nt,n)){var o=J(r,n);return!o||!l(rt,n)||l(r,$)&&r[$][n]||(o.enumerable=!0),o}},vt=function(t){var e=Z(v(t)),r=[];return B(e,(function(t){l(rt,t)||l(C,t)||et(r,t)})),r},ht=function(t){var e=t===Y,r=Z(e?nt:v(t)),n=[];return B(r,(function(t){!l(rt,t)||e&&!l(Y,t)||et(n,rt[t])})),n};s||(W=function(){if(p(X,this))throw new q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=A(t),r=function(t){var n=void 0===this?o:this;n===Y&&i(r,nt,t),l(n,$)&&l(n[$],e)&&(n[$][e]=!1);var c=g(1,t);try{ut(n,e,c)}catch(u){if(!(u instanceof H))throw u;ct(n,e,c)}};return a&&it&&ut(Y,e,{configurable:!0,set:r}),at(e,t)},X=W[G],j(X,"toString",(function(){return z(this).tag})),j(W,"withoutSetter",(function(t){return at(A(t),t)})),E.f=pt,P.f=st,k.f=ft,O.f=dt,x.f=w.f=vt,S.f=ht,M.f=function(t){return at(_(t),t)},a&&(N(X,"description",{configurable:!0,get:function(){return z(this).description}}),u||j(Y,"propertyIsEnumerable",pt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:W}),B(m(ot),(function(t){R(t)})),n({target:V,stat:!0,forced:!s},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!a},{create:lt,defineProperty:st,defineProperties:ft,getOwnPropertyDescriptor:dt}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:vt}),L(),D(W,V),C[$]=!0},5016:function(t,e,r){"use strict";var n=r(3748),o=r(3528),i=r(5624),c=r(1447),u=r(6216),a=r(9063),s=r(6056),f=r(1992),l=r(1720),p=r(4304),d=i.Symbol,v=d&&d.prototype;if(o&&a(d)&&(!("description"in v)||void 0!==d().description)){var h={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=s(v,this)?new d(t):void 0===t?d():d(t);return""===t&&(h[e]=!0),e};p(y,d),y.prototype=v,v.constructor=y;var g="Symbol(description detection)"===String(d("description detection")),b=c(v.valueOf),m=c(v.toString),x=/^Symbol\((.*)\)[^)]+$/,w=c("".replace),S=c("".slice);l(v,"description",{configurable:!0,get:function(){var t=b(this);if(u(h,t))return"";var e=m(t),r=g?S(e,7,-1):w(e,x,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},5256:function(t,e,r){"use strict";var n=r(3748),o=r(4960),i=r(6216),c=r(1992),u=r(8196),a=r(4680),s=u("string-to-symbol-registry"),f=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!a},{for:function(t){var e=c(t);if(i(s,e))return s[e];var r=o("Symbol")(e);return s[e]=r,f[r]=e,r}})},6968:function(t,e,r){"use strict";var n=r(9635);n("iterator")},3475:function(t,e,r){"use strict";r(8312),r(5256),r(1352),r(6760),r(8728)},1352:function(t,e,r){"use strict";var n=r(3748),o=r(6216),i=r(6232),c=r(4596),u=r(8196),a=r(4680),s=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!a},{keyFor:function(t){if(!i(t))throw new TypeError(c(t)+" is not a symbol");if(o(s,t))return s[t]}})},1668:function(t,e,r){"use strict";var n=r(9635),o=r(4208);n("toPrimitive"),o()},2984:function(t,e,r){"use strict";var n=r(5624),o=r(5848),i=r(8280),c=r(5935),u=r(3652),a=function(t){if(t&&t.forEach!==c)try{u(t,"forEach",c)}catch(e){t.forEach=c}};for(var s in o)o[s]&&a(n[s]&&n[s].prototype);a(i)},9708:function(t,e,r){"use strict";var n=r(5624),o=r(5848),i=r(8280),c=r(9120),u=r(3652),a=r(4200),s=r(1840),f=s("iterator"),l=c.values,p=function(t,e){if(t){if(t[f]!==l)try{u(t,f,l)}catch(n){t[f]=l}if(a(t,e,!0),o[e])for(var r in c)if(t[r]!==c[r])try{u(t,r,c[r])}catch(n){t[r]=c[r]}}};for(var d in o)p(n[d]&&n[d].prototype,d);p(i,"DOMTokenList")},116:function(t,e,r){var n=r(9248);function o(t,e,r){return e=n(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}t.exports=o,t.exports.__esModule=!0,t.exports["default"]=t.exports},8100:function(t,e,r){r(3475),r(1956),r(3248),r(2600),r(4376),r(1040),r(9640),r(2984);var n=r(116);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},2344:function(t,e,r){r(3475),r(5016),r(1668),r(2844),r(7056),r(9456),r(9640);var n=r(8160)["default"];function o(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}t.exports=o,t.exports.__esModule=!0,t.exports["default"]=t.exports},9248:function(t,e,r){var n=r(8160)["default"],o=r(2344);function i(t){var e=o(t,"string");return"symbol"==n(e)?e:String(e)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},8160:function(t,e,r){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,n(e)}r(3475),r(5016),r(6968),r(9120),r(9640),r(8928),r(9708),t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={id:t,exports:{}};return e[t].call(i.exports,i,i.exports,n),i.exports}!function(){n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,{a:e}),e}}(),function(){n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){n.p=""}();var o={};return function(){"use strict";if(n.d(o,{default:function(){return j}}),"undefined"!==typeof window){var t=window.document.currentScript,e=n(448);t=e(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:e});var r=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(n.p=r[1])}n(2644),n(2888);var i=n(9648),c={key:0,class:"vtb-wrapper"};function u(t,e,r,n,o,u){var a=(0,i.resolveComponent)("bracket-node");return u.recursiveBracket?((0,i.openBlock)(),(0,i.createElementBlock)("div",c,[(0,i.createVNode)(a,{"bracket-node":u.recursiveBracket,onOnSelectedPlayer:u.highlightPlayer,onOnDeselectedPlayer:u.unhighlightPlayer,"highlighted-player-id":o.highlightedPlayerId},{player:(0,i.withCtx)((function(e){var r=e.player;return[(0,i.renderSlot)(t.$slots,"player",{player:r})]})),"player-extension-bottom":(0,i.withCtx)((function(e){var r=e.match;return[(0,i.renderSlot)(t.$slots,"player-extension-bottom",{match:r})]})),_:3},8,["bracket-node","onOnSelectedPlayer","onOnDeselectedPlayer","highlighted-player-id"])])):(0,i.createCommentVNode)("",!0)}var a={key:0,class:"vtb-item"},s={key:0,class:"vtb-item-children"},f={key:0,class:"vtb-item-child"},l={key:1,class:"vtb-item-child"};function p(t,e,r,n,o,c){var u=(0,i.resolveComponent)("game-players"),p=(0,i.resolveComponent)("bracket-node",!0);return c.playersArePresent?((0,i.openBlock)(),(0,i.createElementBlock)("div",a,[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(c.getBracketNodeClass(r.bracketNode))},[(0,i.createVNode)(u,{"bracket-node":r.bracketNode,"highlighted-player-id":r.highlightedPlayerId,onOnSelectedPlayer:c.highlightPlayer,onOnDeselectedPlayer:c.unhighlightPlayer},{player:(0,i.withCtx)((function(e){var r=e.player;return[(0,i.renderSlot)(t.$slots,"player",{player:r})]})),"player-extension-bottom":(0,i.withCtx)((function(e){var r=e.match;return[(0,i.renderSlot)(t.$slots,"player-extension-bottom",{match:r})]})),_:3},8,["bracket-node","highlighted-player-id","onOnSelectedPlayer","onOnDeselectedPlayer"])],2),r.bracketNode.games[0]||r.bracketNode.games[1]?((0,i.openBlock)(),(0,i.createElementBlock)("div",s,[r.bracketNode.games[0]?((0,i.openBlock)(),(0,i.createElementBlock)("div",f,[(0,i.createVNode)(p,{"bracket-node":r.bracketNode.games[0],"highlighted-player-id":r.highlightedPlayerId,onOnSelectedPlayer:c.highlightPlayer,onOnDeselectedPlayer:c.unhighlightPlayer},{player:(0,i.withCtx)((function(e){var r=e.player;return[(0,i.renderSlot)(t.$slots,"player",{player:r})]})),"player-extension-bottom":(0,i.withCtx)((function(e){var r=e.match;return[(0,i.renderSlot)(t.$slots,"player-extension-bottom",{match:r})]})),_:3},8,["bracket-node","highlighted-player-id","onOnSelectedPlayer","onOnDeselectedPlayer"])])):(0,i.createCommentVNode)("",!0),r.bracketNode.games[1]?((0,i.openBlock)(),(0,i.createElementBlock)("div",l,[(0,i.createVNode)(p,{"bracket-node":r.bracketNode.games[1],"highlighted-player-id":r.highlightedPlayerId,onOnSelectedPlayer:c.highlightPlayer,onOnDeselectedPlayer:c.unhighlightPlayer},{player:(0,i.withCtx)((function(e){var r=e.player;return[(0,i.renderSlot)(t.$slots,"player",{player:r})]})),"player-extension-bottom":(0,i.withCtx)((function(e){var r=e.match;return[(0,i.renderSlot)(t.$slots,"player-extension-bottom",{match:r})]})),_:3},8,["bracket-node","highlighted-player-id","onOnSelectedPlayer","onOnDeselectedPlayer"])])):(0,i.createCommentVNode)("",!0)])):(0,i.createCommentVNode)("",!0)])):(0,i.createCommentVNode)("",!0)}var d={class:"vtb-item-players"};function v(t,e,r,n,o,c){return(0,i.openBlock)(),(0,i.createElementBlock)("div",d,[(0,i.createElementVNode)("div",null,[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["vtb-player","vtb-player1",c.getPlayerClass(r.bracketNode.player1)]),onMouseover:e[0]||(e[0]=function(t){return c.highlightPlayer(r.bracketNode.player1.id)}),onMouseleave:e[1]||(e[1]=function(){return c.unhighlightPlayer&&c.unhighlightPlayer.apply(c,arguments)})},[(0,i.renderSlot)(t.$slots,"player",{player:r.bracketNode.player1})],34),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["vtb-player","vtb-player2",c.getPlayerClass(r.bracketNode.player2)]),onMouseover:e[2]||(e[2]=function(t){return c.highlightPlayer(r.bracketNode.player2.id)}),onMouseleave:e[3]||(e[3]=function(){return c.unhighlightPlayer&&c.unhighlightPlayer.apply(c,arguments)})},[(0,i.renderSlot)(t.$slots,"player",{player:r.bracketNode.player2})],34)]),(0,i.renderSlot)(t.$slots,"player-extension-bottom",{match:c.matchProperties})])}n(8235);var h={name:"game-players",props:["bracketNode","highlightedPlayerId"],computed:{matchProperties:function(){return Object.assign({},this.bracketNode,{games:void 0,hasParent:void 0})}},methods:{getPlayerClass:function(t){if(null===t.winner||void 0===t.winner)return"";var e=t.winner?"winner":"defeated";return this.highlightedPlayerId===t.id&&(e+=" highlight"),e},highlightPlayer:function(t){this.$emit("onSelectedPlayer",t)},unhighlightPlayer:function(){this.$emit("onDeselectedPlayer")}}},y=n(8152);const g=(0,y.c)(h,[["render",v]]);var b=g,m={name:"bracket-node",components:{GamePlayers:b},props:["bracketNode","highlightedPlayerId"],computed:{playersArePresent:function(){return this.bracketNode.player1&&this.bracketNode.player1}},methods:{getBracketNodeClass:function(t){return t.games[0]||t.games[1]?"vtb-item-parent":t.hasParent?"vtb-item-child":""},getPlayerClass:function(t){if(null===t.winner||void 0===t.winner)return"";var e=t.winner?"winner":"defeated";return this.highlightedPlayerId===t.id&&(e+=" highlight"),e},highlightPlayer:function(t){this.$emit("onSelectedPlayer",t)},unhighlightPlayer:function(){this.$emit("onDeselectedPlayer")}}};n(6600);const x=(0,y.c)(m,[["render",p]]);var w=x,S=n(288),O=n.n(S),P={name:"bracket",components:{"bracket-node":w},props:["rounds","flatTree"],data:function(){return{highlightedPlayerId:null}},computed:{recursiveBracket:function(){return this.flatTree?O().transformFlatTree(this.flatTree):O().transform(this.rounds)}},methods:{highlightPlayer:function(t){this.highlightedPlayerId=t},unhighlightPlayer:function(){this.highlightedPlayerId=null}}};n(1092);const k=(0,y.c)(P,[["render",u]]);var E=k,j=E}(),o=o["default"],o}()}));
//# sourceMappingURL=vue-tournament-bracket.umd.min.js.map