((typeof self !== 'undefined' ? self : this)["webpackJsonpportal_management_std"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpportal_management_std"] || []).push([[42],{

/***/ 0:
/***/ (function(module, exports) {

/* (ignored) */

/***/ }),

/***/ "14c3":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var call = __webpack_require__("c65b");
var anObject = __webpack_require__("825a");
var isCallable = __webpack_require__("1626");
var classof = __webpack_require__("c6b6");
var regexpExec = __webpack_require__("9263");

var $TypeError = TypeError;

// `RegExpExec` abstract operation
// https://tc39.es/ecma262/#sec-regexpexec
module.exports = function (R, S) {
  var exec = R.exec;
  if (isCallable(exec)) {
    var result = call(exec, R, S);
    if (result !== null) anObject(result);
    return result;
  }
  if (classof(R) === 'RegExp') return call(regexpExec, R, S);
  throw new $TypeError('RegExp#exec called on incompatible receiver');
};


/***/ }),

/***/ "498a":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var $trim = __webpack_require__("58a8").trim;
var forcedStringTrimMethod = __webpack_require__("c8d2");

// `String.prototype.trim` method
// https://tc39.es/ecma262/#sec-string.prototype.trim
$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
  trim: function trim() {
    return $trim(this);
  }
});


/***/ }),

/***/ "4de4":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var $filter = __webpack_require__("b727").filter;
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");

var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');

// `Array.prototype.filter` method
// https://tc39.es/ecma262/#sec-array.prototype.filter
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
  filter: function filter(callbackfn /* , thisArg */) {
    return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  }
});


/***/ }),

