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

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

"use strict";

// EXPORTS
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ DiyService_DiyService; });

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

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regenerator.js + 1 modules
var regenerator = __webpack_require__("c14f");

// 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/@babel/runtime/helpers/esm/classCallCheck.js
var classCallCheck = __webpack_require__("d4ec");

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

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
var es_array_concat = __webpack_require__("99af");

// 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.promise.js
var es_promise = __webpack_require__("e6cf");

// 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.to-string.js
var es_regexp_to_string = __webpack_require__("25f0");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match.js
var es_string_match = __webpack_require__("466d");

// EXTERNAL MODULE: ./node_modules/superagent/lib/client.js
var client = __webpack_require__("db82");
var client_default = /*#__PURE__*/__webpack_require__.n(client);

// CONCATENATED MODULE: ./src/modules/contractor-management-sm/assets/utils/superagent.js









var toType = function toType(obj) {
  return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
};
var handleResult = function handleResult(request) {
  return new Promise(function (resolve) {
    request.end(function (err, res) {
      if (err) {
        var _err$response;
        resolve([((_err$response = err.response) === null || _err$response === void 0 ? void 0 : _err$response.body) || err, null]);
      } else {
        resolve([null, res.body]);
      }
    });
  });
};
var commonHeader = {
  'Content-Type': 'application/json;chatset=utf-8'
};
var superagent_SuperagentApi = /*#__PURE__*/function () {
  function SuperagentApi(_ref) {
    var baseUrl = _ref.baseUrl;
    Object(classCallCheck["a" /* default */])(this, SuperagentApi);
    this.agent = client_default.a;
    this.baseUrl = baseUrl;
  }
  /**
   *
   * @param {String} api 接口路由
   * @param {Object} params1 扩展对象，满足不同类型参数传递，params为url携带参数,headers为自定义头参数
   * @returns
   */
  return Object(createClass["a" /* default */])(SuperagentApi, [{
    key: "get",
    value: function get(api, _ref2) {
      var params = _ref2.params,
        _ref2$headers = _ref2.headers,
        headers = _ref2$headers === void 0 ? commonHeader : _ref2$headers;
      var request = this.agent.get("".concat(this.baseUrl).concat(api));
      request.set(headers);
      request.query(params);
      return handleResult(request);
    }
    /**
     *
     * @param {String} api 接口路由
     * @param {Object} params1 扩展对象，满足不同类型参数传递，data为body参数，params为url携带参数,headers为自定义头参数
     * @returns
     */
  }, {
    key: "post",
    value: function post(api, _ref3) {
      var data = _ref3.data,
        params = _ref3.params,
        _ref3$headers = _ref3.headers,
        headers = _ref3$headers === void 0 ? commonHeader : _ref3$headers;
      var type = 'json';
      if (toType(data) === 'formdata') {
        type = 'form';
      }
      var request = this.agent.post("".concat(this.baseUrl).concat(api));
      request.type(type);
      request.set(headers);
      request.query(params);
      request.send(data);
      return handleResult(request);
    }
    /**
     *
     * @param {String} api 接口路由
     * @param {Object} params1 扩展对象，满足不同类型参数传递，params为url携带参数,headers为自定义头参数
     * @returns
     */
  }, {
    key: "delete",
    value: function _delete(api, _ref4) {
      var params = _ref4.params,
        _ref4$headers = _ref4.headers,
        headers = _ref4$headers === void 0 ? commonHeader : _ref4$headers;
      var request = this.agent.del("".concat(this.baseUrl).concat(api));
      request.set(headers);
      request.query(params);
      return handleResult(request);
    }
  }]);
}();

// CONCATENATED MODULE: ./src/modules/contractor-management-sm/services/DiyService.js








