nutanix-1.0.2.umd.min.435.js 94 KB

1234
  1. (("undefined"!==typeof self?self:this)["webpackChunknutanix_1_0_2"]=("undefined"!==typeof self?self:this)["webpackChunknutanix_1_0_2"]||[]).push([[435],{1048:function(e,t,r){"use strict";var o=r(4364),n=r(7991),i=r(9318),a="function"===typeof Symbol&&"function"===typeof Symbol["for"]?Symbol["for"]("nodejs.util.inspect.custom"):null;t.hp=u,t.IS=50;var s=2147483647;function l(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(r){return!1}}function c(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return d(e,t,r)}function d(e,t,r){if("string"===typeof e)return m(e,t);if(ArrayBuffer.isView(e))return g(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer))return v(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(e.buffer,SharedArrayBuffer)))return v(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return u.from(o,t,r);var n=b(e);if(n)return n;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function p(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function h(e,t,r){return p(e),e<=0?c(e):void 0!==t?"string"===typeof r?c(e).fill(t,r):c(e).fill(t):c(e)}function f(e){return p(e),c(e<0?0:0|E(e))}function m(e,t){if("string"===typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|w(e,t),o=c(r),n=o.write(e,t);return n!==r&&(o=o.slice(0,n)),o}function y(e){for(var t=e.length<0?0:0|E(e.length),r=c(t),o=0;o<t;o+=1)r[o]=255&e[o];return r}function g(e){if(Z(e,Uint8Array)){var t=new Uint8Array(e);return v(t.buffer,t.byteOffset,t.byteLength)}return y(e)}function v(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return o=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function b(e){if(u.isBuffer(e)){var t=0|E(e.length),r=c(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!==typeof e.length||Q(e.length)?c(0):y(e):"Buffer"===e.type&&Array.isArray(e.data)?y(e.data):void 0}function E(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function k(e){return+e!=e&&(e=0),u.alloc(+e)}function w(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return W(e).length;default:if(n)return o?-1:z(e).length;t=(""+t).toLowerCase(),n=!0}}function N(e,t,r){var o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return V(this,t,r);case"utf8":case"utf-8":return x(this,t,r);case"ascii":return I(this,t,r);case"latin1":case"binary":return D(this,t,r);case"base64":return L(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function S(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}function _(e,t,r,o,n){if(0===e.length)return-1;if("string"===typeof r?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Q(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"===typeof t&&(t=u.from(t,o)),u.isBuffer(t))return 0===t.length?-1:B(e,t,r,o,n);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):B(e,[t],r,o,n);throw new TypeError("val must be string, number or Buffer")}function B(e,t,r,o,n){var i,a=1,s=e.length,l=t.length;if(void 0!==o&&(o=String(o).toLowerCase(),"ucs2"===o||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(n){var u=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(r+l>s&&(r=s-l),i=r;i>=0;i--){for(var d=!0,p=0;p<l;p++)if(c(e,i+p)!==c(t,p)){d=!1;break}if(d)return i}return-1}function A(e,t,r,o){r=Number(r)||0;var n=e.length-r;o?(o=Number(o),o>n&&(o=n)):o=n;var i=t.length;o>i/2&&(o=i/2);for(var a=0;a<o;++a){var s=parseInt(t.substr(2*a,2),16);if(Q(s))return a;e[r+a]=s}return a}function U(e,t,r,o){return X(z(t,e.length-r),e,r,o)}function O(e,t,r,o){return X(Y(t),e,r,o)}function C(e,t,r,o){return X(W(t),e,r,o)}function T(e,t,r,o){return X(q(t,e.length-r),e,r,o)}function L(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function x(e,t,r){r=Math.min(e.length,r);var o=[],n=t;while(n<r){var i,a,s,l,c=e[n],u=null,d=c>239?4:c>223?3:c>191?2:1;if(n+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:i=e[n+1],128===(192&i)&&(l=(31&c)<<6|63&i,l>127&&(u=l));break;case 3:i=e[n+1],a=e[n+2],128===(192&i)&&128===(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a,l>2047&&(l<55296||l>57343)&&(u=l));break;case 4:i=e[n+1],a=e[n+2],s=e[n+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(u=l))}null===u?(u=65533,d=1):u>65535&&(u-=65536,o.push(u>>>10&1023|55296),u=56320|1023&u),o.push(u),n+=d}return M(o)}u.TYPED_ARRAY_SUPPORT=l(),u.TYPED_ARRAY_SUPPORT||"undefined"===typeof o||"function"!==typeof o.error||o.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return d(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return h(e,t,r)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(Z(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),Z(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,o=t.length,n=0,i=Math.min(r,o);n<i;++n)if(e[n]!==t[n]){r=e[n],o=t[n];break}return r<o?-1:o<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var o=u.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var i=e[r];if(Z(i,Uint8Array))n+i.length>o.length?u.from(i).copy(o,n):Uint8Array.prototype.set.call(o,i,n);else{if(!u.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(o,n)}n+=i.length}return o},u.byteLength=w,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)S(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)S(this,t,t+3),S(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)S(this,t,t+7),S(this,t+1,t+6),S(this,t+2,t+5),S(this,t+3,t+4);return this},u.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?x(this,0,e):N.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(e,t,r,o,n){if(Z(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===o&&(o=0),void 0===n&&(n=this.length),t<0||r>e.length||o<0||n>this.length)throw new RangeError("out of range index");if(o>=n&&t>=r)return 0;if(o>=n)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,o>>>=0,n>>>=0,this===e)return 0;for(var i=n-o,a=r-t,s=Math.min(i,a),l=this.slice(o,n),c=e.slice(t,r),d=0;d<s;++d)if(l[d]!==c[d]){i=l[d],a=c[d];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return _(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return _(this,e,t,r,!1)},u.prototype.write=function(e,t,r,o){if(void 0===t)o="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)o=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===o&&(o="utf8")):(o=r,r=void 0)}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var i=!1;;)switch(o){case"hex":return A(this,e,t,r);case"utf8":case"utf-8":return U(this,e,t,r);case"ascii":case"latin1":case"binary":return O(this,e,t,r);case"base64":return C(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var R=4096;function M(e){var t=e.length;if(t<=R)return String.fromCharCode.apply(String,e);var r="",o=0;while(o<t)r+=String.fromCharCode.apply(String,e.slice(o,o+=R));return r}function I(e,t,r){var o="";r=Math.min(e.length,r);for(var n=t;n<r;++n)o+=String.fromCharCode(127&e[n]);return o}function D(e,t,r){var o="";r=Math.min(e.length,r);for(var n=t;n<r;++n)o+=String.fromCharCode(e[n]);return o}function V(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var n="",i=t;i<r;++i)n+=ee[e[i]];return n}function P(e,t,r){for(var o=e.slice(t,r),n="",i=0;i<o.length-1;i+=2)n+=String.fromCharCode(o[i]+256*o[i+1]);return n}function F(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function $(e,t,r,o,n,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<i)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}function K(e,t,r,o,n,i){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function G(e,t,r,o,n){return t=+t,r>>>=0,n||K(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,o,23,4),r+4}function j(e,t,r,o,n){return t=+t,r>>>=0,n||K(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,o,52,8),r+8}u.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e);var o=this.subarray(e,t);return Object.setPrototypeOf(o,u.prototype),o},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||F(e,t,this.length);var o=this[e],n=1,i=0;while(++i<t&&(n*=256))o+=this[e+i]*n;return o},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||F(e,t,this.length);var o=this[e+--t],n=1;while(t>0&&(n*=256))o+=this[e+--t]*n;return o},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||F(e,t,this.length);var o=this[e],n=1,i=0;while(++i<t&&(n*=256))o+=this[e+i]*n;return n*=128,o>=n&&(o-=Math.pow(2,8*t)),o},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||F(e,t,this.length);var o=t,n=1,i=this[e+--o];while(o>0&&(n*=256))i+=this[e+--o]*n;return n*=128,i>=n&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||F(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||F(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return e>>>=0,t||F(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||F(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||F(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||F(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,o){if(e=+e,t>>>=0,r>>>=0,!o){var n=Math.pow(2,8*r)-1;$(this,e,t,r,n,0)}var i=1,a=0;this[t]=255&e;while(++a<r&&(i*=256))this[t+a]=e/i&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,o){if(e=+e,t>>>=0,r>>>=0,!o){var n=Math.pow(2,8*r)-1;$(this,e,t,r,n,0)}var i=r-1,a=1;this[t+i]=255&e;while(--i>=0&&(a*=256))this[t+i]=e/a&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeIntLE=function(e,t,r,o){if(e=+e,t>>>=0,!o){var n=Math.pow(2,8*r-1);$(this,e,t,r,n-1,-n)}var i=0,a=1,s=0;this[t]=255&e;while(++i<r&&(a*=256))e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,o){if(e=+e,t>>>=0,!o){var n=Math.pow(2,8*r-1);$(this,e,t,r,n-1,-n)}var i=r-1,a=1,s=0;this[t+i]=255&e;while(--i>=0&&(a*=256))e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeFloatLE=function(e,t,r){return G(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return G(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return j(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return j(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,o){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<r&&(o=r),o===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-r&&(o=e.length-t+r);var n=o-r;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,o):Uint8Array.prototype.set.call(e,this.subarray(r,o),t),n},u.prototype.fill=function(e,t,r,o){if("string"===typeof e){if("string"===typeof t?(o=t,t=0,r=this.length):"string"===typeof r&&(o=r,r=this.length),void 0!==o&&"string"!==typeof o)throw new TypeError("encoding must be a string");if("string"===typeof o&&!u.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(1===e.length){var n=e.charCodeAt(0);("utf8"===o&&n<128||"latin1"===o)&&(e=n)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=u.isBuffer(e)?e:u.from(e,o),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var H=/[^+/0-9A-Za-z-_]/g;function J(e){if(e=e.split("=")[0],e=e.trim().replace(H,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function z(e,t){var r;t=t||1/0;for(var o=e.length,n=null,i=[],a=0;a<o;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===o){(t-=3)>-1&&i.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Y(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function q(e,t){for(var r,o,n,i=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),o=r>>8,n=r%256,i.push(n),i.push(o)}return i}function W(e){return n.toByteArray(J(e))}function X(e,t,r,o){for(var n=0;n<o;++n){if(n+r>=t.length||n>=e.length)break;t[n+r]=e[n]}return n}function Z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!==e}var ee=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=16*r,n=0;n<16;++n)t[o+n]=e[r]+e[n];return t}()},1212:function(e,t,r){"use strict";r.r(t);var o=r(429),n=r.n(o),i=r(1214),a=r.n(i),s=a()(n());s.push([e.id,".overlay[data-v-1d9696d1]{align-items:center;background-color:var(--overlay-bg);display:flex;justify-content:center;position:absolute;bottom:0;top:0;left:0;right:0;text-align:center;z-index:12}.overlay-main-mode[data-v-1d9696d1]{top:var(--header-height);z-index:51}.overlay-content-mode[data-v-1d9696d1]{left:calc(var(--nav-width));top:var(--header-height)}",""]),t["default"]=s},1507:function(e){"use strict";e.exports=JSON.parse('{"hasStylesheet":"false"}')},1709:function(e,t,r){"use strict";r.r(t);var o=r(429),n=r.n(o),i=r(1214),a=r.n(i),s=a()(n());s.push([e.id,".unlabeled-select[data-v-c4c8302c]{position:relative}.unlabeled-select[data-v-c4c8302c] .v-select.select-input-view .vs__actions{visibility:hidden}.unlabeled-select .vs--multiple[data-v-c4c8302c] .vs__selected-options .vs__selected{width:auto}.unlabeled-select[data-v-c4c8302c] .labeled-tooltip.error .status-icon{top:7px;right:2px}.unlabeled-select[data-v-c4c8302c] .vs__selected-options{display:flex;margin:3px}.unlabeled-select[data-v-c4c8302c] .vs__selected-options .vs__selected{width:auto}.unlabeled-select[data-v-c4c8302c] .v-select.vs--open .vs__dropdown-toggle{color:var(--outline)!important}.unlabeled-select.focused.success[data-v-c4c8302c],.unlabeled-select.success[data-v-c4c8302c]{border:solid 1px var(--success)}.unlabeled-select.focused.success .selected[data-v-c4c8302c],.unlabeled-select.focused.success .vs__actions[data-v-c4c8302c]:after,.unlabeled-select.focused.success input[data-v-c4c8302c],.unlabeled-select.success .selected[data-v-c4c8302c],.unlabeled-select.success .vs__actions[data-v-c4c8302c]:after,.unlabeled-select.success input[data-v-c4c8302c]{color:var(--success)}.unlabeled-select.focused.warning[data-v-c4c8302c],.unlabeled-select.warning[data-v-c4c8302c]{border:solid 1px var(--warning)}.unlabeled-select.focused.warning .selected[data-v-c4c8302c],.unlabeled-select.focused.warning .vs__actions[data-v-c4c8302c]:after,.unlabeled-select.focused.warning input[data-v-c4c8302c],.unlabeled-select.warning .selected[data-v-c4c8302c],.unlabeled-select.warning .vs__actions[data-v-c4c8302c]:after,.unlabeled-select.warning input[data-v-c4c8302c]{color:var(--warning)}.unlabeled-select.error[data-v-c4c8302c],.unlabeled-select.focused.error[data-v-c4c8302c]{border:solid 1px var(--error)}.unlabeled-select.error .vs__actions[data-v-c4c8302c]:after,.unlabeled-select.error>label[data-v-c4c8302c],.unlabeled-select.focused.error .vs__actions[data-v-c4c8302c]:after,.unlabeled-select.focused.error>label[data-v-c4c8302c]{color:var(--error)}.unlabeled-select.compact-input[data-v-c4c8302c]{min-height:40px;line-height:18px}",""]),t["default"]=s},1862:function(e){"use strict";e.exports=JSON.parse('{"hasStylesheet":"false"}')},2784:function(e,t,r){var o=r(1580),n=r(4495),i=r(6131),a="Expected a function",s=Math.max,l=Math.min;function c(e,t,r){var c,u,d,p,h,f,m=0,y=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var r=c,o=u;return c=u=void 0,m=t,p=e.apply(o,r),p}function E(e){return m=e,h=setTimeout(N,t),y?b(e):p}function k(e){var r=e-f,o=e-m,n=t-r;return g?l(n,d-o):n}function w(e){var r=e-f,o=e-m;return void 0===f||r>=t||r<0||g&&o>=d}function N(){var e=n();if(w(e))return S(e);h=setTimeout(N,k(e))}function S(e){return h=void 0,v&&c?b(e):(c=u=void 0,p)}function _(){void 0!==h&&clearTimeout(h),m=0,c=f=u=h=void 0}function B(){return void 0===h?p:S(n())}function A(){var e=n(),r=w(e);if(c=arguments,u=this,f=e,r){if(void 0===h)return E(f);if(g)return clearTimeout(h),h=setTimeout(N,t),b(f)}return void 0===h&&(h=setTimeout(N,t)),p}return t=i(t)||0,o(r)&&(y=!!r.leading,g="maxWait"in r,d=g?s(i(r.maxWait)||0,t):d,v="trailing"in r?!!r.trailing:v),A.cancel=_,A.flush=B,A}e.exports=c},2945:function(e){var t=/\s/;function r(e){var r=e.length;while(r--&&t.test(e.charAt(r)));return r}e.exports=r},3801:function(e,t,r){"use strict";r.d(t,{A:function(){return g}});var o=r(9274);const n={key:0},i={key:0,class:"keymap overlay"},a=(0,o.createElementVNode)("i",{class:"icon icon-keyboard keymap-icon"},null,-1),s=(0,o.createElementVNode)("div",{class:"close-indicator"},[(0,o.createElementVNode)("i",{class:"icon icon-close icon-sm"})],-1),l=[a,s],c={key:1};function u(e,t,r,a,s,u){const d=(0,o.resolveComponent)("Codemirror"),p=(0,o.resolveDirective)("clean-tooltip");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["code-mirror",{["as-text-area"]:r.asTextArea}])},[s.loaded?((0,o.openBlock)(),(0,o.createElementBlock)("div",n,[r.showKeyMapBox&&!s.removeKeyMapBox&&u.keyMapTooltip&&u.isNonDefaultKeyMap?((0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"keymap-indicator","data-testid":"code-mirror-keymap",onClick:t[0]||(t[0]=(...e)=>u.closeKeyMapInfo&&u.closeKeyMapInfo(...e))},l)),[[p,u.keyMapTooltip]])])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)(d,{ref:"codeMirrorRef",value:r.value,options:u.combinedOptions,disabled:u.isDisabled,"original-style":!0,onReady:u.onReady,onInput:u.onInput,onChanges:u.onChanges,onFocus:u.onFocus,onBlur:u.onBlur},null,8,["value","options","disabled","onReady","onInput","onChanges","onFocus","onBlur"])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",c," Loading... "))],2)}var d=r(8632),p=r(4220),h=r(4364),f={name:"CodeMirror",emits:["onReady","onInput","onChanges","onFocus"],props:{mode:{type:String,default:p.G5},value:{type:String,required:!0},options:{type:Object,default:()=>{}},asTextArea:{type:Boolean,default:!1},showKeyMapBox:{type:Boolean,default:!1}},data(){return{codeMirrorRef:null,loaded:!1,removeKeyMapBox:!1}},computed:{isDisabled(){return this.mode===p.nW},combinedOptions(){const e=this.$store.getters["prefs/theme"],t=this.$store.getters["prefs/get"](d.aP),r={tabSize:2,indentWithTabs:!1,mode:"yaml",keyMap:t,theme:`base16-${e}`,lineNumbers:!0,line:!0,styleActiveLine:!1,lineWrapping:!0,foldGutter:!0,styleSelectedText:!0,showCursorWhenSelecting:!0};return this.asTextArea&&(r.lineNumbers=!1,r.foldGutter=!1,r.tabSize=0,r.extraKeys={Tab:!1}),Object.assign(r,this.options),r},keyMapTooltip(){if(this.combinedOptions?.keyMap){const e=this.t(`prefs.keymap.${this.combinedOptions.keyMap}`);return this.t("codeMirror.keymap.indicatorToolip",{name:e})}return null},isNonDefaultKeyMap(){return"sublime"!==this.combinedOptions?.keyMap}},created(){window.__codeMirrorLoader?window.__codeMirrorLoader().then((()=>{this.loaded=!0})):h.error("Code mirror loader not available")},methods:{focus(){this.$refs.codeMirrorRef&&this.$refs.codeMirrorRef.cminstance.focus()},refresh(){this.$refs.codeMirrorRef&&this.$refs.codeMirrorRef.refresh()},onReady(e){this.$nextTick((()=>{e.refresh(),this.codeMirrorRef=e})),this.$emit("onReady",e)},onInput(e){this.$emit("onInput",e)},onChanges(e,t){this.$emit("onChanges",e,t)},onFocus(){this.$emit("onFocus",!0)},onBlur(){this.$emit("onFocus",!1)},updateValue(e){this.$refs.codeMirrorRef&&this.$refs.codeMirrorRef.cminstance.doc.setValue(e)},closeKeyMapInfo(){this.removeKeyMapBox=!0}}},m=(r(4678),r(7433));const y=(0,m.A)(f,[["render",u]]);var g=y},3950:function(e,t,r){"use strict";r.d(t,{A:function(){return p}});var o=r(9274);const n={class:"collapse"},i={key:0,class:"icon icon-chevron-down","data-testid":"collapse-icon-down"},a={key:1,class:"icon icon-chevron-right","data-testid":"collapse-icon-right"},s={key:0,class:"content","data-testid":"collapse-content"};function l(e,t,r,l,c,u){return(0,o.openBlock)(),(0,o.createElementBlock)("div",n,[(0,o.renderSlot)(e.$slots,"title",{},(()=>[(0,o.createElementVNode)("div",{class:"advanced text-link","data-testid":"collapse-div",onClick:t[0]||(t[0]=(...e)=>u.showAdvanced&&u.showAdvanced(...e))},[r.open?((0,o.openBlock)(),(0,o.createElementBlock)("i",i)):((0,o.openBlock)(),(0,o.createElementBlock)("i",a)),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(r.title),1)])]),!0),r.open?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)])):(0,o.createCommentVNode)("",!0)])}var c={name:"Collapse",emits:["update:open"],props:{open:{type:Boolean,default:!0},title:{type:String,default:""}},methods:{showAdvanced(){this.$emit("update:open",!this.open)}}},u=(r(5511),r(7433));const d=(0,u.A)(c,[["render",l],["__scopeId","data-v-cd1e7dd4"]]);var p=d},4302:function(e,t,r){"use strict";r.d(t,{QP:function(){return a},Ul:function(){return d}});var o=r(6978);r(2043);const n={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regexp","[object Object]":"object","[object FileList]":"filelist"},{toString:i}=Object.prototype;function a(e){if(null===e)return"null";if(void 0===e)return"undefined";let t=n[i.call(e)]||"object";return"object"===t&&(e instanceof Error?t="error":e instanceof Date&&(t="date")),t}function s(e,t){const r=e-t;return(r>0)-(r<0)}const l={undefined:0,null:1,boolean:2,number:3,string:4,array:5,object:6,instance:7,function:8,class:9,date:10};function c(e,t){const r=a(e),o=a(t),n=s(l[r],l[o]);if(n)return n;switch(r){case"boolean":case"number":return s(e,t);case"string":return s(e.localeCompare(t),0);case"array":{const r=e.length,o=t.length,n=Math.min(r,o);for(let i=0;i<n;i++){const r=c(e[i],t[i]);if(0!==r)return r}return s(r,o)}case"date":return s(e.getTime(),t.getTime())}return 0}function u(e){const t=e.split(/:/);return 2===t.length&&"desc"===t[1]?{field:t[0],reverse:!0}:{field:e,reverse:!1}}function d(e,t,r){return Array.isArray(t)||(t=[t]),(e||[]).slice().sort(((e,n)=>{for(let i=0;i<t.length;i++){const a=u(t[i]),s=(0,o.Jt)(e,a.field),l=(0,o.Jt)(n,a.field);let d=c(s,l);if(d)return r&&(d*=-1),a.reverse&&(d*=-1),d}return 0}))}},4349:function(e,t,r){var o=r(7693);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var n=r(4825).A;n("c1ab19fc",o,!0,{sourceMap:!1,shadowMode:!1})},4495:function(e,t,r){var o=r(8942),n=function(){return o.Date.now()};e.exports=n},4678:function(e,t,r){var o=r(5430);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var n=r(4825).A;n("76e4bf9e",o,!0,{sourceMap:!1,shadowMode:!1})},5215:function(e,t,r){"use strict";r.d(t,{A:function(){return Be}});var o=r(9274);const n={class:"key-value"},i={key:0,class:"clearfix"},a={key:0,class:"icon icon-info"},s={class:"text-label"},l={key:0,class:"icon icon-info"},c={class:"text-label"},u=(0,o.createElementVNode)("span",null,null,-1),d=(0,o.createElementVNode)("div",{class:"kv-item key text-muted"}," — ",-1),p=(0,o.createElementVNode)("div",{class:"kv-item key text-muted"}," — ",-1),h={class:"kv-item key"},f=["onUpdate:modelValue","disabled","placeholder","data-testid","onPaste"],m=["data-testid"],y={key:0},g={key:1},v=["onUpdate:modelValue","disabled","type","placeholder","data-testid"],b=["data-testid"],E=["disabled","onClick"],k={key:1,class:"footer mt-20"},w=["disabled"],N={key:0,class:"mr-5 icon icon-spinner icon-spin icon-lg"};function S(e,t,r,S,_,B){const A=(0,o.resolveComponent)("Select"),U=(0,o.resolveComponent)("CodeMirror"),O=(0,o.resolveComponent)("TextAreaAutoGrow"),C=(0,o.resolveComponent)("FileSelector"),T=(0,o.resolveDirective)("clean-tooltip");return(0,o.openBlock)(),(0,o.createElementBlock)("div",n,[r.title||e.$slots.title?((0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.renderSlot)(e.$slots,"title",{},(()=>[(0,o.createElementVNode)("h3",null,[(0,o.createTextVNode)((0,o.toDisplayString)(r.title)+" ",1),r.titleProtip?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("i",a,null,512)),[[T,r.titleProtip]]):(0,o.createCommentVNode)("",!0)])]))])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",{class:"kv-container",style:(0,o.normalizeStyle)(B.containerStyle)},[_.rows.length||B.isView?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createElementVNode)("label",s,[(0,o.createTextVNode)((0,o.toDisplayString)(B._keyLabel)+" ",1),B._protip&&!B.isView&&r.addAllowed?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("i",l,null,512)),[[T,B._protip]]):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("label",c,(0,o.toDisplayString)(B._valueLabel),1),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.extraColumns,((t,r)=>((0,o.openBlock)(),(0,o.createElementBlock)("label",{key:r},[(0,o.renderSlot)(e.$slots,"label:"+t,{},(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(t),1)]))])))),128)),B.canRemove?(0,o.renderSlot)(e.$slots,"remove",{key:0},(()=>[u])):(0,o.createCommentVNode)("",!0)],64)):(0,o.createCommentVNode)("",!0),!_.rows.length&&B.isView?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[d,p],64)):((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,{key:2},(0,o.renderList)(B.filteredRows,((n,i)=>((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:i},[(0,o.createElementVNode)("div",h,[(0,o.renderSlot)(e.$slots,"key",{row:n,mode:r.mode,keyName:r.keyName,valueName:r.valueName,queueUpdate:e.queueUpdate,disabled:r.disabled},(()=>[r.keyOptions?((0,o.openBlock)(),(0,o.createBlock)(A,{key:0,ref_for:!0,ref:"key",value:n[r.keyName],"onUpdate:value":[e=>n[r.keyName]=e,e.queueUpdate],searchable:!0,disabled:r.disabled||B.isProtected(n.key),clearable:!1,taggable:r.keyTaggable,options:B.calculateOptions(n[r.keyName]),"data-testid":`select-kv-item-key-${i}`},null,8,["value","onUpdate:value","disabled","taggable","options","data-testid"])):(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:1,ref_for:!0,ref:"key","onUpdate:modelValue":e=>n[r.keyName]=e,disabled:B.isView||r.disabled||!r.keyEditable||B.isProtected(n.key),placeholder:B._keyPlaceholder,"data-testid":`input-kv-item-key-${i}`,onInput:t[0]||(t[0]=(...t)=>e.queueUpdate&&e.queueUpdate(...t)),onPaste:e=>B.onPaste(i,e)},null,40,f)),[[o.vModelText,n[r.keyName]]])]))]),(0,o.createElementVNode)("div",{"data-testid":`kv-item-value-${i}`,class:"kv-item value"},[(0,o.renderSlot)(e.$slots,"value",{row:n,mode:r.mode,keyName:r.keyName,valueName:r.valueName,queueUpdate:e.queueUpdate},(()=>[n.supported?n.binary?((0,o.openBlock)(),(0,o.createElementBlock)("div",g,(0,o.toDisplayString)(B.binaryTextSize(n.value)),1)):((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:2,class:(0,o.normalizeClass)(["value-container",{"upload-button":r.parseValueFromFile}])},[r.valueMarkdownMultiline?((0,o.openBlock)(),(0,o.createBlock)(U,{key:0,ref_for:!0,ref:"cm","data-testid":"code-mirror-multiline-field",class:(0,o.normalizeClass)({["focus"]:_.codeMirrorFocus[i]}),value:n[r.valueName],"as-text-area":!0,mode:r.mode,onOnInput:e=>B.onInputMarkdownMultiline(i,e),onOnFocus:e=>B.onFocusMarkdownMultiline(i,e)},null,8,["class","value","mode","onOnInput","onOnFocus"])):r.valueMultiline&&void 0!==n[r.valueName]?((0,o.openBlock)(),(0,o.createBlock)(O,{key:1,value:n[r.valueName],"onUpdate:value":[e=>n[r.valueName]=e,e.queueUpdate],"data-testid":"value-multiline",class:(0,o.normalizeClass)({conceal:r.valueConcealed}),disabled:r.disabled||B.isProtected(n.key),mode:r.mode,placeholder:B._valuePlaceholder,"min-height":40,spellcheck:!1},null,8,["value","onUpdate:value","class","disabled","mode","placeholder"])):(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:2,"onUpdate:modelValue":e=>n[r.valueName]=e,disabled:B.isView||r.disabled||B.isProtected(n.key),type:r.valueConcealed?"password":"text",placeholder:B._valuePlaceholder,autocorrect:"off",autocapitalize:"off",spellcheck:"false","data-testid":`input-kv-item-value-${i}`,onInput:t[1]||(t[1]=(...t)=>e.queueUpdate&&e.queueUpdate(...t))},null,40,v)),[[o.vModelDynamic,n[r.valueName]]]),r.parseValueFromFile&&r.readAllowed&&!B.isView&&B.isValueFieldEmpty(n[r.valueName])?((0,o.openBlock)(),(0,o.createBlock)(C,{key:3,class:"btn btn-sm role-secondary file-selector",label:e.t("generic.upload"),"include-file-name":!0,onSelected:e=>B.onValueFileSelected(i,e)},null,8,["label","onSelected"])):(0,o.createCommentVNode)("",!0)],2)):((0,o.openBlock)(),(0,o.createElementBlock)("div",y,(0,o.toDisplayString)(e.t("detailText.unsupported",null,!0)),1))]))],8,m),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.extraColumns,((t,r)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:`${i}-${r}`,class:"kv-item extra"},[(0,o.renderSlot)(e.$slots,"col:"+t,{row:n,queueUpdate:e.queueUpdate,i:i})])))),128)),B.canRemove?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:i,class:"kv-item remove","data-testid":`remove-column-${i}`},[(0,o.renderSlot)(e.$slots,"removeButton",{remove:B.remove,row:n,i:i},(()=>[(0,o.createElementVNode)("button",{type:"button",disabled:B.isView||B.isProtected(n.key)||r.disabled,class:"btn role-link",onClick:e=>B.remove(i)},(0,o.toDisplayString)(r.removeLabel||e.t("generic.remove")),9,E)]))],8,b)):(0,o.createCommentVNode)("",!0)],64)))),128))],4),!r.addAllowed&&!r.readAllowed||B.isView?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",k,[(0,o.renderSlot)(e.$slots,"add",{add:B.add},(()=>[r.addAllowed?((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,type:"button",class:"btn role-tertiary add","data-testid":"add_link_button",disabled:r.loading||r.disabled||r.keyOptions&&0===B.filteredKeyOptions.length,onClick:t[2]||(t[2]=e=>B.add())},[r.loading?((0,o.openBlock)(),(0,o.createElementBlock)("i",N)):(0,o.createCommentVNode)("",!0),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(B._addLabel),1)],8,w)):(0,o.createCommentVNode)("",!0),r.readAllowed?((0,o.openBlock)(),(0,o.createBlock)(C,{key:1,disabled:B.isView,class:"role-tertiary",label:e.t("generic.readFromFile"),"include-file-name":!0,onSelected:B.onFileSelected},null,8,["disabled","label","onSelected"])):(0,o.createCommentVNode)("",!0)]))]))])}var _=r(2784),B=r.n(_),A=r(4302),U=r(8851),O=r(1048);function C(e){return"string"===typeof e?0===e.length:0===e.byteLength}function T(e){return"string"===typeof e&&(e=new O.hp(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}const L=64,x=16;function R(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(L)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function M(e,t,r,o,n,i){return t=(t+e&4294967295)+(o+i&4294967295)&4294967295,(t<<n|t>>>32-n)+r&4294967295}function I(e,t,r,o,n,i,a){return M(t&r|~t&o,e,t,n,i,a)}function D(e,t,r,o,n,i,a){return M(t&o|r&~o,e,t,n,i,a)}function V(e,t,r,o,n,i,a){return M(t^r^o,e,t,n,i,a)}function P(e,t,r,o,n,i,a){return M(r^(t|~o),e,t,n,i,a)}R.BLOCK_SIZE=L,R.prototype.update=function(e){if(C(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");const t=T(e);let r=0,o=t.byteLength;this.bytesHashed+=o;while(o>0)this.buffer.setUint8(this.bufferLength++,t[r++]),o--,this.bufferLength===L&&(this.hashBuffer(),this.bufferLength=0);return this},R.prototype.digest=function(e){if(!this.finished){const e=this,t=e.buffer,r=e.bufferLength,o=e.bytesHashed,n=8*o;if(t.setUint8(this.bufferLength++,128),r%L>=L-8){for(let e=this.bufferLength;e<L;e++)t.setUint8(e,0);this.hashBuffer(),this.bufferLength=0}for(let i=this.bufferLength;i<L-8;i++)t.setUint8(i,0);t.setUint32(L-8,n>>>0,!0),t.setUint32(L-4,Math.floor(n/4294967296),!0),this.hashBuffer(),this.finished=!0}const t=new DataView(new ArrayBuffer(x));for(let o=0;o<4;o++)t.setUint32(4*o,this.state[o],!0);const r=new O.hp(t.buffer,t.byteOffset,t.byteLength);return e?r.toString(e):r},R.prototype.hashBuffer=function(){const e=this,t=e.buffer,r=e.state;let o=r[0],n=r[1],i=r[2],a=r[3];o=I(o,n,i,a,t.getUint32(0,!0),7,3614090360),a=I(a,o,n,i,t.getUint32(4,!0),12,3905402710),i=I(i,a,o,n,t.getUint32(8,!0),17,606105819),n=I(n,i,a,o,t.getUint32(12,!0),22,3250441966),o=I(o,n,i,a,t.getUint32(16,!0),7,4118548399),a=I(a,o,n,i,t.getUint32(20,!0),12,1200080426),i=I(i,a,o,n,t.getUint32(24,!0),17,2821735955),n=I(n,i,a,o,t.getUint32(28,!0),22,4249261313),o=I(o,n,i,a,t.getUint32(32,!0),7,1770035416),a=I(a,o,n,i,t.getUint32(36,!0),12,2336552879),i=I(i,a,o,n,t.getUint32(40,!0),17,4294925233),n=I(n,i,a,o,t.getUint32(44,!0),22,2304563134),o=I(o,n,i,a,t.getUint32(48,!0),7,1804603682),a=I(a,o,n,i,t.getUint32(52,!0),12,4254626195),i=I(i,a,o,n,t.getUint32(56,!0),17,2792965006),n=I(n,i,a,o,t.getUint32(60,!0),22,1236535329),o=D(o,n,i,a,t.getUint32(4,!0),5,4129170786),a=D(a,o,n,i,t.getUint32(24,!0),9,3225465664),i=D(i,a,o,n,t.getUint32(44,!0),14,643717713),n=D(n,i,a,o,t.getUint32(0,!0),20,3921069994),o=D(o,n,i,a,t.getUint32(20,!0),5,3593408605),a=D(a,o,n,i,t.getUint32(40,!0),9,38016083),i=D(i,a,o,n,t.getUint32(60,!0),14,3634488961),n=D(n,i,a,o,t.getUint32(16,!0),20,3889429448),o=D(o,n,i,a,t.getUint32(36,!0),5,568446438),a=D(a,o,n,i,t.getUint32(56,!0),9,3275163606),i=D(i,a,o,n,t.getUint32(12,!0),14,4107603335),n=D(n,i,a,o,t.getUint32(32,!0),20,1163531501),o=D(o,n,i,a,t.getUint32(52,!0),5,2850285829),a=D(a,o,n,i,t.getUint32(8,!0),9,4243563512),i=D(i,a,o,n,t.getUint32(28,!0),14,1735328473),n=D(n,i,a,o,t.getUint32(48,!0),20,2368359562),o=V(o,n,i,a,t.getUint32(20,!0),4,4294588738),a=V(a,o,n,i,t.getUint32(32,!0),11,2272392833),i=V(i,a,o,n,t.getUint32(44,!0),16,1839030562),n=V(n,i,a,o,t.getUint32(56,!0),23,4259657740),o=V(o,n,i,a,t.getUint32(4,!0),4,2763975236),a=V(a,o,n,i,t.getUint32(16,!0),11,1272893353),i=V(i,a,o,n,t.getUint32(28,!0),16,4139469664),n=V(n,i,a,o,t.getUint32(40,!0),23,3200236656),o=V(o,n,i,a,t.getUint32(52,!0),4,681279174),a=V(a,o,n,i,t.getUint32(0,!0),11,3936430074),i=V(i,a,o,n,t.getUint32(12,!0),16,3572445317),n=V(n,i,a,o,t.getUint32(24,!0),23,76029189),o=V(o,n,i,a,t.getUint32(36,!0),4,3654602809),a=V(a,o,n,i,t.getUint32(48,!0),11,3873151461),i=V(i,a,o,n,t.getUint32(60,!0),16,530742520),n=V(n,i,a,o,t.getUint32(8,!0),23,3299628645),o=P(o,n,i,a,t.getUint32(0,!0),6,4096336452),a=P(a,o,n,i,t.getUint32(28,!0),10,1126891415),i=P(i,a,o,n,t.getUint32(56,!0),15,2878612391),n=P(n,i,a,o,t.getUint32(20,!0),21,4237533241),o=P(o,n,i,a,t.getUint32(48,!0),6,1700485571),a=P(a,o,n,i,t.getUint32(12,!0),10,2399980690),i=P(i,a,o,n,t.getUint32(40,!0),15,4293915773),n=P(n,i,a,o,t.getUint32(4,!0),21,2240044497),o=P(o,n,i,a,t.getUint32(32,!0),6,1873313359),a=P(a,o,n,i,t.getUint32(60,!0),10,4264355552),i=P(i,a,o,n,t.getUint32(24,!0),15,2734768916),n=P(n,i,a,o,t.getUint32(52,!0),21,1309151649),o=P(o,n,i,a,t.getUint32(16,!0),6,4149444226),a=P(a,o,n,i,t.getUint32(44,!0),10,3174756917),i=P(i,a,o,n,t.getUint32(8,!0),15,718787259),n=P(n,i,a,o,t.getUint32(36,!0),21,3951481745),r[0]=o+r[0]&4294967295,r[1]=n+r[1]&4294967295,r[2]=i+r[2]&4294967295,r[3]=a+r[3]&4294967295};const F=64,$=32,K=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),G=2**53-1;function j(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}j.BLOCK_SIZE=F,j.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(C(e))return this;e=T(e);let t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>G)throw new Error("Cannot hash more than 2^53 - 1 bits");while(r>0)this.buffer[this.bufferLength++]=e[t++],r--,this.bufferLength===F&&(this.hashBuffer(),this.bufferLength=0);return this},j.prototype.digest=function(e){if(!this.finished){const e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%F>=F-8){for(let e=this.bufferLength;e<F;e++)t.setUint8(e,0);this.hashBuffer(),this.bufferLength=0}for(let o=this.bufferLength;o<F-8;o++)t.setUint8(o,0);t.setUint32(F-8,Math.floor(e/4294967296),!0),t.setUint32(F-4,e),this.hashBuffer(),this.finished=!0}const t=new O.hp($);for(let r=0;r<8;r++)t[4*r]=this.state[r]>>>24&255,t[4*r+1]=this.state[r]>>>16&255,t[4*r+2]=this.state[r]>>>8&255,t[4*r+3]=this.state[r]>>>0&255;return e?t.toString(e):t},j.prototype.hashBuffer=function(){const e=this,t=e.buffer,r=e.state;let o=r[0],n=r[1],i=r[2],a=r[3],s=r[4],l=r[5],c=r[6],u=r[7];for(let d=0;d<F;d++){if(d<16)this.temp[d]=(255&t[4*d])<<24|(255&t[4*d+1])<<16|(255&t[4*d+2])<<8|255&t[4*d+3];else{let e=this.temp[d-2];const t=(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10;e=this.temp[d-15];const r=(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3;this.temp[d]=(t+this.temp[d-7]|0)+(r+this.temp[d-16]|0)}const e=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&l^~s&c)|0)+(u+(K[d]+this.temp[d]|0)|0)|0,r=((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+(o&n^o&i^n&i)|0;u=c,c=l,l=s,s=a+e|0,a=i,i=n,n=o,o=e+r|0}r[0]+=o,r[1]+=n,r[2]+=i,r[3]+=a,r[4]+=s,r[5]+=l,r[6]+=c,r[7]+=u};const H=64,J=20;function z(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}z.BLOCK_SIZE=H,z.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(C(e))return this;e=T(e);const t=e.length;this.totalLength+=8*t;for(let r=0;r<t;r++)this.write(e[r]);return this},z.prototype.write=function(e){this.block[this.offset]|=(255&e)<<this.shift,this.shift?this.shift-=8:(this.offset++,this.shift=24),16===this.offset&&this.processBlock()},z.prototype.digest=function(e){this.write(128),(this.offset>14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(let o=24;o>=0;o-=8)this.write(this.totalLength>>o);const t=new O.hp(J),r=new DataView(t.buffer);return r.setUint32(0,this.h0,!1),r.setUint32(4,this.h1,!1),r.setUint32(8,this.h2,!1),r.setUint32(12,this.h3,!1),r.setUint32(16,this.h4,!1),e?t.toString(e):t},z.prototype.processBlock=function(){for(let s=16;s<80;s++){const e=this.block[s-3]^this.block[s-8]^this.block[s-14]^this.block[s-16];this.block[s]=e<<1|e>>>31}let e,t,r=this.h0,o=this.h1,n=this.h2,i=this.h3,a=this.h4;for(let s=0;s<80;s++){s<20?(e=i^o&(n^i),t=1518500249):s<40?(e=o^n^i,t=1859775393):s<60?(e=o&n|i&(o|n),t=2400959708):(e=o^n^i,t=3395469782);const l=(r<<5|r>>>27)+e+a+t+(0|this.block[s]);a=i,i=n,n=o<<30|o>>>2,o=r,r=l}this.h0=this.h0+r|0,this.h1=this.h1+o|0,this.h2=this.h2+n|0,this.h3=this.h3+i|0,this.h4=this.h4+a|0,this.offset=0;for(let s=0;s<16;s++)this.block[s]=0};const Y="normal",q="url";function W(e,t=Y){let r;if(null===e||"undefined"===typeof e)return e;if(r="function"===typeof O.hp.from&&O.hp.from!==Uint8Array.from?O.hp.from(e):new O.hp(e),t===q){const e={"+":"-","/":"_"};return r.toString("base64").replace(/[+/]|=+$/g,(t=>e[t]||""))}return r.toString("base64")}function X(e){return null===e||"undefined"===typeof e?e:"function"===typeof O.hp.from&&O.hp.from!==Uint8Array.from?O.hp.from(e,"base64"):new O.hp(e,"base64")}function Z(e){return e?X(e.replace(/[-_]/g,(e=>"-"===e?"+":"/"))).toString():e}function Q(e){const t=`${e}`.length;let r=3*t/4;return e.length>0&&"="===e[e.length-1]&&(r--,e.length>1&&"="===e[e.length-2]&&r--),r}r(7008);async function ee(e,t,o="text/plain;charset=utf-8"){const n=new Blob([t],{type:o}),i=(await r.e(60).then(r.t.bind(r,5060,23))).default;return i(n,e)}var te=r(9378),re=r(6978);const oe=["onMousedown"];function ne(e,t,r,n,i,a){const s=(0,o.resolveComponent)("v-select"),l=(0,o.resolveComponent)("LabeledTooltip");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{ref:"select",class:(0,o.normalizeClass)(["unlabeled-select",{disabled:r.disabled&&!e.isView,focused:e.focused,[r.mode]:!0,[r.status]:r.status,taggable:e.$attrs.taggable,taggable:e.$attrs.multiple,"compact-input":r.compact,[e.$attrs.class]:e.$attrs.class}]),onFocus:t[2]||(t[2]=(...e)=>a.focusSearch&&a.focusSearch(...e))},[(0,o.createVNode)(s,(0,o.mergeProps)({ref:"select-input"},a.deClassedAttrs,{class:["inline",{"select-input-view":"view"===r.mode}],autoscroll:!0,"append-to-body":r.appendToBody,"calculate-position":a.positionDropdown,disabled:e.isView||r.disabled,"get-option-key":e=>a.getOptionKey(e),"get-option-label":e=>a.getOptionLabel(e),label:r.optionLabel,options:e.options,"close-on-select":r.closeOnSelect,"map-keydown":e.mappedKeys,placeholder:r.placeholder,reduce:e=>r.reduce(e),searchable:e.isSearchable,selectable:a.selectable,modelValue:null!=r.value?r.value:"","onUpdate:modelValue":t[0]||(t[0]=t=>e.$emit("update:value",t)),"onSearch:blur":e.onBlur,"onSearch:focus":e.onFocus,onOpen:e.resizeHandler,"onOption:created":t[1]||(t[1]=t=>e.$emit("createdListItem",t))}),(0,o.createSlots)({option:(0,o.withCtx)((e=>[(0,o.createElementVNode)("div",{onMousedown:t=>a.onClickOption(e,t)},(0,o.toDisplayString)(a.getOptionLabel(e.label)),41,oe)])),_:2},[(0,o.renderList)(e.$slots,((t,r)=>({name:r,fn:(0,o.withCtx)((t=>[(0,o.renderSlot)(e.$slots,r,(0,o.normalizeProps)((0,o.guardReactiveProps)(t)),void 0,!0)]))})))]),1040,["class","append-to-body","calculate-position","disabled","get-option-key","get-option-label","label","options","close-on-select","map-keydown","placeholder","reduce","searchable","selectable","modelValue","onSearch:blur","onSearch:focus","onOpen"]),r.tooltip&&!e.focused?((0,o.openBlock)(),(0,o.createBlock)(l,{key:0,hover:r.hoverTooltip,value:r.tooltip,status:r.status},null,8,["hover","value","status"])):(0,o.createCommentVNode)("",!0),a.validationMessage?((0,o.openBlock)(),(0,o.createBlock)(l,{key:1,hover:r.hoverTooltip,value:a.validationMessage},null,8,["hover","value"])):(0,o.createCommentVNode)("",!0)],34)}var ie=r(3503),ae=r(9626),se=r(9924),le=r(162),ce={emits:["update:value","createdListItem"],components:{LabeledTooltip:se.Z},mixins:[ie.A,ae.A],props:{appendToBody:{default:!0,type:Boolean},disabled:{default:!1,type:Boolean},getKeyForOption:{default:null,type:Function},mode:{default:"edit",type:String},optionKey:{default:null,type:String},optionLabel:{default:"label",type:String},placement:{default:null,type:String},placeholder:{type:String,default:""},popperOverride:{type:Function,default:null},reduce:{default:e=>e&&"object"===typeof e&&void 0!==e.value?e.value:e,type:Function},tooltip:{type:String,default:null},hoverTooltip:{type:Boolean,default:!0},status:{type:String,default:null},value:{default:null,type:[String,Object,Number,Array,Boolean]},closeOnSelect:{type:Boolean,default:!0},compact:{type:Boolean,default:null}},methods:{getOptionLabel(e){return this.$attrs["get-option-label"]?this.$attrs["get-option-label"](e):(0,re.Jt)(e,this.optionLabel)?this.localizedLabel?this.$store.getters["i18n/t"]((0,re.Jt)(e,this.optionLabel)):(0,re.Jt)(e,this.optionLabel):e},positionDropdown(e,t,{width:r}){if(this.popperOverride)return this.popperOverride(e,t,{width:r});(0,le.s)(e,t,r,this.placement)},focus(){this.focusSearch()},focusSearch(){this.$nextTick((()=>{const e=this.$refs["select-input"]?.searchEl;e&&e.focus()}))},get:re.Jt,onClickOption(e,t){le.t.call(this,e,t)},selectable(e){return!e||!e.disabled&&"group"!==e.kind&&"divider"!==e.kind&&!e.loading},getOptionKey(e){if(e&&this.optionKey)return(0,re.Jt)(e,this.optionKey);if(e?.optionKey)return(0,re.Jt)(e,e.optionKey);const t=this.getOptionLabel(e);return"string"===typeof t||"number"===typeof t?t:Math.random(1e5)},report(e){alert(e)}},computed:{requiredField(){return this.required||this.rules.some((e=>"required"===e?.name))},validationMessage(){const e=this.rules.find((e=>"required"===e?.name)),t=[],r=this?.value;if(e&&this.blurred&&!this.focused){const t=e(r);if(t)return t}for(const o of this.rules){const e=o(r);e&&"required"!==o.name&&t.push(e)}return t.length>0&&(this.blurred||this.focused)?t.join(", "):void 0},canPaginate(){return!1},deClassedAttrs(){const{class:e,...t}=this.$attrs;return t}}},ue=(r(8941),r(7433));const de=(0,ue.A)(ce,[["render",ne],["__scopeId","data-v-c4c8302c"]]);var pe=de;const he=["disabled"],fe=["multiple","webkitdirectory","accept"];function me(e,t,r,n,i,a){return a.isView?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,disabled:r.disabled,type:"button",class:"file-selector btn","data-testid":"file-selector__uploader-button",onClick:t[1]||(t[1]=(...e)=>a.selectFile&&a.selectFile(...e))},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(r.label),1),(0,o.createElementVNode)("input",{ref:"uploader",type:"file",class:"hide",multiple:r.multiple,webkitdirectory:r.directory,accept:r.accept,onChange:t[0]||(t[0]=(...e)=>a.fileChange&&a.fileChange(...e))},null,40,fe)],8,he))}var ye=r(4220);var ge={emits:["error","selected"],props:{label:{type:String,required:!0},mode:{type:String,default:ye.G5},disabled:{type:Boolean,default:!1},includeFileName:{type:Boolean,default:!1},showGrowlError:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},byteLimit:{type:Number,default:0},readAsDataUrl:{type:Boolean,default:!1},directory:{type:Boolean,default:!1},rawData:{type:Boolean,default:!1},accept:{type:String,default:"*"}},computed:{isView(){return this.mode===ye.nW}},methods:{selectFile(){this.$refs.uploader.value=null,this.$refs.uploader.click()},async fileChange(e){const t=e.target,r=Array.from(t.files||[]);if(this.byteLimit)for(const n of r)if(n.size>this.byteLimit)return void this.$emit("error",`${n.name} exceeds the file size limit of ${this.byteLimit} bytes`);if(this.rawData){const e=this.multiple||1!==r.length?r:r[0];this.$emit("selected",e)}else try{const e=r.map(this.getFileContents),t=await Promise.all(e),o=this.multiple||1!==t.length?t:t[0];this.$emit("selected",o)}catch(o){this.$emit("error",o),this.showGrowlError&&this.$store.dispatch("growl/fromError",{title:"Error reading file",error:o},{root:!0})}},getFileContents(e){return new Promise(((t,r)=>{const o=new FileReader;o.onload=r=>{const o=r.target.result,n=e.name,i=this.includeFileName?{value:o,name:n}:o;t(i)},o.onerror=e=>{r(e)},this.readAsDataUrl?o.readAsDataURL(e):o.readAsText(e)}))}}};const ve=(0,ue.A)(ge,[["render",me]]);var be=ve,Ee=r(2043),ke=r(3801),we=r(6343),Ne=r.n(we),Se={name:"KeyValue",emits:["focusKey","update:value"],components:{CodeMirror:ke.A,Select:pe,TextAreaAutoGrow:te.A,FileSelector:be},props:{value:{type:[Array,Object],default:null},defaultValue:{type:[Array,Object],default:null},binaryValueKeys:{type:[Array,Object],default:null},mode:{type:String,default:ye.G5},asMap:{type:Boolean,default:!0},initialEmptyRow:{type:Boolean,default:!1},title:{type:String,default:""},titleProtip:{type:String,default:""},protip:{type:[String,Boolean],default:""},keyName:{type:String,default:"key"},keyLabel:{type:String,default:""},keyEditable:{type:Boolean,default:!0},keyOptions:{type:Array,default:null},keyTaggable:{type:Boolean,default:!0},keyOptionUnique:{type:Boolean,default:!1},keyPlaceholder:{type:String,default:""},protectedKeys:{type:Array,default:()=>[]},toggleFilter:{type:Boolean,default:!1},separatorLabel:{type:String,default:""},valueName:{type:String,default:"value"},valueLabel:{type:String,default:""},valuePlaceholder:{type:String,default:""},valueCanBeEmpty:{type:Boolean,default:!1},displayValuesAsBinary:{type:Boolean,default:!1},valueMarkdownMultiline:{type:Boolean,default:!1},valueMultiline:{type:Boolean,default:!0},valueTrim:{type:Boolean,default:!0},handleBase64:{type:Boolean,default:!1},valueConcealed:{type:Boolean,default:!1},supported:{type:Function,default:e=>!0},preserveKeys:{type:Array,default:null},extraColumns:{type:Array,default:()=>[]},defaultAddData:{type:Object,default:()=>{}},addLabel:{type:String,default:""},addIcon:{type:String,default:"icon-plus"},addAllowed:{type:Boolean,default:!0},readIcon:{type:String,default:"icon-upload"},readAllowed:{type:Boolean,default:!0},readAccept:{type:String,default:"*"},readMultiple:{type:Boolean,default:!1},removeLabel:{type:String,default:""},removeIcon:{type:String,default:"icon-minus"},removeAllowed:{type:Boolean,default:!0},fileModifier:{type:Function,default:(e,t)=>({name:e,value:t})},parserSeparators:{type:Array,default:()=>[":","="]},loading:{default:!1,type:Boolean},parseLinesFromFile:{default:!1,type:Boolean},parseValueFromFile:{default:!1,type:Boolean},disabled:{default:!1,type:Boolean}},data(){const e=this.getRows(this.value);return{rows:e,codeMirrorFocus:{},lastUpdated:null}},computed:{_protip(){return this.protip||this.t("keyValue.protip",null,!0)},_keyLabel(){return this.keyLabel||this.t("generic.key")},_keyPlaceholder(){return this.keyPlaceholder||this.t("keyValue.keyPlaceholder")},_valueLabel(){return this.valueLabel||this.t("generic.value")},_valuePlaceholder(){return this.valuePlaceholder||this.t("keyValue.valuePlaceholder")},_addLabel(){return this.addLabel||this.t("generic.add")},isView(){return this.mode===ye.nW},containerStyle(){const e=this.canRemove?" 50px":"",t=2+this.extraColumns.length;return`grid-template-columns: repeat(${t}, 1fr)${e};`},usedKeyOptions(){return this.rows.map((e=>e[this.keyName]))},filteredKeyOptions(){return this.keyOptionUnique?this.keyOptions.filter((e=>!this.usedKeyOptions.includes(e.value))):this.keyOptions},canRemove(){return!this.isView&&this.removeAllowed},filteredRows(){return this.rows.filter((e=>!(this.isProtected(e.key)&&!this.toggleFilter)))}},created(){this.queueUpdate=B()(this.update,500)},watch:{value:{deep:!0,handler(e,t){this.valuePropChanged(e,t)}}},methods:{valuePropChanged(e){Ne()(e,this.lastUpdated)||(this.rows=this.getRows(e))},isProtected(e){return this.protectedKeys&&this.protectedKeys.includes(e)},getRows(e){const t=[];if(this.asMap){const r=e||{};Object.keys(r).forEach((e=>{let o=r[e];const n=Z(r[e]),i=(0,Ee.XC)(n);this.handleBase64&&i&&(o=Z(o)),t.push({key:e,value:o,binary:this.displayValuesAsBinary||this.handleBase64&&!i,canEncode:this.handleBase64&&i,supported:!0})}))}else{const r=e||[];for(const e of r){let r=e[this.valueName]||"";const o=Z(e[this.valueName]),n=(0,Ee.XC)(o);this.handleBase64&&n&&(r=Z(r));const i={[this.keyName]:e[this.keyName]||"",[this.valueName]:r,binary:this.displayValuesAsBinary||this.handleBase64&&!n,canEncode:this.handleBase64&&n,supported:this.supported(e)};this.preserveKeys?.map((t=>{"undefined"!==typeof e[t]&&(i[t]=e[t])})),t.push(i)}}return t&&!t.length&&this.initialEmptyRow&&t.push({[this.keyName]:"",[this.valueName]:"",binary:!1,canEncode:this.handleBase64,supported:!0}),t},add(e="",t=""){const r={...this.defaultAddData,[this.keyName]:e,[this.valueName]:t};r.binary=!1,r.canEncode=this.handleBase64,r.supported=!0,this.rows.push(r),this.queueUpdate(),this.$nextTick((()=>{if(this.$refs.key){const e=this.$refs.key,t=e[e.length-1];t.focus()}else this.$emit("focusKey")}))},remove(e){(0,U.Wq)(this.rows,e),this.queueUpdate()},removeEmptyRows(){const e=this.rows.filter((e=>e.value.length||e.key.length));this["rows"]=e},onFileSelected(e){const{name:t,value:r}=this.fileModifier(e.name,e.value);if(this.parseLinesFromFile){const e=r.split("\n");e.forEach((e=>{if(e.length){const[t,r]=e.split("=");this.add(t,r)}})),e.length>0&&this.removeEmptyRows()}else this.add(t,r,this.displayValuesAsBinary)},download(e,t){const r=this.rows[e],o=r[this.keyName],n=r[this.valueName];ee(o,n,"application/octet-stream")},update(){let e;if(this.asMap){e={};const t=this.keyName,r=this.valueName;for(const o of this.rows){let n=o[r]||"";const i=(o[t]||"").trim();n&&"object"===(0,A.QP)(n)?e[i]=JSON.parse(JSON.stringify(n)):(n=n||"",this.valueTrim&&(0,Ee.XC)(n)&&(n=n.trim()),o.canEncode&&(n=W(n)),i&&(n||this.valueCanBeEmpty)&&(e[i]=n))}}else{const t=this.preserveKeys||[];(0,U.Gj)(t,this.keyName),(0,U.Gj)(t,this.valueName),e=this.rows.map((e=>{let r=e[this.valueName];e.canEncode&&(r=W(r));const o={[this.keyName]:e[this.keyName],[this.valueName]:r};for(const n of t)"undefined"!==typeof e[n]&&(o[n]=e[n]);return o}))}this.lastUpdated=e,this.$emit("update:value",e)},onPaste(e,t){const r=t.clipboardData.getData("text/plain"),o=r.split("\n"),n=o.map((e=>{const t=this.parserSeparators.find((t=>e.includes(t)));return t?e.split(t):""})).filter((e=>e&&e.length>0));if(0===n.length||1===n.length&&n[0].length<2)return;t.preventDefault();const i=n.map((e=>({[this.keyName]:(e[0]||"").trim(),[this.valueName]:(e[1]||"").trim(),supported:!0,canEncode:this.handleBase64,binary:this.displayValuesAsBinary})));this.rows.splice(e,1,...i),this.queueUpdate()},calculateOptions(e){const t=this.keyOptions.find((t=>t.value===e));return t?[t,...this.filteredKeyOptions]:this.filteredKeyOptions},binaryTextSize(e){const t=this.handleBase64?Z(e):e,r=e.length?Q(t):0;return this.t("detailText.binary",{n:r},!0)},get:re.Jt,onInputMarkdownMultiline(e,t){this.rows=this.rows.map(((r,o)=>o===e?{...r,value:t}:r)),this.queueUpdate()},onFocusMarkdownMultiline(e,t){this.codeMirrorFocus[e]=t},onValueFileSelected(e,t){const{name:r,value:o}=t;this.rows[e][this.keyName]||(this.rows[e][this.keyName]=r),this.rows[e][this.valueName]=o},isValueFieldEmpty(e){return!e||0===e.trim().length}}};r(4349);const _e=(0,ue.A)(Se,[["render",S]]);var Be=_e},5394:function(e,t,r){"use strict";r.r(t);var o=r(429),n=r.n(o),i=r(1214),a=r.n(i),s=a()(n());s.push([e.id,".radio-group:focus{border:none;outline:none}.radio-group h3{position:relative}.radio-group.row{display:flex}.radio-group.row .radio-container{margin-right:10px}.radio-group .label{font-size:14px!important}",""]),t["default"]=s},5430:function(e,t,r){"use strict";r.r(t);var o=r(429),n=r.n(o),i=r(1214),a=r.n(i),s=a()(n());s.push([e.id,'.code-mirror.as-text-area .codemirror-container{min-height:40px;position:relative;display:block;box-sizing:border-box;width:100%;padding:10px;background-color:var(--input-bg);border-radius:var(--border-radius);border:solid var(--border-width) var(--input-border);color:var(--input-text)}.code-mirror.as-text-area .codemirror-container:hover{border-color:var(--input-hover-border)}.code-mirror.as-text-area .codemirror-container.focus,.code-mirror.as-text-area .codemirror-container:focus{outline:none;border-color:var(--outline)}.code-mirror.as-text-area .codemirror-container .CodeMirror-wrap pre{word-break:break-word}.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-even:before,.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-odd:before,.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line:not(:last-child)>span:after{color:var(--muted);position:absolute;line-height:20px;pointer-events:none}.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line:not(:last-child)>span:after{content:"↵";margin-left:2px}.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-even:before,.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-odd:before{font-weight:700;content:"·"}.code-mirror.as-text-area .codemirror-container .CodeMirror-lines{color:var(--input-text);padding:0}.code-mirror.as-text-area .codemirror-container .CodeMirror-lines .CodeMirror-line>span>span.cm-overlay{font-family:monospace}.code-mirror.as-text-area .codemirror-container .CodeMirror-lines .CodeMirror-line>span{font-family:Lato,arial,helvetica,sans-serif}.code-mirror.as-text-area .codemirror-container .CodeMirror-sizer{min-height:20px}.code-mirror.as-text-area .codemirror-container .CodeMirror-selected{background-color:var(--primary)!important}.code-mirror.as-text-area .codemirror-container .CodeMirror-selectedtext{color:var(--primary-text)}.code-mirror.as-text-area .codemirror-container .CodeMirror-line::selection,.code-mirror.as-text-area .codemirror-container .CodeMirror-line>span::selection,.code-mirror.as-text-area .codemirror-container .CodeMirror-line>span>span::selection{color:var(--primary-text);background-color:var(--primary)}.code-mirror.as-text-area .codemirror-container .CodeMirror-line::-moz-selection,.code-mirror.as-text-area .codemirror-container .CodeMirror-line>span::-moz-selection,.code-mirror.as-text-area .codemirror-container .CodeMirror-line>span>span::-moz-selection{color:var(--primary-text);background-color:var(--primary)}.code-mirror.as-text-area .codemirror-container .CodeMirror-gutters .CodeMirror-foldgutter:empty{display:none}.code-mirror{position:relative}.code-mirror .codemirror-container{z-index:0;font-size:inherit!important}.code-mirror .codemirror-container .CodeMirror{height:auto;background:none}.code-mirror .codemirror-container .CodeMirror-gutters{background:inherit}.code-mirror .keymap.overlay{position:absolute;display:flex;top:7px;right:7px;z-index:1;cursor:pointer}.code-mirror .keymap.overlay .keymap-indicator{width:48px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;color:var(--darker);background-color:var(--overlay-bg);font-size:12px}.code-mirror .keymap.overlay .keymap-indicator .close-indicator{width:0}.code-mirror .keymap.overlay .keymap-indicator .close-indicator .icon-close{color:var(--primary);opacity:0}.code-mirror .keymap.overlay .keymap-indicator .keymap-icon{font-size:24px;opacity:.8;transition:margin-right .1s ease-in-out}.code-mirror .keymap.overlay .keymap-indicator:hover{border:1px solid var(--primary);border-radius:var(--border-radius)}.code-mirror .keymap.overlay .keymap-indicator:hover .close-indicator{margin-left:-6px;width:auto}.code-mirror .keymap.overlay .keymap-indicator:hover .close-indicator .icon-close{opacity:1;transition:opacity .1s ease-in-out .1s}.code-mirror .keymap.overlay .keymap-indicator:hover .keymap-icon{opacity:.6;margin-right:10px}',""]),t["default"]=s},5511:function(e,t,r){var o=r(8183);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var n=r(4825).A;n("d34f33b8",o,!0,{sourceMap:!1,shadowMode:!1})},5664:function(e,t,r){"use strict";r.d(t,{Mc:function(){return h},bB:function(){return s},eo:function(){return m},k$:function(){return n},m4:function(){return o},qt:function(){return f},yx:function(){return a}});const o={PREFERENCE:"userpreference",SCHEMA_DEFINITION:"schemaDefinition"},n={APP:"app",AUTH_CONFIG:"authconfig",ETCD_BACKUP:"etcdbackup",CLUSTER:"cluster",CLUSTER_TOKEN:"clusterregistrationtoken",CLUSTER_ROLE_TEMPLATE_BINDING:"clusterroletemplatebinding",CLOUD_CREDENTIAL:"cloudcredential",FLEET_WORKSPACES:"fleetworkspace",GLOBAL_ROLE:"globalRole",GLOBAL_ROLE_BINDING:"globalRoleBinding",NODE_POOL:"nodePool",NODE:"node",PRINCIPAL:"principal",PROJECT:"project",PROJECT_ROLE_TEMPLATE_BINDING:"projectroletemplatebinding",SETTING:"setting",SPOOFED:{GROUP_PRINCIPAL:"group.principal"},ROLE_TEMPLATE:"roleTemplate",TOKEN:"token",USER:"user",KONTAINER_DRIVER:"kontainerDriver",NODE_DRIVER:"nodeDriver"},i="pod",a="schema",s="secret",l={DEPLOYMENT:"apps.deployment",CRON_JOB:"batch.cronjob",DAEMON_SET:"apps.daemonset",JOB:"batch.job",STATEFUL_SET:"apps.statefulset",REPLICA_SET:"apps.replicaset",REPLICATION_CONTROLLER:"replicationcontroller"},{DAEMON_SET:c,CRON_JOB:u,JOB:d,...p}=(l.DEPLOYMENT,l.CRON_JOB,l.DAEMON_SET,l.JOB,l.STATEFUL_SET,l.REPLICA_SET,l.REPLICATION_CONTROLLER,l.DAEMON_SET,l.REPLICA_SET,l.STATEFUL_SET,l.DEPLOYMENT,l),h={AUTH_CONFIG:"management.cattle.io.authconfig",CATALOG_TEMPLATE:"management.cattle.io.catalogtemplate",CLUSTER:"management.cattle.io.cluster",CLUSTER_ROLE_TEMPLATE_BINDING:"management.cattle.io.clusterroletemplatebinding",FEATURE:"management.cattle.io.feature",KONTAINER_DRIVER:"management.cattle.io.kontainerdriver",MULTI_CLUSTER_APP:"management.cattle.io.multiclusterapp",NODE:"management.cattle.io.node",NODE_DRIVER:"management.cattle.io.nodedriver",NODE_POOL:"management.cattle.io.nodepool",NODE_TEMPLATE:"management.cattle.io.nodetemplate",PROJECT:"management.cattle.io.project",PROJECT_ROLE_TEMPLATE_BINDING:"management.cattle.io.projectroletemplatebinding",ROLE_TEMPLATE:"management.cattle.io.roletemplate",SETTING:"management.cattle.io.setting",USER:"management.cattle.io.user",TOKEN:"management.cattle.io.token",GLOBAL_ROLE:"management.cattle.io.globalrole",GLOBAL_ROLE_BINDING:"management.cattle.io.globalrolebinding",PSA:"management.cattle.io.podsecurityadmissionconfigurationtemplate",MANAGED_CHART:"management.cattle.io.managedchart",USER_NOTIFICATION:"management.cattle.io.rancherusernotification",GLOBAL_DNS_PROVIDER:"management.cattle.io.globaldnsprovider",RKE_TEMPLATE:"management.cattle.io.clustertemplate",RKE_TEMPLATE_REVISION:"management.cattle.io.clustertemplaterevision",CLUSTER_PROXY_CONFIG:"management.cattle.io.clusterproxyconfig"},f={CAPI_CLUSTER:"cluster.x-k8s.io.cluster",MACHINE_DEPLOYMENT:"cluster.x-k8s.io.machinedeployment",MACHINE_SET:"cluster.x-k8s.io.machineset",MACHINE:"cluster.x-k8s.io.machine",RANCHER_CLUSTER:"provisioning.cattle.io.cluster",MACHINE_CONFIG_GROUP:"rke-machine-config.cattle.io"},m="fleet-default"},5799:function(e,t,r){"use strict";r.d(t,{Mo:function(){return i},QN:function(){return o},ao:function(){return s},kq:function(){return n}});const o=["","K","M","G","T","P","E","Z","Y"],n=["","m","u","n","p","f","a","z","y"];function i(e,{increment:t=1e3,addSuffix:r=!0,addSuffixSpace:s=!0,suffix:l="",firstSuffix:c=null,startingExponent:u=0,minExponent:d=0,maxExponent:p=99,maxPrecision:h=2,canRoundToZero:f=!0}={}){let m=e,y=u;const g=p>=0;if(g)while(m>=t&&y+1<o.length&&y<p||y<d)m/=t,y++;else while(m<t&&y+1<n.length&&y<-1*p||y<-1*d)m*=t,y++;let v="";if(v=m<10&&h>=1?""+Math.round(m*10**h)/10**h:`${Math.round(m)}`,"0"===v&&!f&&0!==e){const o=a(e,t);return i(e,{increment:t,addSuffix:r,suffix:l,firstSuffix:c,startingExponent:u,minExponent:o,maxExponent:o,maxPrecision:h,canRoundToZero:!0})}return r&&(s&&(v+=" "),v+=0===y&&null!==c?`${c}`:`${g?o[y]:n[y]}${l}`||""),v}function a(e,t=1e3){let r=0;while(e>=t)e/=t,r++;return r}function s(e,t){t=t||{};let r=t.increment;const i=!1!==t.allowFractional;if(!e||"string"!==typeof e||!e.length)return NaN;e=e.replace(/,/g,"");let[,a,s,l]=e.match(/^([0-9.-]+)\s*([^0-9.-]?)([^0-9.-]?)/);const c=parseFloat(a);if(!s)return c;181===s.charCodeAt(0)&&(s="u");const u=n.includes(s),d=o.includes(s.toUpperCase());if(r||(r=(d||u)&&"i"===l?1024:1e3),u&&i){const e=n.indexOf(s);return c/r**e}if(d){const e=o.indexOf(s.toUpperCase());return c*r**e}return c}},6131:function(e,t,r){var o=r(6403),n=r(1580),i=r(1187),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;function d(e){if("number"==typeof e)return e;if(i(e))return a;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var r=l.test(e);return r||c.test(e)?u(e.slice(2),r?2:8):s.test(e)?a:+e}e.exports=d},6403:function(e,t,r){var o=r(2945),n=/^\s+/;function i(e){return e?e.slice(0,o(e)+1).replace(n,""):e}e.exports=i},6414:function(e,t,r){"use strict";r.d(t,{A:function(){return E}});var o=r(4220),n=r(9274),i=r(8632),a=r(9726),s=r(8851),l=r(4302),c=r(4364);let u=1;const d="_beforeSaveHooks",p="_afterSaveHooks";var h={methods:{registerBeforeHook(e,t,r=99,o){this._registerHook(d,e,t,r,o)},unregisterBeforeSaveHook(e){this[d]=this[d].filter((t=>t.name!==e))},registerAfterHook(e,t,r=99,o){this._registerHook(p,e,t,r,o)},async applyHooks(e,...t){if(!e)throw new Error("Must specify key");const r=(0,l.Ul)(this[e]||[],["priority","name"]),o={};for(const n of r)c.debug("Applying hook",n.name),o[n.name]=await n.fn.apply(n.fnContext||this,t);return o},_registerHook(e,t,r,o,n){if(!e)throw new Error("Must specify key");r||(r=`hook_${u}`,u++),o||(o=99);let i=this[e];i||(i=[],this[e]=i);let a=(0,s.jq)(i,"name",r);a?(a.priority=o,a.fn=t,a.fnContext=n):(a={name:r,priority:o,fn:t,fnContext:n},i.push(a))}}},f=r(5664),m=r(6978),y=r(4364);f.yx;async function g(e,t,r,o,n,i){const a=await n.dispatch(`${i}/cleanForDiff`,e,{root:!0}),s=await n.dispatch(`${i}/cleanForDiff`,t.toJSON(),{root:!0}),l=await n.dispatch(`${i}/cleanForDiff`,r.toJSON(),{root:!0}),c=(0,m.no)(a,l),u=(0,m.no)(a,s),d=(0,m.MA)(c,u);if(y.log("Background Change",c),y.log("User Change",u),y.log("Conflicts",d),t.metadata.resourceVersion=r.metadata.resourceVersion,(0,m.TJ)(t,c),d.length){const e=[o["i18n/t"]("validation.conflict",{fields:d.join(", "),fieldCount:d.length})];return e}return!1}var v=r(4364),b={name:"CreateEditView",mixins:[h],emits:["done"],data(){return{errors:[]}},computed:{isCreate(){return this.mode===o.YQ},isEdit(){return this.mode===o.G5},isView(){return this.mode===o.nW},schema(){const e=this.storeOverride||this.$store.getters["currentStore"](this.value.type);return this.$store.getters[`${e}/schemaFor`](this.value.type)},isNamespaced(){return this.schema?.attributes?.namespaced||!1},labels:{get(){return this.value?.labels},set(e){this.value.setLabels(e)}},annotations:{get(){return this.value?.annotations},set(e){this.value.setAnnotations(e)}},doneRoute(){if(this.value?.doneRoute)return this.value.doneRoute;let e=this.$route.name;return e?.endsWith("-id")?e=e.replace(/(-namespace)?-id$/,""):e?.endsWith("-create")&&(e=e.replace(/-create$/,"")),e},doneParams(){if(this.value?.doneParams)return this.value.doneParams;const e={...this.$route.params};return delete e.namespace,delete e.id,e}},methods:{done(){if(!this.doneEvent)return this.doneLocationOverride?this.$router.replace(this.doneLocationOverride):void(this.doneRoute&&this.$router.replace({name:this.doneRoute,params:this.doneParams||{resource:this.value.type}}));this.$emit("done")},async conflict(){return await g(this.initialValue.toJSON(),this.value,this.liveValue,this.$store.getters,this.$store,this.storeOverride||this.$store.getters["currentStore"](this.value.type))},async save(e,t,r=0){this.errors&&(0,s.IU)(this.errors);try{if(await this.applyHooks(d,this.value),this.value?.metadata?.labels&&0===Object.keys(this.value.metadata.labels||{}).length&&delete this.value.metadata.labels,this.value?.metadata?.annotations&&0===Object.keys(this.value.metadata.annotations||{}).length&&delete this.value.metadata.annotations,this.isCreate){const e=this.value?.metadata?.namespace;e&&e!==f.eo&&this.value.$dispatch("prefs/set",{key:i.Ri,value:e},{root:!0})}await this.actuallySave(t),this.$store.getters["type-map/isSpoofed"](this.value.type)&&await this.$store.dispatch("cluster/findAll",{type:this.value.type,opt:{force:!0}},{root:!0}),await this.applyHooks(p,this.value),e&&e(!0),this.done()}catch(o){if(409===o.status&&0===r&&this.isEdit){const o=await this.conflict();if(!1===o)return this.save(e,t,r+1);this.errors=o}else this.errors=(0,a.rz)(o);v.error("CreateEditView mixin failed to save: ",o),e&&e(!1)}},async actuallySave(e){if(this.isCreate){e=e||this.schema.linkFor("collection");const t=await this.value.save({url:e});t&&Object.assign(this.value,t)}else await this.value.save()},setErrors(e){this.errors=e}}},E=(0,n.defineComponent)({...b,props:{mode:{type:String,default:o.G5},realMode:{type:String,default:o.G5},as:{type:String,default:o.zD},value:{type:Object,required:!0},initialValue:{type:Object,default:null},liveValue:{type:Object,default:null},doneEvent:{type:Boolean,default:!1}}})},6471:function(e){"use strict";e.exports=JSON.parse('{"hasStylesheet":"true"}')},6844:function(e,t,r){var o=r(1212);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var n=r(4825).A;n("d02bc2bc",o,!0,{sourceMap:!1,shadowMode:!1})},7259:function(e){"use strict";e.exports=JSON.parse('{"hasStylesheet":"true"}')},7321:function(e,t,r){"use strict";r.r(t);var o=r(429),n=r.n(o),i=r(1214),a=r.n(i),s=a()(n());s.push([e.id,".radio-view{display:flex;flex-direction:column}.radio-view LABEL{color:var(--input-label)}.radio-group .text-label{display:block;padding-bottom:5px}.radio-container{position:relative;display:inline-flex;align-items:flex-start;margin:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--border-radius);padding-bottom:5px}.radio-container,.radio-container .radio-button-outer-container-description,.radio-container .radio-label{cursor:pointer}.radio-container.disabled,.radio-container.disabled .radio-button-outer-container-description,.radio-container.disabled .radio-label{cursor:not-allowed}.radio-container .radio-custom{height:14px;width:14px;min-height:14px;min-width:14px;background-color:var(--input-bg);border-radius:50%;transition:all .3s ease-out;border:1.5px solid var(--border);margin-top:5px}.radio-container .radio-custom:focus{outline:none;border-radius:50%}.radio-container input{display:none}.radio-container .radio-custom[aria-checked=true]{background-color:var(--primary);transform:rotate(0deg) scale(1);opacity:1;border:1.5px solid var(--primary)}.radio-container .radio-custom[aria-checked=true].text-muted{opacity:.25}.radio-container input:disabled~.radio-custom:not([aria-checked=true]){background-color:var(--disabled-bg);opacity:.25}.radio-container .radio-button-outer-container-description{color:var(--input-label);font-size:11px;margin-top:5px}.radio-container .labeling{display:inline-flex;flex-direction:column;margin:3px 10px 0 5px}",""]),t["default"]=s},7693:function(e,t,r){"use strict";r.r(t);var o=r(429),n=r.n(o),i=r(1214),a=r.n(i),s=a()(n());s.push([e.id,".key-value{width:100%}.key-value .file-selector.role-link{text-transform:none;padding:0}.key-value .kv-container{display:grid;align-items:center;-moz-column-gap:20px;column-gap:20px}.key-value .kv-container label{margin-bottom:0}.key-value .kv-container .kv-item{width:100%;margin:10px 0 10px 0}.key-value .kv-container .kv-item.extra,.key-value .kv-container .kv-item.key{align-self:flex-start}.key-value .kv-container .kv-item.value .value-container.upload-button{position:relative;display:flex;justify-content:right;align-items:center}.key-value .kv-container .kv-item.value .value-container .file-selector{position:absolute;margin-right:5px}.key-value .kv-container .kv-item.value textarea{padding:10px 10px 10px 10px}.key-value .kv-container .kv-item .text-monospace:not(.conceal){font-family:monospace,monospace}.key-value .remove{text-align:center}.key-value .remove BUTTON{padding:0}.key-value .title{margin-bottom:10px}.key-value .title .read-from-file{float:right}.key-value input{height:40px;line-height:1}.key-value .footer .protip{float:right;padding:5px 0}.key-value .download{text-align:right}.key-value .copy-value{padding:0 0 0 10px}",""]),t["default"]=s},7785:function(e,t,r){var o=r(7321);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var n=r(4825).A;n("c40d88e4",o,!0,{sourceMap:!1,shadowMode:!1})},7906:function(e,t,r){var o=r(5394);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var n=r(4825).A;n("12a937ac",o,!0,{sourceMap:!1,shadowMode:!1})},7991:function(e,t){"use strict";t.byteLength=c,t.toByteArray=d,t.fromByteArray=f;for(var r=[],o=[],n="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],o[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function c(e){var t=l(e),r=t[0],o=t[1];return 3*(r+o)/4-o}function u(e,t,r){return 3*(t+r)/4-r}function d(e){var t,r,i=l(e),a=i[0],s=i[1],c=new n(u(e,a,s)),d=0,p=s>0?a-4:a;for(r=0;r<p;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],c[d++]=t>>16&255,c[d++]=t>>8&255,c[d++]=255&t;return 2===s&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,c[d++]=255&t),1===s&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,c[d++]=t>>8&255,c[d++]=255&t),c}function p(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function h(e,t,r){for(var o,n=[],i=t;i<r;i+=3)o=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),n.push(p(o));return n.join("")}function f(e){for(var t,o=e.length,n=o%3,i=[],a=16383,s=0,l=o-n;s<l;s+=a)i.push(h(e,s,s+a>l?l:s+a));return 1===n?(t=e[o-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===n&&(t=(e[o-2]<<8)+e[o-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},8183:function(e,t,r){"use strict";r.r(t);var o=r(429),n=r.n(o),i=r(1214),a=r.n(i),s=a()(n());s.push([e.id,".advanced[data-v-cd1e7dd4]{-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 5px;cursor:pointer;line-height:40px;font-size:15px;font-weight:500}.content[data-v-cd1e7dd4]{background:var(--nav-active);padding:10px;margin-top:6px;border-radius:4px}",""]),t["default"]=s},8401:function(e){"use strict";e.exports=JSON.parse('{"hasStylesheet":"false"}')},8632:function(e,t,r){"use strict";r.d(t,{aP:function(){return d},Ri:function(){return u}});const o={enabled:!1,enabledInterval:!0,interval:300,enabledOnNavigate:!0,ageThreshold:120,countThreshold:500};var n=r(5664);const i={VERSION_RANCHER:"server-version",VERSION_CLI:"cli-version",VERSION_MACHINE:"machine-version",VERSION_HELM:"helm-version",CLI_URL:{DARWIN:"cli-url-darwin",WINDOWS:"cli-url-windows",LINUX:"cli-url-linux"},API_HOST:"api-host",CA_CERTS:"cacerts",HIDE_LOCAL_CLUSTER:"hide-local-cluster",AUTH_TOKEN_MAX_TTL_MINUTES:"auth-token-max-ttl-minutes",KUBECONFIG_GENERATE_TOKEN:"kubeconfig-generate-token",KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES:"kubeconfig-default-token-ttl-minutes",ENGINE_URL:"engine-install-url",ENGINE_ISO_URL:"engine-iso-url",FIRST_LOGIN:"first-login",INGRESS_IP_DOMAIN:"ingress-ip-domain",SERVER_URL:"server-url",RKE_METADATA_CONFIG:"rke-metadata-config",EULA_AGREED:"eula-agreed",AUTH_USER_INFO_MAX_AGE_SECONDS:"auth-user-info-max-age-seconds",AUTH_USER_SESSION_TTL_MINUTES:"auth-user-session-ttl-minutes",AUTH_USER_INFO_RESYNC_CRON:"auth-user-info-resync-cron",AUTH_LOCAL_VALIDATE_DESC:"auth-password-requirements-description",PASSWORD_MIN_LENGTH:"password-min-length",CLUSTER_TEMPLATE_ENFORCEMENT:"cluster-template-enforcement",UI_INDEX:"ui-index",UI_DASHBOARD_INDEX:"ui-dashboard-index",UI_DASHBOARD_HARVESTER_LEGACY_PLUGIN:"ui-dashboard-harvester-legacy-plugin",UI_OFFLINE_PREFERRED:"ui-offline-preferred",SYSTEM_DEFAULT_REGISTRY:"system-default-registry",UI_ISSUES:"ui-issues",PL:"ui-pl",PL_RANCHER_VALUE:"rancher",SUPPORTED:"has-support",BANNERS:"ui-banners",ISSUES:"ui-issues",BRAND:"ui-brand",LOGO_LIGHT:"ui-logo-light",LOGO_DARK:"ui-logo-dark",BANNER_LIGHT:"ui-banner-light",BANNER_DARK:"ui-banner-dark",LOGIN_BACKGROUND_LIGHT:"ui-login-background-light",LOGIN_BACKGROUND_DARK:"ui-login-background-dark",PRIMARY_COLOR:"ui-primary-color",LINK_COLOR:"ui-link-color",COMMUNITY_LINKS:"ui-community-links",FAVICON:"ui-favicon",UI_PERFORMANCE:"ui-performance",UI_CUSTOM_LINKS:"ui-custom-links",UI_SUPPORTED_K8S_VERSIONS:"ui-k8s-supported-versions-range",THEME:"ui-theme",SYSTEM_NAMESPACES:"system-namespaces",CLUSTER_AGENT_DEFAULT_AFFINITY:"cluster-agent-default-affinity",FLEET_AGENT_DEFAULT_AFFINITY:"fleet-agent-default-affinity",ADD_EXTENSION_REPOS_BANNER_DISPLAY:"display-add-extension-repos-banner",AGENT_TLS_MODE:"agent-tls-mode",USER_RETENTION_CRON:"user-retention-cron",USER_RETENTION_DRY_RUN:"user-retention-dry-run",USER_LAST_LOGIN_DEFAULT:"user-last-login-default",DISABLE_INACTIVE_USER_AFTER:"disable-inactive-user-after",DELETE_INACTIVE_USER_AFTER:"delete-inactive-user-after",K3S_UPGRADER_UNINSTALL_CONCURRENCY:"k3s-based-upgrader-uninstall-concurrency"};i.CA_CERTS,i.ENGINE_URL,i.ENGINE_ISO_URL,i.PASSWORD_MIN_LENGTH,i.INGRESS_IP_DOMAIN,i.AUTH_USER_INFO_MAX_AGE_SECONDS,i.AUTH_USER_SESSION_TTL_MINUTES,i.AUTH_TOKEN_MAX_TTL_MINUTES,i.KUBECONFIG_GENERATE_TOKEN,i.KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES,i.AUTH_USER_INFO_RESYNC_CRON,i.SERVER_URL,i.RKE_METADATA_CONFIG,i.SYSTEM_DEFAULT_REGISTRY,i.UI_INDEX,i.UI_DASHBOARD_INDEX,i.UI_OFFLINE_PREFERRED,i.BRAND,i.CLUSTER_TEMPLATE_ENFORCEMENT,i.HIDE_LOCAL_CLUSTER,i.AGENT_TLS_MODE,i.K3S_UPGRADER_UNINSTALL_CONCURRENCY,n.qt.RANCHER_CLUSTER,n.Mc.CLUSTER;r(6978),r(4364);const a={};const s=function(e,t,r={}){const o=!0===r.parseJSON,n=!0===r.asCookie,i=!1!==r.asUserPreference,s=r.options,l=r.inheritFrom;return a[e]={def:t,options:s,parseJSON:o,asCookie:n,asUserPreference:i,inheritFrom:l,mangleRead:r.mangleRead,mangleWrite:r.mangleWrite},e},l=!0,c=!0,u=(s("cluster",""),s("last-namespace","")),d=(s("ns-by-cluster",{},{parseJSON:l}),s("workspace",""),s("open-groups",["cluster","policy","rbac","serviceDiscovery","storage","workload"],{parseJSON:l}),s("fav-type",[],{parseJSON:l}),s("pinned-clusters",[],{parseJSON:l}),s("group-by","namespace"),s("diff","unified",{options:["unified","split"]}),s("theme","auto",{options:["light","auto","dark"],asCookie:c,parseJSON:l,mangleRead:e=>e.replace(/^ui-/,""),mangleWrite:e=>`ui-${e}`}),s("pcs","",{asCookie:c,asUserPreference:!1}),s("locale","en-us",{asCookie:c}),s("keymap","sublime",{options:["sublime","emacs","vim"]})),p=(s("per-page",100,{options:[10,25,50,100],parseJSON:l}),s("logs-wrap",!0,{parseJSON:l}),s("logs-time",!0,{parseJSON:l}),s("logs-range","30 minutes",{parseJSON:l}),s("hide-repos",[],{parseJSON:l}),s("hide-desc",[],{parseJSON:l}),s("hide-sensitive",!0,{options:[!0,!1],parseJSON:l}),s("show-pre-release",!1,{options:[!1,!0],parseJSON:l}),s("chart-mode","featured",{parseJSON:l}),s("date-format","ddd, MMM D YYYY",{options:["ddd, MMM D YYYY","ddd, D MMM YYYY","D/M/YYYY","M/D/YYYY","YYYY-MM-DD"]}),s("time-format","h:mm:ss a",{options:["h:mm:ss a","HH:mm:ss"]}),s("time-zone","local"),s("dev",!1,{parseJSON:l})),h=(s("view-in-api",!1,{parseJSON:l,inheritFrom:p}),s("all-namespaces",!1,{parseJSON:l,inheritFrom:p}),s("theme-shortcut",!1,{parseJSON:l,inheritFrom:p}),s("last-visited","home",{parseJSON:l}),s("seen-whatsnew","",{parseJSON:l}),s("read-whatsnew","",{parseJSON:l}),s("after-login-route","home",{parseJSON:l}),s("home-page-cards",{},{parseJSON:l}),s("plugin-developer",!1,{parseJSON:l,inheritFrom:p}),"rke1"),f="rke2";s("provisioner",f,{options:[h,f]}),s("scale-pool-prompt",null,{parseJSON:l})},8941:function(e,t,r){var o=r(1709);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var n=r(4825).A;n("42db0be2",o,!0,{sourceMap:!1,shadowMode:!1})},9038:function(e,t,r){"use strict";r.d(t,{A:function(){return S}});var o=r(9274);const n={key:0,class:"radio-group label"},i={key:2,class:"icon icon-info icon-lg"},a={key:3,class:"icon icon-info icon-lg"};function s(e,t,r,s,l,c){const u=(0,o.resolveComponent)("t"),d=(0,o.resolveComponent)("RadioButton"),p=(0,o.resolveDirective)("clean-tooltip");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[e.label||e.labelKey||e.tooltip||e.tooltipKey||e.$slots.label?((0,o.openBlock)(),(0,o.createElementBlock)("div",n,[(0,o.renderSlot)(e.$slots,"label",{},(()=>[(0,o.createElementVNode)("h3",null,[e.labelKey?((0,o.openBlock)(),(0,o.createBlock)(u,{key:0,k:e.labelKey},null,8,["k"])):e.label?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)],64)):(0,o.createCommentVNode)("",!0),e.tooltipKey?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("i",i,null,512)),[[p,e.t(e.tooltipKey)]]):e.tooltip?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("i",a,null,512)),[[p,e.tooltip]]):(0,o.createCommentVNode)("",!0)])]))])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["radio-group",{row:e.row}]),tabindex:"0",onKeyup:[t[1]||(t[1]=(0,o.withKeys)((0,o.withModifiers)((t=>e.clickNext(1)),["stop"]),["down"])),t[2]||(t[2]=(0,o.withKeys)((0,o.withModifiers)((t=>e.clickNext(-1)),["stop"]),["up"]))]},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.normalizedOptions,((r,n)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:n},[(0,o.renderSlot)(e.$slots,n,{vBind:e.$attrs,option:r,isDisabled:e.isDisabled},(()=>[(0,o.createVNode)(d,{name:e.name,value:e.value,label:r.label,description:r.description,val:r.value,disabled:e.isDisabled,mode:e.mode,"onUpdate:value":t[0]||(t[0]=t=>e.$emit("update:value",t))},null,8,["name","value","label","description","val","disabled","mode"])]))])))),128))],34)])}var l=r(4220);const c=["id","disabled","name","value","checked"],u=["tabindex","aria-label","aria-checked"],d={class:"labeling"},p=["for"],h={key:1},f={key:0,class:"radio-button-outer-container-description"},m={key:1,class:"radio-button-outer-container-description"};function y(e,t,r,n,i,a){const s=(0,o.resolveComponent)("t"),l=(0,o.resolveDirective)("clean-html");return(0,o.openBlock)(),(0,o.createElementBlock)("label",{class:(0,o.normalizeClass)({disabled:e.isDisabled,"radio-container":!0}),onKeydown:[t[1]||(t[1]=(0,o.withKeys)((t=>e.clicked(t)),["enter"])),t[2]||(t[2]=(0,o.withKeys)((t=>e.clicked(t)),["space"]))],onClick:t[3]||(t[3]=(0,o.withModifiers)((t=>e.clicked(t)),["stop"]))},[(0,o.createElementVNode)("input",{id:e.randomString,disabled:e.isDisabled,name:e.name,value:""+e.val,checked:e.isChecked,type:"radio",tabindex:-1,onClick:t[0]||(t[0]=(0,o.withModifiers)((()=>{}),["stop","prevent"]))},null,8,c),(0,o.createElementVNode)("span",{ref:"custom",class:(0,o.normalizeClass)([e.isDisabled?"text-muted":"","radio-custom"]),tabindex:e.isDisabled?-1:0,"aria-label":e.label,"aria-checked":e.isChecked,role:"radio"},null,10,u),(0,o.createElementVNode)("div",d,[(0,o.createElementVNode)("label",{class:(0,o.normalizeClass)([e.muteLabel?"text-muted":"","radio-label","m-0"]),for:e.name},[e.hasLabelSlot?(0,o.renderSlot)(e.$slots,"label",{key:0}):e.label?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("span",h,null,512)),[[l,e.label]]):(0,o.createCommentVNode)("",!0)],10,p),e.descriptionKey||e.description?((0,o.openBlock)(),(0,o.createElementBlock)("div",f,[e.descriptionKey?((0,o.openBlock)(),(0,o.createBlock)(s,{key:0,k:e.descriptionKey},null,8,["k"])):e.description?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createTextVNode)((0,o.toDisplayString)(e.description),1)],64)):(0,o.createCommentVNode)("",!0)])):e.hasDescriptionSlot?((0,o.openBlock)(),(0,o.createElementBlock)("div",m,[(0,o.renderSlot)(e.$slots,"description")])):(0,o.createCommentVNode)("",!0)])],34)}var g=r(2043),v=(0,o.defineComponent)({props:{name:{type:String,default:""},val:{required:!0,validator:()=>!0},value:{required:!0,validator:()=>!0},label:{type:String,default:""},disabled:{type:Boolean,default:!1},mode:{type:String,default:"edit"},descriptionKey:{type:String,default:null},description:{type:String,default:null}},emits:["update:value"],data(){return{isChecked:this.value===this.val,randomString:`${(0,g.vx)()}-radio`}},computed:{isDisabled(){return this.mode===l.nW||this.disabled},muteLabel(){return this.disabled&&!(this.mode===l.nW&&this.isChecked)},hasDescriptionSlot(){return!!this.$slots.description},hasLabelSlot(){return!!this.$slots.label}},watch:{value(e){this.isChecked=this.val===e,this.isChecked&&this.$refs.custom.focus()}},methods:{clicked(e){const t=e.target;this.isDisabled||t instanceof HTMLElement&&"A"===t.tagName||this.$emit("update:value",this.val)}}}),b=(r(7785),r(7433));const E=(0,b.A)(v,[["render",y]]);var k=E,w=(0,o.defineComponent)({components:{RadioButton:k},props:{name:{type:String,required:!0},options:{type:Array,required:!0},labels:{type:Array,default:null},value:{type:[Boolean,String,Object],default:null},disabled:{type:Boolean,default:!1},mode:{type:String,default:"edit"},label:{type:String,default:null},labelKey:{type:String,default:null},tooltip:{type:[String,Object],default:null},tooltipKey:{type:String,default:null},row:{type:Boolean,default:!1}},emits:["update:value"],computed:{normalizedOptions(){const e=[];for(let t=0;t<this.options.length;t++){const r=this.options[t];"object"===typeof r&&r?e.push(r):this.labels?e.push({label:this.labels[t],value:r}):e.push({label:r,value:r})}return e},isView(){return this.mode===l.nW},isDisabled(){return this.disabled||this.isView}},methods:{clickNext(e){const t=this.normalizedOptions,r=t.find((e=>e.value===this.value));let o=(r?t.indexOf(r):-1)+e;o>=t.length?o=t.length-1:o<0&&(o=0),this.$emit("update:value",t[o].value)}}});r(7906);const N=(0,b.A)(w,[["render",s]]);var S=N},9318:function(e,t){
  2. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  3. t.read=function(e,t,r,o,n){var i,a,s=8*n-o-1,l=(1<<s)-1,c=l>>1,u=-7,d=r?n-1:0,p=r?-1:1,h=e[t+d];for(d+=p,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=p,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=o;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,o),i-=c}return(h?-1:1)*a*Math.pow(2,i-o)},t.write=function(e,t,r,o,n,i){var a,s,l,c=8*i-n-1,u=(1<<c)-1,d=u>>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,h=o?0:i-1,f=o?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?p/l:p*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,n),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,n),a=0));n>=8;e[r+h]=255&s,h+=f,s/=256,n-=8);for(a=a<<n|s,c+=n;c>0;e[r+h]=255&a,h+=f,a/=256,c-=8);e[r+h-f]|=128*m}},9822:function(e,t,r){"use strict";r.d(t,{A:function(){return u}});var o=r(9274);const n={key:0,class:"loading-indicator"},i={key:1};function a(e,t,r,a,s,l){const c=(0,o.resolveComponent)("t");return r.loading?((0,o.openBlock)(),(0,o.createElementBlock)("div",n,[s.showMessage?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)(["overlay",{"overlay-content-mode":"content"===r.mode,"overlay-main-mode":"main"===r.mode}])},[(0,o.createVNode)(c,{k:"generic.loading",raw:!0})],2)):(0,o.createCommentVNode)("",!0)])):((0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)]))}var s={props:{loading:{type:Boolean,default:!0},mode:{type:String,default:"content"},noDelay:{type:Boolean,default:!1}},data(){return{timer:null,showMessage:this.noDelay}},mounted(){this.timer=setTimeout((()=>{this.showMessage=!0}),250)},beforeUnmount(){clearTimeout(this.timer)}},l=(r(6844),r(7433));const c=(0,l.A)(s,[["render",a],["__scopeId","data-v-1d9696d1"]]);var u=c},9980:function(e,t,r){"use strict";r.d(t,{l:function(){return o.A}});var o=r(2339)}}]);
  4. //# sourceMappingURL=nutanix-1.0.2.umd.min.435.js.map