/***/ "5f93":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29850416-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/modules/portal-management/views/royalties-management/RoyaltiesStandard.vue?vue&type=template&id=a0b0d52c&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:"h-full",attrs:{"body-style":{ height: '100%', overflow: 'auto' }}},[_c('div',{staticClass:"flex items-center"},[_c('span',{staticClass:"border-l-3 border-color-primary flex-1 pl-10px text-18px"},[_vm._v("稿费标准管理")])]),_c('div',{staticClass:"w-full mt-20px"},[(_vm.canEdit === true)?_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.isEdit}},[_vm._v("\n      编辑\n    ")]):_vm._e(),(_vm.canEdit === false)?_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.addData}},[_vm._v("\n      新增行数\n    ")]):_vm._e()],1),_c('div',{staticClass:"w-full mt-20px"},[_c('el-table',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.tableLoading),expression:"tableLoading"}],ref:"table",attrs:{"data":_vm.tableData,"border":""}},[_c('el-table-column',{attrs:{"type":"index","align":"center","label":"序号","width":"50"}}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"categoryId","label":"稿件类别"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-select',{attrs:{"disabled":_vm.canEdit,"placeholder":"请选择稿件类别"},model:{value:(scope.row.categoryId),callback:function ($$v) {_vm.$set(scope.row, "categoryId", $$v)},expression:"scope.row.categoryId"}},_vm._l((_vm.royaltiesCategory),function(item){return _c('el-option',{key:item.id,attrs:{"label":item.displayName,"value":item.id}})}),1)]}}])}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"typeId","label":"稿件类型"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-select',{attrs:{"disabled":_vm.canEdit,"placeholder":"请选择稿件类型"},model:{value:(scope.row.typeId),callback:function ($$v) {_vm.$set(scope.row, "typeId", $$v)},expression:"scope.row.typeId"}},_vm._l((_vm.royaltiesType),function(item){return _c('el-option',{key:item.id,attrs:{"label":item.displayName,"value":item.id}})}),1)]}}])}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"companyLevel","label":"公司级（元/篇）"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"wrap",attrs:{"contenteditable":!_vm.canEdit},domProps:{"textContent":_vm._s(scope.row.companyLevel)},on:{"blur":function($event){return _vm.lossFocus($event, scope, 'companyLevel')},"focus":function($event){return _vm.getFocus($event, scope.row, 'companyLevel')}}})]}}])}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"provinceLevel","label":"省公司级（元/篇）"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"wrap",attrs:{"contenteditable":!_vm.canEdit},domProps:{"textContent":_vm._s(scope.row.provinceLevel)},on:{"blur":function($event){return _vm.lossFocus($event, scope, 'provinceLevel')},"focus":function($event){return _vm.getFocus($event, scope.row, 'provinceLevel')}}})]}}])}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"groupLevel","label":"集团级（元/篇）"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"wrap",attrs:{"contenteditable":!_vm.canEdit},domProps:{"textContent":_vm._s(scope.row.groupLevel)},on:{"blur":function($event){return _vm.lossFocus($event, scope, 'groupLevel')},"focus":function($event){return _vm.getFocus($event, scope.row, 'groupLevel')}}})]}}])}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"withImage","label":"配照片（元/篇）"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"wrap",attrs:{"contenteditable":!_vm.canEdit},domProps:{"textContent":_vm._s(scope.row.withImage)},on:{"blur":function($event){return _vm.lossFocus($event, scope, 'withImage')},"focus":function($event){return _vm.getFocus($event, scope.row, 'withImage')}}})]}}])}),_c('el-table-column',{attrs:{"align":"left","header-align":"center","prop":"remark","label":"备注"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('div',{staticClass:"wrap",attrs:{"contenteditable":!_vm.canEdit},domProps:{"textContent":_vm._s(scope.row.remark)},on:{"blur":function($event){return _vm.lossFocus($event, scope, 'remark')},"focus":function($event){return _vm.getFocus($event, scope.row, 'remark')}}})]}}])}),(!_vm.canEdit)?_c('el-table-column',{attrs:{"align":"center","width":"200"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"disabled":_vm.canEdit,"size":"mini"},on:{"click":function($event){return _vm.removeRow(scope.$index, _vm.tableData, scope.row)}}},[_vm._v("删除")])]}}],null,false,2341813212)},[_c('template',{slot:"header"},[_c('p',[_vm._v("操作")])])],2):_vm._e()],1)],1),_c('div',{staticClass:"w-full fixed bottom-20px left-1/2"},[(_vm.canEdit === false)?_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.submit}},[_vm._v("\n      保存\n    ")]):_vm._e(),(_vm.canEdit === false)?_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.cancel}},[_vm._v("\n      取消\n    ")]):_vm._e()],1)])}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/portal-management/views/royalties-management/RoyaltiesStandard.vue?vue&type=template&id=a0b0d52c&scoped=true

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__("c7eb");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
var slicedToArray = __webpack_require__("3835");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__("1da1");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
var es_array_push = __webpack_require__("14d9");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
var es_array_splice = __webpack_require__("a434");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
var es_number_constructor = __webpack_require__("a9e3");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
var es_object_to_string = __webpack_require__("d3b7");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
var es_regexp_exec = __webpack_require__("ac1f");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
var es_regexp_test = __webpack_require__("00b4");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
var es_string_trim = __webpack_require__("498a");

// EXTERNAL MODULE: ./node_modules/@wiz-api/workbench-std/lib/workbench-std.umd.js
var workbench_std_umd = __webpack_require__("78a9");

// EXTERNAL MODULE: ./node_modules/@wiz-api/data-category-management/lib/data-category-management.umd.js
var data_category_management_umd = __webpack_require__("2adf");

// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/modules/portal-management/views/royalties-management/RoyaltiesStandard.vue?vue&type=script&lang=js










//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//