var token = Wiz.AuthHooks.GetToken();
var headers = {
  Authorization: "Bearer ".concat(token)
};
var superagentApi = new superagent_SuperagentApi({
  baseUrl: window.ApiBase || 'http://pr.code.wiz.top:1052'
});
var DiyService_DiyService = /*#__PURE__*/function () {
  function DiyService() {
    Object(classCallCheck["a" /* default */])(this, DiyService);
  }
  return Object(createClass["a" /* default */])(DiyService, null, [{
    key: "getTableData",
    value: // 获取列表数据
    function () {
      var _getTableData = Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee(payload) {
        var _yield$superagentApi$, _yield$superagentApi$2, err, res;
        return Object(regenerator["a" /* default */])().w(function (_context) {
          while (1) switch (_context.n) {
            case 0:
              _context.n = 1;
              return superagentApi.post('/api/FormEngine/getTableData', {
                data: payload,
                headers: headers
              });
            case 1:
              _yield$superagentApi$ = _context.v;
              _yield$superagentApi$2 = Object(slicedToArray["a" /* default */])(_yield$superagentApi$, 2);
              err = _yield$superagentApi$2[0];
              res = _yield$superagentApi$2[1];
              return _context.a(2, [err, res]);
          }
        }, _callee);
      }));
      function getTableData(_x) {
        return _getTableData.apply(this, arguments);
      }
      return getTableData;
    }() // 更新表单数据
  }, {
    key: "updateFormData",
    value: function () {
      var _updateFormData = Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee2(payload) {
        var _yield$superagentApi$3, _yield$superagentApi$4, err, res;
        return Object(regenerator["a" /* default */])().w(function (_context2) {
          while (1) switch (_context2.n) {
            case 0:
              _context2.n = 1;
              return superagentApi.post('/api/FormEngine/uptFormData', {
                data: payload,
                headers: headers
              });
            case 1:
              _yield$superagentApi$3 = _context2.v;
              _yield$superagentApi$4 = Object(slicedToArray["a" /* default */])(_yield$superagentApi$3, 2);
              err = _yield$superagentApi$4[0];
              res = _yield$superagentApi$4[1];
              return _context2.a(2, [err, res]);
          }
        }, _callee2);
      }));
      function updateFormData(_x2) {
        return _updateFormData.apply(this, arguments);
      }
      return updateFormData;
    }() // 获取节点审批人
  }, {
    key: "getNodeConfirmUsers",
    value: function () {
      var _getNodeConfirmUsers = Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee3(payload) {
        var _yield$superagentApi$5, _yield$superagentApi$6, err, res;
        return Object(regenerator["a" /* default */])().w(function (_context3) {
          while (1) switch (_context3.n) {
            case 0:
              _context3.n = 1;
              return superagentApi.post('/api/WorkFlow/GetNodeConfirmUsers', {
                data: payload,
                headers: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, headers), {}, {
                  'Content-Type': 'application/x-www-form-urlencoded'
                })
              });
            case 1:
              _yield$superagentApi$5 = _context3.v;
              _yield$superagentApi$6 = Object(slicedToArray["a" /* default */])(_yield$superagentApi$5, 2);
              err = _yield$superagentApi$6[0];
              res = _yield$superagentApi$6[1];
              return _context3.a(2, [err, res]);
          }
        }, _callee3);
      }));
      function getNodeConfirmUsers(_x3) {
        return _getNodeConfirmUsers.apply(this, arguments);
      }
      return getNodeConfirmUsers;
    }() // 获取下一节点审批人
  }, {
    key: "getNextNodeConfirmUsers",
    value: function () {
      var _getNextNodeConfirmUsers = Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee4(payload) {
        var _yield$superagentApi$7, _yield$superagentApi$8, err, res;
        return Object(regenerator["a" /* default */])().w(function (_context4) {
          while (1) switch (_context4.n) {
            case 0:
              _context4.n = 1;
              return superagentApi.post('/api/WorkFlow/getNextNodeConfirmUsers', {
                data: payload,
                headers: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, headers), {}, {
                  'Content-Type': 'application/x-www-form-urlencoded'
                })
              });
            case 1:
              _yield$superagentApi$7 = _context4.v;
              _yield$superagentApi$8 = Object(slicedToArray["a" /* default */])(_yield$superagentApi$7, 2);
              err = _yield$superagentApi$8[0];
              res = _yield$superagentApi$8[1];
              return _context4.a(2, [err, res]);
          }
        }, _callee4);
      }));
      function getNextNodeConfirmUsers(_x4) {
        return _getNextNodeConfirmUsers.apply(this, arguments);
      }
      return getNextNodeConfirmUsers;
    }() // 获取审批节点数据
  }, {
    key: "getFlowHistoryList",
    value: function () {
      var _getFlowHistoryList = Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee5(payload) {
        var _yield$superagentApi$9, _yield$superagentApi$0, err, res;
        return Object(regenerator["a" /* default */])().w(function (_context5) {
          while (1) switch (_context5.n) {
            case 0:
              _context5.n = 1;
              return superagentApi.post('/api/WorkFlow/getWFHistory', {
                data: payload,
                headers: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, headers), {}, {
                  'Content-Type': 'application/x-www-form-urlencoded'
                })
              });
            case 1:
              _yield$superagentApi$9 = _context5.v;
              _yield$superagentApi$0 = Object(slicedToArray["a" /* default */])(_yield$superagentApi$9, 2);
              err = _yield$superagentApi$0[0];
              res = _yield$superagentApi$0[1];
              return _context5.a(2, [err, res]);
          }
        }, _callee5);
      }));
      function getFlowHistoryList(_x5) {
        return _getFlowHistoryList.apply(this, arguments);
      }
      return getFlowHistoryList;
    }()
  }]);
}();


