@kong-ui-public/entities-shared 3.60.1 → 3.60.2-pr.3560.4eaf5db47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@
5
5
  `,g+=n.repeat("-",s.indent+x+3+W.pos)+`^
6
6
  `;for(let B=1;B<=s.linesAfter&&!(u+B>=y.length);B++){const N=i(l.buffer,d[u+B],y[u+B],l.position-(d[u]-d[u+B]),I);g+=n.repeat(" ",s.indent)+r((l.line+B+1).toString(),x)+" | "+N.str+`
7
7
  `}return g.replace(/\n$/,"")}return Ye=f,Ye}var Ge,$t;function fe(){if($t)return Ge;$t=1;const n=Ne(),i=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],r=["scalar","sequence","mapping"];function f(s){const a={};return s!==null&&Object.keys(s).forEach(function(d){s[d].forEach(function(y){a[String(y)]=d})}),a}function l(s,a){if(a=a||{},Object.keys(a).forEach(function(d){if(i.indexOf(d)===-1)throw new n('Unknown option "'+d+'" is met in definition of "'+s+'" YAML type.')}),this.options=a,this.tag=s,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(d){return d},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=f(a.styleAliases||null),r.indexOf(this.kind)===-1)throw new n('Unknown kind "'+this.kind+'" is specified for "'+s+'" YAML type.')}return Ge=l,Ge}var We,It;function ln(){if(It)return We;It=1;const n=Ne(),i=fe();function r(s,a){const d=[];return s[a].forEach(function(y){let c=d.length;d.forEach(function(u,g){u.tag===y.tag&&u.kind===y.kind&&u.multi===y.multi&&(c=g)}),d[c]=y}),d}function f(){const s={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function a(d){d.multi?(s.multi[d.kind].push(d),s.multi.fallback.push(d)):s[d.kind][d.tag]=s.fallback[d.tag]=d}for(let d=0,y=arguments.length;d<y;d+=1)arguments[d].forEach(a);return s}function l(s){return this.extend(s)}return l.prototype.extend=function(a){let d=[],y=[];if(a instanceof i)y.push(a);else if(Array.isArray(a))y=y.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(d=d.concat(a.implicit)),a.explicit&&(y=y.concat(a.explicit));else throw new n("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");d.forEach(function(u){if(!(u instanceof i))throw new n("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(u.loadKind&&u.loadKind!=="scalar")throw new n("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(u.multi)throw new n("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),y.forEach(function(u){if(!(u instanceof i))throw new n("Specified list of YAML types (or a single Type object) contains a non-Type object.")});const c=Object.create(l.prototype);return c.implicit=(this.implicit||[]).concat(d),c.explicit=(this.explicit||[]).concat(y),c.compiledImplicit=r(c,"implicit"),c.compiledExplicit=r(c,"explicit"),c.compiledTypeMap=f(c.compiledImplicit,c.compiledExplicit),c},We=l,We}var Je,Ot;function an(){if(Ot)return Je;Ot=1;const n=fe();return Je=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(i){return i!==null?i:""}}),Je}var Xe,Rt;function cn(){if(Rt)return Xe;Rt=1;const n=fe();return Xe=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(i){return i!==null?i:[]}}),Xe}var Qe,Vt;function sn(){if(Vt)return Qe;Vt=1;const n=fe();return Qe=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(i){return i!==null?i:{}}}),Qe}var Ze,Dt;function un(){if(Dt)return Ze;Dt=1;const n=ln();return Ze=new n({explicit:[an(),cn(),sn()]}),Ze}var et,Kt;function dn(){if(Kt)return et;Kt=1;const n=fe();function i(l){if(l===null)return!0;const s=l.length;return s===1&&l==="~"||s===4&&(l==="null"||l==="Null"||l==="NULL")}function r(){return null}function f(l){return l===null}return et=new n("tag:yaml.org,2002:null",{kind:"scalar",resolve:i,construct:r,predicate:f,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),et}var tt,Lt;function fn(){if(Lt)return tt;Lt=1;const n=fe();function i(l){if(l===null)return!1;const s=l.length;return s===4&&(l==="true"||l==="True"||l==="TRUE")||s===5&&(l==="false"||l==="False"||l==="FALSE")}function r(l){return l==="true"||l==="True"||l==="TRUE"}function f(l){return Object.prototype.toString.call(l)==="[object Boolean]"}return tt=new n("tag:yaml.org,2002:bool",{kind:"scalar",resolve:i,construct:r,predicate:f,represent:{lowercase:function(l){return l?"true":"false"},uppercase:function(l){return l?"TRUE":"FALSE"},camelcase:function(l){return l?"True":"False"}},defaultStyle:"lowercase"}),tt}var nt,Ft;function pn(){if(Ft)return nt;Ft=1;const n=xe(),i=fe();function r(c){return c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102}function f(c){return c>=48&&c<=55}function l(c){return c>=48&&c<=57}function s(c){if(c===null)return!1;const u=c.length;let g=0,x=!1;if(!u)return!1;let I=c[g];if((I==="-"||I==="+")&&(I=c[++g]),I==="0"){if(g+1===u)return!0;if(I=c[++g],I==="b"){for(g++;g<u;g++){if(I=c[g],I!=="0"&&I!=="1")return!1;x=!0}return x&&isFinite(a(c))}if(I==="x"){for(g++;g<u;g++){if(!r(c.charCodeAt(g)))return!1;x=!0}return x&&isFinite(a(c))}if(I==="o"){for(g++;g<u;g++){if(!f(c.charCodeAt(g)))return!1;x=!0}return x&&isFinite(a(c))}}for(;g<u;g++){if(!l(c.charCodeAt(g)))return!1;x=!0}return x?isFinite(a(c)):!1}function a(c){let u=c,g=1,x=u[0];if((x==="-"||x==="+")&&(x==="-"&&(g=-1),u=u.slice(1),x=u[0]),u==="0")return 0;if(x==="0"){if(u[1]==="b")return g*parseInt(u.slice(2),2);if(u[1]==="x")return g*parseInt(u.slice(2),16);if(u[1]==="o")return g*parseInt(u.slice(2),8)}return g*parseInt(u,10)}function d(c){return a(c)}function y(c){return Object.prototype.toString.call(c)==="[object Number]"&&c%1===0&&!n.isNegativeZero(c)}return nt=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:s,construct:d,predicate:y,represent:{binary:function(c){return c>=0?"0b"+c.toString(2):"-0b"+c.toString(2).slice(1)},octal:function(c){return c>=0?"0o"+c.toString(8):"-0o"+c.toString(8).slice(1)},decimal:function(c){return c.toString(10)},hexadecimal:function(c){return c>=0?"0x"+c.toString(16).toUpperCase():"-0x"+c.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),nt}var ot,Mt;function mn(){if(Mt)return ot;Mt=1;const n=xe(),i=fe(),r=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),f=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function l(c){return c===null||!r.test(c)?!1:isFinite(parseFloat(c,10))?!0:f.test(c)}function s(c){let u=c.toLowerCase();const g=u[0]==="-"?-1:1;return"+-".indexOf(u[0])>=0&&(u=u.slice(1)),u===".inf"?g===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:u===".nan"?NaN:g*parseFloat(u,10)}const a=/^[-+]?[0-9]+e/;function d(c,u){if(isNaN(c))switch(u){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===c)switch(u){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===c)switch(u){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(n.isNegativeZero(c))return"-0.0";const g=c.toString(10);return a.test(g)?g.replace("e",".e"):g}function y(c){return Object.prototype.toString.call(c)==="[object Number]"&&(c%1!==0||n.isNegativeZero(c))}return ot=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:l,construct:s,predicate:y,represent:d,defaultStyle:"lowercase"}),ot}var rt,Pt;function yn(){return Pt||(Pt=1,rt=un().extend({implicit:[dn(),fn(),pn(),mn()]})),rt}var it,qt;function gn(){return qt||(qt=1,it=yn()),it}var lt,Ut;function hn(){if(Ut)return lt;Ut=1;const n=fe(),i=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),r=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function f(a){return a===null?!1:i.exec(a)!==null||r.exec(a)!==null}function l(a){let d=0,y=null,c=i.exec(a);if(c===null&&(c=r.exec(a)),c===null)throw new Error("Date resolve error");const u=+c[1],g=+c[2]-1,x=+c[3];if(!c[4])return new Date(Date.UTC(u,g,x));const I=+c[4],W=+c[5],B=+c[6];if(c[7]){for(d=c[7].slice(0,3);d.length<3;)d+="0";d=+d}if(c[9]){const q=+c[10],E=+(c[11]||0);y=(q*60+E)*6e4,c[9]==="-"&&(y=-y)}const N=new Date(Date.UTC(u,g,x,I,W,B,d));return y&&N.setTime(N.getTime()-y),N}function s(a){return a.toISOString()}return lt=new n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:f,construct:l,instanceOf:Date,represent:s}),lt}var at,jt;function kn(){if(jt)return at;jt=1;const n=fe();function i(r){return r==="<<"||r===null}return at=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:i}),at}var ct,zt;function vn(){if(zt)return ct;zt=1;const n=fe(),i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8
- \r`;function r(a){if(a===null)return!1;let d=0;const y=a.length,c=i;for(let u=0;u<y;u++){const g=c.indexOf(a.charAt(u));if(!(g>64)){if(g<0)return!1;d+=6}}return d%8===0}function f(a){const d=a.replace(/[\r\n=]/g,""),y=d.length,c=i;let u=0;const g=[];for(let I=0;I<y;I++)I%4===0&&I&&(g.push(u>>16&255),g.push(u>>8&255),g.push(u&255)),u=u<<6|c.indexOf(d.charAt(I));const x=y%4*6;return x===0?(g.push(u>>16&255),g.push(u>>8&255),g.push(u&255)):x===18?(g.push(u>>10&255),g.push(u>>2&255)):x===12&&g.push(u>>4&255),new Uint8Array(g)}function l(a){let d="",y=0;const c=a.length,u=i;for(let x=0;x<c;x++)x%3===0&&x&&(d+=u[y>>18&63],d+=u[y>>12&63],d+=u[y>>6&63],d+=u[y&63]),y=(y<<8)+a[x];const g=c%3;return g===0?(d+=u[y>>18&63],d+=u[y>>12&63],d+=u[y>>6&63],d+=u[y&63]):g===2?(d+=u[y>>10&63],d+=u[y>>4&63],d+=u[y<<2&63],d+=u[64]):g===1&&(d+=u[y>>2&63],d+=u[y<<4&63],d+=u[64],d+=u[64]),d}function s(a){return Object.prototype.toString.call(a)==="[object Uint8Array]"}return ct=new n("tag:yaml.org,2002:binary",{kind:"scalar",resolve:r,construct:f,predicate:s,represent:l}),ct}var st,Ht;function Cn(){if(Ht)return st;Ht=1;const n=fe(),i=Object.prototype.hasOwnProperty,r=Object.prototype.toString;function f(s){if(s===null)return!0;const a=[],d=s;for(let y=0,c=d.length;y<c;y+=1){const u=d[y];let g=!1;if(r.call(u)!=="[object Object]")return!1;let x;for(x in u)if(i.call(u,x))if(!g)g=!0;else return!1;if(!g)return!1;if(a.indexOf(x)===-1)a.push(x);else return!1}return!0}function l(s){return s!==null?s:[]}return st=new n("tag:yaml.org,2002:omap",{kind:"sequence",resolve:f,construct:l}),st}var ut,Yt;function bn(){if(Yt)return ut;Yt=1;const n=fe(),i=Object.prototype.toString;function r(l){if(l===null)return!0;const s=l,a=new Array(s.length);for(let d=0,y=s.length;d<y;d+=1){const c=s[d];if(i.call(c)!=="[object Object]")return!1;const u=Object.keys(c);if(u.length!==1)return!1;a[d]=[u[0],c[u[0]]]}return!0}function f(l){if(l===null)return[];const s=l,a=new Array(s.length);for(let d=0,y=s.length;d<y;d+=1){const c=s[d],u=Object.keys(c);a[d]=[u[0],c[u[0]]]}return a}return ut=new n("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:r,construct:f}),ut}var dt,Gt;function Sn(){if(Gt)return dt;Gt=1;const n=fe(),i=Object.prototype.hasOwnProperty;function r(l){if(l===null)return!0;const s=l;for(const a in s)if(i.call(s,a)&&s[a]!==null)return!1;return!0}function f(l){return l!==null?l:{}}return dt=new n("tag:yaml.org,2002:set",{kind:"mapping",resolve:r,construct:f}),dt}var ft,Wt;function kt(){return Wt||(Wt=1,ft=gn().extend({implicit:[hn(),kn()],explicit:[vn(),Cn(),bn(),Sn()]})),ft}var Jt;function No(){if(Jt)return Me;Jt=1;const n=xe(),i=Ne(),r=xo(),f=kt(),l=Object.prototype.hasOwnProperty,s=1,a=2,d=3,y=4,c=1,u=2,g=3,x=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,I=/[\x85\u2028\u2029]/,W=/[,\[\]{}]/,B=/^(?:!|!!|![0-9A-Za-z-]+!)$/,N=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function q(t){return Object.prototype.toString.call(t)}function E(t){return t===10||t===13}function _(t){return t===9||t===32}function V(t){return t===9||t===32||t===10||t===13}function z(t){return t===44||t===91||t===93||t===123||t===125}function ne(t){if(t>=48&&t<=57)return t-48;const p=t|32;return p>=97&&p<=102?p-97+10:-1}function F(t){return t===120?2:t===117?4:t===85?8:0}function P(t){return t>=48&&t<=57?t-48:-1}function R(t){switch(t){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return`
8
+ \r`;function r(a){if(a===null)return!1;let d=0;const y=a.length,c=i;for(let u=0;u<y;u++){const g=c.indexOf(a.charAt(u));if(!(g>64)){if(g<0)return!1;d+=6}}return d%8===0}function f(a){const d=a.replace(/[\r\n=]/g,""),y=d.length,c=i;let u=0;const g=[];for(let I=0;I<y;I++)I%4===0&&I&&(g.push(u>>16&255),g.push(u>>8&255),g.push(u&255)),u=u<<6|c.indexOf(d.charAt(I));const x=y%4*6;return x===0?(g.push(u>>16&255),g.push(u>>8&255),g.push(u&255)):x===18?(g.push(u>>10&255),g.push(u>>2&255)):x===12&&g.push(u>>4&255),new Uint8Array(g)}function l(a){let d="",y=0;const c=a.length,u=i;for(let x=0;x<c;x++)x%3===0&&x&&(d+=u[y>>18&63],d+=u[y>>12&63],d+=u[y>>6&63],d+=u[y&63]),y=(y<<8)+a[x];const g=c%3;return g===0?(d+=u[y>>18&63],d+=u[y>>12&63],d+=u[y>>6&63],d+=u[y&63]):g===2?(d+=u[y>>10&63],d+=u[y>>4&63],d+=u[y<<2&63],d+=u[64]):g===1&&(d+=u[y>>2&63],d+=u[y<<4&63],d+=u[64],d+=u[64]),d}function s(a){return Object.prototype.toString.call(a)==="[object Uint8Array]"}return ct=new n("tag:yaml.org,2002:binary",{kind:"scalar",resolve:r,construct:f,predicate:s,represent:l}),ct}var st,Ht;function Cn(){if(Ht)return st;Ht=1;const n=fe(),i=Object.prototype.hasOwnProperty,r=Object.prototype.toString;function f(s){if(s===null)return!0;const a={},d=s;for(let y=0,c=d.length;y<c;y+=1){const u=d[y];let g=!1;if(r.call(u)!=="[object Object]")return!1;let x;for(x in u)if(i.call(u,x))if(!g)g=!0;else return!1;if(!g||i.call(a,x))return!1;Object.defineProperty(a,x,{value:!0})}return!0}function l(s){return s!==null?s:[]}return st=new n("tag:yaml.org,2002:omap",{kind:"sequence",resolve:f,construct:l}),st}var ut,Yt;function bn(){if(Yt)return ut;Yt=1;const n=fe(),i=Object.prototype.toString;function r(l){if(l===null)return!0;const s=l,a=new Array(s.length);for(let d=0,y=s.length;d<y;d+=1){const c=s[d];if(i.call(c)!=="[object Object]")return!1;const u=Object.keys(c);if(u.length!==1)return!1;a[d]=[u[0],c[u[0]]]}return!0}function f(l){if(l===null)return[];const s=l,a=new Array(s.length);for(let d=0,y=s.length;d<y;d+=1){const c=s[d],u=Object.keys(c);a[d]=[u[0],c[u[0]]]}return a}return ut=new n("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:r,construct:f}),ut}var dt,Gt;function Sn(){if(Gt)return dt;Gt=1;const n=fe(),i=Object.prototype.hasOwnProperty;function r(l){if(l===null)return!0;const s=l;for(const a in s)if(i.call(s,a)&&s[a]!==null)return!1;return!0}function f(l){return l!==null?l:{}}return dt=new n("tag:yaml.org,2002:set",{kind:"mapping",resolve:r,construct:f}),dt}var ft,Wt;function kt(){return Wt||(Wt=1,ft=gn().extend({implicit:[hn(),kn()],explicit:[vn(),Cn(),bn(),Sn()]})),ft}var Jt;function No(){if(Jt)return Me;Jt=1;const n=xe(),i=Ne(),r=xo(),f=kt(),l=Object.prototype.hasOwnProperty,s=1,a=2,d=3,y=4,c=1,u=2,g=3,x=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,I=/[\x85\u2028\u2029]/,W=/[,\[\]{}]/,B=/^(?:!|!!|![0-9A-Za-z-]+!)$/,N=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function q(t){return Object.prototype.toString.call(t)}function E(t){return t===10||t===13}function _(t){return t===9||t===32}function V(t){return t===9||t===32||t===10||t===13}function z(t){return t===44||t===91||t===93||t===123||t===125}function ne(t){if(t>=48&&t<=57)return t-48;const p=t|32;return p>=97&&p<=102?p-97+10:-1}function F(t){return t===120?2:t===117?4:t===85?8:0}function P(t){return t>=48&&t<=57?t-48:-1}function R(t){switch(t){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return`
9
9
  `;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"…";case 95:return" ";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function Y(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}function U(t,p,v){p==="__proto__"?Object.defineProperty(t,p,{configurable:!0,enumerable:!0,writable:!0,value:v}):t[p]=v}const M=new Array(256),te=new Array(256);for(let t=0;t<256;t++)M[t]=R(t)?1:0,te[t]=R(t);function oe(t,p){this.input=t,this.filename=p.filename||null,this.schema=p.schema||f,this.onWarning=p.onWarning||null,this.legacy=p.legacy||!1,this.json=p.json||!1,this.listener=p.listener||null,this.maxDepth=typeof p.maxDepth=="number"?p.maxDepth:100,this.maxTotalMergeKeys=typeof p.maxTotalMergeKeys=="number"?p.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function me(t,p){const v={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return v.snippet=r(v),new i(p,v)}function D(t,p){throw me(t,p)}function ge(t,p){t.onWarning&&t.onWarning.call(null,me(t,p))}function pe(t,p,v){const S=t.anchorMapTransactions;if(S.length!==0){const k=S[S.length-1];l.call(k,p)||(k[p]={existed:l.call(t.anchorMap,p),value:t.anchorMap[p]})}t.anchorMap[p]=v}function O(t){t.anchorMapTransactions.push(Object.create(null))}function G(t){const p=t.anchorMapTransactions.pop(),v=t.anchorMapTransactions;if(v.length===0)return;const S=v[v.length-1],k=Object.keys(p);for(let $=0,o=k.length;$<o;$+=1){const m=k[$];l.call(S,m)||(S[m]=p[m])}}function Q(t){const p=t.anchorMapTransactions.pop(),v=Object.keys(p);for(let S=v.length-1;S>=0;S-=1){const k=p[v[S]];k.existed?t.anchorMap[v[S]]=k.value:delete t.anchorMap[v[S]]}}function J(t){return{position:t.position,line:t.line,lineStart:t.lineStart,lineIndent:t.lineIndent,firstTabInLine:t.firstTabInLine,tag:t.tag,anchor:t.anchor,kind:t.kind,result:t.result}}function X(t,p){t.position=p.position,t.line=p.line,t.lineStart=p.lineStart,t.lineIndent=p.lineIndent,t.firstTabInLine=p.firstTabInLine,t.tag=p.tag,t.anchor=p.anchor,t.kind=p.kind,t.result=p.result}const re={YAML:function(p,v,S){p.version!==null&&D(p,"duplication of %YAML directive"),S.length!==1&&D(p,"YAML directive accepts exactly one argument");const k=/^([0-9]+)\.([0-9]+)$/.exec(S[0]);k===null&&D(p,"ill-formed argument of the YAML directive");const $=parseInt(k[1],10),o=parseInt(k[2],10);$!==1&&D(p,"unacceptable YAML version of the document"),p.version=S[0],p.checkLineBreaks=o<2,o!==1&&o!==2&&ge(p,"unsupported YAML version of the document")},TAG:function(p,v,S){let k;S.length!==2&&D(p,"TAG directive accepts exactly two arguments");const $=S[0];k=S[1],B.test($)||D(p,"ill-formed tag handle (first argument) of the TAG directive"),l.call(p.tagMap,$)&&D(p,'there is a previously declared suffix for "'+$+'" tag handle'),N.test(k)||D(p,"ill-formed tag prefix (second argument) of the TAG directive");try{k=decodeURIComponent(k)}catch{D(p,"tag prefix is malformed: "+k)}p.tagMap[$]=k}};function Z(t,p,v,S){if(p<v){const k=t.input.slice(p,v);if(S)for(let $=0,o=k.length;$<o;$+=1){const m=k.charCodeAt($);m===9||m>=32&&m<=1114111||D(t,"expected valid JSON character")}else x.test(k)&&D(t,"the stream contains non-printable characters");t.result+=k}}function he(t,p,v,S){n.isObject(v)||D(t,"cannot merge mappings; the provided source object is unacceptable");const k=Object.keys(v);for(let $=0,o=k.length;$<o;$+=1){const m=k[$];t.maxTotalMergeKeys!==-1&&++t.totalMergeKeys>t.maxTotalMergeKeys&&D(t,"merge keys exceeded maxTotalMergeKeys ("+t.maxTotalMergeKeys+")"),l.call(p,m)||(U(p,m,v[m]),S[m]=!0)}}function ye(t,p,v,S,k,$,o,m,A){if(Array.isArray(k)){k=Array.prototype.slice.call(k);for(let C=0,b=k.length;C<b;C+=1)Array.isArray(k[C])&&D(t,"nested arrays are not supported inside keys"),typeof k=="object"&&q(k[C])==="[object Object]"&&(k[C]="[object Object]")}if(typeof k=="object"&&q(k)==="[object Object]"&&(k="[object Object]"),k=String(k),p===null&&(p={}),S==="tag:yaml.org,2002:merge")if(Array.isArray($))for(let C=0,b=$.length;C<b;C+=1)he(t,p,$[C],v);else he(t,p,$,v);else!t.json&&!l.call(v,k)&&l.call(p,k)&&(t.line=o||t.line,t.lineStart=m||t.lineStart,t.position=A||t.position,D(t,"duplicated mapping key")),U(p,k,$),delete v[k];return p}function ue(t){const p=t.input.charCodeAt(t.position);p===10?t.position++:p===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):D(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function le(t,p,v){let S=0,k=t.input.charCodeAt(t.position);for(;k!==0;){for(;_(k);)k===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),k=t.input.charCodeAt(++t.position);if(p&&k===35)do k=t.input.charCodeAt(++t.position);while(k!==10&&k!==13&&k!==0);if(E(k))for(ue(t),k=t.input.charCodeAt(t.position),S++,t.lineIndent=0;k===32;)t.lineIndent++,k=t.input.charCodeAt(++t.position);else break}return v!==-1&&S!==0&&t.lineIndent<v&&ge(t,"deficient indentation"),S}function Be(t){let p=t.position,v=t.input.charCodeAt(p);return!!((v===45||v===46)&&v===t.input.charCodeAt(p+1)&&v===t.input.charCodeAt(p+2)&&(p+=3,v=t.input.charCodeAt(p),v===0||V(v)))}function ke(t,p){p===1?t.result+=" ":p>1&&(t.result+=n.repeat(`
10
10
  `,p-1))}function $e(t,p,v){let S,k,$,o,m,A;const C=t.kind,b=t.result;let w=t.input.charCodeAt(t.position);if(V(w)||z(w)||w===35||w===38||w===42||w===33||w===124||w===62||w===39||w===34||w===37||w===64||w===96)return!1;if(w===63||w===45){const T=t.input.charCodeAt(t.position+1);if(V(T)||v&&z(T))return!1}for(t.kind="scalar",t.result="",S=k=t.position,$=!1;w!==0;){if(w===58){const T=t.input.charCodeAt(t.position+1);if(V(T)||v&&z(T))break}else if(w===35){const T=t.input.charCodeAt(t.position-1);if(V(T))break}else{if(t.position===t.lineStart&&Be(t)||v&&z(w))break;if(E(w))if(o=t.line,m=t.lineStart,A=t.lineIndent,le(t,!1,-1),t.lineIndent>=p){$=!0,w=t.input.charCodeAt(t.position);continue}else{t.position=k,t.line=o,t.lineStart=m,t.lineIndent=A;break}}$&&(Z(t,S,k,!1),ke(t,t.line-o),S=k=t.position,$=!1),_(w)||(k=t.position+1),w=t.input.charCodeAt(++t.position)}return Z(t,S,k,!1),t.result?!0:(t.kind=C,t.result=b,!1)}function Ie(t,p){let v,S,k=t.input.charCodeAt(t.position);if(k!==39)return!1;for(t.kind="scalar",t.result="",t.position++,v=S=t.position;(k=t.input.charCodeAt(t.position))!==0;)if(k===39)if(Z(t,v,t.position,!0),k=t.input.charCodeAt(++t.position),k===39)v=t.position,t.position++,S=t.position;else return!0;else E(k)?(Z(t,v,S,!0),ke(t,le(t,!1,p)),v=S=t.position):t.position===t.lineStart&&Be(t)?D(t,"unexpected end of the document within a single quoted scalar"):(t.position++,_(k)||(S=t.position));D(t,"unexpected end of the stream within a single quoted scalar")}function Ee(t,p){let v,S,k,$=t.input.charCodeAt(t.position);if($!==34)return!1;for(t.kind="scalar",t.result="",t.position++,v=S=t.position;($=t.input.charCodeAt(t.position))!==0;){if($===34)return Z(t,v,t.position,!0),t.position++,!0;if($===92){if(Z(t,v,t.position,!0),$=t.input.charCodeAt(++t.position),E($))le(t,!1,p);else if($<256&&M[$])t.result+=te[$],t.position++;else if((k=F($))>0){let o=k,m=0;for(;o>0;o--)$=t.input.charCodeAt(++t.position),(k=ne($))>=0?m=(m<<4)+k:D(t,"expected hexadecimal character");t.result+=Y(m),t.position++}else D(t,"unknown escape sequence");v=S=t.position}else E($)?(Z(t,v,S,!0),ke(t,le(t,!1,p)),v=S=t.position):t.position===t.lineStart&&Be(t)?D(t,"unexpected end of the document within a double quoted scalar"):(t.position++,_($)||(S=t.position))}D(t,"unexpected end of the stream within a double quoted scalar")}function Oe(t,p){let v=!0,S,k,$;const o=t.tag;let m;const A=t.anchor;let C,b,w,T;const L=Object.create(null);let K,j,H,ee=t.input.charCodeAt(t.position);if(ee===91)C=93,T=!1,m=[];else if(ee===123)C=125,T=!0,m={};else return!1;for(t.anchor!==null&&pe(t,t.anchor,m),ee=t.input.charCodeAt(++t.position);ee!==0;){if(le(t,!0,p),ee=t.input.charCodeAt(t.position),ee===C)return t.position++,t.tag=o,t.anchor=A,t.kind=T?"mapping":"sequence",t.result=m,!0;if(v?ee===44&&D(t,"expected the node content, but found ','"):D(t,"missed comma between flow collection entries"),j=K=H=null,b=w=!1,ee===63){const ie=t.input.charCodeAt(t.position+1);V(ie)&&(b=w=!0,t.position++,le(t,!0,p))}S=t.line,k=t.lineStart,$=t.position,Ce(t,p,s,!1,!0),j=t.tag,K=t.result,le(t,!0,p),ee=t.input.charCodeAt(t.position),(w||t.line===S)&&ee===58&&(b=!0,ee=t.input.charCodeAt(++t.position),le(t,!0,p),Ce(t,p,s,!1,!0),H=t.result),T?ye(t,m,L,j,K,H,S,k,$):b?m.push(ye(t,null,L,j,K,H,S,k,$)):m.push(K),le(t,!0,p),ee=t.input.charCodeAt(t.position),ee===44?(v=!0,ee=t.input.charCodeAt(++t.position)):v=!1}D(t,"unexpected end of the stream within a flow collection")}function Re(t,p){let v,S=c,k=!1,$=!1,o=p,m=0,A=!1,C,b=t.input.charCodeAt(t.position);if(b===124)v=!1;else if(b===62)v=!0;else return!1;for(t.kind="scalar",t.result="";b!==0;)if(b=t.input.charCodeAt(++t.position),b===43||b===45)c===S?S=b===43?g:u:D(t,"repeat of a chomping mode identifier");else if((C=P(b))>=0)C===0?D(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):$?D(t,"repeat of an indentation width identifier"):(o=p+C-1,$=!0);else break;if(_(b)){do b=t.input.charCodeAt(++t.position);while(_(b));if(b===35)do b=t.input.charCodeAt(++t.position);while(!E(b)&&b!==0)}for(;b!==0;){for(ue(t),t.lineIndent=0,b=t.input.charCodeAt(t.position);(!$||t.lineIndent<o)&&b===32;)t.lineIndent++,b=t.input.charCodeAt(++t.position);if(!$&&t.lineIndent>o&&(o=t.lineIndent),E(b)){m++;continue}if(!$&&o===0&&D(t,"missing indentation for block scalar"),t.lineIndent<o){S===g?t.result+=n.repeat(`
11
11
  `,k?1+m:m):S===c&&k&&(t.result+=`
@@ -1272,7 +1272,7 @@ function oi() {
1272
1272
  const t = Oe(), o = Object.prototype.hasOwnProperty, i = Object.prototype.toString;
1273
1273
  function d(c) {
1274
1274
  if (c === null) return !0;
1275
- const l = [], u = c;
1275
+ const l = {}, u = c;
1276
1276
  for (let y = 0, a = u.length; y < a; y += 1) {
1277
1277
  const s = u[y];
1278
1278
  let g = !1;
@@ -1282,9 +1282,8 @@ function oi() {
1282
1282
  if (o.call(s, O))
1283
1283
  if (!g) g = !0;
1284
1284
  else return !1;
1285
- if (!g) return !1;
1286
- if (l.indexOf(O) === -1) l.push(O);
1287
- else return !1;
1285
+ if (!g || o.call(l, O)) return !1;
1286
+ Object.defineProperty(l, O, { value: !0 });
1288
1287
  }
1289
1288
  return !0;
1290
1289
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-shared",
3
- "version": "3.60.1",
3
+ "version": "3.60.2-pr.3560.4eaf5db47.0",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-shared.umd.js",
6
6
  "module": "./dist/entities-shared.es.js",
@@ -38,8 +38,8 @@
38
38
  "shiki": "^4.2.0",
39
39
  "vue": ">= 3.3.13 < 4",
40
40
  "vue-router": "^4.6.4 || ^5.0.6",
41
- "@kong-ui-public/i18n": "^2.5.0",
42
- "@kong-ui-public/monaco-editor": "^0.24.11"
41
+ "@kong-ui-public/i18n": "^2.5.1-pr.3560.4eaf5db47.0",
42
+ "@kong-ui-public/monaco-editor": "^0.24.12-pr.3560.4eaf5db47.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@kong/design-tokens": "3.2.7",
@@ -55,8 +55,8 @@
55
55
  "shiki": "^4.2.0",
56
56
  "vue": "^3.5.35",
57
57
  "vue-router": "^5.1.0",
58
- "@kong-ui-public/i18n": "^2.5.0",
59
- "@kong-ui-public/monaco-editor": "^0.24.11"
58
+ "@kong-ui-public/i18n": "^2.5.1-pr.3560.4eaf5db47.0",
59
+ "@kong-ui-public/monaco-editor": "^0.24.12-pr.3560.4eaf5db47.0"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "compare-versions": "^6.1.1",
77
- "@kong-ui-public/core": "^1.13.8"
77
+ "@kong-ui-public/core": "^1.13.9-pr.3560.4eaf5db47.0"
78
78
  },
79
79
  "scripts": {
80
80
  "dev": "cross-env USE_SANDBOX=true vite",