var royaltiesStandardApi = new workbench_std_umd["RoyaltiesStandardApi"]();
var _dataCategoryApi = new data_category_management_umd["DataCategoryApi"]();
/* harmony default export */ var RoyaltiesStandardvue_type_script_lang_js = ({
  data: function data() {
    return {
      canEdit: true,
      tableData: [],
      tableLoading: false,
      royaltiesCategory: [],
      royaltiesType: [],
      deleteList: []
    };
  },
  mounted: function mounted() {
    this.getTableData();
    this.dataCategoryApi();
  },
  methods: {
    dataCategoryApi: function dataCategoryApi() {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        var param, _yield$_dataCategoryA, _yield$_dataCategoryA2, err, res, params, _yield$_dataCategoryA3, _yield$_dataCategoryA4, errType, resType;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              param = {
                code: 'RoyaltiesCategory',
                includeDetails: true
              };
              _context.next = 3;
              return _dataCategoryApi.getByCode(param);
            case 3:
              _yield$_dataCategoryA = _context.sent;
              _yield$_dataCategoryA2 = Object(slicedToArray["a" /* default */])(_yield$_dataCategoryA, 2);
              err = _yield$_dataCategoryA2[0];
              res = _yield$_dataCategoryA2[1];
              if (!err && res) {
                _this.royaltiesCategory = res.dataItems;
              }
              params = {
                code: 'RoyaltiesType',
                includeDetails: true
              };
              _context.next = 11;
              return _dataCategoryApi.getByCode(params);
            case 11:
              _yield$_dataCategoryA3 = _context.sent;
              _yield$_dataCategoryA4 = Object(slicedToArray["a" /* default */])(_yield$_dataCategoryA3, 2);
              errType = _yield$_dataCategoryA4[0];
              resType = _yield$_dataCategoryA4[1];
              if (!errType && resType) {
                _this.royaltiesType = resType.dataItems;
              }
            case 16:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }))();
    },
    getTableData: function getTableData() {
      var _this2 = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
        var _yield$royaltiesStand, _yield$royaltiesStand2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              _this2.tableLoading = true;
              _context2.next = 3;
              return royaltiesStandardApi.getRoyaltiesStandard();
            case 3:
              _yield$royaltiesStand = _context2.sent;
              _yield$royaltiesStand2 = Object(slicedToArray["a" /* default */])(_yield$royaltiesStand, 2);
              err = _yield$royaltiesStand2[0];
              res = _yield$royaltiesStand2[1];
              if (!err && res) {
                _this2.tableData = res;
              }
              _this2.tableLoading = false;
            case 9:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }))();
    },
    lossFocus: function lossFocus(e, scope, type) {
      var content = _.trim(e.target.textContent);
      var reg = /^[1-9]\d*$/g;
      if ((type === 'companyLevel' || type === 'provinceLevel' || type === 'groupLevel' || type === 'withImage') && !reg.test(Number(content))) {
        this.$message.warning('请输入正整数');
        e.target.textContent = 0;
        return;
      }
      if (type === 'companyLevel' || type === 'provinceLevel' || type === 'groupLevel' || type === 'withImage') {
        scope.row[type] = parseInt(content, 10);
      } else {
        scope.row[type] = content;
      }
    },
    getRulers: function getRulers() {
      var status = true;
      if (_.some(this.tableData, function (item) {
        return item.categoryId === '';
      })) {
        this.$message.warning('稿件类别不能为空');
        status = false;
      }
      if (_.some(this.tableData, function (item) {
        return item.typeId === '';
      })) {
        this.$message.warning('稿件类型不能为空');
        status = false;
      }
      return status;
    },
    getFocus: function getFocus(e, row, type) {},
    isEdit: function isEdit() {
      this.canEdit = false;
      this.tableData.length === 0 ? this.addData() : '';
    },
    removeRow: function removeRow(index, rows, item) {
      var _this3 = this;
      this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(function () {
        _this3.deleteList.push(item.id);
        rows.splice(index, 1);
        _this3.$message({
          type: 'success',
          message: '删除成功!'
        });
      });
    },
    submit: function submit() {
      var _this4 = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee3() {
        var _yield$royaltiesStand3, _yield$royaltiesStand4, err, res, _yield$royaltiesStand5, _yield$royaltiesStand6, deleteErr, deleteRes;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee3$(_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              if (!(_this4.getRulers() === false)) {
                _context3.next = 2;
                break;
              }
              return _context3.abrupt("return");
            case 2:
              _context3.next = 4;
              return royaltiesStandardApi.updateRoyaltiesStandard({
                body: _this4.tableData
              });
            case 4:
              _yield$royaltiesStand3 = _context3.sent;
              _yield$royaltiesStand4 = Object(slicedToArray["a" /* default */])(_yield$royaltiesStand3, 2);
              err = _yield$royaltiesStand4[0];
              res = _yield$royaltiesStand4[1];
              _context3.next = 10;
              return royaltiesStandardApi.deleteRoyaltiesStandard({
                body: _.compact(_this4.deleteList)
              });
            case 10:
              _yield$royaltiesStand5 = _context3.sent;
              _yield$royaltiesStand6 = Object(slicedToArray["a" /* default */])(_yield$royaltiesStand5, 2);
              deleteErr = _yield$royaltiesStand6[0];
              deleteRes = _yield$royaltiesStand6[1];
              if (!err && res && !deleteErr && deleteRes) {
                _this4.$message.success('保存成功');
                _this4.cancel();
              }
            case 15:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      }))();
    },
    cancel: function cancel() {
      this.canEdit = true;
      this.getTableData();
    },
    addData: function addData() {
      var param = {
        id: null,
        categoryId: '',
        typeId: '',
        companyLevel: 0,
        provinceLevel: 0,
        groupLevel: 0,
        withImage: 0,
        remark: ''
      };
      this.tableData.push(param);
    }
  }
});
// CONCATENATED MODULE: ./src/modules/portal-management/views/royalties-management/RoyaltiesStandard.vue?vue&type=script&lang=js
 /* harmony default export */ var royalties_management_RoyaltiesStandardvue_type_script_lang_js = (RoyaltiesStandardvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/modules/portal-management/views/royalties-management/RoyaltiesStandard.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  royalties_management_RoyaltiesStandardvue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  null,
  "a0b0d52c",
  null
  
)

