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

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

/* (ignored) */

/***/ }),

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

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


// module
exports.push([module.i, ".item__secret[data-v-23519499]{width:calc(100% - 90px)}.content__dialog[data-v-23519499]{height:700px}[data-v-23519499] .el-tabs__content{height:calc(100% - 38px);overflow-y:auto}", ""]);

// exports


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var uncurryThis = __webpack_require__("e330");
var notARegExp = __webpack_require__("5a34");
var requireObjectCoercible = __webpack_require__("1d80");
var toString = __webpack_require__("577e");
var correctIsRegExpLogic = __webpack_require__("ab13");

var stringIndexOf = uncurryThis(''.indexOf);

// `String.prototype.includes` method
// https://tc39.es/ecma262/#sec-string.prototype.includes
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
  includes: function includes(searchString /* , position = 0 */) {
    return !!~stringIndexOf(
      toString(requireObjectCoercible(this)),
      toString(notARegExp(searchString)),
      arguments.length > 1 ? arguments[1] : undefined
    );
  }
});


/***/ }),

/***/ "31a9":
/***/ (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_OperateClientDialog_vue_vue_type_style_index_0_id_23519499_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("60d7");
/* 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_OperateClientDialog_vue_vue_type_style_index_0_id_23519499_prod_lang_scss_scoped_true__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_OperateClientDialog_vue_vue_type_style_index_0_id_23519499_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

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

"use strict";

var isObject = __webpack_require__("861d");
var classof = __webpack_require__("c6b6");
var wellKnownSymbol = __webpack_require__("b622");

var MATCH = wellKnownSymbol('match');

// `IsRegExp` abstract operation
// https://tc39.es/ecma262/#sec-isregexp
module.exports = function (it) {
  var isRegExp;
  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
};


/***/ }),

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

!function(t,e){ true?module.exports=e():undefined}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));

/***/ }),

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

"use strict";

var isRegExp = __webpack_require__("44e7");

var $TypeError = TypeError;

module.exports = function (it) {
  if (isRegExp(it)) {
    throw new $TypeError("The method doesn't accept regular expressions");
  } return it;
};


/***/ }),

/***/ "60d7":
/***/ (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__("228b");
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("661566b9", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var $find = __webpack_require__("b727").find;
var addToUnscopables = __webpack_require__("44d2");

var FIND = 'find';
var SKIPS_HOLES = true;

// Shouldn't skip holes
// eslint-disable-next-line es/no-array-prototype-find -- testing
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });

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

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


/***/ }),

