UNPKG

@appscode/ui-builder

Version:
12 lines 345 kB
var UiBuilder=function(e,t){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var r=function(e){return e&&e.Math==Math&&e},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||Function("return this")(),a=function(e){try{return!!e()}catch(e){return!0}},s=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,c={f:u&&!l.call({1:2},1)?function(e){var t=u(this,e);return!!t&&t.enumerable}:l},d=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},f={}.toString,p=function(e){return f.call(e).slice(8,-1)},h="".split,v=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==p(e)?h.call(e,""):Object(e)}:Object,m=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},y=function(e){return v(m(e))},b=function(e){return"object"==typeof e?null!==e:"function"==typeof e},g=function(e,t){if(!b(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!b(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!b(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!b(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,x=function(e,t){return w.call(e,t)},_=o.document,M=b(_)&&b(_.createElement),O=function(e){return M?_.createElement(e):{}},S=!s&&!a((function(){return 7!=Object.defineProperty(O("div"),"a",{get:function(){return 7}}).a})),D=Object.getOwnPropertyDescriptor,j={f:s?D:function(e,t){if(e=y(e),t=g(t,!0),S)try{return D(e,t)}catch(e){}if(x(e,t))return d(!c.f.call(e,t),e[t])}},I=function(e){if(!b(e))throw TypeError(String(e)+" is not an object");return e},N=Object.defineProperty,k={f:s?N:function(e,t,n){if(I(e),t=g(t,!0),I(n),S)try{return N(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},T=s?function(e,t,n){return k.f(e,t,d(1,n))}:function(e,t,n){return e[t]=n,e},E=function(e,t){try{T(o,e,t)}catch(n){o[e]=t}return t},A=o["__core-js_shared__"]||E("__core-js_shared__",{}),C=Function.toString;"function"!=typeof A.inspectSource&&(A.inspectSource=function(e){return C.call(e)});var L,V,z,P=A.inspectSource,$=o.WeakMap,F="function"==typeof $&&/native code/.test(P($)),R=i((function(e){(e.exports=function(e,t){return A[e]||(A[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),U=0,B=Math.random(),Y=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++U+B).toString(36)},Q=R("keys"),q=function(e){return Q[e]||(Q[e]=Y(e))},H={},G=o.WeakMap;if(F){var W=new G,J=W.get,K=W.has,Z=W.set;L=function(e,t){return Z.call(W,e,t),t},V=function(e){return J.call(W,e)||{}},z=function(e){return K.call(W,e)}}else{var X=q("state");H[X]=!0,L=function(e,t){return T(e,X,t),t},V=function(e){return x(e,X)?e[X]:{}},z=function(e){return x(e,X)}}var ee={set:L,get:V,has:z,enforce:function(e){return z(e)?V(e):L(e,{})},getterFor:function(e){return function(t){var n;if(!b(t)||(n=V(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},te=i((function(e){var t=ee.get,n=ee.enforce,i=String(String).split("String");(e.exports=function(e,t,r,a){var s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,u=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof t||x(r,"name")||T(r,"name",t),n(r).source=i.join("string"==typeof t?t:"")),e!==o?(s?!u&&e[t]&&(l=!0):delete e[t],l?e[t]=r:T(e,t,r)):l?e[t]=r:E(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||P(this)}))})),ne=o,ie=function(e){return"function"==typeof e?e:void 0},re=function(e,t){return arguments.length<2?ie(ne[e])||ie(o[e]):ne[e]&&ne[e][t]||o[e]&&o[e][t]},oe=Math.ceil,ae=Math.floor,se=function(e){return isNaN(e=+e)?0:(e>0?ae:oe)(e)},le=Math.min,ue=function(e){return e>0?le(se(e),9007199254740991):0},ce=Math.max,de=Math.min,fe=function(e,t){var n=se(e);return n<0?ce(n+t,0):de(n,t)},pe=function(e){return function(t,n,i){var r,o=y(t),a=ue(o.length),s=fe(i,a);if(e&&n!=n){for(;a>s;)if((r=o[s++])!=r)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},he={includes:pe(!0),indexOf:pe(!1)},ve=he.indexOf,me=function(e,t){var n,i=y(e),r=0,o=[];for(n in i)!x(H,n)&&x(i,n)&&o.push(n);for(;t.length>r;)x(i,n=t[r++])&&(~ve(o,n)||o.push(n));return o},ye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],be=ye.concat("length","prototype"),ge={f:Object.getOwnPropertyNames||function(e){return me(e,be)}},we={f:Object.getOwnPropertySymbols},xe=re("Reflect","ownKeys")||function(e){var t=ge.f(I(e)),n=we.f;return n?t.concat(n(e)):t},_e=function(e,t){for(var n=xe(t),i=k.f,r=j.f,o=0;o<n.length;o++){var a=n[o];x(e,a)||i(e,a,r(t,a))}},Me=/#|\.prototype\./,Oe=function(e,t){var n=De[Se(e)];return n==Ie||n!=je&&("function"==typeof t?a(t):!!t)},Se=Oe.normalize=function(e){return String(e).replace(Me,".").toLowerCase()},De=Oe.data={},je=Oe.NATIVE="N",Ie=Oe.POLYFILL="P",Ne=Oe,ke=j.f,Te=function(e,t){var n,i,r,a,s,l=e.target,u=e.global,c=e.stat;if(n=u?o:c?o[l]||E(l,{}):(o[l]||{}).prototype)for(i in t){if(a=t[i],r=e.noTargetGet?(s=ke(n,i))&&s.value:n[i],!Ne(u?i:l+(c?".":"#")+i,e.forced)&&void 0!==r){if(typeof a==typeof r)continue;_e(a,r)}(e.sham||r&&r.sham)&&T(a,"sham",!0),te(n,i,a,e)}},Ee=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Ae=function(e,t,n){if(Ee(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},Ce=function(e){return Object(m(e))},Le=Array.isArray||function(e){return"Array"==p(e)},Ve=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())})),ze=Ve&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Pe=R("wks"),$e=o.Symbol,Fe=ze?$e:$e&&$e.withoutSetter||Y,Re=function(e){return x(Pe,e)||(Ve&&x($e,e)?Pe[e]=$e[e]:Pe[e]=Fe("Symbol."+e)),Pe[e]},Ue=Re("species"),Be=function(e,t){var n;return Le(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Le(n.prototype)?b(n)&&null===(n=n[Ue])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Ye=[].push,Qe=function(e){var t=1==e,n=2==e,i=3==e,r=4==e,o=6==e,a=5==e||o;return function(s,l,u,c){for(var d,f,p=Ce(s),h=v(p),m=Ae(l,u,3),y=ue(h.length),b=0,g=c||Be,w=t?g(s,y):n?g(s,0):void 0;y>b;b++)if((a||b in h)&&(f=m(d=h[b],b,p),e))if(t)w[b]=f;else if(f)switch(e){case 3:return!0;case 5:return d;case 6:return b;case 2:Ye.call(w,d)}else if(r)return!1;return o?-1:i||r?r:w}},qe={forEach:Qe(0),map:Qe(1),filter:Qe(2),some:Qe(3),every:Qe(4),find:Qe(5),findIndex:Qe(6)},He=function(e,t){var n=[][e];return!!n&&a((function(){n.call(null,t||function(){throw 1},1)}))},Ge=Object.defineProperty,We={},Je=function(e){throw e},Ke=function(e,t){if(x(We,e))return We[e];t||(t={});var n=[][e],i=!!x(t,"ACCESSORS")&&t.ACCESSORS,r=x(t,0)?t[0]:Je,o=x(t,1)?t[1]:void 0;return We[e]=!!n&&!a((function(){if(i&&!s)return!0;var e={length:-1};i?Ge(e,1,{enumerable:!0,get:Je}):e[1]=1,n.call(e,r,o)}))},Ze=qe.forEach,Xe=He("forEach"),et=Ke("forEach"),tt=Xe&&et?[].forEach:function(e){return Ze(this,e,arguments.length>1?arguments[1]:void 0)};Te({target:"Array",proto:!0,forced:[].forEach!=tt},{forEach:tt});var nt=Object.keys||function(e){return me(e,ye)},it=a((function(){nt(1)}));Te({target:"Object",stat:!0,forced:it},{keys:function(e){return nt(Ce(e))}});var rt={};rt[Re("toStringTag")]="z";var ot="[object z]"===String(rt),at=Re("toStringTag"),st="Arguments"==p(function(){return arguments}()),lt=ot?p:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),at))?n:st?p(t):"Object"==(i=p(t))&&"function"==typeof t.callee?"Arguments":i},ut=ot?{}.toString:function(){return"[object "+lt(this)+"]"};ot||te(Object.prototype,"toString",ut,{unsafe:!0});var ct={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var dt in ct){var ft=o[dt],pt=ft&&ft.prototype;if(pt&&pt.forEach!==tt)try{T(pt,"forEach",tt)}catch(e){pt.forEach=tt}}function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){ht(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e} /*! * vuex v3.5.1 * (c) 2020 Evan You * @license MIT */var yt=("undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function bt(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function gt(e){return null!==e&&"object"==typeof e}var wt=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},xt={namespaced:{configurable:!0}};xt.namespaced.get=function(){return!!this._rawModule.namespaced},wt.prototype.addChild=function(e,t){this._children[e]=t},wt.prototype.removeChild=function(e){delete this._children[e]},wt.prototype.getChild=function(e){return this._children[e]},wt.prototype.hasChild=function(e){return e in this._children},wt.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},wt.prototype.forEachChild=function(e){bt(this._children,e)},wt.prototype.forEachGetter=function(e){this._rawModule.getters&&bt(this._rawModule.getters,e)},wt.prototype.forEachAction=function(e){this._rawModule.actions&&bt(this._rawModule.actions,e)},wt.prototype.forEachMutation=function(e){this._rawModule.mutations&&bt(this._rawModule.mutations,e)},Object.defineProperties(wt.prototype,xt);var _t,Mt=function(e){this.register([],e,!1)};Mt.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},Mt.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},Mt.prototype.update=function(e){!function e(t,n,i){if(n.update(i),i.modules)for(var r in i.modules){if(!n.getChild(r))return;e(t.concat(r),n.getChild(r),i.modules[r])}}([],this.root,e)},Mt.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var r=new wt(t,n);0===e.length?this.root=r:this.get(e.slice(0,-1)).addChild(e[e.length-1],r);t.modules&&bt(t.modules,(function(t,r){i.register(e.concat(r),t,n)}))},Mt.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i&&i.runtime&&t.removeChild(n)},Mt.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t.hasChild(n)};var Ot=function(e){var t=this;void 0===e&&(e={}),!_t&&"undefined"!=typeof window&&window.Vue&&function(e){if(_t&&e===_t)return;!function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(_t=e)}(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Mt(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new _t,this._makeLocalGettersCache=Object.create(null);var r=this,o=this.dispatch,a=this.commit;this.dispatch=function(e,t){return o.call(r,e,t)},this.commit=function(e,t,n){return a.call(r,e,t,n)},this.strict=i;var s=this._modules.root.state;Nt(this,s,[],this._modules.root),It(this,s),n.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:_t.config.devtools)&&function(e){yt&&(e._devtoolHook=yt,yt.emit("vuex:init",e),yt.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){yt.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){yt.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},St={state:{configurable:!0}};function Dt(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function jt(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Nt(e,n,[],e._modules.root,!0),It(e,n,t)}function It(e,t,n){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,o={};bt(r,(function(t,n){o[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=_t.config.silent;_t.config.silent=!0,e._vm=new _t({data:{$$state:t},computed:o}),_t.config.silent=a,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(e),i&&(n&&e._withCommit((function(){i._data.$$state=null})),_t.nextTick((function(){return i.$destroy()})))}function Nt(e,t,n,i,r){var o=!n.length,a=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=i),!o&&!r){var s=kt(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){_t.set(s,l,i.state)}))}var u=i.context=function(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){var o=Tt(n,i,r),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:i?e.commit:function(n,i,r){var o=Tt(n,i,r),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},i=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,i)===t){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return kt(e.state,n)}}}),r}(e,a,n);i.forEachMutation((function(t,n){!function(e,t,n,i){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,i.state,t)}))}(e,a+n,t,u)})),i.forEachAction((function(t,n){var i=t.root?n:a+n,r=t.handler||t;!function(e,t,n,i){(e._actions[t]||(e._actions[t]=[])).push((function(t){var r,o=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return(r=o)&&"function"==typeof r.then||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}(e,i,r,u)})),i.forEachGetter((function(t,n){!function(e,t,n,i){if(e._wrappedGetters[t])return;e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)}}(e,a+n,t,u)})),i.forEachChild((function(i,o){Nt(e,t,n.concat(o),i,r)}))}function kt(e,t){return t.reduce((function(e,t){return e[t]}),e)}function Tt(e,t,n){return gt(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}St.state.get=function(){return this._vm._data.$$state},St.state.set=function(e){},Ot.prototype.commit=function(e,t,n){var i=this,r=Tt(e,t,n),o=r.type,a=r.payload,s={type:o,payload:a},l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,i.state)})))},Ot.prototype.dispatch=function(e,t){var n=this,i=Tt(e,t),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(e){}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(e){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(e){}t(e)}))}))}},Ot.prototype.subscribe=function(e,t){return Dt(e,this._subscribers,t)},Ot.prototype.subscribeAction=function(e,t){return Dt("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},Ot.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,n)},Ot.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},Ot.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),Nt(this,this.state,e,this._modules.get(e),n.preserveState),It(this,this.state)},Ot.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=kt(t.state,e.slice(0,-1));_t.delete(n,e[e.length-1])})),jt(this)},Ot.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},Ot.prototype.hotUpdate=function(e){this._modules.update(e),jt(this,!0)},Ot.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(Ot.prototype,St);var Et,At=(Et=function(e,t){var n,i={};return(n=t,function(e){return Array.isArray(e)||gt(e)}(n)?Array.isArray(n)?n.map((function(e){return{key:e,val:e}})):Object.keys(n).map((function(e){return{key:e,val:n[e]}})):[]).forEach((function(t){var n=t.key,r=t.val;r=e+r,i[n]=function(){if(!e||function(e,t,n){return e._modulesNamespaceMap[n]}(this.$store,0,e))return this.$store.getters[r]},i[n].vuex=!0})),i},function(e,t){return"string"!=typeof e?(t=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),Et(e,t)});function Ct(e,t,n,i,r,o,a,s,l,u){"boolean"!=typeof a&&(l=s,s=a,a=!1);const c="function"==typeof n?n.options:n;let d;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,r&&(c.functional=!0)),i&&(c._scopeId=i),o?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=d):t&&(d=a?function(e){t.call(this,u(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(c.functional){const e=c.render;c.render=function(t,n){return d.call(n),e(t,n)}}else{const e=c.beforeCreate;c.beforeCreate=e?[].concat(e,d):[d]}return n}var Lt,Vt,zt=Ct({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return"multi-step-form"===e.ui.type?n("ub-multi-step-form",{attrs:{ui:e.ui,schema:e.schema,"show-options-step":e.showOptionsStep,"on-options-valid":e.onOptionsValid,"on-options-invalid":e.onOptionsInvalid,"on-options-cancel":e.onOptionsCancel,"on-valid":e.onValid,"on-invalid":e.onInvalid,"on-cancel":e.onCancel,"on-deploy":e.onDeploy,"chart-url":e.chartUrl}}):n("ub-standalone-single-step-form",{attrs:{ui:e.ui,schema:e.schema,"show-options-step":e.showOptionsStep,"on-options-valid":e.onOptionsValid,"on-options-invalid":e.onOptionsInvalid,"on-options-cancel":e.onOptionsCancel,"on-valid":e.onValid,"on-invalid":e.onInvalid,"on-cancel":e.onCancel,"on-deploy":e.onDeploy,"chart-url":e.chartUrl}})},staticRenderFns:[]},void 0,{name:"ui-builder",components:{UbMultiStepForm:function(){return Promise.resolve().then((function(){return Ra})).then((function(e){return e.default}))},UbStandaloneSingleStepForm:function(){return Promise.resolve().then((function(){return Ba})).then((function(e){return e.default}))}},props:{showOptionsStep:{type:Boolean,default:!1},onOptionsValid:{type:Function,default:function(){return function(){}}},onOptionsInvalid:{type:Function,default:function(){return function(){}}},onOptionsCancel:{type:Function,default:function(){return function(){}}},onValid:{type:Function,default:function(){return function(){}}},onInvalid:{type:Function,default:function(){return function(){}}},onCancel:{type:Function,default:function(){return function(){}}},onDeploy:{type:Function,default:function(){return function(){}}},chartUrl:{type:String,default:""}},computed:mt({},At({ui:"wizard/ui",schema:"wizard/schema",language:"wizard/language"})),created:function(){this.addLanguagesToGlobalI18n()},destroyed:function(){this.removeLanguagesFromGloabalI18n()},watch:{language:{deep:!0,handler:function(){this.addLanguagesToGlobalI18n()}}},methods:{addLanguagesToGlobalI18n:function(){var e=this;Object.keys(this.language).forEach((function(t){var n=e.$i18n.getLocaleMessage(t),i=e.language[t];e.$i18n.setLocaleMessage(t,mt(mt({},n),{},{$wizard:mt({},i)}))}))},removeLanguagesFromGloabalI18n:function(){var e=this;Object.keys(this.language).forEach((function(t){var n=e.$i18n.getLocaleMessage(t);e.$delete(n,"$wizard")}))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Pt=re("navigator","userAgent")||"",$t=o.process,Ft=$t&&$t.versions,Rt=Ft&&Ft.v8;Rt?Vt=(Lt=Rt.split("."))[0]+Lt[1]:Pt&&(!(Lt=Pt.match(/Edge\/(\d+)/))||Lt[1]>=74)&&(Lt=Pt.match(/Chrome\/(\d+)/))&&(Vt=Lt[1]);var Ut=Vt&&+Vt,Bt=Re("species"),Yt=function(e){return Ut>=51||!a((function(){var t=[];return(t.constructor={})[Bt]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Qt=qe.filter,qt=Yt("filter"),Ht=Ke("filter");Te({target:"Array",proto:!0,forced:!qt||!Ht},{filter:function(e){return Qt(this,e,arguments.length>1?arguments[1]:void 0)}});var Gt,Wt=s?Object.defineProperties:function(e,t){I(e);for(var n,i=nt(t),r=i.length,o=0;r>o;)k.f(e,n=i[o++],t[n]);return e},Jt=re("document","documentElement"),Kt=q("IE_PROTO"),Zt=function(){},Xt=function(e){return"<script>"+e+"<\/script>"},en=function(){try{Gt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;en=Gt?function(e){e.write(Xt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Gt):((t=O("iframe")).style.display="none",Jt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Xt("document.F=Object")),e.close(),e.F);for(var n=ye.length;n--;)delete en.prototype[ye[n]];return en()};H[Kt]=!0;var tn=Object.create||function(e,t){var n;return null!==e?(Zt.prototype=I(e),n=new Zt,Zt.prototype=null,n[Kt]=e):n=en(),void 0===t?n:Wt(n,t)},nn=Re("unscopables"),rn=Array.prototype;null==rn[nn]&&k.f(rn,nn,{configurable:!0,value:tn(null)});var on=function(e){rn[nn][e]=!0},an=qe.find,sn=!0,ln=Ke("find");"find"in[]&&Array(1).find((function(){sn=!1})),Te({target:"Array",proto:!0,forced:sn||!ln},{find:function(e){return an(this,e,arguments.length>1?arguments[1]:void 0)}}),on("find");var un=[].join,cn=v!=Object,dn=He("join",",");Te({target:"Array",proto:!0,forced:cn||!dn},{join:function(e){return un.call(y(this),void 0===e?",":e)}});var fn=function(){var e=I(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function pn(e,t){return RegExp(e,t)}var hn,vn,mn={UNSUPPORTED_Y:a((function(){var e=pn("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:a((function(){var e=pn("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},yn=RegExp.prototype.exec,bn=String.prototype.replace,gn=yn,wn=(hn=/a/,vn=/b*/g,yn.call(hn,"a"),yn.call(vn,"a"),0!==hn.lastIndex||0!==vn.lastIndex),xn=mn.UNSUPPORTED_Y||mn.BROKEN_CARET,_n=void 0!==/()??/.exec("")[1];(wn||_n||xn)&&(gn=function(e){var t,n,i,r,o=this,a=xn&&o.sticky,s=fn.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),_n&&(n=new RegExp("^"+l+"$(?!\\s)",s)),wn&&(t=o.lastIndex),i=yn.call(a?n:o,c),a?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:wn&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),_n&&i&&i.length>1&&bn.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var Mn=gn;Te({target:"RegExp",proto:!0,forced:/./.exec!==Mn},{exec:Mn});var On=Re("species"),Sn=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Dn="$0"==="a".replace(/./,"$0"),jn=Re("replace"),In=!!/./[jn]&&""===/./[jn]("a","$0"),Nn=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),kn=function(e,t,n,i){var r=Re(e),o=!a((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),s=o&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[On]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!s||"replace"===e&&(!Sn||!Dn||In)||"split"===e&&!Nn){var l=/./[r],u=n(r,""[e],(function(e,t,n,i,r){return t.exec===Mn?o&&!r?{done:!0,value:l.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:Dn,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:In}),c=u[0],d=u[1];te(String.prototype,e,c),te(RegExp.prototype,r,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)})}i&&T(RegExp.prototype[r],"sham",!0)},Tn=Re("match"),En=function(e){var t;return b(e)&&(void 0!==(t=e[Tn])?!!t:"RegExp"==p(e))},An=Re("species"),Cn=function(e){return function(t,n){var i,r,o=String(m(t)),a=se(n),s=o.length;return a<0||a>=s?e?"":void 0:(i=o.charCodeAt(a))<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?e?o.charAt(a):i:e?o.slice(a,a+2):r-56320+(i-55296<<10)+65536}},Ln={codeAt:Cn(!1),charAt:Cn(!0)},Vn=Ln.charAt,zn=function(e,t,n){return t+(n?Vn(e,t).length:1)},Pn=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==p(e))throw TypeError("RegExp#exec called on incompatible receiver");return Mn.call(e,t)},$n=[].push,Fn=Math.min,Rn=!a((function(){return!RegExp(4294967295,"y")}));kn("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(m(this)),r=void 0===n?4294967295:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!En(e))return t.call(i,e,r);for(var o,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,d=new RegExp(e.source,u+"g");(o=Mn.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&$n.apply(l,o.slice(1)),s=o[0].length,c=a,l.length>=r));)d.lastIndex===o.index&&d.lastIndex++;return c===i.length?!s&&d.test("")||l.push(""):l.push(i.slice(c)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=m(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var a=I(e),s=String(this),l=function(e,t){var n,i=I(e).constructor;return void 0===i||null==(n=I(i)[An])?t:Ee(n)}(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Rn?"y":"g"),d=new l(Rn?a:"^(?:"+a.source+")",c),f=void 0===r?4294967295:r>>>0;if(0===f)return[];if(0===s.length)return null===Pn(d,s)?[s]:[];for(var p=0,h=0,v=[];h<s.length;){d.lastIndex=Rn?h:0;var m,y=Pn(d,Rn?s:s.slice(h));if(null===y||(m=Fn(ue(d.lastIndex+(Rn?0:h)),s.length))===p)h=zn(s,h,u);else{if(v.push(s.slice(p,h)),v.length===f)return v;for(var b=1;b<=y.length-1;b++)if(v.push(y[b]),v.length===f)return v;h=p=m}}return v.push(s.slice(p)),v}]}),!Rn);var Un,Bn=function(e){if(En(e))throw TypeError("The method doesn't accept regular expressions");return e},Yn=Re("match"),Qn=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Yn]=!1,"/./"[e](t)}catch(e){}}return!1},qn=j.f,Hn="".startsWith,Gn=Math.min,Wn=Qn("startsWith"),Jn=!(Wn||(Un=qn(String.prototype,"startsWith"),!Un||Un.writable));function Kn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Zn(e,t){if(e){if("string"==typeof e)return Kn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Kn(e,t):void 0}}function Xn(e){return function(e){if(Array.isArray(e))return Kn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Zn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Te({target:"String",proto:!0,forced:!Jn&&!Wn},{startsWith:function(e){var t=String(m(this));Bn(e);var n=ue(Gn(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return Hn?Hn.call(t,i,n):t.slice(n,n+i.length)===i}});var ei=function(e,t,n){var i=g(t);i in e?k.f(e,i,d(0,n)):e[i]=n},ti=Yt("slice"),ni=Ke("slice",{ACCESSORS:!0,0:0,1:2}),ii=Re("species"),ri=[].slice,oi=Math.max;Te({target:"Array",proto:!0,forced:!ti||!ni},{slice:function(e,t){var n,i,r,o=y(this),a=ue(o.length),s=fe(e,a),l=fe(void 0===t?a:t,a);if(Le(o)&&("function"!=typeof(n=o.constructor)||n!==Array&&!Le(n.prototype)?b(n)&&null===(n=n[ii])&&(n=void 0):n=void 0,n===Array||void 0===n))return ri.call(o,s,l);for(i=new(void 0===n?Array:n)(oi(l-s,0)),r=0;s<l;s++,r++)s in o&&ei(i,r,o[s]);return i.length=r,i}});var ai=Math.max,si=Math.min,li=Math.floor,ui=/\$([$&'`]|\d\d?|<[^>]*>)/g,ci=/\$([$&'`]|\d\d?)/g;kn("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=i.REPLACE_KEEPS_$0,a=r?"$":"$0";return[function(n,i){var r=m(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&o||"string"==typeof i&&-1===i.indexOf(a)){var l=n(t,e,this,i);if(l.done)return l.value}var u=I(e),c=String(this),d="function"==typeof i;d||(i=String(i));var f=u.global;if(f){var p=u.unicode;u.lastIndex=0}for(var h=[];;){var v=Pn(u,c);if(null===v)break;if(h.push(v),!f)break;""===String(v[0])&&(u.lastIndex=zn(c,ue(u.lastIndex),p))}for(var m,y="",b=0,g=0;g<h.length;g++){v=h[g];for(var w=String(v[0]),x=ai(si(se(v.index),c.length),0),_=[],M=1;M<v.length;M++)_.push(void 0===(m=v[M])?m:String(m));var O=v.groups;if(d){var S=[w].concat(_,x,c);void 0!==O&&S.push(O);var D=String(i.apply(void 0,S))}else D=s(w,c,x,_,O,i);x>=b&&(y+=c.slice(b,x)+D,b=x+w.length)}return y+c.slice(b)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=ci;return void 0!==o&&(o=Ce(o),u=ui),t.call(a,u,(function(t,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var d=li(c/10);return 0===d?t:d<=l?void 0===r[d-1]?a.charAt(1):r[d-1]+a.charAt(1):t}u=r[c-1]}return void 0===u?"":u}))}}));var di="\t\n\v\f\r                 \u2028\u2029\ufeff",fi="["+di+"]",pi=RegExp("^"+fi+fi+"*"),hi=RegExp(fi+fi+"*$"),vi=function(e){return function(t){var n=String(m(t));return 1&e&&(n=n.replace(pi,"")),2&e&&(n=n.replace(hi,"")),n}},mi={start:vi(1),end:vi(2),trim:vi(3)},yi=mi.trim;function bi(e){return(bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gi(e,t){var n=xi(e,t);return n&&n.$ref?Object.assign({},n,gi(e,n.$ref)):n}function wi(e,n,i,r){!function e(n,i,o){var a=i.split("/"),s=a[0],l=a.slice(1).join("/");if(""===l)t.set(n,s,o);else{if(void 0===n[s]){if(!r)return;t.set(n,s,{})}e(n[s],l,o)}}(e,n.trim().replace(/^#?\/|\/$/g,""),i)}function xi(e,t){return function e(t,n){if(t&&"object"===bi(t)){if(""===n)return t;var i=n.split("/"),r=i[0],o=i.slice(1).join("/");if(""===o)return t[r];if(void 0===t[r])return;return e(t[r],o)}}(e,t.trim().replace(/^#?\/|\/$/g,""))}Te({target:"String",proto:!0,forced:function(e){return a((function(){return!!di[e]()||"​…᠎"!="​…᠎"[e]()||di[e].name!==e}))}("trim")},{trim:function(){return yi(this)}}); /*! * https://github.com/Starcounter-Jack/JSON-Patch * (c) 2017 Joachim Wester * MIT license */ var _i,Mi=(_i=function(e,t){return(_i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}_i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oi=Object.prototype.hasOwnProperty;function Si(e,t){return Oi.call(e,t)}function Di(e){if(Array.isArray(e)){for(var t=new Array(e.length),n=0;n<t.length;n++)t[n]=""+n;return t}if(Object.keys)return Object.keys(e);t=[];for(var i in e)Si(e,i)&&t.push(i);return t}function ji(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function Ii(e){for(var t,n=0,i=e.length;n<i;){if(!((t=e.charCodeAt(n))>=48&&t<=57))return!1;n++}return!0}function Ni(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function ki(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Ti(e,t){var n=[e];for(var i in t){var r="object"==typeof t[i]?JSON.stringify(t[i],null,2):t[i];void 0!==r&&n.push(i+": "+r)}return n.join("\n")}var Ei=function(e){function t(t,n,i,r,o){var a=this.constructor,s=e.call(this,Ti(t,{name:n,index:i,operation:r,tree:o}))||this;return s.name=n,s.index=i,s.operation=r,s.tree=o,Object.setPrototypeOf(s,a.prototype),s.message=Ti(t,{name:n,index:i,operation:r,tree:o}),s}return Mi(t,e),t}(Error),Ai=Ei,Ci=ji,Li={add:function(e,t,n){return e[t]=this.value,{newDocument:n}},remove:function(e,t,n){var i=e[t];return delete e[t],{newDocument:n,removed:i}},replace:function(e,t,n){var i=e[t];return e[t]=this.value,{newDocument:n,removed:i}},move:function(e,t,n){var i=zi(n,this.path);i&&(i=ji(i));var r=Pi(n,{op:"remove",path:this.from}).removed;return Pi(n,{op:"add",path:this.path,value:r}),{newDocument:n,removed:i}},copy:function(e,t,n){var i=zi(n,this.from);return Pi(n,{op:"add",path:this.path,value:ji(i)}),{newDocument:n}},test:function(e,t,n){return{newDocument:n,test:Ui(e[t],this.value)}},_get:function(e,t,n){return this.value=e[t],{newDocument:n}}},Vi={add:function(e,t,n){return Ii(t)?e.splice(t,0,this.value):e[t]=this.value,{newDocument:n,index:t}},remove:function(e,t,n){return{newDocument:n,removed:e.splice(t,1)[0]}},replace:function(e,t,n){var i=e[t];return e[t]=this.value,{newDocument:n,removed:i}},move:Li.move,copy:Li.copy,test:Li.test,_get:Li._get};function zi(e,t){if(""==t)return e;var n={op:"_get",path:t};return Pi(e,n),n.value}function Pi(e,t,n,i,r,o){if(void 0===n&&(n=!1),void 0===i&&(i=!0),void 0===r&&(r=!0),void 0===o&&(o=0),n&&("function"==typeof n?n(t,0,e,t.path):Fi(t,0)),""===t.path){var a={newDocument:e};if("add"===t.op)return a.newDocument=t.value,a;if("replace"===t.op)return a.newDocument=t.value,a.removed=e,a;if("move"===t.op||"copy"===t.op)return a.newDocument=zi(e,t.from),"move"===t.op&&(a.removed=e),a;if("test"===t.op){if(a.test=Ui(e,t.value),!1===a.test)throw new Ai("Test operation failed","TEST_OPERATION_FAILED",o,t,e);return a.newDocument=e,a}if("remove"===t.op)return a.removed=e,a.newDocument=null,a;if("_get"===t.op)return t.value=e,a;if(n)throw new Ai("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,t,e);return a}i||(e=ji(e));var s=(t.path||"").split("/"),l=e,u=1,c=s.length,d=void 0,f=void 0,p=void 0;for(p="function"==typeof n?n:Fi;;){if(f=s[u],r&&"__proto__"==f)throw new TypeError("JSON-Patch: modifying `__proto__` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(n&&void 0===d&&(void 0===l[f]?d=s.slice(0,u).join("/"):u==c-1&&(d=t.path),void 0!==d&&p(t,0,e,d)),u++,Array.isArray(l)){if("-"===f)f=l.length;else{if(n&&!Ii(f))throw new Ai("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",o,t,e);Ii(f)&&(f=~~f)}if(u>=c){if(n&&"add"===t.op&&f>l.length)throw new Ai("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",o,t,e);if(!1===(a=Vi[t.op].call(t,l,f,e)).test)throw new Ai("Test operation failed","TEST_OPERATION_FAILED",o,t,e);return a}}else if(f&&-1!=f.indexOf("~")&&(f=ki(f)),u>=c){if(!1===(a=Li[t.op].call(t,l,f,e)).test)throw new Ai("Test operation failed","TEST_OPERATION_FAILED",o,t,e);return a}l=l[f]}}function $i(e,t,n,i,r){if(void 0===i&&(i=!0),void 0===r&&(r=!0),n&&!Array.isArray(t))throw new Ai("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");i||(e=ji(e));for(var o=new Array(t.length),a=0,s=t.length;a<s;a++)o[a]=Pi(e,t[a],n,!0,r,a),e=o[a].newDocument;return o.newDocument=e,o}function Fi(e,t,n,i){if("object"!=typeof e||null===e||Array.isArray(e))throw new Ai("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,n);if(!Li[e.op])throw new Ai("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",t,e,n);if("string"!=typeof e.path)throw new Ai("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,n);if(0!==e.path.indexOf("/")&&e.path.length>0)throw new Ai('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,n);if(("move"===e.op||"copy"===e.op)&&"string"!=typeof e.from)throw new Ai("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,n);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new Ai("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,n);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&function e(t){if(void 0===t)return!0;if(t)if(Array.isArray(t)){for(var n=0,i=t.length;n<i;n++)if(e(t[n]))return!0}else if("object"==typeof t){var r=Di(t),o=r.length;for(n=0;n<o;n++)if(e(t[r[n]]))return!0}return!1}(e.value))throw new Ai("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,n);if(n)if("add"==e.op){var r=e.path.split("/").length,o=i.split("/").length;if(r!==o+1&&r!==o)throw new Ai("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,n)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==i)throw new Ai("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,n)}else if("move"===e.op||"copy"===e.op){var a=Ri([{op:"_get",path:e.from,value:void 0}],n);if(a&&"OPERATION_PATH_UNRESOLVABLE"===a.name)throw new Ai("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,n)}}function Ri(e,t,n){try{if(!Array.isArray(e))throw new Ai("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)$i(ji(t),ji(e),n||!0);else{n=n||Fi;for(var i=0;i<e.length;i++)n(e[i],i,t,void 0)}}catch(e){if(e instanceof Ai)return e;throw e}}function Ui(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n,i,r,o=Array.isArray(e),a=Array.isArray(t);if(o&&a){if((i=e.length)!=t.length)return!1;for(n=i;0!=n--;)if(!Ui(e[n],t[n]))return!1;return!0}if(o!=a)return!1;var s=Object.keys(e);if((i=s.length)!==Object.keys(t).length)return!1;for(n=i;0!=n--;)if(!t.hasOwnProperty(s[n]))return!1;for(n=i;0!=n--;)if(!Ui(e[r=s[n]],t[r]))return!1;return!0}return e!=e&&t!=t}var Bi=Object.freeze({__proto__:null,JsonPatchError:Ai,deepClone:Ci,getValueByPointer:zi,applyOperation:Pi,applyPatch:$i,applyReducer:function(e,t,n){var i=Pi(e,t);if(!1===i.test)throw new Ai("Test operation failed","TEST_OPERATION_FAILED",n,t,e);return i.newDocument},validator:Fi,validate:Ri,_areEquals:Ui}),Yi={namespaced:!0,state:function(){return{ui:{},schema:{},model:{},keepEmptyModel:{},configureOptions:[],showSteps:[],functions:{},language:{},initialModel:{},modelPathWatchers:{},currentStep:0,infoCenter:{isHide:!0,title:"Information Center",description:""},previewYamls:[]}},getters:{ui:function(e){return e.ui},schema:function(e){return e.schema},model:function(e){return e.model},keepEmptyModel:function(e){return e.keepEmptyModel},configureOptions:function(e){return e.configureOptions},showSteps:function(e){return e.showSteps||[]},functions:function(e){return e.functions},language:function(e){return e.language},initialModel:function(e){return e.initialModel},modelPathWatchers:function(e){return e.modelPathWatchers},store$get:function(e,t,n){return function(e){return xi(n,e)}},infoCenter:function(e){return e.infoCenter||{}},currentStep:function(e){return e.currentStep},previewYamls:function(e){return e.previewYamls||[]}},mutations:{ui$set:function(e,t){e.ui=Ci(t)},schema$set:function(e,t){e.schema=Ci(t)},model$init:function(e,t){e.initialModel=Ci(t),e.model=Ci(t)},model$set:function(e,t){e.model=Ci(t)},model$update:function(e,t){var n=t.path,i=t.value,r=t.force;wi(e.model,n,i,r),Object.keys(e.modelPathWatchers).forEach((function(t){n.startsWith(t)&&(e.modelPathWatchers[t]||[]).forEach((function(e){return e(t)}))}))},keepEmptyModel$update:function(e,t){var n=t.path,i=t.value,r=t.force;wi(e.keepEmptyModel,n,i,r)},model$delete:function(e,n){(function e(n,i){var r=i.split("/"),o=r[0],a=r.slice(1).join("/");if(""===a)t.delete(n,o);else{if(null==n[o])return;e(n[o],a)}})(e.model,n.trim().replace(/^#?\/|\/$/g,"")),Object.keys(e.modelPathWatchers).forEach((function(t){t.startsWith(n)&&(e.modelPathWatchers[t]||[]).forEach((function(e){return e(t)}))}))},modelPathWatchers$add:function(e,t){var n=t.path,i=t.func;!function t(n){if(n){e.modelPathWatchers[n]?e.modelPathWatchers[n].push(i):e.modelPathWatchers[n]=[i];var r=n.split("/");r.pop(),t(r.join("/"))}}(n)},configureOptions$set:function(e,t){e.configureOptions=Xn(t)},showSteps$set:function(e,t){e.showSteps=t||[]},showSteps$update:function(e,t){var n=t.stepId,i=t.show,r=function(e,t){return e?e.find((function(e){return e.id===t})):void 0}(e.showSteps,n);if(!r)throw Error('Step item with id "'.concat(n,'" not found'));r.show=i},configureOptions$push:function(e,t){e.configureOptions.push(t)},configureOptions$delete:function(e,t){e.configureOptions=e.configureOptions.filter((function(e){return e!==t}))},functions$set:function(e,t){e.functions=t},functions$update:function(e,t){var n=t.path,i=t.value;wi(e.functions,n,i||{},!0)},language$set:function(e,t){e.language=Ci(t)},language$update:function(e,t){var n=t.path,i=t.value;wi(e.language.en||{},n,i.en||{},!0),wi(e.language.bn||{},n,i.bn||{},!0)},infoCenter$set:function(e,t){e.infoCenter=mt({},t)},currentStep$set:function(e,t){e.currentStep=t},previewYamls$set:function(e,t){e.previewYamls=Xn(t)}},actions:{}},Qi=function(){return(Qi=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function qi(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))}function Hi(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function Gi(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,r++)i[r]=o[a];return i}function Wi(e){return e!=e}function Ji(e){return null==e}var Ki=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function Zi(e,t){return!(!Wi(e)||!Wi(t))||e===t}function Xi(e,t){if(e instanceof RegExp&&t instanceof RegExp)return Xi(e.source,t.source)&&Xi(e.flags,t.flags);if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Xi(e[n],t[n]))return!1;return!0}return Ki(e)&&Ki(t)?Object.keys(e).every((function(n){return Xi(e[n],t[n])}))&&Object.keys(t).every((function(n){return Xi(e[n],t[n])})):Zi(e,t)}function er(e){return""!==e&&!Ji(e)}function tr(e){return"function"==typeof e}function nr(e){return tr(e)&&!!e.__locatorRef}function ir(e,t){var n=Array.isArray(e)?e:or(e);if(tr(n.findIndex))return n.findIndex(t);for(var i=0;i<n.length;i++)if(t(n[i],i))return i;return-1}function rr(e,t){return-1!==e.indexOf(t)}function or(e){return tr(Array.from)?Array.from(e):function(e){for(var t=[],n=e.length,i=0;i<n;i++)t.push(e[i]);return t}(e)}function ar(e){return tr(Object.values)?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function sr(e,t,n){return void 0===t&&(t=0),void 0===n&&(n={cancelled:!1}),0===t?e:function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=function(){i=void 0,n.cancelled||e.apply(void 0,r)};clearTimeout(i),i=setTimeout(a,t)};var i}function lr(e,t){return e.replace(/{([^}]+)}/g,(function(e,n){return n in t?t[n]:"{"+n+"}"}))}var ur={};var cr=function(){function e(){}return e.extend=function(e,t){var n=function(e){var t;return(null===(t=e.params)||void 0===t?void 0:t.length)&&(e.params=e.params.map((function(e){return"string"==typeof e?{name:e}:e}))),e}(t);ur[e]?ur[e]=function e(t,n){return Object.keys(n).forEach((function(i){if(Ki(n[i]))return t[i]||(t[i]={}),void e(t[i],n[i]);t[i]=n[i]})),t}(ur[e],t):ur[e]=Qi({lazy:!1,computesRequired:!1},n)},e.isLazy=function(e){var t;return!!(null===(t=ur[e])||void 0===t?void 0:t.lazy)},e.isRequireRule=function(e){var t;return!!(null===(t=ur[e])||void 0===t?void 0:t.computesRequired)},e.getRuleDefinition=function(e){return ur[e]},e}();function dr(e,t){!function(e,t){if(tr(t))return;if(tr(t.validate))return;if(cr.getRuleDefinition(e))return;throw new Error("Extension Error: The validator '"+e+"' must be a function or have a 'validate' method.")}(e,t),"object"!=typeof t?cr.extend(e,{validate:t}):cr.extend(e,t)}var fr=Qi({},{defaultMessage:"{_field_} is not valid.",skipOptional:!0,classes:{touched:"touched",untouched:"untouched",valid:"valid",invalid:"invalid",pristine:"pristine",dirty:"dirty"},bails:!0,mode:"aggressive",useConstraintAttrs:!0}),pr=function(){return fr},hr=function(e){var t;t=e,fr=Qi(Qi({},fr),t)};function vr(e){var t,n={};return Object.defineProperty(n,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?Ki(e)&&e._$$isNormalized?e:Ki(e)?Object.keys(e).reduce((function(t,n){var i=[];return i=!0===e[n]?[]:Array.isArray(e[n])||Ki(e[n])?e[n]:[e[n]],!1!==e[n]&&(t[n]=mr(n,i)),t}),n):"string"!=typeof e?(t="rules must be either a string or an object.",console.warn("[vee-validate] "+t),n):e.split("|").reduce((function(e,t){var n=yr(t);return n.name?(e[n.name]=mr(n.name,n.params),e):e}),n):n}function mr(e,t){var n=cr.getRuleDefinition(e);if(!n)return t;var i,r,o={};if(!n.params&&!Array.isArray(t))throw new Error("You provided an object params to a rule that has no defined schema.");if(Array.isArray(t)&&!n.params)return t;!n.params||n.params.length<t.length&&Array.isArray(t)?i=t.map((function(e,t){var i,o=null===(i=n.params)||void 0===i?void 0:i[t];return r=o||r,o||(o=r),