/* harmony default export */ var RoyaltiesStandard = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ "a434":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var toObject = __webpack_require__("7b0b");
var toAbsoluteIndex = __webpack_require__("23cb");
var toIntegerOrInfinity = __webpack_require__("5926");
var lengthOfArrayLike = __webpack_require__("07fa");
var setArrayLength = __webpack_require__("3a34");
var doesNotExceedSafeInteger = __webpack_require__("3511");
var arraySpeciesCreate = __webpack_require__("65f0");
var createProperty = __webpack_require__("8418");
var deletePropertyOrThrow = __webpack_require__("083a");
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");

var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');

var max = Math.max;
var min = Math.min;

// `Array.prototype.splice` method
// https://tc39.es/ecma262/#sec-array.prototype.splice
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
  splice: function splice(start, deleteCount /* , ...items */) {
    var O = toObject(this);
    var len = lengthOfArrayLike(O);
    var actualStart = toAbsoluteIndex(start, len);
    var argumentsLength = arguments.length;
    var insertCount, actualDeleteCount, A, k, from, to;
    if (argumentsLength === 0) {
      insertCount = actualDeleteCount = 0;
    } else if (argumentsLength === 1) {
      insertCount = 0;
      actualDeleteCount = len - actualStart;
    } else {
      insertCount = argumentsLength - 2;
      actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
    }
    doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
    A = arraySpeciesCreate(O, actualDeleteCount);
    for (k = 0; k < actualDeleteCount; k++) {
      from = actualStart + k;
      if (from in O) createProperty(A, k, O[from]);
    }
    A.length = actualDeleteCount;
    if (insertCount < actualDeleteCount) {
      for (k = actualStart; k < len - actualDeleteCount; k++) {
        from = k + actualDeleteCount;
        to = k + insertCount;
        if (from in O) O[to] = O[from];
        else deletePropertyOrThrow(O, to);
      }
      for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);
    } else if (insertCount > actualDeleteCount) {
      for (k = len - actualDeleteCount; k > actualStart; k--) {
        from = k + actualDeleteCount - 1;
        to = k + insertCount - 1;
        if (from in O) O[to] = O[from];
        else deletePropertyOrThrow(O, to);
      }
    }
    for (k = 0; k < insertCount; k++) {
      O[k + actualStart] = arguments[k + 2];
    }
    setArrayLength(O, len - actualDeleteCount + insertCount);
    return A;
  }
});


