diff --git a/demos/data-action/action-setup.php b/demos/data-action/action-setup.php new file mode 100644 index 0000000000..a565aef52f --- /dev/null +++ b/demos/data-action/action-setup.php @@ -0,0 +1,40 @@ +db); +$entity = $country->tryLoadAny(); +$countryId = $entity->getId(); + +// Model actions for this file are setup in DemoActionUtil. +DemoActionsUtil::setupDemoActions($country); + +\Atk4\Ui\Header::addTo($app, ['Assign Model action to button event', 'subHeader' => 'Execute model action on this country record by clicking on the appropriate button on the right.']); + +$msg = Message::addTo($app, ['Notes', 'type' => 'info']); +$msg->text->addParagraph('When passing an action to a button event, Ui will determine what executor is required base on the action properties.'); +$msg->text->addParagraph('If action require arguments, fields and/or preview, then a ModalExecutor will be use.'); + +\Atk4\Ui\View::addTo($app, ['ui' => 'ui clearing divider']); + +$gl = \Atk4\Ui\GridLayout::addTo($app, ['rows' => 1, 'columns' => 2]); +$c = \Atk4\Ui\Card::addTo($gl, ['useLabel' => true], ['r1c1']); +$c->addContent(new \Atk4\Ui\Header(['Using country: '])); +$c->setModel($entity, [$country->fieldName()->iso, $country->fieldName()->iso3, $country->fieldName()->phonecode]); + +$buttons = \Atk4\Ui\View::addTo($gl, ['ui' => 'vertical basic buttons'], ['r1c2']); + +// Create a button for every action in Country model. +foreach ($country->getUserActions() as $action) { + $b = \Atk4\Ui\Button::addTo($buttons, [$action->getCaption()]); + // Assign action to button using current model id as url arguments. + $b->on('click', $action, ['args' => ['id' => $countryId]]); +} diff --git a/demos/data-action/jsactions-vp.php b/demos/data-action/jsactions-vp.php new file mode 100644 index 0000000000..e4c3731e8b --- /dev/null +++ b/demos/data-action/jsactions-vp.php @@ -0,0 +1,15 @@ +getExecutorFactory(); +$factory->registerTypeExecutor($factory::STEP_EXECUTOR, [VpExecutor::class]); + +require_once 'action-setup.php'; diff --git a/demos/data-action/jsactions2.php b/demos/data-action/jsactions2.php index 801390f3e3..68d79e34a2 100644 --- a/demos/data-action/jsactions2.php +++ b/demos/data-action/jsactions2.php @@ -4,38 +4,6 @@ namespace Atk4\Ui\Demos; -use Atk4\Ui\Message; - -/** @var \Atk4\Ui\App $app */ require_once __DIR__ . '/../init-app.php'; -// Demo for Model action - -$country = new CountryLock($app->db); -$entity = $country->tryLoadAny(); -$countryId = $entity->getId(); - -// Model actions for this file are setup in DemoActionUtil. -DemoActionsUtil::setupDemoActions($country); - -\Atk4\Ui\Header::addTo($app, ['Assign Model action to button event', 'subHeader' => 'Execute model action on this country record by clicking on the appropriate button on the right.']); - -$msg = Message::addTo($app, ['Notes', 'type' => 'info']); -$msg->text->addParagraph('When passing an action to a button event, Ui will determine what executor is required base on the action properties.'); -$msg->text->addParagraph('If action require arguments, fields and/or preview, then a ModalExecutor will be use.'); - -\Atk4\Ui\View::addTo($app, ['ui' => 'ui clearing divider']); - -$gl = \Atk4\Ui\GridLayout::addTo($app, ['rows' => 1, 'columns' => 2]); -$c = \Atk4\Ui\Card::addTo($gl, ['useLabel' => true], ['r1c1']); -$c->addContent(new \Atk4\Ui\Header(['Using country: '])); -$c->setModel($entity, [$country->fieldName()->iso, $country->fieldName()->iso3, $country->fieldName()->phonecode]); - -$buttons = \Atk4\Ui\View::addTo($gl, ['ui' => 'vertical basic buttons'], ['r1c2']); - -// Create a button for every action in Country model. -foreach ($country->getUserActions() as $action) { - $b = \Atk4\Ui\Button::addTo($buttons, [$action->getCaption()]); - // Assign action to button using current model id as url arguments. - $b->on('click', $action, ['args' => ['id' => $countryId]]); -} +require_once 'action-setup.php'; diff --git a/demos/init-app.php b/demos/init-app.php index 6dca7244af..54d6cece4d 100644 --- a/demos/init-app.php +++ b/demos/init-app.php @@ -119,7 +119,8 @@ $menu = $layout->addMenuGroup(['Data Action Executor', 'icon' => 'wrench']); $layout->addMenuItem(['Executor Examples'], [$path . 'actions'], $menu); $layout->addMenuItem(['Assign action to event'], [$path . 'jsactions'], $menu); - $layout->addMenuItem(['Assign action to button event'], [$path . 'jsactions2'], $menu); + $layout->addMenuItem(['Assign action to button (Modal)'], [$path . 'jsactions2'], $menu); + $layout->addMenuItem(['Assign action to button (V. Page)'], [$path . 'jsactions-vp'], $menu); $layout->addMenuItem(['Execute from Grid'], [$path . 'jsactionsgrid'], $menu); $layout->addMenuItem(['Execute from Crud'], [$path . 'jsactionscrud'], $menu); $layout->addMenuItem(['Executor Factory'], [$path . 'factory'], $menu); diff --git a/js/Release.md b/js/Release.md index ad5b60c54b..5749cb57e1 100644 --- a/js/Release.md +++ b/js/Release.md @@ -1,5 +1,9 @@ ## Release note +### version 1.20.0 (2021-07-14) + +- Add redirect utils method. + ### version 1.19.4 (2021-07-11) - Remove "debounceTimeout" atk option. diff --git a/js/package.json b/js/package.json index cb29cb354c..c931ebd06b 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "atkjs-ui", - "version": "1.19.4", + "version": "1.20.0", "description": "Agile Toolkit Javascript library.", "main": "lib/atkjs-ui.js", "scripts": { diff --git a/js/src/atk-utils.js b/js/src/atk-utils.js index 3549fcf604..6204012b50 100644 --- a/js/src/atk-utils.js +++ b/js/src/atk-utils.js @@ -65,6 +65,9 @@ const atkUtils = (function () { }, }; }, + redirect: function (url, params) { + document.location = $.atkAddParams(url, params); + }, }; }()); diff --git a/phpstan.neon.dist b/phpstan.neon.dist index bca47766e8..22f40f05b3 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -343,9 +343,6 @@ parameters: - path: 'src/UserAction/ExecutorFactory.php' message: '~^Call to an undefined method Atk4\\Ui\\AbstractView::setAction\(\)\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Access to an undefined property Atk4\\Ui\\AbstractView::\$buttonSave\.$~' - path: 'src/View.php' message: '~^Call to an undefined method Atk4\\Ui\\JsChain::emit\(\)\.$~' @@ -625,15 +622,6 @@ parameters: - path: 'src/UserAction/JsCallbackExecutor.php' message: '~^Property Atk4\\Ui\\UserAction\\JsCallbackExecutor::\$jsSuccess \(Atk4\\Ui\\JsExpressionable\) does not accept array\|Closure\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Property Atk4\\Ui\\UserAction\\ModalExecutor::\$form \(string\) does not accept default value of type array\\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::jsStepSubmit\(\) should return array but returns Atk4\\Ui\\Message\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::addFormTo\(\) should return Atk4\\Ui\\Form but returns Atk4\\Ui\\AbstractView\.$~' - path: 'src/View.php' message: '~^Property Atk4\\Data\\Field::\$type \(string\) does not accept null\.$~' @@ -886,9 +874,6 @@ parameters: - path: 'src/UserAction/JsCallbackExecutor.php' message: '~^Instanceof between Atk4\\Ui\\JsExpressionable and Closure will always evaluate to false\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Instanceof between Atk4\\Ui\\JsExpressionable and Closure will always evaluate to false\.$~' - path: 'src/View.php' message: '~^Negated boolean expression is always false\.$~' @@ -910,12 +895,6 @@ parameters: # TODO these rules are generated, this ignores should be fixed in the code # for level = 5 - - - path: 'demos/_includes/ReloadTest.php' - message: '~^Parameter \#2 \$action of method Atk4\\Ui\\View::js\(\) expects Atk4\\Ui\\JsExpression\|null, Atk4\\Ui\\JsReload given\.$~' - - - path: 'demos/_includes/ViewTester.php' - message: '~^Parameter \#2 \$action of method Atk4\\Ui\\View::js\(\) expects Atk4\\Ui\\JsExpression\|null, Atk4\\Ui\\JsReload given\.$~' - path: 'demos/_unit-test/lookup-virtual-page.php' message: '~^Parameter \#2 \$action of method Atk4\\Ui\\Menu::addItem\(\) expects array\|string\|null, Atk4\\Ui\\JsModal given\.$~' @@ -931,9 +910,6 @@ parameters: - path: 'demos/collection/grid.php' message: '~^Parameter \#1 \$name of method Atk4\\Ui\\Grid::addColumn\(\) expects string, null given\.$~' - - - path: 'demos/collection/table.php' - message: '~^Parameter \#2 \$action of method Atk4\\Ui\\View::js\(\) expects Atk4\\Ui\\JsExpression\|null, Atk4\\Ui\\JsToast given\.$~' - path: 'demos/data-action/jsactionsgrid.php' message: '~^Parameter \#1 \$view of method Atk4\\Ui\\Grid::addActionMenuItem\(\) expects Atk4\\Ui\\View, string given\.$~' @@ -955,9 +931,6 @@ parameters: - path: 'demos/interactive/virtual.php' message: '~^Parameter \#1 \$title of class Atk4\\Ui\\JsModal constructor expects string, null given\.$~' - - - path: 'demos/javascript/reloading.php' - message: '~^Parameter \#2 \$action of method Atk4\\Ui\\View::js\(\) expects Atk4\\Ui\\JsExpression\|null, Atk4\\Ui\\JsReload given\.$~' - path: 'demos/javascript/reloading.php' message: '~^Parameter \#1 \$defaults of method Atk4\\Ui\\Form\\Control\\Input::addAction\(\) expects array, string given\.$~' @@ -979,18 +952,12 @@ parameters: - path: 'src/Card.php' message: '~^Parameter \#2 \$selector of method Atk4\\Ui\\View::on\(\) expects Atk4\\Ui\\JsExpressionable\|string\|null, Atk4\\Data\\Model\\UserAction given\.$~' - - - path: 'src/Console.php' - message: '~^Parameter \#2 \$action of method Atk4\\Ui\\View::js\(\) expects Atk4\\Ui\\JsExpression\|null, Atk4\\Ui\\JsExpressionable given\.$~' - path: 'src/Form.php' message: '~^Parameter \#1 \$object of method Atk4\\Ui\\View::add\(\) expects Atk4\\Ui\\View, Atk4\\Ui\\JsCallback given\.$~' - path: 'src/Form.php' message: '~^Parameter \#2 \$value of method Atk4\\Ui\\View::setAttr\(\) expects string\|null, int given\.$~' - - - path: 'src/Form.php' - message: '~^Parameter \#2 \$action of method Atk4\\Ui\\View::js\(\) expects Atk4\\Ui\\JsExpression\|null, Atk4\\Ui\\JsConditionalForm given\.$~' - path: 'src/Form/Layout/Columns.php' message: '~^Parameter \#2 \$fields of method Atk4\\Ui\\Form\\AbstractLayout::setModel\(\) expects array\|null, false given\.$~' @@ -1033,18 +1000,9 @@ parameters: - path: 'src/Table/Column/Delete.php' message: '~^Parameter \#1 \$object of method Atk4\\Ui\\View::add\(\) expects Atk4\\Ui\\View, Atk4\\Ui\\CallbackLater given\.$~' - - - path: 'src/UserAction/ConfirmationExecutor.php' - message: '~^Parameter \#2 \$action of method Atk4\\Ui\\View::js\(\) expects Atk4\\Ui\\JsExpression\|null, Atk4\\Ui\\JsExpressionable given\.$~' - path: 'src/UserAction/ModalExecutor.php' message: '~^Parameter \#2 \$selector of method Atk4\\Ui\\View::on\(\) expects Atk4\\Ui\\JsExpressionable\|string\|null, array\ given\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Parameter \#2 \$action of method Atk4\\Ui\\View::js\(\) expects Atk4\\Ui\\JsExpression\|null, Atk4\\Ui\\JsExpressionable given\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Parameter \#1 \$object of method Atk4\\Ui\\View::add\(\) expects Atk4\\Ui\\View, string given\.$~' - path: 'src/View.php' message: '~^Parameter \#1 \$object of method Atk4\\Ui\\View::add\(\) expects Atk4\\Ui\\View, Atk4\\Ui\\JsCallback given\.$~' @@ -2392,81 +2350,6 @@ parameters: - path: 'src/UserAction/JsCallbackExecutor.php' message: '~^Method Atk4\\Ui\\UserAction\\JsCallbackExecutor::_hasAllArguments\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/JsExecutorInterface.php' - message: '~^Method Atk4\\Ui\\UserAction\\JsExecutorInterface::jsExecute\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Property Atk4\\Ui\\UserAction\\ModalExecutor::\$actionInitialized has no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Property Atk4\\Ui\\UserAction\\ModalExecutor::\$step has no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Property Atk4\\Ui\\UserAction\\ModalExecutor::\$nextStepBtn has no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Property Atk4\\Ui\\UserAction\\ModalExecutor::\$execActionBtn has no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Property Atk4\\Ui\\UserAction\\ModalExecutor::\$btns has no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Property Atk4\\Ui\\UserAction\\ModalExecutor::\$loaderUi has no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Property Atk4\\Ui\\UserAction\\ModalExecutor::\$loaderShim has no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::afterActionInit\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::executeModelAction\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::assignTrigger\(\) has parameter \$selector with no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::doArgs\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::doFields\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::doPreview\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::doFinal\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::jsGetExecute\(\) has parameter \$id with no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::jsGetExecute\(\) has parameter \$obj with no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::jsSetBtnState\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::jsSetSubmitBtn\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::jsSetPrevHandler\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::_addStepTitle\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::_jsSequencer\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::_handleException\(\) has no return typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::_handleException\(\) has parameter \$step with no typehint specified\.$~' - - - path: 'src/UserAction/ModalExecutor.php' - message: '~^Method Atk4\\Ui\\UserAction\\ModalExecutor::_handleException\(\) has parameter \$view with no typehint specified\.$~' - path: 'src/UserAction/PreviewExecutor.php' message: '~^Method Atk4\\Ui\\UserAction\\PreviewExecutor::initPreview\(\) has no return typehint specified\.$~' diff --git a/public/atkjs-ui.min.js b/public/atkjs-ui.min.js index 490b2f6f82..3933482786 100644 --- a/public/atkjs-ui.min.js +++ b/public/atkjs-ui.min.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("jQuery"),require("Draggable")):"function"==typeof define&&define.amd?define("atk",["jQuery","Draggable"],e):"object"==typeof exports?exports.atk=e(require("jQuery"),require("Draggable")):t.atk=e(t.jQuery,t.Draggable)}(self,(function(__WEBPACK_EXTERNAL_MODULE__3609__,__WEBPACK_EXTERNAL_MODULE__6570__){return(()=>{var __webpack_modules__={8576:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var jquery__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3609),jquery__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);class ApiService{static getInstance(){return this.instance}constructor(){return this.instance||(this.instance=this,this.afterSuccessCallbacks=[]),this.instance}evalResponse(code,$){eval(code)}setService(t){t.successTest=this.successTest,t.onFailure=this.onFailure,t.onSuccess=this.onSuccess,t.onAbort=this.onAbort}onAbort(t){console.warn(t)}onSuccess(t,e){let n;try{if(t.success){if(t&&t.html&&t.id){const e=[];jquery__WEBPACK_IMPORTED_MODULE_0___default()(t.html).find(".ui.modal[id]").each(((t,n)=>{e.push("#"+jquery__WEBPACK_IMPORTED_MODULE_0___default()(n).attr("id"))})),e.length&&jquery__WEBPACK_IMPORTED_MODULE_0___default()(".ui.dimmer.modals.page").find(e.join(", ")).remove(),n=jquery__WEBPACK_IMPORTED_MODULE_0___default()("#"+t.id).replaceWith(t.html),n.length||console.error("Unable to replace element with id: "+t.id)}if(t&&t.modals){Object.keys(t.modals).forEach((e=>{0===jquery__WEBPACK_IMPORTED_MODULE_0___default()(".ui.dimmer.modals.page").find("#"+e).length&&(jquery__WEBPACK_IMPORTED_MODULE_0___default()(document.body).append(t.modals[e].html),atk.apiService.evalResponse(t.modals[e].js,jQuery))}))}if(t&&t.atkjs&&atk.apiService.evalResponse.call(this,t.atkjs.replace(/<\/?script>/g,""),jQuery),atk.apiService.afterSuccessCallbacks.length>0){const t=this;atk.apiService.afterSuccessCallbacks.forEach((e=>{atk.apiService.evalResponse.call(t,e,jQuery)})),atk.apiService.afterSuccessCallbacks.splice(0)}}else if(t.isServiceError)throw{message:t.message}}catch(t){atk.apiService.showErrorModal(atk.apiService.getErrorHtml(t.message))}}suiFetch(t,e={},n="body"){const r=jquery__WEBPACK_IMPORTED_MODULE_0___default()(n),i=Object.assign(e);return"on"in i||(i.on="now"),"method"in i||(i.method="get"),i.url=t,new Promise(((t,e)=>{i.onFailure=function(t){atk.apiService.onFailure(t),e(t)},i.onSuccess=function(e,n){t(e)},r.api(i)}))}onAfterSuccess(t){this.afterSuccessCallbacks.push(t)}successTest(t){return this.data={},!!t.success}atkSuccessTest(t,e=null){t.success?this.onSuccess(t,e):this.onFailure(t)}onFailure(t){if(Object.prototype.hasOwnProperty.call(t,"success")&&!t.success)Object.prototype.hasOwnProperty.call(t,"useWindow")&&t.useWindow?atk.apiService.showErrorWindow(t.message):atk.apiService.showErrorModal(t.message);else{const e=t.match(/]*>[\s\S]*<\/body>/gi);e?atk.apiService.showErrorModal(e):atk.apiService.showErrorModal(t)}}showErrorModal(t){const e=jquery__WEBPACK_IMPORTED_MODULE_0___default()("
").appendTo("body").addClass("ui scrolling modal").css("padding","1em").html(t);e.modal({duration:100,allowMultiple:!1,onHide:function(){return e.children().remove(),!0}}).modal("show").modal("refresh")}showErrorWindow(t){jquery__WEBPACK_IMPORTED_MODULE_0___default()('
').css({padding:"8px","background-color":"rgba(0, 0, 0, 0.5)",margin:"auto",width:"100%",height:"100%",position:"fixed",top:0,bottom:0,"z-index":"100000","overflow-y":"scroll"}).html(jquery__WEBPACK_IMPORTED_MODULE_0___default()("
").css({width:"70%","margin-top":"4%","margin-bottom":"4%","margin-left":"auto","margin-right":"auto",background:"white",padding:"4px","overflow-x":"scroll"}).html(t).prepend(jquery__WEBPACK_IMPORTED_MODULE_0___default()('').css("float","right").click((function(){const t=jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).parents(".atk-exception");t.hide(),t.remove()})))).appendTo("body")}getErrorHtml(t){return`
\n \n
\n
Javascript Error
\n
${t}
\n
\n
`}}const apiService=new ApiService;Object.freeze(apiService);const __WEBPACK_DEFAULT_EXPORT__=apiService},2435:function(t){var e;e=function(){return(()=>{"use strict";var t={67:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});var r=n(887),i=n.n(r);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a,c=(a=0,function(){return a++}),l=function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),s(this,"ID","id"),s(this,"PX","px"),s(this,"RESIZABLE","grip-resizable"),s(this,"FLEX","grip-flex"),s(this,"legacyIE",navigator.userAgent.indexOf("Trident/4.0")>0),s(this,"reset",(function(t){return n.init(t)})),s(this,"onResize",(function(){var t=n.tb;if(t.classList.remove(n.RESIZABLE),t.opt.fixed){t.tableWidth=Number(window.getComputedStyle(t).width.replace(/px/,"")).valueOf();for(var e=0,r=0;r tbody > tr > td, .grip-resizable > tbody > tr > th{overflow:hidden} .grip-padding > tbody > tr > td, .grip-padding > tbody > tr > th{padding-left:0!important; padding-right:0!important;} .grip-container{ height:0px; position:relative;} .grip-handle{margin-left:-5px; position:absolute; z-index:5; } .grip-handle .grip-resizable{position:absolute;background-color:red;filter:alpha(opacity=1);opacity:0;width:10px;height:100%;cursor: col-resize;top:0px} .grip-lastgrip{position:absolute; width:1px; } .grip-drag{ border-left:1px dotted black;\t} .grip-flex{width:auto!important;} .grip-handle.grip-disabledgrip .grip-resizable{cursor:default; display:none;}"),t.hoverCursor&&"col-resize"!==t.hoverCursor){var o=".grip-handle .grip-resizable:hover{cursor:"+t.hoverCursor+"!important}";n.createStyle(i,o)}e.setAttribute(n.ID,r);var s=e.opt;e.opt=n.extendOptions(t);var a=n.getTableHeaders(e);if(n.extendTable(a),t.remoteTable&&t.remoteTable.matches("table")){var l=n.getTableHeaders(e.opt.remoteTable);a.length===l.length?n.extendRemoteTable(e.opt.remoteTable,l,e):console.warn("column count for remote table did not match")}return s})),s(this,"applyBounds",(function(){var t=n.tb,e=t.columns.map((function(t){return window.getComputedStyle(t).width}));t.style.width=window.getComputedStyle(t).width,t.tableWidth=Number(t.style.width.replace(/px/,"")).valueOf(),t.classList.remove(n.FLEX),t.columns.forEach((function(t,n){t.style.width=e[n],t.w=Number(e[n].replace(/px/,"")).valueOf()})),t.classList.add(n.FLEX)})),s(this,"serializeStore",(function(){var t=n.store,e=n.tb;t[e.getAttribute(n.ID)]="";for(var r=0,i=0;ithead>tr:nth-of-type(1)>th"));return(r=r.concat(Array.from(t.querySelectorAll(e+">thead>tr:nth-of-type(1)>td")))).length||(r=(r=(r=(r=Array.from(t.querySelectorAll(e+">tbody>tr:nth-of-type(1)>th"))).concat(Array.from(t.querySelectorAll(e+">tr:nth-of-type(1)>th")))).concat(Array.from(t.querySelectorAll(e+">tbody>tr:nth-of-type(1)>td")))).concat(Array.from(t.querySelectorAll(e+">tr:nth-of-type(1)>td")))),n.filterInvisible(r,!1)})),s(this,"filterInvisible",(function(t,e){return t.filter((function(t){var n=e?-1:t.offsetWidth,r=e?-1:t.offsetHeight;return!(0===n&&0===r||t.style&&t.style.display&&"none"===window.getComputedStyle(t).display)}))})),s(this,"extendTable",(function(t){var e=n.tb;e.opt.removePadding&&e.classList.add("grip-padding"),e.classList.add(n.RESIZABLE),e.insertAdjacentHTML("beforebegin",'
'),e.grips=[],e.columns=[],e.tableWidth=Number(window.getComputedStyle(e).width.replace(/px/,"")).valueOf(),e.gripContainer=e.previousElementSibling,e.opt.marginLeft&&(e.gripContainer.style.marginLeft=e.opt.marginLeft),e.opt.marginRight&&(e.gripContainer.style.marginRight=e.opt.marginRight),e.cellSpace=parseInt(n.legacyIE?e.cellSpacing||e.currentStyle.borderSpacing:window.getComputedStyle(e).borderSpacing.split(" ")[0].replace(/px/,""))||2,e.borderSpace=parseInt(n.legacyIE?e.border||e.currentStyle.borderLeftWidth:window.getComputedStyle(e).borderLeftWidth.replace(/px/,""))||1,e.extended=!0,n.createGrips(t)})),s(this,"extendRemoteTable",(function(t,e,r){r.opt.removePadding&&t.classList.add("grip-padding"),t.classList.add(n.RESIZABLE),t.getAttribute(n.ID)||t.setAttribute(n.ID,r.getAttribute(n.ID)+"remote"),t.columns=[],e.forEach((function(i,o){var s=e[o];s.w=r.columns[o].w,s.style.width=s.w+n.PX,s.removeAttribute("width"),t.columns.push(s)})),t.tableWidth=r.tableWidth,t.cellSpace=r.cellSpace,t.borderSpace=r.borderSpace;var i=Array.from(t.querySelectorAll("col"));t.columnGrp=n.filterInvisible(i,!0),t.columnGrp.forEach((function(t,e){t.removeAttribute("width"),t.style.width=r.columnGrp[e].style.width})),r.remote=t})),s(this,"createGrips",(function(t){var e=n.tb;e.columnGrp=n.filterInvisible(Array.from(e.querySelectorAll("col")),!0),e.columnGrp.forEach((function(t){t.removeAttribute("width")})),e.columnCnt=t.length;var r=!1;n.store[e.getAttribute(n.ID)]&&(n.deserializeStore(t),r=!0),e.opt.widths||(e.opt.widths=[]),t.forEach((function(i,o){var s=t[o],a=-1!==e.opt.disabledColumns.indexOf(o);n.createDiv(e.gripContainer,"grip-handle");var c=e.gripContainer.lastChild;!a&&e.opt.gripInnerHtml&&(c.innerHTML=e.opt.gripInnerHtml),n.createDiv(c,n.RESIZABLE),o===e.columnCnt-1&&(c.classList.add("grip-lastgrip"),e.opt.fixed&&(c.innerHTML="")),c.addEventListener("touchstart",n.onGripMouseDown,{capture:!0,passive:!0}),c.addEventListener("mousedown",n.onGripMouseDown,!0),a?c.classList.add("grip-disabledgrip"):(c.classList.remove("grip-disabledgrip"),c.addEventListener("touchstart",n.onGripMouseDown,{capture:!0,passive:!0}),c.addEventListener("mousedown",n.onGripMouseDown,!0)),c.t=e,c.i=o,e.opt.widths[o]?s.w=e.opt.widths[o]:s.w=r?Number(s.style.width.replace(/px/,"")).valueOf():Number(window.getComputedStyle(s).width.replace(/px/,"")).valueOf(),s.style.width=s.w+n.PX,s.removeAttribute("width"),c.data={i:o,t:e.getAttribute(n.ID),last:o===e.columnCnt-1},e.grips.push(c),e.columns.push(s)}));var i=Array.from(e.querySelectorAll("td"));i.concat(Array.from(e.querySelectorAll("th"))),(i=(i=i.filter((function(e){for(var n=0;n{t.exports=function(t){for(var e=5381,n=t.length;n;)e=33*e^t.charCodeAt(--n);return e>>>0}}},e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}return n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n(67)})()},t.exports=e()},3099:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:(t,e,n)=>{var r=n(111);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:(t,e,n)=>{var r=n(5112),i=n(30),o=n(3070),s=r("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:i(null)}),t.exports=function(t){a[s][t]=!0}},1530:(t,e,n)=>{"use strict";var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},5787:t=>{t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},9670:(t,e,n)=>{var r=n(111);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},4019:t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},260:(t,e,n)=>{"use strict";var r,i=n(4019),o=n(9781),s=n(7854),a=n(111),c=n(6656),l=n(648),u=n(8880),d=n(1320),p=n(3070).f,f=n(9518),h=n(7674),g=n(5112),m=n(9711),v=s.Int8Array,y=v&&v.prototype,b=s.Uint8ClampedArray,w=b&&b.prototype,S=v&&f(v),x=y&&f(y),_=Object.prototype,A=_.isPrototypeOf,O=g("toStringTag"),C=m("TYPED_ARRAY_TAG"),k=i&&!!h&&"Opera"!==l(s.opera),E=!1,P={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T={BigInt64Array:8,BigUint64Array:8},j=function(t){if(!a(t))return!1;var e=l(t);return c(P,e)||c(T,e)};for(r in P)s[r]||(k=!1);if((!k||"function"!=typeof S||S===Function.prototype)&&(S=function(){throw TypeError("Incorrect invocation")},k))for(r in P)s[r]&&h(s[r],S);if((!k||!x||x===_)&&(x=S.prototype,k))for(r in P)s[r]&&h(s[r].prototype,x);if(k&&f(w)!==x&&h(w,x),o&&!c(x,O))for(r in E=!0,p(x,O,{get:function(){return a(this)?this[C]:void 0}}),P)s[r]&&u(s[r],C,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:k,TYPED_ARRAY_TAG:E&&C,aTypedArray:function(t){if(j(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(h){if(A.call(S,t))return t}else for(var e in P)if(c(P,r)){var n=s[e];if(n&&(t===n||A.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n){if(o){if(n)for(var r in P){var i=s[r];if(i&&c(i.prototype,t))try{delete i.prototype[t]}catch(t){}}x[t]&&!n||d(x,t,n?e:k&&y[t]||e)}},exportTypedArrayStaticMethod:function(t,e,n){var r,i;if(o){if(h){if(n)for(r in P)if((i=s[r])&&c(i,t))try{delete i[t]}catch(t){}if(S[t]&&!n)return;try{return d(S,t,n?e:k&&S[t]||e)}catch(t){}}for(r in P)!(i=s[r])||i[t]&&!n||d(i,t,e)}},isView:function(t){if(!a(t))return!1;var e=l(t);return"DataView"===e||c(P,e)||c(T,e)},isTypedArray:j,TypedArray:S,TypedArrayPrototype:x}},3331:(t,e,n)=>{"use strict";var r=n(7854),i=n(9781),o=n(4019),s=n(8880),a=n(2248),c=n(7293),l=n(5787),u=n(9958),d=n(7466),p=n(7067),f=n(1179),h=n(9518),g=n(7674),m=n(8006).f,v=n(3070).f,y=n(1285),b=n(8003),w=n(9909),S=w.get,x=w.set,_="ArrayBuffer",A="DataView",O="Wrong index",C=r.ArrayBuffer,k=C,E=r.DataView,P=E&&E.prototype,T=Object.prototype,j=r.RangeError,$=f.pack,I=f.unpack,L=function(t){return[255&t]},D=function(t){return[255&t,t>>8&255]},M=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},B=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},R=function(t){return $(t,23,4)},F=function(t){return $(t,52,8)},N=function(t,e){v(t.prototype,e,{get:function(){return S(this)[e]}})},z=function(t,e,n,r){var i=p(n),o=S(t);if(i+e>o.byteLength)throw j(O);var s=S(o.buffer).bytes,a=i+o.byteOffset,c=s.slice(a,a+e);return r?c:c.reverse()},q=function(t,e,n,r,i,o){var s=p(n),a=S(t);if(s+e>a.byteLength)throw j(O);for(var c=S(a.buffer).bytes,l=s+a.byteOffset,u=r(+i),d=0;dW;)(U=H[W++])in k||s(k,U,C[U]);V.constructor=k}g&&h(P)!==T&&g(P,T);var G=new E(new k(2)),K=P.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||a(P,{setInt8:function(t,e){K.call(this,t,e<<24>>24)},setUint8:function(t,e){K.call(this,t,e<<24>>24)}},{unsafe:!0})}else k=function(t){l(this,k,_);var e=p(t);x(this,{bytes:y.call(new Array(e),0),byteLength:e}),i||(this.byteLength=e)},E=function(t,e,n){l(this,E,A),l(t,k,A);var r=S(t).byteLength,o=u(e);if(o<0||o>r)throw j("Wrong offset");if(o+(n=void 0===n?r-o:d(n))>r)throw j("Wrong length");x(this,{buffer:t,byteLength:n,byteOffset:o}),i||(this.buffer=t,this.byteLength=n,this.byteOffset=o)},i&&(N(k,"byteLength"),N(E,"buffer"),N(E,"byteLength"),N(E,"byteOffset")),a(E.prototype,{getInt8:function(t){return z(this,1,t)[0]<<24>>24},getUint8:function(t){return z(this,1,t)[0]},getInt16:function(t){var e=z(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=z(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return B(z(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return B(z(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return I(z(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return I(z(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){q(this,1,t,L,e)},setUint8:function(t,e){q(this,1,t,L,e)},setInt16:function(t,e){q(this,2,t,D,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){q(this,2,t,D,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){q(this,4,t,M,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){q(this,4,t,M,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){q(this,4,t,R,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){q(this,8,t,F,e,arguments.length>2?arguments[2]:void 0)}});b(k,_),b(E,A),t.exports={ArrayBuffer:k,DataView:E}},1048:(t,e,n)=>{"use strict";var r=n(7908),i=n(1400),o=n(7466),s=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),a=o(n.length),c=i(t,a),l=i(e,a),u=arguments.length>2?arguments[2]:void 0,d=s((void 0===u?a:i(u,a))-l,a-c),p=1;for(l0;)l in n?n[c]=n[l]:delete n[c],c+=p,l+=p;return n}},1285:(t,e,n)=>{"use strict";var r=n(7908),i=n(1400),o=n(7466);t.exports=function(t){for(var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),c=s>2?arguments[2]:void 0,l=void 0===c?n:i(c,n);l>a;)e[a++]=t;return e}},8533:(t,e,n)=>{"use strict";var r=n(2092).forEach,i=n(2133)("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},8457:(t,e,n)=>{"use strict";var r=n(9974),i=n(7908),o=n(3411),s=n(7659),a=n(7466),c=n(6135),l=n(1246);t.exports=function(t){var e,n,u,d,p,f,h=i(t),g="function"==typeof this?this:Array,m=arguments.length,v=m>1?arguments[1]:void 0,y=void 0!==v,b=l(h),w=0;if(y&&(v=r(v,m>2?arguments[2]:void 0,2)),null==b||g==Array&&s(b))for(n=new g(e=a(h.length));e>w;w++)f=y?v(h[w],w):h[w],c(n,w,f);else for(p=(d=b.call(h)).next,n=new g;!(u=p.call(d)).done;w++)f=y?o(d,v,[u.value,w],!0):u.value,c(n,w,f);return n.length=w,n}},1318:(t,e,n)=>{var r=n(5656),i=n(7466),o=n(1400),s=function(t){return function(e,n,s){var a,c=r(e),l=i(c.length),u=o(s,l);if(t&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},2092:(t,e,n)=>{var r=n(9974),i=n(8361),o=n(7908),s=n(7466),a=n(5417),c=[].push,l=function(t){var e=1==t,n=2==t,l=3==t,u=4==t,d=6==t,p=7==t,f=5==t||d;return function(h,g,m,v){for(var y,b,w=o(h),S=i(w),x=r(g,m,3),_=s(S.length),A=0,O=v||a,C=e?O(h,_):n||p?O(h,0):void 0;_>A;A++)if((f||A in S)&&(b=x(y=S[A],A,w),t))if(e)C[A]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return A;case 2:c.call(C,y)}else switch(t){case 4:return!1;case 7:c.call(C,y)}return d?-1:l||u?u:C}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterOut:l(7)}},6583:(t,e,n)=>{"use strict";var r=n(5656),i=n(9958),o=n(7466),s=n(2133),a=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,u=s("lastIndexOf"),d=l||!u;t.exports=d?function(t){if(l)return c.apply(this,arguments)||0;var e=r(this),n=o(e.length),s=n-1;for(arguments.length>1&&(s=a(s,i(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:c},1194:(t,e,n)=>{var r=n(7293),i=n(5112),o=n(7392),s=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2133:(t,e,n)=>{"use strict";var r=n(7293);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},3671:(t,e,n)=>{var r=n(3099),i=n(7908),o=n(8361),s=n(7466),a=function(t){return function(e,n,a,c){r(n);var l=i(e),u=o(l),d=s(l.length),p=t?d-1:0,f=t?-1:1;if(a<2)for(;;){if(p in u){c=u[p],p+=f;break}if(p+=f,t?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:d>p;p+=f)p in u&&(c=n(c,u[p],p,l));return c}};t.exports={left:a(!1),right:a(!0)}},4362:t=>{var e=Math.floor,n=function(t,o){var s=t.length,a=e(s/2);return s<8?r(t,o):i(n(t.slice(0,a),o),n(t.slice(a),o),o)},r=function(t,e){for(var n,r,i=t.length,o=1;o0;)t[r]=t[--r];r!==o++&&(t[r]=n)}return t},i=function(t,e,n){for(var r=t.length,i=e.length,o=0,s=0,a=[];o{var r=n(111),i=n(3157),o=n(5112)("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},3411:(t,e,n)=>{var r=n(9670),i=n(9212);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){throw i(t),e}}},7072:(t,e,n)=>{var r=n(5112)("iterator"),i=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){i=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},4326:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},648:(t,e,n)=>{var r=n(1694),i=n(4326),o=n(5112)("toStringTag"),s="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:s?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},5631:(t,e,n)=>{"use strict";var r=n(3070).f,i=n(30),o=n(2248),s=n(9974),a=n(5787),c=n(408),l=n(654),u=n(6340),d=n(9781),p=n(2423).fastKey,f=n(9909),h=f.set,g=f.getterFor;t.exports={getConstructor:function(t,e,n,l){var u=t((function(t,r){a(t,u,e),h(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),d||(t.size=0),null!=r&&c(r,t[l],{that:t,AS_ENTRIES:n})})),f=g(e),m=function(t,e,n){var r,i,o=f(t),s=v(t,e);return s?s.value=n:(o.last=s={index:i=p(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=s),r&&(r.next=s),d?o.size++:t.size++,"F"!==i&&(o.index[i]=s)),t},v=function(t,e){var n,r=f(t),i=p(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return o(u.prototype,{clear:function(){for(var t=f(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,d?t.size=0:this.size=0},delete:function(t){var e=this,n=f(e),r=v(e,t);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),d?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=f(this),r=s(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!v(this,t)}}),o(u.prototype,n?{get:function(t){var e=v(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),d&&r(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(t,e,n){var r=e+" Iterator",i=g(e),o=g(r);l(t,e,(function(t,e){h(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(e)}}},9320:(t,e,n)=>{"use strict";var r=n(2248),i=n(2423).getWeakData,o=n(9670),s=n(111),a=n(5787),c=n(408),l=n(2092),u=n(6656),d=n(9909),p=d.set,f=d.getterFor,h=l.find,g=l.findIndex,m=0,v=function(t){return t.frozen||(t.frozen=new y)},y=function(){this.entries=[]},b=function(t,e){return h(t.entries,(function(t){return t[0]===e}))};y.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=g(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,l){var d=t((function(t,r){a(t,d,e),p(t,{type:e,id:m++,frozen:void 0}),null!=r&&c(r,t[l],{that:t,AS_ENTRIES:n})})),h=f(e),g=function(t,e,n){var r=h(t),s=i(o(e),!0);return!0===s?v(r).set(e,n):s[r.id]=n,t};return r(d.prototype,{delete:function(t){var e=h(this);if(!s(t))return!1;var n=i(t);return!0===n?v(e).delete(t):n&&u(n,e.id)&&delete n[e.id]},has:function(t){var e=h(this);if(!s(t))return!1;var n=i(t);return!0===n?v(e).has(t):n&&u(n,e.id)}}),r(d.prototype,n?{get:function(t){var e=h(this);if(s(t)){var n=i(t);return!0===n?v(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return g(this,t,e)}}:{add:function(t){return g(this,t,!0)}}),d}}},7710:(t,e,n)=>{"use strict";var r=n(2109),i=n(7854),o=n(4705),s=n(1320),a=n(2423),c=n(408),l=n(5787),u=n(111),d=n(7293),p=n(7072),f=n(8003),h=n(9587);t.exports=function(t,e,n){var g=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),v=g?"set":"add",y=i[t],b=y&&y.prototype,w=y,S={},x=function(t){var e=b[t];s(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(m&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!u(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!u(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(o(t,"function"!=typeof y||!(m||b.forEach&&!d((function(){(new y).entries().next()})))))w=n.getConstructor(e,t,g,v),a.REQUIRED=!0;else if(o(t,!0)){var _=new w,A=_[v](m?{}:-0,1)!=_,O=d((function(){_.has(1)})),C=p((function(t){new y(t)})),k=!m&&d((function(){for(var t=new y,e=5;e--;)t[v](e,e);return!t.has(-0)}));C||((w=e((function(e,n){l(e,w,t);var r=h(new y,e,w);return null!=n&&c(n,r[v],{that:r,AS_ENTRIES:g}),r}))).prototype=b,b.constructor=w),(O||k)&&(x("delete"),x("has"),g&&x("get")),(k||A)&&x(v),m&&b.clear&&delete b.clear}return S[t]=w,r({global:!0,forced:w!=y},S),f(w,t),m||n.setStrong(w,t,g),w}},9920:(t,e,n)=>{var r=n(6656),i=n(3887),o=n(1236),s=n(3070);t.exports=function(t,e){for(var n=i(e),a=s.f,c=o.f,l=0;l{var r=n(5112)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},8544:(t,e,n)=>{var r=n(7293);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4230:(t,e,n)=>{var r=n(4488),i=/"/g;t.exports=function(t,e,n,o){var s=String(r(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(o).replace(i,""")+'"'),a+">"+s+""}},4994:(t,e,n)=>{"use strict";var r=n(3383).IteratorPrototype,i=n(30),o=n(9114),s=n(8003),a=n(7497),c=function(){return this};t.exports=function(t,e,n){var l=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),s(t,l,!1,!0),a[l]=c,t}},8880:(t,e,n)=>{var r=n(9781),i=n(3070),o=n(9114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:(t,e,n)=>{"use strict";var r=n(7593),i=n(3070),o=n(9114);t.exports=function(t,e,n){var s=r(e);s in t?i.f(t,s,o(0,n)):t[s]=n}},5573:(t,e,n)=>{"use strict";var r=n(7293),i=n(6650).start,o=Math.abs,s=Date.prototype,a=s.getTime,c=s.toISOString;t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-50000000000001))}))||!r((function(){c.call(new Date(NaN))}))?function(){if(!isFinite(a.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+i(o(e),r?6:4,0)+"-"+i(t.getUTCMonth()+1,2,0)+"-"+i(t.getUTCDate(),2,0)+"T"+i(t.getUTCHours(),2,0)+":"+i(t.getUTCMinutes(),2,0)+":"+i(t.getUTCSeconds(),2,0)+"."+i(n,3,0)+"Z"}:c},8709:(t,e,n)=>{"use strict";var r=n(9670),i=n(7593);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!==t)}},654:(t,e,n)=>{"use strict";var r=n(2109),i=n(4994),o=n(9518),s=n(7674),a=n(8003),c=n(8880),l=n(1320),u=n(5112),d=n(1913),p=n(7497),f=n(3383),h=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,m=u("iterator"),v="keys",y="values",b="entries",w=function(){return this};t.exports=function(t,e,n,u,f,S,x){i(n,e,u);var _,A,O,C=function(t){if(t===f&&j)return j;if(!g&&t in P)return P[t];switch(t){case v:case y:case b:return function(){return new n(this,t)}}return function(){return new n(this)}},k=e+" Iterator",E=!1,P=t.prototype,T=P[m]||P["@@iterator"]||f&&P[f],j=!g&&T||C(f),$="Array"==e&&P.entries||T;if($&&(_=o($.call(new t)),h!==Object.prototype&&_.next&&(d||o(_)===h||(s?s(_,h):"function"!=typeof _[m]&&c(_,m,w)),a(_,k,!0,!0),d&&(p[k]=w))),f==y&&T&&T.name!==y&&(E=!0,j=function(){return T.call(this)}),d&&!x||P[m]===j||c(P,m,j),p[e]=j,f)if(A={values:C(y),keys:S?j:C(v),entries:C(b)},x)for(O in A)(g||E||!(O in P))&&l(P,O,A[O]);else r({target:e,proto:!0,forced:g||E},A);return A}},7235:(t,e,n)=>{var r=n(857),i=n(6656),o=n(6061),s=n(3070).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||s(e,t,{value:o.f(t)})}},9781:(t,e,n)=>{var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(t,e,n)=>{var r=n(7854),i=n(111),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},8324:t=>{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}},8886:(t,e,n)=>{var r=n(8113).match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},7871:t=>{t.exports="object"==typeof window},256:(t,e,n)=>{var r=n(8113);t.exports=/MSIE|Trident/.test(r)},8334:(t,e,n)=>{var r=n(8113);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},5268:(t,e,n)=>{var r=n(4326),i=n(7854);t.exports="process"==r(i.process)},1036:(t,e,n)=>{var r=n(8113);t.exports=/web0s(?!.*chrome)/i.test(r)},8113:(t,e,n)=>{var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:(t,e,n)=>{var r,i,o=n(7854),s=n(8113),a=o.process,c=a&&a.versions,l=c&&c.v8;l?i=(r=l.split("."))[0]<4?1:r[0]+r[1]:s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},8008:(t,e,n)=>{var r=n(8113).match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,n)=>{var r=n(7854),i=n(1236).f,o=n(8880),s=n(1320),a=n(3505),c=n(9920),l=n(4705);t.exports=function(t,e){var n,u,d,p,f,h=t.target,g=t.global,m=t.stat;if(n=g?r:m?r[h]||a(h,{}):(r[h]||{}).prototype)for(u in e){if(p=e[u],d=t.noTargetGet?(f=i(n,u))&&f.value:n[u],!l(g?u:h+(m?".":"#")+u,t.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),s(n,u,p,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,n)=>{"use strict";n(4916);var r=n(1320),i=n(2261),o=n(7293),s=n(5112),a=n(8880),c=s("species"),l=RegExp.prototype;t.exports=function(t,e,n,u){var d=s(t),p=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),f=p&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!p||!f||n){var h=/./[d],g=e(d,""[t],(function(t,e,n,r,o){var s=e.exec;return s===i||s===l.exec?p&&!o?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}));r(String.prototype,t,g[0]),r(l,d,g[1])}u&&a(l[d],"sham",!0)}},6790:(t,e,n)=>{"use strict";var r=n(3157),i=n(7466),o=n(9974),s=function(t,e,n,a,c,l,u,d){for(var p,f=c,h=0,g=!!u&&o(u,d,3);h0&&r(p))f=s(t,e,p,i(p.length),f,l-1)-1;else{if(f>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[f]=p}f++}h++}return f};t.exports=s},6677:(t,e,n)=>{var r=n(7293);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},9974:(t,e,n)=>{var r=n(3099);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},7065:(t,e,n)=>{"use strict";var r=n(3099),i=n(111),o=[].slice,s={},a=function(t,e,n){if(!(e in s)){for(var r=[],i=0;i{var r=n(857),i=n(7854),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},1246:(t,e,n)=>{var r=n(648),i=n(7497),o=n(5112)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},8554:(t,e,n)=>{var r=n(9670),i=n(1246);t.exports=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},647:(t,e,n)=>{var r=n(7908),i=Math.floor,o="".replace,s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,c,l,u){var d=n+t.length,p=c.length,f=a;return void 0!==l&&(l=r(l),f=s),o.call(u,f,(function(r,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(d);case"<":s=l[o.slice(1,-1)];break;default:var a=+o;if(0===a)return r;if(a>p){var u=i(a/10);return 0===u?r:u<=p?void 0===c[u-1]?o.charAt(1):c[u-1]+o.charAt(1):r}s=c[a-1]}return void 0===s?"":s}))}},7854:(t,e,n)=>{var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:(t,e,n)=>{var r=n(7908),i={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return i.call(r(t),e)}},3501:t=>{t.exports={}},842:(t,e,n)=>{var r=n(7854);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},490:(t,e,n)=>{var r=n(5005);t.exports=r("document","documentElement")},4664:(t,e,n)=>{var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1179:t=>{var e=Math.abs,n=Math.pow,r=Math.floor,i=Math.log,o=Math.LN2;t.exports={pack:function(t,s,a){var c,l,u,d=new Array(a),p=8*a-s-1,f=(1<>1,g=23===s?n(2,-24)-n(2,-77):0,m=t<0||0===t&&1/t<0?1:0,v=0;for((t=e(t))!=t||t===1/0?(l=t!=t?1:0,c=f):(c=r(i(t)/o),t*(u=n(2,-c))<1&&(c--,u*=2),(t+=c+h>=1?g/u:g*n(2,1-h))*u>=2&&(c++,u/=2),c+h>=f?(l=0,c=f):c+h>=1?(l=(t*u-1)*n(2,s),c+=h):(l=t*n(2,h-1)*n(2,s),c=0));s>=8;d[v++]=255&l,l/=256,s-=8);for(c=c<0;d[v++]=255&c,c/=256,p-=8);return d[--v]|=128*m,d},unpack:function(t,e){var r,i=t.length,o=8*i-e-1,s=(1<>1,c=o-7,l=i-1,u=t[l--],d=127&u;for(u>>=7;c>0;d=256*d+t[l],l--,c-=8);for(r=d&(1<<-c)-1,d>>=-c,c+=e;c>0;r=256*r+t[l],l--,c-=8);if(0===d)d=1-a;else{if(d===s)return r?NaN:u?-1/0:1/0;r+=n(2,e),d-=a}return(u?-1:1)*r*n(2,d-e)}}},8361:(t,e,n)=>{var r=n(7293),i=n(4326),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},9587:(t,e,n)=>{var r=n(111),i=n(7674);t.exports=function(t,e,n){var o,s;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(s=o.prototype)&&s!==n.prototype&&i(t,s),t}},2788:(t,e,n)=>{var r=n(5465),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},2423:(t,e,n)=>{var r=n(3501),i=n(111),o=n(6656),s=n(3070).f,a=n(9711),c=n(6677),l=a("meta"),u=0,d=Object.isExtensible||function(){return!0},p=function(t){s(t,l,{value:{objectID:"O"+u++,weakData:{}}})},f=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,l)){if(!d(t))return"F";if(!e)return"E";p(t)}return t[l].objectID},getWeakData:function(t,e){if(!o(t,l)){if(!d(t))return!0;if(!e)return!1;p(t)}return t[l].weakData},onFreeze:function(t){return c&&f.REQUIRED&&d(t)&&!o(t,l)&&p(t),t}};r[l]=!0},9909:(t,e,n)=>{var r,i,o,s=n(8536),a=n(7854),c=n(111),l=n(8880),u=n(6656),d=n(5465),p=n(6200),f=n(3501),h="Object already initialized",g=a.WeakMap;if(s||d.state){var m=d.state||(d.state=new g),v=m.get,y=m.has,b=m.set;r=function(t,e){if(y.call(m,t))throw new TypeError(h);return e.facade=t,b.call(m,t,e),e},i=function(t){return v.call(m,t)||{}},o=function(t){return y.call(m,t)}}else{var w=p("state");f[w]=!0,r=function(t,e){if(u(t,w))throw new TypeError(h);return e.facade=t,l(t,w,e),e},i=function(t){return u(t,w)?t[w]:{}},o=function(t){return u(t,w)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},7659:(t,e,n)=>{var r=n(5112),i=n(7497),o=r("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[o]===t)}},3157:(t,e,n)=>{var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},4705:(t,e,n)=>{var r=n(7293),i=/#|\.prototype\./,o=function(t,e){var n=a[s(t)];return n==l||n!=c&&("function"==typeof e?r(e):!!e)},s=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},8730:(t,e,n)=>{var r=n(111),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},111:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:t=>{t.exports=!1},7850:(t,e,n)=>{var r=n(111),i=n(4326),o=n(5112)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},408:(t,e,n)=>{var r=n(9670),i=n(7659),o=n(7466),s=n(9974),a=n(1246),c=n(9212),l=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var u,d,p,f,h,g,m,v=n&&n.that,y=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),S=s(e,v,1+y+w),x=function(t){return u&&c(u),new l(!0,t)},_=function(t){return y?(r(t),w?S(t[0],t[1],x):S(t[0],t[1])):w?S(t,x):S(t)};if(b)u=t;else{if("function"!=typeof(d=a(t)))throw TypeError("Target is not iterable");if(i(d)){for(p=0,f=o(t.length);f>p;p++)if((h=_(t[p]))&&h instanceof l)return h;return new l(!1)}u=d.call(t)}for(g=u.next;!(m=g.call(u)).done;){try{h=_(m.value)}catch(t){throw c(u),t}if("object"==typeof h&&h&&h instanceof l)return h}return new l(!1)}},9212:(t,e,n)=>{var r=n(9670);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},3383:(t,e,n)=>{"use strict";var r,i,o,s=n(7293),a=n(9518),c=n(8880),l=n(6656),u=n(5112),d=n(1913),p=u("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):f=!0);var h=null==r||s((function(){var t={};return r[p].call(t)!==t}));h&&(r={}),d&&!h||l(r,p)||c(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},7497:t=>{t.exports={}},6736:t=>{var e=Math.expm1,n=Math.exp;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:e},6130:(t,e,n)=>{var r=n(4310),i=Math.abs,o=Math.pow,s=o(2,-52),a=o(2,-23),c=o(2,127)*(2-a),l=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=i(t),u=r(t);return oc||n!=n?u*(1/0):u*n}},6513:t=>{var e=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:e(1+t)}},4310:t=>{t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},5948:(t,e,n)=>{var r,i,o,s,a,c,l,u,d=n(7854),p=n(1236).f,f=n(261).set,h=n(8334),g=n(1036),m=n(5268),v=d.MutationObserver||d.WebKitMutationObserver,y=d.document,b=d.process,w=d.Promise,S=p(d,"queueMicrotask"),x=S&&S.value;x||(r=function(){var t,e;for(m&&(t=b.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?s():o=void 0,t}}o=void 0,t&&t.enter()},h||m||g||!v||!y?w&&w.resolve?((l=w.resolve(void 0)).constructor=w,u=l.then,s=function(){u.call(l,r)}):s=m?function(){b.nextTick(r)}:function(){f.call(d,r)}:(a=!0,c=y.createTextNode(""),new v(r).observe(c,{characterData:!0}),s=function(){c.data=a=!a})),t.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,s()),o=e}},3366:(t,e,n)=>{var r=n(7854);t.exports=r.Promise},133:(t,e,n)=>{var r=n(7392),i=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},590:(t,e,n)=>{var r=n(7293),i=n(5112),o=n(1913),s=i("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:(t,e,n)=>{var r=n(7854),i=n(2788),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},8523:(t,e,n)=>{"use strict";var r=n(3099),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},3929:(t,e,n)=>{var r=n(7850);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},7023:(t,e,n)=>{var r=n(7854).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},2814:(t,e,n)=>{var r=n(7854),i=n(3111).trim,o=n(1361),s=r.parseFloat,a=1/s(o+"-0")!=-1/0;t.exports=a?function(t){var e=i(String(t)),n=s(e);return 0===n&&"-"==e.charAt(0)?-0:n}:s},3009:(t,e,n)=>{var r=n(7854),i=n(3111).trim,o=n(1361),s=r.parseInt,a=/^[+-]?0[Xx]/,c=8!==s(o+"08")||22!==s(o+"0x16");t.exports=c?function(t,e){var n=i(String(t));return s(n,e>>>0||(a.test(n)?16:10))}:s},1574:(t,e,n)=>{"use strict";var r=n(9781),i=n(7293),o=n(1956),s=n(5181),a=n(5296),c=n(7908),l=n(8361),u=Object.assign,d=Object.defineProperty;t.exports=!u||i((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||o(u({},e)).join("")!=i}))?function(t,e){for(var n=c(t),i=arguments.length,u=1,d=s.f,p=a.f;i>u;)for(var f,h=l(arguments[u++]),g=d?o(h).concat(d(h)):o(h),m=g.length,v=0;m>v;)f=g[v++],r&&!p.call(h,f)||(n[f]=h[f]);return n}:u},30:(t,e,n)=>{var r,i=n(9670),o=n(6048),s=n(748),a=n(3501),c=n(490),l=n(317),u=n(6200),d=u("IE_PROTO"),p=function(){},f=function(t){return"