/***/ }),

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

"use strict";
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ClockingInDialog_vue_vue_type_style_index_0_id_01b20fa6_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6673");
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ClockingInDialog_vue_vue_type_style_index_0_id_01b20fa6_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ClockingInDialog_vue_vue_type_style_index_0_id_01b20fa6_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

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

exports = module.exports = __webpack_require__("2350")(false);
// imports


// module
exports.push([module.i, ".kqpz .el-form-item__error{position:absolute!important;top:100%!important;left:29%!important}", ""]);

// exports


/***/ }),

/***/ "5cc6":
/***/ (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":"28eb61d9-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/contractor-management-sm/components/ClockingInDialog.vue?vue&type=template&id=01b20fa6
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"mini-dialog kqpz",attrs:{"title":"考勤配置","visible":_vm.dialogVisible,"close-on-click-modal":false,"append-to-body":""},on:{"update:visible":function($event){_vm.dialogVisible=$event}},scopedSlots:_vm._u([{key:"footer",fn:function(){return [_c('div',{staticClass:"text-center"},[_c('el-button',{attrs:{"type":"primary","size":"small","loading":_vm.saveLoading},on:{"click":_vm.saveBtn}},[_vm._v("保存")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.cancle}},[_vm._v("取消")])],1)]},proxy:true}])},[_c('el-form',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.configLoading),expression:"configLoading"}],ref:"formRef",attrs:{"model":_vm.formData,"rules":_vm.formRules}},[_c('el-form-item',{attrs:{"label":"指定时间","prop":"Bianma"}},[_c('el-date-picker',{attrs:{"format":"yyyy-MM-dd HH:mm:ss","size":"small","clearable":"","type":"datetime","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:(_vm.formData.Bianma),callback:function ($$v) {_vm.$set(_vm.formData, "Bianma", $$v)},expression:"formData.Bianma"}})],1)],1)],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/contractor-management-sm/components/ClockingInDialog.vue?vue&type=template&id=01b20fa6

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regenerator.js + 1 modules
var regenerator = __webpack_require__("c14f");

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

// 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: ./src/modules/contractor-management-sm/services/DiyService.js + 1 modules
var DiyService = __webpack_require__("2754");

// 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/contractor-management-sm/components/ClockingInDialog.vue?vue&type=script&lang=js




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


/* harmony default export */ var ClockingInDialogvue_type_script_lang_js = ({
  name: 'ClockingInDialog',
  props: {
    visible: {
      default: false,
      type: Boolean
    } // 是否显示弹窗
  },
  data: function data() {
    return {
      formData: {
        Bianma: new Date() // 指定天数
      },
      formRules: {
        Bianma: [{
          required: true,
          message: '请选择指定时间',
          trigger: ['blur', 'change']
        }]
      },
      // 表单规则
      configLoading: false,
      // 获取考勤配置数据字典loading
      saveLoading: false // 保存按钮loading
    };
  },
  computed: {
    dialogVisible: {
      get: function get() {
        return this.visible;
      },
      set: function set(val) {
        this.$emit('update:visible', val);
      }
    }
  },
  methods: {
    /**
     * @description 查询考勤配置数据字典
     */
    getConfig: function getConfig() {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee() {
        var _res$Data;
        var _yield$DiyService$get, _yield$DiyService$get2, err, res;
        return Object(regenerator["a" /* default */])().w(function (_context) {
          while (1) switch (_context.n) {
            case 0:
              _context.n = 1;
              return DiyService["a" /* default */].getTableData({
                FormEngineKey: 'Diy_DataDictionaryItem',
                _PageIndex: 1,
                _PageSize: 1,
                _Where: [{
                  FormEngineKey: 'Diy_DataDictionaryItem',
                  Name: 'Mingcheng',
                  Type: 'Unique',
                  Value: '指定天数'
                }]
              });
            case 1:
              _yield$DiyService$get = _context.v;
              _yield$DiyService$get2 = Object(slicedToArray["a" /* default */])(_yield$DiyService$get, 2);
              err = _yield$DiyService$get2[0];
              res = _yield$DiyService$get2[1];
              if (!err && (res === null || res === void 0 ? void 0 : res.Code) === 1 && res !== null && res !== void 0 && (_res$Data = res.Data) !== null && _res$Data !== void 0 && _res$Data.length) {
                _this.formData = Object(objectSpread2["a" /* default */])({}, res.Data[0]);
              }
            case 2:
              return _context.a(2);
          }
        }, _callee);
      }))();
    },
    /**
     * @description 确认选择
     */
    saveBtn: function saveBtn() {
      var _this2 = this;
      this.$refs.formRef.validate(/*#__PURE__*/function () {
        var _ref = Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee2(valid) {
          var _yield$DiyService$upd, _yield$DiyService$upd2, err, res;
          return Object(regenerator["a" /* default */])().w(function (_context2) {
            while (1) switch (_context2.n) {
              case 0:
                if (valid) {
                  _context2.n = 1;
                  break;
                }
                return _context2.a(2);
              case 1:
                _context2.n = 2;
                return DiyService["a" /* default */].updateFormData({
                  FormEngineKey: 'Diy_DataDictionaryItem',
                  Id: _this2.formData.Id,
                  // 考勤配置id
                  _FormData: Object(objectSpread2["a" /* default */])({}, _this2.formData)
                });
              case 2:
                _yield$DiyService$upd = _context2.v;
                _yield$DiyService$upd2 = Object(slicedToArray["a" /* default */])(_yield$DiyService$upd, 2);
                err = _yield$DiyService$upd2[0];
                res = _yield$DiyService$upd2[1];
                if (!err && (res === null || res === void 0 ? void 0 : res.Code) === 1) {
                  _this2.$message.success('成功');
                  _this2.$emit('success');
                  _this2.cancle();
                }
              case 3:
                return _context2.a(2);
            }
          }, _callee2);
        }));
        return function (_x) {
          return _ref.apply(this, arguments);
        };
      }());
    },
    /**
     * @description 取消
     */
    cancle: function cancle() {
      this.dialogVisible = false;
    }
  },
  created: function created() {
    this.getConfig();
  }
});
// CONCATENATED MODULE: ./src/modules/contractor-management-sm/components/ClockingInDialog.vue?vue&type=script&lang=js
 /* harmony default export */ var components_ClockingInDialogvue_type_script_lang_js = (ClockingInDialogvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/modules/contractor-management-sm/components/ClockingInDialog.vue?vue&type=style&index=0&id=01b20fa6&prod&lang=scss
var ClockingInDialogvue_type_style_index_0_id_01b20fa6_prod_lang_scss = __webpack_require__("3462");

// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/modules/contractor-management-sm/components/ClockingInDialog.vue






/* normalize component */

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

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

/***/ }),

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

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__("4a0c");
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var add = __webpack_require__("499e").default
var update = add("4c6c0b2b", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var fails = __webpack_require__("d039");
var isArray = __webpack_require__("e8b5");
var isObject = __webpack_require__("861d");
var toObject = __webpack_require__("7b0b");
var lengthOfArrayLike = __webpack_require__("07fa");
var doesNotExceedSafeInteger = __webpack_require__("3511");
var createProperty = __webpack_require__("8418");
var arraySpeciesCreate = __webpack_require__("65f0");
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
var wellKnownSymbol = __webpack_require__("b622");
var V8_VERSION = __webpack_require__("1212");

var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');

// We can't use this feature detection in V8 since it causes
// deoptimization and serious performance degradation
// https://github.com/zloirock/core-js/issues/679
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
  var array = [];
  array[IS_CONCAT_SPREADABLE] = false;
  return array.concat()[0] !== array;
});

var isConcatSpreadable = function (O) {
  if (!isObject(O)) return false;
  var spreadable = O[IS_CONCAT_SPREADABLE];
  return spreadable !== undefined ? !!spreadable : isArray(O);
};

var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');

// `Array.prototype.concat` method
// https://tc39.es/ecma262/#sec-array.prototype.concat
// with adding support of @@isConcatSpreadable and @@species
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
  // eslint-disable-next-line no-unused-vars -- required for `.length`
  concat: function concat(arg) {
    var O = toObject(this);
    var A = arraySpeciesCreate(O, 0);
    var n = 0;
    var i, k, length, len, E;
    for (i = -1, length = arguments.length; i < length; i++) {
      E = i === -1 ? O : arguments[i];
      if (isConcatSpreadable(E)) {
        len = lengthOfArrayLike(E);
        doesNotExceedSafeInteger(n + len);
        for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
      } else {
        doesNotExceedSafeInteger(n + 1);
        createProperty(A, n++, E);
      }
    }
    A.length = n;
    return A;
  }
});


/***/ })

}]);
//# sourceMappingURL=contractor-management-sm.umd.39.js.map