Lines Matching refs:multi

67 `;return E.replace(/\n$/,"")}var uFe=cFe,lFe=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],hFe=["scalar","sequence","mapping"];function fFe(i){var a={};return i!==null&&Object.keys(i).forEach(function(f){i[f].forEach(function(g){a[String(g)]=f})}),a}function dFe(i,a){if(a=a||{},Object.keys(a).forEach(function(f){if(lFe.indexOf(f)===-1)throw new Ox('Unknown option "'+f+'" is met in definition of "'+i+'" YAML type.')}),this.options=a,this.tag=i,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(f){return f},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=fFe(a.styleAliases||null),hFe.indexOf(this.kind)===-1)throw new Ox('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}var cg=dFe;function LBt(i,a){var f=[];return i[a].forEach(function(g){var w=f.length;f.forEach(function(v,b){v.tag===g.tag&&v.kind===g.kind&&v.multi===g.multi&&(w=b)}),f[w]=g}),f}function gFe(){var i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},a,f;function g(w){w.multi?(i.multi[w.kind].push(w),i.multi.fallback.push(w)):i[w.kind][w.tag]=i.fallback[w.tag]=w}for(a=0,f=arguments.length;a<f;a+=1)arguments[a].forEach(g);return i}function Vgt(i){return this.extend(i)}Vgt.prototype.extend=function(a){var f=[],g=[];if(a instanceof cg)g.push(a);else if(Array.isArray(a))g=g.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(f=f.concat(a.implicit)),a.explicit&&(g=g.concat(a.explicit));else throw new Ox("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");f.forEach(function(v){if(!(v instanceof cg))throw new Ox("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(v.loadKind&&v.loadKind!=="scalar")throw new Ox("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(v.multi)throw new Ox("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),g.forEach(function(v){if(!(v instanceof cg))throw new Ox("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var w=Object.create(Vgt.prototype);return w.implicit=(this.implicit||[]).concat(f),w.explicit=(this.explicit||[]).concat(g),w.compiledImplicit=LBt(w,"implicit"),w.compiledExplicit=LBt(w,"explicit"),w.compiledTypeMap=gFe(w.compiledImplicit,w.compiledExplicit),w};var pFe=Vgt,bFe=new cg("tag:yaml.org,2002:str",{kind:"scalar",construct:function(i){return i!==null?i:""}}),wFe=new cg("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(i){return i!==null?i:[]}}),mFe=new cg("tag:yaml.org,2002:map",{kind:"mapping",construct:function(i){return i!==null?i:{}}}),vFe=new pFe({explicit:[bFe,wFe,mFe]});function yFe(i){if(i===null)return!0;var a=i.length;return a===1&&i==="~"||a===4&&(i==="null"||i==="Null"||i==="NULL")}function xFe(){return null}function kFe(i){return i===null}var EFe=new cg("tag:yaml.org,2002:null",{kind:"scalar",resolve:yFe,construct:xFe,predicate:kFe,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function TFe(i){if(i===null)return!1;var a=i.length;return a===4&&(i==="true"||i==="True"||i==="TRUE")||a===5&&(i==="false"||i==="False"||i==="FALSE")}function CFe(i){return i==="true"||i==="True"||i==="TRUE"}function SFe(i){return Object.prototype.toString.call(i)==="[object Boolean]"}var _Fe=new cg("tag:yaml.org,2002:bool",{kind:"scalar",resolve:TFe,construct:CFe,predicate:SFe,represent:{lowercase:function(i){return i?"true":"false"},uppercase:function(i){return i?"TRUE":"FALSE"},camelcase:function(i){return i?"True":"False"}},defaultStyle:"lowercase"});function AFe(i){return 48<=i&&i<=57||65<=i&&i<=70||97<=i&&i<=102}function LFe(i){return 48<=i&&i<=55}function DFe(i){return 48<=i&&i<=57}function MFe(i){if(i===null)return!1;var a=i.length,f=0,g=!1,w;if(!a)return!1;if(w=i[f],(w==="-"||w==="+")&&(w=i[++f]),w==="0"){if(f+1===a)return!0;if(w=i[++f],w==="b"){for(f++;f<a;f++)if(w=i[f],w!=="_"){if(w!=="0"&&w!=="1")return!1;g=!0}return g&&w!=="_"}if(w==="x"){for(f++;f<a;f++)if(w=i[f],w!=="_"){if(!AFe(i.charCodeAt(f)))return!1;g=!0}return g&&w!=="_"}if(w==="o"){for(f++;f<a;f++)if(w=i[f],w!=="_"){if(!LFe(i.charCodeAt(f)))return!1;g=!0}return g&&w!=="_"}}if(w==="_")return!1;for(;f<a;f++)if(w=i[f],w!=="_"){if(!DFe(i.charCodeAt(f)))return!1;g=!0}return!(!g||w==="_")}function IFe(i){var a=i,f=1,g;if(a.indexOf("_")!==-1&&(a=a.replace(/_/g,"")),g=a[0],(g==="-"||g==="+")&&(g==="-"&&(f=-1),a=a.slice(1),g=a[0]),a==="0")return 0;if(g==="0"){if(a[1]==="b")return f*parseInt(a.slice(2),2);if(a[1]==="x")return f*parseInt(a.slice(2),16);if(a[1]==="o")return f*parseInt(a.slice(2),8)}return f*parseInt(a,10)}function OFe(i){return Object.prototype.toString.call(i)==="[object Number]"&&i%1===0&&!tp.isNegativeZero(i)}var NFe=new cg("tag:yaml.org,2002:int",{kind:"scalar",resolve:MFe,construct:IFe,predicate:OFe,represent:{binary:function(i){return i>=0?"0b"+i.toString(2):"-0b"+i.toString(2).slice(1)},octal:function(i){return i>=0?"0o"+i.toString(8):"-0o"+i.toString(8).slice(1)},decimal:function(i){return i.toString(10)},hexadecimal:function(i){return i>=0?"0x"+i.toString(16).toUpperCase():"-0x"+i.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),PFe=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function FFe(i){return!(i===null||!PFe.test(i)||i[i.length-1]==="_")}function BFe(i){var a,f;return a=i.replace(/_/g,"").toLowerCase(),f=a[0]==="-"?-1:1,"+-".indexOf(a[0])>=0&&(a=a.slice(1)),a===".inf"?f===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:a===".nan"?NaN:f*parseFloat(a,10)}var RFe=/^[-+]?[0-9]+e/;function jFe(i,a){var f;if(isNaN(i))switch(a){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===i)switch(a){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===i)switch(a){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(tp.isNegativeZero(i))return"-0.0";return f=i.toString(10),RFe.test(f)?f.replace("e",".e"):f}function $Fe(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1!==0||tp.isNegativeZero(i))}var zFe=new cg("tag:yaml.org,2002:float",{kind:"scalar",resolve:FFe,construct:BFe,predicate:$Fe,represent:jFe,defaultStyle:"lowercase"}),DBt=vFe.extend({implicit:[EFe,_Fe,NFe,zFe]}),qFe=DBt,MBt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),IBt=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 HFe(i){return i===null?!1:MBt.exec(i)!==null||IBt.exec(i)!==null}function VFe(i){var a,f,g,w,v,b,E,S=0,_=null,M,F,R;if(a=MBt.exec(i),a===null&&(a=IBt.exec(i)),a===null)throw new Error("Date resolve error");if(f=+a[1],g=+a[2]-1,w=+a[3],!a[4])return new Date(Date.UTC(f,g,w));if(v=+a[4],b=+a[5],E=+a[6],a[7]){for(S=a[7].slice(0,3);S.length<3;)S+="0";S=+S}return a[9]&&(M=+a[10],F=+(a[11]||0),_=(M*60+F)*6e4,a[9]==="-"&&(_=-_)),R=new Date(Date.UTC(f,g,w,v,b,E,S)),_&&R.setTime(R.getTime()-_),R}function UFe(i){return i.toISOString()}var GFe=new cg("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:HFe,construct:VFe,instanceOf:Date,represent:UFe});function KFe(i){return i==="<<"||i===null}var WFe=new cg("tag:yaml.org,2002:merge",{kind:"scalar",resolve:KFe}),Ugt=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=

77 `,v?1+S:S),v=!0,b=!0,S=0,f=i.position;!r4(F)&&F!==0;)F=i.input.charCodeAt(++i.position);v8(i,f,i.position,!1)}return!0}function UBt(i,a){var f,g=i.tag,w=i.anchor,v=[],b,E=!1,S;if(i.firstTabInLine!==-1)return!1;for(i.anchor!==null&&(i.anchorMap[i.anchor]=v),S=i.input.charCodeAt(i.position);S!==0&&(i.firstTabInLine!==-1&&(i.position=i.firstTabInLine,Ks(i,"tab characters must not be used in indentation")),!(S!==45||(b=i.input.charCodeAt(i.position+1),!sb(b))));){if(E=!0,i.position++,c1(i,!0,-1)&&i.lineIndent<=a){v.push(null),S=i.input.charCodeAt(i.position);continue}if(f=i.line,pD(i,a,NBt,!1,!0),v.push(i.result),c1(i,!0,-1),S=i.input.charCodeAt(i.position),(i.line===f||i.lineIndent>a)&&S!==0)Ks(i,"bad indentation of a sequence entry");else if(i.lineIndent<a)break}return E?(i.tag=g,i.anchor=w,i.kind="sequence",i.result=v,!0):!1}function ABe(i,a,f){var g,w,v,b,E,S,_=i.tag,M=i.anchor,F={},R=Object.create(null),B=null,z=null,Y=null,nt=!1,ot=!1,ft;if(i.firstTabInLine!==-1)return!1;for(i.anchor!==null&&(i.anchorMap[i.anchor]=F),ft=i.input.charCodeAt(i.position);ft!==0;){if(!nt&&i.firstTabInLine!==-1&&(i.position=i.firstTabInLine,Ks(i,"tab characters must not be used in indentation")),g=i.input.charCodeAt(i.position+1),v=i.line,(ft===63||ft===58)&&sb(g))ft===63?(nt&&(gD(i,F,R,B,z,null,b,E,S),B=z=Y=null),ot=!0,nt=!0,w=!0):nt?(nt=!1,w=!0):Ks(i,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),i.position+=1,ft=g;else{if(b=i.line,E=i.lineStart,S=i.position,!pD(i,f,OBt,!1,!0))break;if(i.line===v){for(ft=i.input.charCodeAt(i.position);C9(ft);)ft=i.input.charCodeAt(++i.position);if(ft===58)ft=i.input.charCodeAt(++i.position),sb(ft)||Ks(i,"a whitespace character is expected after the key-value separator within a block mapping"),nt&&(gD(i,F,R,B,z,null,b,E,S),B=z=Y=null),ot=!0,nt=!1,w=!1,B=i.tag,z=i.result;else if(ot)Ks(i,"can not read an implicit mapping pair; a colon is missed");else return i.tag=_,i.anchor=M,!0}else if(ot)Ks(i,"can not read a block mapping entry; a multiline key may not be an implicit key");else return i.tag=_,i.anchor=M,!0}if((i.line===v||i.lineIndent>a)&&(nt&&(b=i.line,E=i.lineStart,S=i.position),pD(i,a,kY,!0,w)&&(nt?z=i.result:Y=i.result),nt||(gD(i,F,R,B,z,Y,b,E,S),B=z=Y=null),c1(i,!0,-1),ft=i.input.charCodeAt(i.position)),(i.line===v||i.lineIndent>a)&&ft!==0)Ks(i,"bad indentation of a mapping entry");else if(i.lineIndent<a)break}return nt&&gD(i,F,R,B,z,null,b,E,S),ot&&(i.tag=_,i.anchor=M,i.kind="mapping",i.result=F),ot}function LBe(i){var a,f=!1,g=!1,w,v,b;if(b=i.input.charCodeAt(i.position),b!==33)return!1;if(i.tag!==null&&Ks(i,"duplication of a tag property"),b=i.input.charCodeAt(++i.position),b===60?(f=!0,b=i.input.charCodeAt(++i.position)):b===33?(g=!0,w="!!",b=i.input.charCodeAt(++i.position)):w="!",a=i.position,f){do b=i.input.charCodeAt(++i.position);while(b!==0&&b!==62);i.position<i.length?(v=i.input.slice(a,i.position),b=i.input.charCodeAt(++i.position)):Ks(i,"unexpected end of the stream within a verbatim tag")}else{for(;b!==0&&!sb(b);)b===33&&(g?Ks(i,"tag suffix cannot contain exclamation marks"):(w=i.input.slice(a-1,i.position+1),FBt.test(w)||Ks(i,"named tag handle cannot contain such characters"),g=!0,a=i.position+1)),b=i.input.charCodeAt(++i.position);v=i.input.slice(a,i.position),wBe.test(v)&&Ks(i,"tag suffix cannot contain flow indicator characters")}v&&!BBt.test(v)&&Ks(i,"tag name cannot contain such characters: "+v);try{v=decodeURIComponent(v)}catch{Ks(i,"tag name is malformed: "+v)}return f?i.tag=v:m8.call(i.tagMap,w)?i.tag=i.tagMap[w]+v:w==="!"?i.tag="!"+v:w==="!!"?i.tag="tag:yaml.org,2002:"+v:Ks(i,'undeclared tag handle "'+w+'"'),!0}function DBe(i){var a,f;if(f=i.input.charCodeAt(i.position),f!==38)return!1;for(i.anchor!==null&&Ks(i,"duplication of an anchor property"),f=i.input.charCodeAt(++i.position),a=i.position;f!==0&&!sb(f)&&!fD(f);)f=i.input.charCodeAt(++i.position);return i.position===a&&Ks(i,"name of an anchor node must contain at least one character"),i.anchor=i.input.slice(a,i.position),!0}function MBe(i){var a,f,g;if(g=i.input.charCodeAt(i.position),g!==42)return!1;for(g=i.input.charCodeAt(++i.position),a=i.position;g!==0&&!sb(g)&&!fD(g);)g=i.input.charCodeAt(++i.position);return i.position===a&&Ks(i,"name of an alias node must contain at least one character"),f=i.input.slice(a,i.position),m8.call(i.anchorMap,f)||Ks(i,'unidentified alias "'+f+'"'),i.result=i.anchorMap[f],c1(i,!0,-1),!0}function pD(i,a,f,g,w){var v,b,E,S=1,_=!1,M=!1,F,R,B,z,Y,nt;if(i.listener!==null&&i.listener("open",i),i.tag=null,i.anchor=null,i.kind=null,i.result=null,v=b=E=kY===f||NBt===f,g&&c1(i,!0,-1)&&(_=!0,i.lineIndent>a?S=1:i.lineIndent===a?S=0:i.lineIndent<a&&(S=-1)),S===1)for(;LBe(i)||DBe(i);)c1(i,!0,-1)?(_=!0,E=v,i.lineIndent>a?S=1:i.lineIndent===a?S=0:i.lineIndent<a&&(S=-1)):E=!1;if(E&&(E=_||w),(S===1||kY===f)&&(xY===f||OBt===f?Y=a:Y=a+1,nt=i.position-i.lineStart,S===1?E&&(UBt(i,nt)||ABe(i,nt,Y))||SBe(i,Y)?M=!0:(b&&_Be(i,Y)||TBe(i,Y)||CBe(i,Y)?M=!0:MBe(i)?(M=!0,(i.tag!==null||i.anchor!==null)&&Ks(i,"alias node should not have any properties")):EBe(i,Y,xY===f)&&(M=!0,i.tag===null&&(i.tag="?")),i.anchor!==null&&(i.anchorMap[i.anchor]=i.result)):S===0&&(M=E&&UBt(i,nt))),i.tag===null)i.anchor!==null&&(i.anchorMap[i.anchor]=i.result);else if(i.tag==="?"){for(i.result!==null&&i.kind!=="scalar"&&Ks(i,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+i.kind+'"'),F=0,R=i.implicitTypes.length;F<R;F+=1)if(z=i.implicitTypes[F],z.resolve(i.result)){i.result=z.construct(i.result),i.tag=z.tag,i.anchor!==null&&(i.anchorMap[i.anchor]=i.result);break}}else if(i.tag!=="!"){if(m8.call(i.typeMap[i.kind||"fallback"],i.tag))z=i.typeMap[i.kind||"fallback"][i.tag];else for(z=null,B=i.typeMap.multi[i.kind||"fallback"],F=0,R=B.length;F<R;F+=1)if(i.tag.slice(0,B[F].tag.length)===B[F].tag){z=B[F];break}z||Ks(i,"unknown tag !<"+i.tag+">"),i.result!==null&&z.kind!==i.kind&&Ks(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+z.kind+'", not "'+i.kind+'"'),z.resolve(i.result,i.tag)?(i.result=z.construct(i.result,i.tag),i.anchor!==null&&(i.anchorMap[i.anchor]=i.result)):Ks(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}return i.listener!==null&&i.listener("close",i),i.tag!==null||i.anchor!==null||M}function IBe(i){var a=i.position,f,g,w,v=!1,b;for(i.version=null,i.checkLineBreaks=i.legacy,i.tagMap=Object.create(null),i.anchorMap=Object.create(null);(b=i.input.charCodeAt(i.position))!==0&&(c1(i,!0,-1),b=i.input.charCodeAt(i.position),!(i.lineIndent>0||b!==37));){for(v=!0,b=i.input.charCodeAt(++i.position),f=i.position;b!==0&&!sb(b);)b=i.input.charCodeAt(++i.position);for(g=i.input.slice(f,i.position),w=[],g.length<1&&Ks(i,"directive name must not be less than one character in length");b!==0;){for(;C9(b);)b=i.input.charCodeAt(++i.position);if(b===35){do b=i.input.charCodeAt(++i.position);while(b!==0&&!r4(b));break}if(r4(b))break;for(f=i.position;b!==0&&!sb(b);)b=i.input.charCodeAt(++i.position);w.push(i.input.slice(f,i.position))}b!==0&&Kgt(i),m8.call(HBt,g)?HBt[g](i,g,w):EY(i,'unknown document directive "'+g+'"')}if(c1(i,!0,-1),i.lineIndent===0&&i.input.charCodeAt(i.position)===45&&i.input.charCodeAt(i.position+1)===45&&i.input.charCodeAt(i.position+2)===45?(i.position+=3,c1(i,!0,-1)):v&&Ks(i,"directives end mark is expected"),pD(i,i.lineIndent-1,kY,!1,!0),c1(i,!0,-1),i.checkLineBreaks&&bBe.test(i.input.slice(a,i.position))&&EY(i,"non-ASCII line breaks are interpreted as content"),i.documents.push(i.result),i.position===i.lineStart&&TY(i)){i.input.charCodeAt(i.position)===46&&(i.position+=3,c1(i,!0,-1));return}if(i.position<i.length-1)Ks(i,"end of the stream or a document separator is expected");else return}function GBt(i,a){i=String(i),a=a||{},i.length!==0&&(i.charCodeAt(i.length-1)!==10&&i.charCodeAt(i.length-1)!==13&&(i+=`