/***/ "847b":
/***/ (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":"3f554254-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/host/resource-management/components/client/OperateClientDialog.vue?vue&type=template&id=23519499&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"large-dialog",attrs:{"width":"1280px","close-on-click-modal":false,"append-to-body":true,"visible":_vm.operateClientProps.visible,"title":_vm.operateClientProps.title},on:{"update:visible":function($event){return _vm.$set(_vm.operateClientProps, "visible", $event)}}},[_c('div',{staticClass:"content__dialog overflow-y-auto"},[_c('el-form',{ref:"clientForm",staticClass:"h-full",attrs:{"size":"mini","label-width":"150px","rules":_vm.clientRules,"model":_vm.clientForm,"destroy-on-close":""}},[_c('el-tabs',{staticClass:"h-full",attrs:{"type":"border-card"},model:{value:(_vm.activeTabName),callback:function ($$v) {_vm.activeTabName=$$v},expression:"activeTabName"}},[_c('el-tab-pane',{attrs:{"label":"基本属性","name":"0"}},[_c('el-row',{attrs:{"gutter":50}},[(_vm.operateClientProps.editType === 'create')?_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"客户端类型"}},[_c('el-select',{staticClass:"w-full",attrs:{"filterable":"","clearable":"","size":"small"},model:{value:(_vm.clientType),callback:function ($$v) {_vm.clientType=$$v},expression:"clientType"}},_vm._l((_vm.clientTypes),function(item){return _c('el-option',{key:item.value,attrs:{"label":item.name,"value":item.value}})}),1)],1)],1):_vm._e(),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"客户端ID","prop":"clientId"}},[_c('el-input',{attrs:{"readonly":_vm.operateClientProps.editType === 'edit',"placeholder":"请输入客户端id","size":"small","clearable":""},model:{value:(_vm.clientForm.clientId),callback:function ($$v) {_vm.$set(_vm.clientForm, "clientId", $$v)},expression:"clientForm.clientId"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"显示名称","prop":"clientName"}},[_c('el-input',{attrs:{"placeholder":"请输入客户端名称","size":"small","clearable":""},model:{value:(_vm.clientForm.clientName),callback:function ($$v) {_vm.$set(_vm.clientForm, "clientName", $$v)},expression:"clientForm.clientName"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"启用","prop":"enabled"}},[_c('el-checkbox',{model:{value:(_vm.clientForm.enabled),callback:function ($$v) {_vm.$set(_vm.clientForm, "enabled", $$v)},expression:"clientForm.enabled"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"请求刷新令牌","prop":"allowOfflineAccess"}},[_c('el-checkbox',{model:{value:(_vm.clientForm.allowOfflineAccess),callback:function ($$v) {_vm.$set(_vm.clientForm, "allowOfflineAccess", $$v)},expression:"clientForm.allowOfflineAccess"}})],1)],1),(_vm.operateClientProps.editType === 'edit')?_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"使用PKCE时用纯文本代码质询","prop":"allowPlainTextPkce"}},[_c('el-checkbox',{model:{value:(_vm.clientForm.allowPlainTextPkce),callback:function ($$v) {_vm.$set(_vm.clientForm, "allowPlainTextPkce", $$v)},expression:"clientForm.allowPlainTextPkce"}})],1)],1):_vm._e(),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"客户端信息地址","prop":"clientUri"}},[_c('el-input',{attrs:{"placeholder":"请输入客户端信息地址","size":"small","clearable":""},on:{"blur":_vm.changeClientUrl},model:{value:(_vm.clientForm.clientUri),callback:function ($$v) {_vm.$set(_vm.clientForm, "clientUri", $$v)},expression:"clientForm.clientUri"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"客户端logo地址","prop":"logoUri"}},[_c('el-input',{attrs:{"placeholder":"请输入客户端信息地址","size":"small","clearable":""},model:{value:(_vm.clientForm.logoUri),callback:function ($$v) {_vm.$set(_vm.clientForm, "logoUri", $$v)},expression:"clientForm.logoUri"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"允许的资源范围","prop":"allowedScopes"}},[_c('el-select',{staticClass:"w-full",attrs:{"size":"small","filterable":"","clearable":"","multiple":""},on:{"change":_vm.changeAuthScopes},model:{value:(_vm.clientForm.allowedScopes),callback:function ($$v) {_vm.$set(_vm.clientForm, "allowedScopes", $$v)},expression:"clientForm.allowedScopes"}},_vm._l((_vm.authScopes),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)],1),_c('el-col',{attrs:{"span":24}},[_c('el-form-item',{attrs:{"label":"允许使用的授权类型","prop":"allowedGrantTypes"}},[_c('el-select',{staticClass:"w-full",attrs:{"size":"small","filterable":"","multiple":"","clearable":""},on:{"change":_vm.changeAuthTypes},model:{value:(_vm.clientForm.allowedGrantTypes),callback:function ($$v) {_vm.$set(_vm.clientForm, "allowedGrantTypes", $$v)},expression:"clientForm.allowedGrantTypes"}},_vm._l((_vm.authTypes),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)],1),_c('el-col',{attrs:{"span":24}},[_c('el-form-item',{attrs:{"label":"描述","prop":"description"}},[_c('el-input',{attrs:{"type":"textarea","placeholder":"请输入描述","size":"small","clearable":""},model:{value:(_vm.clientForm.description),callback:function ($$v) {_vm.$set(_vm.clientForm, "description", $$v)},expression:"clientForm.description"}})],1)],1),(_vm.operateClientProps.editType === 'edit')?_c('el-col',{attrs:{"span":24}},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.addClaims()}}},[_vm._v("添加声明集")])],1):_vm._e()],1),(_vm.operateClientProps.editType === 'edit')?_c('el-table',{staticClass:"mt-10px",attrs:{"data":_vm.clientForm.claims,"border":"","height":"140px"}},[_c('el-table-column',{attrs:{"label":"类型","show-overflow-tooltip":"","prop":"type"}}),_c('el-table-column',{attrs:{"label":"值","prop":"value","show-overflow-tooltip":""}}),_c('el-table-column',{attrs:{"label":"操作","width":"120px"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){return _vm.deleteClaim(scope.row)}}},[_vm._v("删除声明")])]}}],null,false,2519542683)})],1):_vm._e()],1),_c('el-tab-pane',{attrs:{"label":"令牌配置","name":"1"}},[_c('el-row',{attrs:{"gutter":50}},[(_vm.operateClientProps.editType === 'edit')?_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"SSO生命周期","prop":"userSsoLifetime"}},[_c('el-input',{attrs:{"size":"small","type":"number","clearable":""},model:{value:(_vm.clientForm.userSsoLifetime),callback:function ($$v) {_vm.$set(_vm.clientForm, "userSsoLifetime", $$v)},expression:"clientForm.userSsoLifetime"}},[_c('template',{slot:"append"},[_vm._v("秒")])],2)],1)],1):_vm._e(),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"身份令牌生命周期","prop":"identityTokenLifetime"}},[_c('el-input',{attrs:{"size":"small","type":"number","clearable":""},model:{value:(_vm.clientForm.identityTokenLifetime),callback:function ($$v) {_vm.$set(_vm.clientForm, "identityTokenLifetime", $$v)},expression:"clientForm.identityTokenLifetime"}},[_c('template',{slot:"append"},[_vm._v("秒")])],2)],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"访问令牌的生命周期","prop":"accessTokenLifetime"}},[_c('el-input',{attrs:{"size":"small","clearable":"","type":"number"},model:{value:(_vm.clientForm.accessTokenLifetime),callback:function ($$v) {_vm.$set(_vm.clientForm, "accessTokenLifetime", $$v)},expression:"clientForm.accessTokenLifetime"}},[_c('template',{slot:"append"},[_vm._v("秒")])],2)],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"授权码的生命周期","prop":"authorizationCodeLifetime"}},[_c('el-input',{attrs:{"type":"number","size":"small","filterable":"","clearable":""},model:{value:(_vm.clientForm.authorizationCodeLifetime),callback:function ($$v) {_vm.$set(_vm.clientForm, "authorizationCodeLifetime", $$v)},expression:"clientForm.authorizationCodeLifetime"}},[_c('template',{slot:"append"},[_vm._v("秒")])],2)],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"刷新令牌的最大生命周期","prop":"absoluteRefreshTokenLifetime"}},[_c('el-input',{attrs:{"size":"small","filterable":"","clearable":"","type":"number"},model:{value:(_vm.clientForm.absoluteRefreshTokenLifetime),callback:function ($$v) {_vm.$set(_vm.clientForm, "absoluteRefreshTokenLifetime", $$v)},expression:"clientForm.absoluteRefreshTokenLifetime"}},[_c('template',{slot:"append"},[_vm._v("秒")])],2)],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"刷新令牌的滑动生命周期","prop":"slidingRefreshTokenLifetime"}},[_c('el-input',{attrs:{"size":"small","filterable":"","clearable":"","type":"number"},model:{value:(_vm.clientForm.slidingRefreshTokenLifetime),callback:function ($$v) {_vm.$set(_vm.clientForm, "slidingRefreshTokenLifetime", $$v)},expression:"clientForm.slidingRefreshTokenLifetime"}},[_c('template',{slot:"append"},[_vm._v("秒")])],2)],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"刷新令牌使用方式","prop":"refreshTokenUsage"}},[_c('el-select',{staticClass:"w-full",attrs:{"size":"small","filterable":"","clearable":""},model:{value:(_vm.clientForm.refreshTokenUsage),callback:function ($$v) {_vm.$set(_vm.clientForm, "refreshTokenUsage", $$v)},expression:"clientForm.refreshTokenUsage"}},_vm._l((_vm.refreshTokenTypes),function(item){return _c('el-option',{key:item.value,attrs:{"value":item.value,"label":item.name}})}),1)],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"刷新令牌过期方式","prop":"refreshTokenExpiration"}},[_c('el-select',{staticClass:"w-full",attrs:{"size":"small","filterable":"","clearable":""},model:{value:(_vm.clientForm.refreshTokenExpiration),callback:function ($$v) {_vm.$set(_vm.clientForm, "refreshTokenExpiration", $$v)},expression:"clientForm.refreshTokenExpiration"}},_vm._l((_vm.refreshTokenExpiredTypes),function(item){return _c('el-option',{key:item.value,attrs:{"value":item.value,"label":item.name}})}),1)],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"本地帐户登录","prop":"enableLocalLogin"}},[_c('el-checkbox',{model:{value:(_vm.clientForm.enableLocalLogin),callback:function ($$v) {_vm.$set(_vm.clientForm, "enableLocalLogin", $$v)},expression:"clientForm.enableLocalLogin"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"浏览器接收访问令牌","prop":"allowAccessTokensViaBrowser"}},[_c('el-checkbox',{model:{value:(_vm.clientForm.allowAccessTokensViaBrowser),callback:function ($$v) {_vm.$set(_vm.clientForm, "allowAccessTokensViaBrowser", $$v)},expression:"clientForm.allowAccessTokensViaBrowser"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"需要密钥从令牌站点请求令牌","prop":"requireClientSecret"}},[_c('el-checkbox',{model:{value:(_vm.clientForm.requireClientSecret),callback:function ($$v) {_vm.$set(_vm.clientForm, "requireClientSecret", $$v)},expression:"clientForm.requireClientSecret"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-form-item',{attrs:{"label":"必须发送证明密钥","prop":"requirePkce"}},[_c('el-checkbox',{model:{value:(_vm.clientForm.requirePkce),callback:function ($$v) {_vm.$set(_vm.clientForm, "requirePkce", $$v)},expression:"clientForm.requirePkce"}})],1)],1),_c('el-col',{attrs:{"span":12}},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.setSecret()}}},[_vm._v("设置密钥")])],1)],1),_c('el-table',{staticClass:"mt-10px",attrs:{"data":_vm.clientForm.clientSecrets,"border":"","height":"190px"}},[_c('el-table-column',{attrs:{"label":"密钥值","show-overflow-tooltip":"","prop":"value"}}),_c('el-table-column',{attrs:{"label":"描述","prop":"description","show-overflow-tooltip":""}}),_c('el-table-column',{attrs:{"label":"超时时间","prop":"expiration","width":"150px"}}),_c('el-table-column',{attrs:{"label":"操作","width":"120px"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){return _vm.deleteSecret(scope.row)}}},[_vm._v("删除密钥")])]}}])})],1)],1),_c('el-tab-pane',{attrs:{"label":"地址配置","name":"2"}},[_c('el-table',{staticClass:"mt-10px",attrs:{"data":_vm.clientForm.redirectUris,"border":"","height":"300px"}},[_c('el-table-column',{attrs:{"label":"授权代码返回到的地址","prop":"url"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.editable)?_c('el-input',{attrs:{"size":"small","clearable":""},on:{"blur":function($event){return _vm.saveRedirectUrl(scope.row)}},model:{value:(scope.row.url),callback:function ($$v) {_vm.$set(scope.row, "url", $$v)},expression:"scope.row.url"}}):_c('span',[_vm._v(_vm._s(scope.row.url))])]}}])}),_c('el-table-column',{attrs:{"align":"center","label":"操作","width":"150px"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){return _vm.editRedirecturl(scope.row)}}},[_vm._v("编辑")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){return _vm.deleteRedirecturl(scope.row)}}},[_vm._v("删除")])]}}])},[_c('template',{slot:"header"},[_c('el-button',{staticClass:"vertical-middle iconfont icon-bg-add",attrs:{"type":"primary","size":"mini"},on:{"click":function($event){return _vm.addRedirectUrl()}}})],1)],2)],1),_c('el-table',{staticClass:"mt-10px",attrs:{"data":_vm.clientForm.postLogoutRedirectUris,"border":"","height":"300px"}},[_c('el-table-column',{attrs:{"label":"注销后允许重定向到的地址集","prop":"url"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.editable)?_c('el-input',{attrs:{"size":"small","clearable":""},on:{"blur":function($event){return _vm.saveLogoutRedirectUrl(scope.row)}},model:{value:(scope.row.url),callback:function ($$v) {_vm.$set(scope.row, "url", $$v)},expression:"scope.row.url"}}):_c('span',[_vm._v(_vm._s(scope.row.url))])]}}])}),_c('el-table-column',{attrs:{"align":"center","label":"操作","width":"150px"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){return _vm.editLogoutRedirecturl(scope.row)}}},[_vm._v("编辑")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){return _vm.deleteLogoutRedirecturl(scope.row)}}},[_vm._v("删除")])]}}])},[_c('template',{slot:"header"},[_c('el-button',{staticClass:"vertical-middle iconfont icon-bg-add",attrs:{"size":"mini","type":"primary"},on:{"click":function($event){return _vm.addLogoutRedirectUrl()}}})],1)],2)],1)],1)],1)],1)],1),_c('div',{staticClass:"flex justify-center",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{staticClass:"iconfont icon-save",attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.save()}}},[_vm._v("保存")]),_c('el-button',{staticClass:"iconfont icon-close",attrs:{"size":"small"},on:{"click":function($event){return _vm.cancel()}}},[_vm._v("取消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.setSecretVisible,"title":"设置密钥","width":"600px"},on:{"update:visible":function($event){_vm.setSecretVisible=$event}}},[_c('el-form',{ref:"secretForm",attrs:{"model":_vm.secretForm,"rules":_vm.secretRules,"label-width":"120px"}},[_c('el-form-item',{attrs:{"label":"密钥值","prop":"value"}},[_c('el-input',{attrs:{"placeholder":"请输入密钥值","size":"small","clearable":""},model:{value:(_vm.secretForm.value),callback:function ($$v) {_vm.$set(_vm.secretForm, "value", $$v)},expression:"secretForm.value"}})],1),_c('el-form-item',{attrs:{"label":"描述","prop":"description"}},[_c('el-input',{attrs:{"placeholder":"请输入描述","size":"small","clearable":""},model:{value:(_vm.secretForm.description),callback:function ($$v) {_vm.$set(_vm.secretForm, "description", $$v)},expression:"secretForm.description"}})],1),_c('el-form-item',{attrs:{"label":"超时时间","prop":"expiration"}},[_c('el-date-picker',{staticClass:"!w-full",attrs:{"size":"small","type":"datetime","format":"yyyy-MM-dd HH:mm:ss","placeholder":"选择日期时间"},model:{value:(_vm.secretForm.expiration),callback:function ($$v) {_vm.$set(_vm.secretForm, "expiration", $$v)},expression:"secretForm.expiration"}})],1)],1),_c('div',{staticClass:"flex justify-center",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{staticClass:"iconfont icon-save",attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.saveSecret()}}},[_vm._v("保存")]),_c('el-button',{staticClass:"iconfont icon-close",attrs:{"size":"small"},on:{"click":function($event){_vm.setSecretVisible = false}}},[_vm._v("取消")])],1)],1),_c('el-dialog',{attrs:{"visible":_vm.addClaimsVisible,"title":"添加声明集","width":"600px"},on:{"update:visible":function($event){_vm.addClaimsVisible=$event}}},[_c('el-form',{ref:"claimForm",attrs:{"model":_vm.claimForm,"rules":_vm.claimFormRules,"label-width":"120px"}},[_c('el-form-item',{attrs:{"label":"声明类型","prop":"type"}},[_c('el-input',{attrs:{"placeholder":"请输入声明类型","size":"small","clearable":""},model:{value:(_vm.claimForm.type),callback:function ($$v) {_vm.$set(_vm.claimForm, "type", $$v)},expression:"claimForm.type"}})],1),_c('el-form-item',{attrs:{"label":"声明值","prop":"value"}},[_c('el-input',{attrs:{"placeholder":"请输入声明值","size":"small","clearable":""},model:{value:(_vm.claimForm.value),callback:function ($$v) {_vm.$set(_vm.claimForm, "value", $$v)},expression:"claimForm.value"}})],1)],1),_c('div',{staticClass:"flex justify-center",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{staticClass:"iconfont icon-save",attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.saveClaim()}}},[_vm._v("保存")]),_c('el-button',{staticClass:"iconfont icon-close",attrs:{"size":"small"},on:{"click":function($event){_vm.addClaimsVisible = false}}},[_vm._v("取消")])],1)],1)],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/host/resource-management/components/client/OperateClientDialog.vue?vue&type=template&id=23519499&scoped=true

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
var es_symbol = __webpack_require__("a4d3");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
var es_array_filter = __webpack_require__("4de4");

// 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.object.get-own-property-descriptor.js
var es_object_get_own_property_descriptor = __webpack_require__("e439");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptors.js
var es_object_get_own_property_descriptors = __webpack_require__("dbb4");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
var es_object_keys = __webpack_require__("b64b");

// 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/web.dom-collections.for-each.js
var web_dom_collections_for_each = __webpack_require__("159b");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
var esm_typeof = __webpack_require__("53ca");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.to-primitive.js
var es_symbol_to_primitive = __webpack_require__("8172");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
var es_error_cause = __webpack_require__("d9e2");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.date.to-primitive.js
var es_date_to_primitive = __webpack_require__("efec");

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

// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js





function toPrimitive(t, r) {
  if ("object" != Object(esm_typeof["a" /* default */])(t) || !t) return t;
  var e = t[Symbol.toPrimitive];
  if (void 0 !== e) {
    var i = e.call(t, r || "default");
    if ("object" != Object(esm_typeof["a" /* default */])(i)) return i;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return ("string" === r ? String : Number)(t);
}

// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js


function toPropertyKey(t) {
  var i = toPrimitive(t, "string");
  return "symbol" == Object(esm_typeof["a" /* default */])(i) ? i : i + "";
}

// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js

function _defineProperty(e, r, t) {
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
    value: t,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[r] = t, e;
}

// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js









function ownKeys(e, r) {
  var t = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var o = Object.getOwnPropertySymbols(e);
    r && (o = o.filter(function (r) {
      return Object.getOwnPropertyDescriptor(e, r).enumerable;
    })), t.push.apply(t, o);
  }
  return t;
}
function _objectSpread2(e) {
  for (var r = 1; r < arguments.length; r++) {
    var t = null != arguments[r] ? arguments[r] : {};
    r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
      _defineProperty(e, r, t[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
    });
  }
  return e;
}

// 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/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__("c7eb");

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

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
var es_array_find = __webpack_require__("7db0");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
var es_array_includes = __webpack_require__("caad");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
var es_array_map = __webpack_require__("d81d");

// 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.includes.js
var es_string_includes = __webpack_require__("2532");

// EXTERNAL MODULE: ./node_modules/@wiz-api/auth-server/lib/auth-server.umd.js
var auth_server_umd = __webpack_require__("93f7");

// EXTERNAL MODULE: ./node_modules/@wiz-api/account/lib/account.umd.js
var account_umd = __webpack_require__("32d0");

// EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
var dayjs_min = __webpack_require__("5a0c");
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);

// 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/host/resource-management/components/client/OperateClientDialog.vue?vue&type=script&lang=js













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




var clientApi = new auth_server_umd["ClientApi"]();
var claimTypeApi = new account_umd["ClaimTypeApi"]();
/* harmony default export */ var OperateClientDialogvue_type_script_lang_js = ({
  name: 'operateApiDialog',
  props: {
    operateClientProps: {
      type: Object,
      default: function _default() {
        return {
          title: '新增客户端',
          editType: 'create',
          visible: false
        };
      }
    },
    clientForm: {
      type: Object,
      default: function _default() {
        return {
          enabled: false,
          clientName: '',
          clientUri: '',
          logoUri: '',
          description: '',
          allowedScopes: [],
          allowedGrantTypes: [],
          redirectUris: [],
          postLogoutRedirectUris: [],
          allowOfflineAccess: false,
          identityTokenLifetime: 300,
          // 默认值
          accessTokenLifetime: 3600,
          // 默认值
          authorizationCodeLifetime: 300,
          // 默认值
          absoluteRefreshTokenLifetime: 2592000,
          // 默认值
          slidingRefreshTokenLifetime: 1296000,
          // 默认值
          refreshTokenUsage: 1,
          // 默认值
          refreshTokenExpiration: 1,
          // 默认值
          enableLocalLogin: false,
          clientId: '',
          clientSecrets: [],
          allowAccessTokensViaBrowser: false,
          requireClientSecret: true,
          // 默认true
          requirePkce: true,
          // 默认为true
          userSsoLifetime: null,
          claims: []
        };
      }
    }
  },
  watch: {
    clientType: function clientType(type) {
      // 客户端类型为空 或 客户端信息地址为空 不处理
      if (!type || _.isEmpty(this.clientForm.clientUri)) {
        return;
      }
      this.watchClientType(type);
    },
    setSecretVisible: function setSecretVisible(bol) {
      if (bol) {
        this.secretForm = this.$options.data().secretForm;
      }
    },
    operateClientProps: {
      deep: true,
      immediate: true,
      handler: function handler(props) {
        if (props.visible) {
          this.activeTabName = '0';
          if (props.editType === 'edit') {
            this.changeAuthScopes(this.clientForm.allowedScopes);
            this.changeAuthTypes(this.clientForm.allowedGrantTypes);
          }
        }
      }
    }
  },
  components: {},
  data: function data() {
    var authTypes = ['implicit', 'client_credentials', 'authorization_code', 'hybrid', 'password', 'urn:ietf:params:oauth:grant-type:device_code', 'delegation', 'loginby_username'];
    return {
      urlReg: /(http|https):\/\/([\w.]+\/?)\S*/,
      clientType: '',
      clientTypes: [{
        name: 'Swagger',
        value: 1
      }, {
        name: 'SPA',
        value: 2
      }, {
        name: 'Web应用',
        value: 3
      }],
      claimTypes: [],
      // 声明集
      initClaimTypes: [],
      // 初始化所有的声明集
      activeTabName: '0',
      secretForm: {
        type: 'SharedSecret',
        value: '',
        description: '',
        expiration: ''
      },
      setSecretVisible: false,
      claimFormRules: {
        type: [{
          required: true,
          message: '请输入声明类型',
          trigger: 'blur'
        }],
        value: [{
          required: true,
          message: '请输入声明值',
          trigger: 'blur'
        }]
      },
      secretRules: {
        value: [{
          required: true,
          message: '请输入密钥值',
          trigger: 'blur'
        }]
      },
      refreshTokenTypes: [{
        name: 'OneTime',
        value: 1
      }, {
        name: 'ReUse',
        value: 0
      }],
      refreshTokenExpiredTypes: [{
        name: 'Absolute',
        value: 1
      }, {
        name: 'Sliding',
        value: 0
      }],
      authTypes: authTypes,
      initAuthTypes: _.cloneDeep(authTypes),
      authScopes: [],
      // 授权范围
      initAuthScopes: [],
      // 初始化的授权范围
      clientRules: {
        clientName: [{
          required: true,
          message: '请输入客户端名称',
          trigger: 'blur'
        }],
        allowedGrantTypes: [{
          required: true,
          message: '请选择允许使用的授权类型',
          trigger: 'blur'
        }],
        clientId: [{
          required: true,
          message: '请输入客户端ID',
          trigger: 'blur'
        }]
      },
      redirectUrl: '',
      // 通过配置设置授权代码返回地址
      postLogoutRedirectUrl: '',
      // 通过配置设置注销后允许重定向地址
      addClaimsVisible: false,
      // 添加声明集visible
      claimForm: {
        type: '',
        value: ''
      }
    };
  },
  computed: {},
  created: function created() {
    this.getAuthScopes();
    this.findClaimTypes();
  },
  methods: {
    deleteClaim: function deleteClaim(row) {
      var _this = this;
      this.$confirm('确认要删除么', '提示', {
        confirmButtonText: '确认',
        cancelButtonText: '取消',
        type: 'warning'
      }).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              _this.clientForm.claims = _.difference(_this.clientForm.claims, [row]);
            case 1:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }))).catch(function () {
        _this.$message({
          showClose: true,
          type: 'info',
          message: '已取消删除'
        });
      });
    },
    saveClaim: function saveClaim() {
      var _this2 = this;
      this.$refs.claimForm.validate(function (valid) {
        if (valid) {
          _this2.clientForm.claims.push(_.cloneDeep(_this2.claimForm));
          _this2.addClaimsVisible = false;
        }
      });
    },
    // 改变声明
    changeClaims: function changeClaims(claims) {
      console.log(claims, 'claims');
      this.claimTypes = _.filter(this.initClaimTypes, function (item) {
        return !_.includes(claims, item.id);
      });
    },
    // 编辑授权代码返回地址
    editRedirecturl: function editRedirecturl(row) {
      this.$set(row, 'editable', true);
    },
    // 保存授权代码返回的地址
    saveRedirectUrl: function saveRedirectUrl(row) {
      this.$set(row, 'editable', false);
    },
    // 编辑注销后允许重定向地址
    editLogoutRedirecturl: function editLogoutRedirecturl(row) {
      this.$set(row, 'editable', true);
    },
    // 保存注销后允许重定向的地址
    saveLogoutRedirectUrl: function saveLogoutRedirectUrl(row) {
      this.$set(row, 'editable', false);
    },
    watchClientType: function watchClientType(type) {
      // 监听客户端类型
      switch (type) {
        case 1:
          // Swagger
          this.configPrimarySwaggerValue();
          break;
        case 2:
          // SPA
          this.configPrimarySpaValue();
          break;
        case 3:
          // web应用
          this.configPrimaryWebValue();
          break;
        default:
          break;
      }
    },
    // 改变客户端信息地址
    changeClientUrl: function changeClientUrl() {
      if (!this.clientForm.clientUri) {
        return;
      }
      if (!this.urlReg.test(this.clientForm.clientUri)) {
        this.$message.warning({
          showClose: true,
          message: '输入地址不合法'
        });
        this.clientForm.clientUri = '';
        return;
      }
      if (!this.clientType) {
        return;
      }
      this.watchClientType(this.clientType);
    },
    // 配置web应用默认值
    configPrimaryWebValue: function configPrimaryWebValue() {
      this.$set(this.clientForm, 'allowedGrantTypes', ['password', 'client_credentials', 'authorization_code']);
      this.$set(this.clientForm, 'allowAccessTokensViaBrowser', true);
      this.$set(this.clientForm, 'requireClientSecret', false);
      this.removeConfigUrl();
      // 授权代码返回地址
      this.redirectUrl = this.clientForm.clientUri;
      var existRedirectUrl = _.find(this.clientForm.redirectUris, ['url', this.redirectUrl]);
      // 去重
      if (_.isNil(existRedirectUrl)) {
        this.clientForm.redirectUris.push({
          url: this.redirectUrl
        });
      }
      // 注销后允许重定向地址
      this.postLogoutRedirectUrl = this.clientForm.clientUri;
      var existPostLogoutRedirectUrl = _.find(this.clientForm.postLogoutRedirectUris, ['url', this.postLogoutRedirectUrl]);
      if (_.isNil(existPostLogoutRedirectUrl)) {
        this.clientForm.postLogoutRedirectUris.push({
          url: this.postLogoutRedirectUrl
        });
      }
    },
    // 配置spa默认值
    configPrimarySpaValue: function configPrimarySpaValue() {
      this.$set(this.clientForm, 'allowedGrantTypes', ['implicit']);
      this.$set(this.clientForm, 'allowAccessTokensViaBrowser', true);
      // 授权代码返回地址
      this.removeConfigUrl();
      this.redirectUrl = "".concat(this.clientForm.clientUri, "/callBack.html");
      var existRedirectUrl = _.find(this.clientForm.redirectUris, ['url', this.redirectUrl]);
      // 去重
      if (_.isNil(existRedirectUrl)) {
        this.clientForm.redirectUris.push({
          url: this.redirectUrl
        });
      }
      // 注销后允许重定向地址
      this.postLogoutRedirectUrl = "".concat(this.clientForm.clientUri, "/#/");
      var existPostLogoutRedirectUrl = _.find(this.clientForm.postLogoutRedirectUris, ['url', this.postLogoutRedirectUrl]);
      if (_.isNil(existPostLogoutRedirectUrl)) {
        this.clientForm.postLogoutRedirectUris.push({
          url: this.postLogoutRedirectUrl
        });
      }
    },
    removeConfigUrl: function removeConfigUrl() {
      // 移除配置过的url
      if (this.redirectUrl) {
        var existRedirectUrlRow = _.find(this.clientForm.redirectUris, ['url', this.redirectUrl]);
        this.clientForm.redirectUris = _.difference(this.clientForm.redirectUris, [existRedirectUrlRow]);
      }
      if (this.postLogoutRedirectUrl) {
        var existPostLogoutRedrectUrlRow = _.find(this.clientForm.postLogoutRedirectUris, ['url', this.postLogoutRedirectUrl]);
        this.clientForm.postLogoutRedirectUris = _.difference(this.clientForm.postLogoutRedirectUris, [existPostLogoutRedrectUrlRow]);
      }
    },
    // 配置swagger默认值
    configPrimarySwaggerValue: function configPrimarySwaggerValue() {
      this.$set(this.clientForm, 'allowedGrantTypes', ['authorization_code']);
      this.$set(this.clientForm, 'allowAccessTokensViaBrowser', false);
      this.removeConfigUrl();
      this.redirectUrl = "".concat(this.clientForm.clientUri, "/swagger/oauth2-redirect.html");
      var existRedirectUrl = _.find(this.clientForm.redirectUris, ['url', this.redirectUrl]);
      // 去重
      if (existRedirectUrl) {
        return;
      }
      this.clientForm.redirectUris.push({
        url: this.redirectUrl
      });
    },
    findClaimTypes: function findClaimTypes() {
      var _this3 = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
        var _yield$claimTypeApi$g, _yield$claimTypeApi$g2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              _this3.formLoading = true;
              _context2.next = 3;
              return claimTypeApi.getAllList();
            case 3:
              _yield$claimTypeApi$g = _context2.sent;
              _yield$claimTypeApi$g2 = Object(slicedToArray["a" /* default */])(_yield$claimTypeApi$g, 2);
              err = _yield$claimTypeApi$g2[0];
              res = _yield$claimTypeApi$g2[1];
              _this3.formLoading = false;
              if (!err) {
                _this3.claimTypes = res;
                _this3.initClaimTypes = _.cloneDeep(_this3.claimTypes);
              }
            case 9:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }))();
    },
    /**
     * @description: 添加授权代码返回地址
     * @param {*}
     * @return {*}
     */
    addRedirectUrl: function addRedirectUrl() {
      var _this4 = this;
      this.$prompt('请输入地址', '添加授权代码返回地址', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        inputPattern: /(http|https):\/\/([\w.]+\/?)\S*/,
        inputErrorMessage: '地址格式不正确'
      }).then(function (_ref2) {
        var value = _ref2.value;
        _this4.clientForm.redirectUris.push({
          url: value
        });
      });
    },
    /**
     * @description: 删除授权代码返回地址
     * @param {*} row
     * @return {*}
     */
    deleteRedirecturl: function deleteRedirecturl(row) {
      var _this5 = this;
      this.$confirm('确认要删除么', '提示', {
        confirmButtonText: '确认',
        cancelButtonText: '取消',
        type: 'warning'
      }).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee3() {
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee3$(_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              _this5.clientForm.redirectUris = _.difference(_this5.clientForm.redirectUris, [row]);
            case 1:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      })));
    },
    /**
     * @description: 删除注销后允许重定向到的地址
     * @param {*} row
     * @return {*}
     */
    deleteLogoutRedirecturl: function deleteLogoutRedirecturl(row) {
      var _this6 = this;
      this.$confirm('确认要删除么', '提示', {
        confirmButtonText: '确认',
        cancelButtonText: '取消',
        type: 'warning'
      }).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee4() {
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee4$(_context4) {
          while (1) switch (_context4.prev = _context4.next) {
            case 0:
              _this6.clientForm.postLogoutRedirectUris = _.difference(_this6.clientForm.postLogoutRedirectUris, [row]);
            case 1:
            case "end":
              return _context4.stop();
          }
        }, _callee4);
      })));
    },
    addClaims: function addClaims() {
      var _this7 = this;
      // 添加声明
      this.addClaimsVisible = true;
      this.$nextTick(function () {
        _this7.$refs.claimForm.resetFields();
      });
    },
    /**
     * @description: 添加注销后重定向地址
     * @param {*}
     * @return {*}
     */
    addLogoutRedirectUrl: function addLogoutRedirectUrl() {
      var _this8 = this;
      this.$prompt('请输入地址', '添加注销后重定向地址', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        inputPattern: /(http|https):\/\/([\w.]+\/?)\S*/,
        inputErrorMessage: '地址格式不正确'
      }).then(function (_ref5) {
        var value = _ref5.value;
        _this8.clientForm.postLogoutRedirectUris.push({
          url: value
        });
      });
    },
    /**
     * @description: 获取授权范围
     * @param {*}
     * @return {*}
     */
    getAuthScopes: function getAuthScopes() {
      var _this9 = this;
      return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee5() {
        var _yield$clientApi$sear, _yield$clientApi$sear2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee5$(_context5) {
          while (1) switch (_context5.prev = _context5.next) {
            case 0:
              _context5.next = 2;
              return clientApi.searchConsts({
                type: 'scope'
              });
            case 2:
              _yield$clientApi$sear = _context5.sent;
              _yield$clientApi$sear2 = Object(slicedToArray["a" /* default */])(_yield$clientApi$sear, 2);
              err = _yield$clientApi$sear2[0];
              res = _yield$clientApi$sear2[1];
              if (!err) {
                _this9.authScopes = res;
                _this9.initAuthScopes = _.cloneDeep(_this9.authScopes);
                if (_this9.operateClientProps.editType === 'edit') {
                  _this9.changeAuthTypes(_this9.clientForm.allowedGrantTypes);
                }
                _this9.changeAuthScopes(_this9.clientForm.allowedScopes);
              }
            case 7:
            case "end":
              return _context5.stop();
          }
        }, _callee5);
      }))();
    },
    // 修改授权范围
    changeAuthScopes: function changeAuthScopes(scopes) {
      // this.authScopes = _.filter(this.initAuthScopes, (item) => {
      //   return !_.includes(scopes, item)
      // })
    },
    changeAuthTypes: function changeAuthTypes(types) {
      this.authTypes = _.filter(this.initAuthTypes, function (item) {
        return !_.includes(types, item);
      });
    },
    /**
     * @description: 删除密钥
     * @param {*}
     * @return {*}
     */
    deleteSecret: function deleteSecret(row) {
      var _this10 = this;
      this.$confirm('确认要删除么', '提示', {
        confirmButtonText: '确认',
        cancelButtonText: '取消',
        type: 'warning'
      }).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee6() {
        var _yield$clientApi$remo, _yield$clientApi$remo2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee6$(_context6) {
          while (1) switch (_context6.prev = _context6.next) {
            case 0:
              console.log(_this10.operateClientProps, 'applicationProps');
              if (!(_this10.operateClientProps.editType === 'edit')) {
                _context6.next = 10;
                break;
              }
              _context6.next = 4;
              return clientApi.removeSeccret(_this10.clientForm.id, _objectSpread2({}, row));
            case 4:
              _yield$clientApi$remo = _context6.sent;
              _yield$clientApi$remo2 = Object(slicedToArray["a" /* default */])(_yield$clientApi$remo, 2);
              err = _yield$clientApi$remo2[0];
              res = _yield$clientApi$remo2[1];
              if (!err) {
                _this10.clientForm.clientSecrets = _.difference(_this10.clientForm.clientSecrets, [row]);
                _this10.$message.success({
                  showClose: true,
                  message: '删除成功'
                });
              }
              return _context6.abrupt("return");
            case 10:
              _this10.clientForm.clientSecrets = _.difference(_this10.clientForm.clientSecrets, [row]);
            case 11:
            case "end":
              return _context6.stop();
          }
        }, _callee6);
      }))).catch(function () {
        _this10.$message({
          showClose: true,
          type: 'info',
          message: '已取消删除'
        });
      });
    },
    /**
     * @description: 保存密钥
     * @param {*}
     * @return {*}
     */
    saveSecret: function saveSecret() {
      var _this11 = this;
      this.$refs.secretForm.validate( /*#__PURE__*/function () {
        var _ref7 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee7(valid) {
          var createSecret, _yield$clientApi$addS, _yield$clientApi$addS2, err, res;
          return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee7$(_context7) {
            while (1) switch (_context7.prev = _context7.next) {
              case 0:
                if (!valid) {
                  _context7.next = 13;
                  break;
                }
                createSecret = _.cloneDeep(_this11.secretForm);
                createSecret.expiration = createSecret.expiration ? dayjs_min_default()(createSecret.expiration).format('YYYY-MM-DD HH:mm:ss') : '';
                if (!(_this11.operateClientProps.editType === 'edit')) {
                  _context7.next = 11;
                  break;
                }
                _context7.next = 6;
                return clientApi.addSecret(_this11.clientForm.id, {
                  body: createSecret
                });
              case 6:
                _yield$clientApi$addS = _context7.sent;
                _yield$clientApi$addS2 = Object(slicedToArray["a" /* default */])(_yield$clientApi$addS, 2);
                err = _yield$clientApi$addS2[0];
                res = _yield$clientApi$addS2[1];
                if (!err) {
                  _this11.$message.success({
                    showClose: true,
                    message: '新增密钥成功'
                  });
                }
              case 11:
                _this11.clientForm.clientSecrets.push(createSecret);
                _this11.setSecretVisible = false;
              case 13:
              case "end":
                return _context7.stop();
            }
          }, _callee7);
        }));
        return function (_x) {
          return _ref7.apply(this, arguments);
        };
      }());
    },
    /**
     * @description: 设置密钥
     * @param {*}
     * @return {*}
     */
    setSecret: function setSecret() {
      this.setSecretVisible = true;
    },
    cancel: function cancel() {
      this.operateClientProps.visible = false;
    },
    save: function save() {
      var _this12 = this;
      this.$refs.clientForm.validate( /*#__PURE__*/function () {
        var _ref8 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee8(valid) {
          var reqData, _yield$clientApi$crea, _yield$clientApi$crea2, err, res, _yield$clientApi$upda, _yield$clientApi$upda2, updateErr, updateRes;
          return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee8$(_context8) {
            while (1) switch (_context8.prev = _context8.next) {
              case 0:
                if (!valid) {
                  _context8.next = 20;
                  break;
                }
                reqData = _.cloneDeep(_this12.clientForm);
                reqData.postLogoutRedirectUris = _.map(reqData.postLogoutRedirectUris, 'url');
                reqData.redirectUris = _.map(reqData.redirectUris, 'url');
                if (!(_this12.operateClientProps.editType === 'create')) {
                  _context8.next = 13;
                  break;
                }
                _context8.next = 7;
                return clientApi.create({
                  body: reqData
                });
              case 7:
                _yield$clientApi$crea = _context8.sent;
                _yield$clientApi$crea2 = Object(slicedToArray["a" /* default */])(_yield$clientApi$crea, 2);
                err = _yield$clientApi$crea2[0];
                res = _yield$clientApi$crea2[1];
                if (!err) {
                  _this12.$message.success({
                    showClose: true,
                    message: '新增成功'
                  });
                  _this12.operateClientProps.visible = false;
                  _this12.$emit('refreshList');
                }
                return _context8.abrupt("return");
              case 13:
                _context8.next = 15;
                return clientApi.update(reqData.id, {
                  body: reqData
                });
              case 15:
                _yield$clientApi$upda = _context8.sent;
                _yield$clientApi$upda2 = Object(slicedToArray["a" /* default */])(_yield$clientApi$upda, 2);
                updateErr = _yield$clientApi$upda2[0];
                updateRes = _yield$clientApi$upda2[1];
                if (!updateErr) {
                  _this12.$message.success({
                    showClose: true,
                    message: '修改成功'
                  });
                  _this12.operateClientProps.visible = false;
                  _this12.$emit('refreshList');
                }
              case 20:
              case "end":
                return _context8.stop();
            }
          }, _callee8);
        }));
        return function (_x2) {
          return _ref8.apply(this, arguments);
        };
      }());
    }
  }
});
// CONCATENATED MODULE: ./src/modules/host/resource-management/components/client/OperateClientDialog.vue?vue&type=script&lang=js
 /* harmony default export */ var client_OperateClientDialogvue_type_script_lang_js = (OperateClientDialogvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/modules/host/resource-management/components/client/OperateClientDialog.vue?vue&type=style&index=0&id=23519499&prod&lang=scss&scoped=true
var OperateClientDialogvue_type_style_index_0_id_23519499_prod_lang_scss_scoped_true = __webpack_require__("31a9");

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

// CONCATENATED MODULE: ./src/modules/host/resource-management/components/client/OperateClientDialog.vue






/* normalize component */

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

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

/***/ }),

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