/***/ }),

/***/ "b64b":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var toObject = __webpack_require__("7b0b");
var nativeKeys = __webpack_require__("df75");
var fails = __webpack_require__("d039");

var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });

// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
  keys: function keys(it) {
    return nativeKeys(toObject(it));
  }
});


/***/ }),

/***/ "c8d2":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER;
var fails = __webpack_require__("d039");
var whitespaces = __webpack_require__("5899");

var non = '\u200B\u0085\u180E';

// check that a method works with the correct list
// of whitespaces and has a correct name
module.exports = function (METHOD_NAME) {
  return fails(function () {
    return !!whitespaces[METHOD_NAME]()
      || non[METHOD_NAME]() !== non
      || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
  });
};


/***/ }),

/***/ "caad":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var $includes = __webpack_require__("4d64").includes;
var fails = __webpack_require__("d039");
var addToUnscopables = __webpack_require__("44d2");

// FF99+ bug
var BROKEN_ON_SPARSE = fails(function () {
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
  return !Array(1).includes();
});

// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
  includes: function includes(el /* , fromIndex = 0 */) {
    return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
  }
});

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('includes');


/***/ }),

/***/ "d784":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

// TODO: Remove from `core-js@4` since it's moved to entry points
__webpack_require__("ac1f");
var call = __webpack_require__("c65b");
var defineBuiltIn = __webpack_require__("cb2d");
var regexpExec = __webpack_require__("9263");
var fails = __webpack_require__("d039");
var wellKnownSymbol = __webpack_require__("b622");
var createNonEnumerableProperty = __webpack_require__("9112");

var SPECIES = wellKnownSymbol('species');
var RegExpPrototype = RegExp.prototype;

module.exports = function (KEY, exec, FORCED, SHAM) {
  var SYMBOL = wellKnownSymbol(KEY);

  var DELEGATES_TO_SYMBOL = !fails(function () {
    // String methods call symbol-named RegExp methods
    var O = {};
    O[SYMBOL] = function () { return 7; };
    return ''[KEY](O) !== 7;
  });

  var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
    // Symbol-named RegExp methods call .exec
    var execCalled = false;
    var re = /a/;

    if (KEY === 'split') {
      // We can't use real regex here since it causes deoptimization
      // and serious performance degradation in V8
      // https://github.com/zloirock/core-js/issues/306
      re = {};
      // RegExp[@@split] doesn't call the regex's exec method, but first creates
      // a new one. We need to return the patched regex when creating the new one.
      re.constructor = {};
      re.constructor[SPECIES] = function () { return re; };
      re.flags = '';
      re[SYMBOL] = /./[SYMBOL];
    }

    re.exec = function () {
      execCalled = true;
      return null;
    };

    re[SYMBOL]('');
    return !execCalled;
  });

  if (
    !DELEGATES_TO_SYMBOL ||
    !DELEGATES_TO_EXEC ||
    FORCED
  ) {
    var nativeRegExpMethod = /./[SYMBOL];
    var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
      var $exec = regexp.exec;
      if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
        if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
          // The native String method already delegates to @@method (this
          // polyfilled function), leasing to infinite recursion.
          // We avoid it by directly calling the native @@method method.
          return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) };
        }
        return { done: true, value: call(nativeMethod, str, regexp, arg2) };
      }
      return { done: false };
    });

    defineBuiltIn(String.prototype, KEY, methods[0]);
    defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
  }

  if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
};


/***/ }),

/***/ "d81d":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var $map = __webpack_require__("b727").map;
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");

var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');

// `Array.prototype.map` method
// https://tc39.es/ecma262/#sec-array.prototype.map
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
  map: function map(callbackfn /* , thisArg */) {
    return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  }
});


/***/ })

}]);
//# sourceMappingURL=portal-management-std.umd.42.js.map