"use strict";

var wellKnownSymbol = __webpack_require__("b622");

var MATCH = wellKnownSymbol('match');

module.exports = function (METHOD_NAME) {
  var regexp = /./;
  try {
    '/./'[METHOD_NAME](regexp);
  } catch (error1) {
    try {
      regexp[MATCH] = false;
      return '/./'[METHOD_NAME](regexp);
    } catch (error2) { /* empty */ }
  } return false;
};


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var DESCRIPTORS = __webpack_require__("83ab");
var ownKeys = __webpack_require__("56ef");
var toIndexedObject = __webpack_require__("fc6a");
var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
var createProperty = __webpack_require__("8418");

// `Object.getOwnPropertyDescriptors` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
  getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
    var O = toIndexedObject(object);
    var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
    var keys = ownKeys(O);
    var result = {};
    var index = 0;
    var key, descriptor;
    while (keys.length > index) {
      descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);
      if (descriptor !== undefined) createProperty(result, key, descriptor);
    }
    return result;
  }
});


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var fails = __webpack_require__("d039");
var toIndexedObject = __webpack_require__("fc6a");
var nativeGetOwnPropertyDescriptor = __webpack_require__("06cf").f;
var DESCRIPTORS = __webpack_require__("83ab");

var FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });

// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {
  getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
    return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);
  }
});


/***/ })

}]);
//# sourceMappingURL=resource-management.umd.4.js.map