1var hs=Object.defineProperty;var Wn=e=>{throw TypeError(e)};var ps=(e,t,s)=>t in e?hs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var Kn=(e,t,s)=>ps(e,typeof t!="symbol"?t+"":t,s),Yt=(e,t,s)=>t.has(e)||Wn("Cannot "+s);var et=(e,t,s)=>(Yt(e,t,"read from private field"),s?s.call(e):t.get(e)),lt=(e,t,s)=>t.has(e)?Wn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,s),ct=(e,t,s,m)=>(Yt(e,t,"write to private field"),m?m.call(e,s):t.set(e,s),s),Xt=(e,t,s)=>(Yt(e,t,"access private method"),s);import{a as Gr,b as at}from"./lit-element.CBn2YVps.js";import{n as Vt}from"./when.BR7zwNJC.js";import{g as Yr,c as ms}from"./commonjsHelpers.BosuxZz1.js";import{A as gs,b as bs}from"./browser.BW5Boyef.js";import{e as ys,a as vs}from"./addCommonStyleSheet.B0XXRREc.js";import{_ as xs}from"./index.BUIxO2d3.js";const Zn={};function _s(e){let t=Zn[e];if(t)return t;t=Zn[e]=[];for(let s=0;s<128;s++){const m=String.fromCharCode(s);t.push(m)}for(let s=0;s<e.length;s++){const m=e.charCodeAt(s);t[m]="%"+("0"+m.toString(16).toUpperCase()).slice(-2)}return t}function mt(e,t){typeof t!="string"&&(t=mt.defaultChars);const s=_s(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(m){let p="";for(let d=0,g=m.length;d<g;d+=3){const o=parseInt(m.slice(d+1,d+3),16);if(o<128){p+=s[o];continue}if((o&224)===192&&d+3<g){const n=parseInt(m.slice(d+4,d+6),16);if((n&192)===128){const b=o<<6&1984|n&63;b<128?p+="��":p+=String.fromCharCode(b),d+=3;continue}}if((o&240)===224&&d+6<g){const n=parseInt(m.slice(d+4,d+6),16),b=parseInt(m.slice(d+7,d+9),16);if((n&192)===128&&(b&192)===128){const y=o<<12&61440|n<<6&4032|b&63;y<2048||y>=55296&&y<=57343?p+="���":p+=String.fromCharCode(y),d+=6;continue}}if((o&248)===240&&d+9<g){const n=parseInt(m.slice(d+4,d+6),16),b=parseInt(m.slice(d+7,d+9),16),y=parseInt(m.slice(d+10,d+12),16);if((n&192)===128&&(b&192)===128&&(y&192)===128){let v=o<<18&1835008|n<<12&258048|b<<6&4032|y&63;v<65536||v>1114111?p+="����":(v-=65536,p+=String.fromCharCode(55296+(v>>10),56320+(v&1023))),d+=9;continue}}p+="�"}return p})}mt.defaultChars=";/?:@&=+$,#";mt.componentChars="";const Jn={};function As(e){let t=Jn[e];if(t)return t;t=Jn[e]=[];for(let s=0;s<128;s++){const m=String.fromCharCode(s);/^[0-9a-z]$/i.test(m)?t.push(m):t.push("%"+("0"+s.toString(16).toUpperCase()).slice(-2))}for(let s=0;s<e.length;s++)t[e.charCodeAt(s)]=e[s];return t}function Ct(e,t,s){typeof t!="string"&&(s=t,t=Ct.defaultChars),typeof s>"u"&&(s=!0);const m=As(t);let p="";for(let d=0,g=e.length;d<g;d++){const o=e.charCodeAt(d);if(s&&o===37&&d+2<g&&/^[0-9a-f]{2}$/i.test(e.slice(d+1,d+3))){p+=e.slice(d,d+3),d+=2;continue}if(o<128){p+=m[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&d+1<g){const n=e.charCodeAt(d+1);if(n>=56320&&n<=57343){p+=encodeURIComponent(e[d]+e[d+1]),d++;continue}}p+="%EF%BF%BD";continue}p+=encodeURIComponent(e[d])}return p}Ct.defaultChars=";/?:@&=+$,-_.!~*'()#";Ct.componentChars="-_.!~*'()";function Fn(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function $t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Es=/^([a-z0-9.+-]+:)/i,ws=/:[0-9]*$/,Cs=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ss=["<",">",'"',"`"," ","\r",` 2`," "],ks=["{","}","|","\\","^","`"].concat(Ss),Os=["'"].concat(ks),Qn=["%","/","?",";","#"].concat(Os),er=["/","?","#"],Is=255,tr=/^[+a-z0-9A-Z_-]{0,63}$/,Ds=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,nr={javascript:!0,"javascript:":!0},rr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Mn(e,t){if(e&&e instanceof $t)return e;const s=new $t;return s.parse(e,t),s}$t.prototype.parse=function(e,t){let s,m,p,d=e;if(d=d.trim(),!t&&e.split("#").length===1){const b=Cs.exec(d);if(b)return this.pathname=b[1],b[2]&&(this.search=b[2]),this}let g=Es.exec(d);if(g&&(g=g[0],s=g.toLowerCase(),this.protocol=g,d=d.substr(g.length)),(t||g||d.match(/^\/\/[^@\/]+@[^@\/]+/))&&(p=d.substr(0,2)==="//",p&&!(g&&nr[g])&&(d=d.substr(2),this.slashes=!0)),!nr[g]&&(p||g&&!rr[g])){let b=-1;for(let l=0;l<er.length;l++)m=d.indexOf(er[l]),m!==-1&&(b===-1||m<b)&&(b=m);let y,v;b===-1?v=d.lastIndexOf("@"):v=d.lastIndexOf("@",b),v!==-1&&(y=d.slice(0,v),d=d.slice(v+1),this.auth=y),b=-1;for(let l=0;l<Qn.length;l++)m=d.indexOf(Qn[l]),m!==-1&&(b===-1||m<b)&&(b=m);b===-1&&(b=d.length),d[b-1]===":"&&b--;const r=d.slice(0,b);d=d.slice(b),this.parseHost(r),this.hostname=this.hostname||"";const i=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!i){const l=this.hostname.split(/\./);for(let c=0,a=l.length;c<a;c++){const x=l[c];if(x&&!x.match(tr)){let f="";for(let h=0,_=x.length;h<_;
2h++)x.charCodeAt(h)>127?f+="x":f+=x[h];if(!f.match(tr)){const h=l.slice(0,c),_=l.slice(c+1),w=x.match(Ds);w&&(h.push(w[1]),_.unshift(w[2])),_.length&&(d=_.join(".")+d),this.hostname=h.join(".");break}}}}this.hostname.length>Is&&(this.hostname=""),i&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=d.indexOf("#");o!==-1&&(this.hash=d.substr(o),d=d.slice(0,o));const n=d.indexOf("?");return n!==-1&&(this.search=d.substr(n),d=d.slice(0,n)),d&&(this.pathname=d),rr[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this};$t.prototype.parseHost=function(e){let t=ws.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const Ts=Object.freeze(Object.defineProperty({__proto__:null,decode:mt,encode:Ct,format:Fn,parse:Mn},Symbol.toStringTag,{value:"Module"})),Xr=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Vr=/[\0-\x1F\x7F-\x9F]/,Rs=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,$n=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Wr=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uD
2F3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Kr=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ns=Object.freeze(Object.defineProperty({__proto__:null,Any:Xr,Cc:Vr,Cf:Rs,P:$n,S:Wr,Z:Kr},Symbol.toStringTag,{value:"Module"})),Ls
vendor: 8,319 bytes, line 2
2=new Uint16Array('áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;
vendor: 7,828 bytes, line 2
2ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;
vendor: 4,294 bytes, line 2
2ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
vendor: 6,210 bytes, line 2
2astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ
2'.split("").map(e=>e.charCodeAt(0))),Fs=new Uint16Array("Èaglq ��\x1BÉ�\0\0�p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(e=>e.charCodeAt(0)));var Wt;const Ms=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),$s=(Wt=String.fromCodePoint)!==null&&Wt!==void 0?Wt:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function js(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Ms.get(e))!==null&&t!==void 0?t:e}var we;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(we||(we={}));const Bs=32;var it;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(it||(it={}));function Tn(e){return e>=we.ZERO&&e<=we.NINE}function Ps(e){return e>=we.UPPER_A&&e<=we.UPPER_F||e>=we.LOWER_A&&e<=we.LOWER_F}function qs(e){return e>=we.UPPER_A&&e<=we.UPPER_Z||e>=we.LOWER_A&&e<=we.LOWER_Z||Tn(e)}function zs(e){return e===we.EQUALS||qs(e)}var Ee;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Ee||(Ee={}));var We;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(We||(We={}));class Us{constructor(t,s,m){this.decodeTree=t,this.emitCodePoint=s,this.errors=m,this.state=Ee.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=We.Strict}startEntity(t){this.decodeMode=t,this.state=Ee.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,s){switch(this.state){case Ee.EntityStart:return t.charCodeAt(s)===we.NUM?(this.state=Ee.NumericStart,this.consumed+=1,this.stateNumericStart(t,s+1)):(this.state=Ee.NamedEntity,this.stateNamedEntity(t,s));case Ee.NumericStart:return this.stateNumericStart(t,s);case Ee.NumericDecimal:return this.stateNumericDecimal(t,s);case Ee.NumericHex:return this.stateNumericHex(t,s);case Ee.NamedEntity:return this.stateNamedEntity(t,s)}}stateNumericStart(t,s){return s>=t.length?-1:(t.charCodeAt(s)|Bs)===we.LOWER_X?(this.state=Ee.NumericHex,this.consumed+=1,this.stateNumericHex(t,s+1)):(this.state=Ee.NumericDecimal,this.stateNumericDecimal(t,s))}addToNumericResult(t,s,m,p){if(s!==m){const d=m-s;this.result=this.result*Math.pow(p,d)+parseInt(t.substr(s,d),p),this.consumed+=d}}stateNumericHex(t,s){const m=s;for(;s<t.length;){const p=t.charCodeAt(s);if(Tn(p)||Ps(p))s+=1;else return this.addToNumericResult(t,m,s,16),this.emitNumericEntity(p,3)}return this.addToNumericResult(t,m,s,16),-1}stateNumericDecimal(t,s){const m=s;for(;s<t.length;){const p=t.charCodeAt(s);if(Tn(p))s+=1;else return this.addToNumericResult(t,m,s,10),this.emitNumericEntity(p,2)}return this.addToNumericResult(t,m,s,10),-1}emitNumericEntity(t,s){var m;if(this.consumed<=s)return(m=this.errors)===null||m===void 0||m.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===we.SEMI)this.consumed+=1;else if(this.decodeMode===We.Strict)return 0;return this.emitCodePoint(js(this.result),this.consumed),this.errors&&(t!==we.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,s){const{decodeTree:m}=this;let p=m[this.treeIndex],d=(p&it.VALUE_LENGTH)>>14;for(;s<t.length;s++,this.excess++){const g=t.charCodeAt(s);if(this.treeIndex=Hs(m,p,this.treeIndex+Math.max(1,d),g),this.treeIndex<0)return this.result===0||this.decodeMode===We.Attribute&&(d===0||zs(g))?0:this.emitNotTerminatedNamedEntity();if(p=m[this.treeIndex],d=(p&it.VALUE_LENGTH)>>14,d!==0){if(g===we.SEMI)return this.emitNamedEntityData(this.treeIndex,d,this.consumed+this.excess);this.decodeMode!==We.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:s,decodeTree:m}=this,p=(m[s]&it.VALUE_LENGTH)>>14;return this.emitNamedEntityData(s,p,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,s,m){const{decodeTree:p}=this;
2return this.emitCodePoint(s===1?p[t]&~it.VALUE_LENGTH:p[t+1],m),s===3&&this.emitCodePoint(p[t+2],m),m}end(){var t;switch(this.state){case Ee.NamedEntity:return this.result!==0&&(this.decodeMode!==We.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ee.NumericDecimal:return this.emitNumericEntity(0,2);case Ee.NumericHex:return this.emitNumericEntity(0,3);case Ee.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ee.EntityStart:return 0}}}function Zr(e){let t="";const s=new Us(e,m=>t+=$s(m));return function(p,d){let g=0,o=0;for(;(o=p.indexOf("&",o))>=0;){t+=p.slice(g,o),s.startEntity(d);const b=s.write(p,o+1);if(b<0){g=o+s.end();break}g=o+b,o=b===0?g+1:g}const n=t+p.slice(g);return t="",n}}function Hs(e,t,s,m){const p=(t&it.BRANCH_LENGTH)>>7,d=t&it.JUMP_TABLE;if(p===0)return d!==0&&m===d?s:-1;if(d){const n=m-d;return n<0||n>=p?-1:e[s+n]-1}let g=s,o=g+p-1;for(;g<=o;){const n=g+o>>>1,b=e[n];if(b<m)g=n+1;else if(b>m)o=n-1;else return e[n+p]}return-1}const Jr=Zr(Ls);Zr(Fs);function Gs(e,t=We.Legacy){return Jr(e,t)}function Ys(e){return Jr(e,We.Strict)}function Xs(e){return Object.prototype.toString.call(e)}function jn(e){return Xs(e)==="[object String]"}const Vs=Object.prototype.hasOwnProperty;function Ws(e,t){return Vs.call(e,t)}function qt(e){return Array.prototype.slice.call(arguments,1).forEach(function(s){if(s){if(typeof s!="object")throw new TypeError(s+"must be object");Object.keys(s).forEach(function(m){e[m]=s[m]})}}),e}function Ks(e,t,s){return[].concat(e.slice(0,t),s,e.slice(t+1))}function Bn(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function yt(e){if(e>65535){e-=65536;const t=55296+(e>>10),s=56320+(e&1023);return String.fromCharCode(t,s)}return String.fromCharCode(e)}const Qr=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Zs=/&([a-z#][a-z0-9]{1,31});/gi,Js=new RegExp(Qr.source+"|"+Zs.source,"gi"),Qs=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function eo(e,t){if(t.charCodeAt(0)===35&&Qs.test(t)){const m=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Bn(m)?yt(m):e}const s=Gs(e);return s!==e?s:e}function to(e){return e.indexOf("\\")<0?e:e.replace(Qr,"$1")}function gt(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Js,function(t,s,m){return s||eo(t,m)})}const no=/[&<>"]/,ro=/[&<>"]/g,io={"&":"&","<":"<",">":">",'"':"""};function so(e){return io[e]}function st(e){return no.test(e)?e.replace(ro,so):e}const oo=/[.?*+^$[\]\\(){}|-]/g;function uo(e){return e.replace(oo,"\\$&")}function ye(e){switch(e){case 9:case 32:return!0}return!1}function vt(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ei(e){return $n.test(e)||Wr.test(e)}function xt(e){return ei(yt(e))}function _t(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function zt(e){return e=e.trim().replace(/\s+/g," "),"áº".toLowerCase()==="á¹¾"&&(e=e.replace(/áº/g,"Ã")),e.toLowerCase().toUpperCase()}function ir(e){return e===32||e===9||e===10||e===13}function Ut(e){let t=0;for(;t<e.length&&ir(e.charCodeAt(t));t++);let s=e.length-1;for(;s>=t&&ir(e.charCodeAt(s));s--);return e.slice(t,s+1)}const ao={mdurl:Ts,ucmicro:Ns},lo=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Ks,asciiTrim:Ut,assign:qt,escapeHtml:st,escapeRE:uo,fromCodePoint:yt,has:Ws,isMdAsciiPunct:_t,isPunctChar:ei,isPunctCharCode:xt,isSpace:ye,isString:jn,isValidEntityCode:Bn,isWhiteSpace:vt,lib:ao,normalizeReference:zt,unescapeAll:gt,unescapeMd:to},Symbol.toStringTag,{value:"Module"}));function co(e,t,s){let m,p,d,g;const o=e.posMax,n=e.pos;for(e.pos=t+1,m=1;e.pos<o;
2){if(d=e.src.charCodeAt(e.pos),d===93&&(m--,m===0)){p=!0;break}if(g=e.pos,e.md.inline.skipToken(e),d===91){if(g===e.pos-1)m++;else if(s)return e.pos=n,-1}}let b=-1;return p&&(b=e.pos),e.pos=n,b}function fo(e,t,s){let m,p=t;const d={ok:!1,pos:0,str:""};if(e.charCodeAt(p)===60){for(p++;p<s;){if(m=e.charCodeAt(p),m===10||m===60)return d;if(m===62)return d.pos=p+1,d.str=gt(e.slice(t+1,p)),d.ok=!0,d;if(m===92&&p+1<s){p+=2;continue}p++}return d}let g=0;for(;p<s&&(m=e.charCodeAt(p),!(m===32||m<32||m===127));){if(m===92&&p+1<s){if(e.charCodeAt(p+1)===32){p++;continue}p+=2;continue}if(m===40&&(g++,g>32))return d;if(m===41){if(g===0)break;g--}p++}return t===p||g!==0||(d.str=gt(e.slice(t,p)),d.pos=p,d.ok=!0),d}function ho(e,t,s,m){let p,d=t;const g={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(m)g.str=m.str,g.marker=m.marker;else{if(d>=s)return g;let o=e.charCodeAt(d);if(o!==34&&o!==39&&o!==40)return g;t++,d++,o===40&&(o=41),g.marker=o}for(;d<s;){if(p=e.charCodeAt(d),p===g.marker)return g.pos=d+1,g.str+=gt(e.slice(t,d)),g.ok=!0,g;if(p===40&&g.marker===41)return g;p===92&&d+1<s&&d++,d++}return g.can_continue=!0,g.str+=gt(e.slice(t,d)),g}const po=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:fo,parseLinkLabel:co,parseLinkTitle:ho},Symbol.toStringTag,{value:"Module"})),qe={};qe.code_inline=function(e,t,s,m,p){const d=e[t];return"<code"+p.renderAttrs(d)+">"+st(d.content)+"</code>"};qe.code_block=function(e,t,s,m,p){const d=e[t];return"<pre"+p.renderAttrs(d)+"><code>"+st(e[t].content)+`</code></pre> 3`};qe.fence=function(e,t,s,m,p){const d=e[t],g=d.info?gt(d.info).trim():"";let o="",n="";if(g){const y=g.split(/(\s+)/g);o=y[0],n=y.slice(2).join("")}let b;if(s.highlight?b=s.highlight(d.content,o,n)||st(d.content):b=st(d.content),b.indexOf("<pre")===0)return b+` 4`;if(g){const y=d.attrIndex("class"),v=d.attrs?d.attrs.slice():[];y<0?v.push(["class",s.langPrefix+o]):(v[y]=v[y].slice(),v[y][1]+=" "+s.langPrefix+o);const r={attrs:v};return`<pre><code${p.renderAttrs(r)}>${b}</code></pre> 5`}return`<pre><code${p.renderAttrs(d)}>${b}</code></pre> 6`};qe.image=function(e,t,s,m,p){const d=e[t];return d.attrs[d.attrIndex("alt")][1]=p.renderInlineAsText(d.children,s,m),p.renderToken(e,t,s)};qe.hardbreak=function(e,t,s){return s.xhtmlOut?`<br /> 7`:`<br> 8`};qe.softbreak=function(e,t,s){return s.breaks?s.xhtmlOut?`<br /> 9`:`<br> 10`:` 11`};qe.text=function(e,t){return st(e[t].content)};qe.html_block=function(e,t){return e[t].content};qe.html_inline=function(e,t){return e[t].content};function bt(){this.rules=qt({},qe)}bt.prototype.renderAttrs=function(t){let s,m,p;if(!t.attrs)return"";for(p="",s=0,m=t.attrs.length;s<m;s++)p+=" "+st(t.attrs[s][0])+'="'+st(t.attrs[s][1])+'"';return p};bt.prototype.renderToken=function(t,s,m){const p=t[s];let d="";if(p.hidden)return"";p.block&&p.nesting!==-1&&s&&t[s-1].hidden&&(d+=` 12`),d+=(p.nesting===-1?"</":"<")+p.tag,d+=this.renderAttrs(p),p.nesting===0&&m.xhtmlOut&&(d+=" /");let g=!1;if(p.block&&(g=!0,p.nesting===1&&s+1<t.length)){const o=t[s+1];(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===p.tag)&&(g=!1)}return d+=g?`> 13`:">",d};bt.prototype.renderInline=function(e,t,s){let m="";const p=this.rules;for(let d=0,g=e.length;d<g;d++){const o=e[d].type;typeof p[o]<"u"?m+=p[o](e,d,t,s,this):m+=this.renderToken(e,d,t)}return m};bt.prototype.renderInlineAsText=function(e,t,s){let m="";for(let p=0,d=e.length;p<d;p++)switch(e[p].type){case"text":m+=e[p].content;break;case"image":m+=this.renderInlineAsText(e[p].children,t,s);break;case"html_inline":case"html_block":m+=e[p].content;break;case"softbreak":case"hardbreak":m+=` 14`;break}return m};bt.prototype.render=function(e,t,s){let m="";const p=this.rules;for(let d=0,g=e.length;d<g;d++){const o=e[d].type;o==="inline"?m+=this.renderInline(e[d].children,t,s):typeof p[o]<"u"?m+=p[o](e,d,t,s,this):m+=this.renderToken(e,d,t,s)}return m};function Te(){this.__rules__=[],this.__cache__=null}Te.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Te.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(s){s.enabled&&s.alt.forEach(function(m){t.indexOf(m)<0&&t.push(m)})}),e.__cache__={},t.forEach(function(s){e.__cache__[s]=[],e.__rules__.forEach(function(m){m.enabled&&(s&&m.alt.indexOf(s)<0||e.__cache__[s].push(m.fn))})})};Te.prototype.at=function(e,t,s){const m=this.__find__(e),p=s||{};if(m===-1)throw new Error("Parser rule not found: "+e);this.__rules__[m].fn=t,this.__rules__[m].alt=p.alt||[],this.__cache__=null};Te.prototype.before=function(e,t,s,m){const p=this.__find__(e),d=m||{};if(p===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(p,0,{name:t,enabled:!0,fn:s,alt:d.alt||[]}),this.__cache__=null};Te.prototype.after=function(e,t,s,m){const p=this.__find__(e),d=m||{};if(p===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(p+1,0,{name:t,enabled:!0,fn:s,alt:d.alt||[]}),this.__cache__=null};Te.prototype.push=function(e,t,s){const m=s||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:m.alt||[]}),this.__cache__=null};Te.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const s=[];return e.forEach(function(m){const p=this.__find__(m);if(p<0){if(t)return;throw new Error("Rules manager: invalid rule name "+m)}this.__rules__[p].enabled=!0,s.push(m)},this),this.__cache__=null,s};
14Te.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(s){s.enabled=!1}),this.enable(e,t)};Te.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const s=[];return e.forEach(function(m){const p=this.__find__(m);if(p<0){if(t)return;throw new Error("Rules manager: invalid rule name "+m)}this.__rules__[p].enabled=!1,s.push(m)},this),this.__cache__=null,s};Te.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Me(e,t,s){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=s,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Me.prototype.attrIndex=function(t){if(!this.attrs)return-1;const s=this.attrs;for(let m=0,p=s.length;m<p;m++)if(s[m][0]===t)return m;return-1};Me.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Me.prototype.attrSet=function(t,s){const m=this.attrIndex(t),p=[t,s];m<0?this.attrPush(p):this.attrs[m]=p};Me.prototype.attrGet=function(t){const s=this.attrIndex(t);let m=null;return s>=0&&(m=this.attrs[s][1]),m};Me.prototype.attrJoin=function(t,s){const m=this.attrIndex(t);m<0?this.attrPush([t,s]):this.attrs[m][1]=this.attrs[m][1]+" "+s};function ti(e,t,s){this.src=e,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=t}ti.prototype.Token=Me;const mo=/\r\n?|\n/g,go=/\0/g;function bo(e){let t;t=e.src.replace(mo,` 15`),t=t.replace(go,"�"),e.src=t}function yo(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function vo(e){const t=e.tokens;for(let s=0,m=t.length;s<m;s++){const p=t[s];p.type==="inline"&&e.md.inline.parse(p.content,e.md,e.env,p.children)}}function xo(e){return/^<a[>\s]/i.test(e)}function _o(e){return/^<\/a\s*>/i.test(e)}function Ao(e){const t=e.tokens;if(e.md.options.linkify)for(let s=0,m=t.length;s<m;s++){if(t[s].type!=="inline"||!e.md.linkify.pretest(t[s].content))continue;const p=t[s].children,d=[];let g=0;for(let o=p.length-1;o>=0;o--){const n=p[o];if(n.type==="link_close"){for(o--;p[o].level!==n.level&&p[o].type!=="link_open";)o--;continue}if(n.type==="html_inline"&&(xo(n.content)&&g>0&&g--,_o(n.content)&&g++),!(g>0)&&n.type==="text"&&e.md.linkify.test(n.content)){const b=n.content;let y=e.md.linkify.match(b);const v=[];let r=n.level,i=0;y.length>0&&y[0].index===0&&o>0&&p[o-1].type==="text_special"&&(y=y.slice(1));for(let l=0;l<y.length;l++){const c=y[l].url,a=e.md.normalizeLink(c);if(!e.md.validateLink(a))continue;let x=y[l].text;y[l].schema?y[l].schema==="mailto:"&&!/^mailto:/i.test(x)?x=e.md.normalizeLinkText("mailto:"+x).replace(/^mailto:/,""):x=e.md.normalizeLinkText(x):x=e.md.normalizeLinkText("http://"+x).replace(/^http:\/\//,"");const f=y[l].index;if(f>i){const S=new e.Token("text","",0);S.content=b.slice(i,f),S.level=r,v.push(S)}const h=new e.Token("link_open","a",1);h.attrs=[["href",a]],h.level=r++,h.markup="linkify",h.info="auto",v.push(h);const _=new e.Token("text","",0);_.content=x,_.level=r,v.push(_);const w=new e.Token("link_close","a",-1);w.level=--r,w.markup="linkify",w.info="auto",v.push(w),i=y[l].lastIndex}if(i<b.length){const l=new e.Token("text","",0);l.content=b.slice(i),l.level=r,v.push(l)}d.push({index:o,nodes:v})}}if(d.length>0){let o=p.length;for(const v of d)o+=v.nodes.length-1;const n=new Array(o);let b=0,y=0;d.reverse();for(let v=0;v<p.length;v++){const r=d[b];if((r==null?void 0:r.index)===v){for(const i of r.nodes)n[y++]=i;b++}else n[y++]=p[v]}t[s].children=n}}}const ni=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Eo=/\((c|tm|r)\)/i,wo=/\((c|tm|r)\)/ig,Co={c:"©",r:"®",tm:"â¢"};function So(e,t){return Co[t.toLowerCase()]}function ko(e){let t=0;for(let s=e.length-1;s>=0;s--){const m=e[s];m.type==="text"&&!t&&(m.content=m.content.replace(wo,So)),m.type==="link_open"&&m.info==="auto"&&t--,m.type==="link_close"&&m.info==="auto"&&t++}}function Oo(e){let t=0;for(let s=e.length-1;s>=0;s--){const m=e[s];m.type==="text"&&!t&&ni.test(m.content)&&(m.content=m.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"â¦").replace(/([?!])â¦/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1â").replace(/(^|\s)--(?=\s|$)/mg,"$1â").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1â")),m.type==="link_open"&&m.info==="auto"&&t--,m.type==="link_close"&&m.info==="auto"&&t++}}function Io(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Eo.test(e.tokens[t].content)&&ko(e.tokens[t].children),ni.test(e.tokens[t].content)&&Oo(e.tokens[t].children))}const Do=/['"]/,sr=/['"]/g,or="â";function Rt(e,t,s,m){e[t]||(e[t]=[]),e[t].push({pos:s,ch:m})}function To(e,t){let s="",m=0;t.sort((p,d)=>p.pos-d.pos);for(let p=0;p<t.length;p++){const d=t[p];s+=e.slice(m,d.pos)+d.ch,m=d.pos+1}return s+e.slice(m)}function Ro(e,t){let s;const m=[],p={};for(let d=0;d<e.length;d++){const g=e[d],o=e[d].level;for(s=m.length-1;s>=0&&!(m[s].level<=o);s--);if(m.length=s+1,g.type!=="text")continue;const n=g.content;let b=0;const y=n.length;e:for(;b<y;){sr.lastIndex=b;const v=sr.exec(n);if(!v)break;let r=!0,i=!0;b=v.index+1;const l=v[0]==="'";let c=32;if(v.index-1>=0)c=n.charCodeAt(v.index-1);else for(s=d-1;s>=0&&!(e[s].type==="softbreak"||e[s].type==="hardbreak");
15s--)if(e[s].content){c=e[s].content.charCodeAt(e[s].content.length-1);break}let a=32;if(b<y)a=n.charCodeAt(b);else for(s=d+1;s<e.length&&!(e[s].type==="softbreak"||e[s].type==="hardbreak");s++)if(e[s].content){a=e[s].content.charCodeAt(0);break}const x=_t(c)||xt(c),f=_t(a)||xt(a),h=vt(c),_=vt(a);if(_?r=!1:f&&(h||x||(r=!1)),h?i=!1:x&&(_||f||(i=!1)),a===34&&v[0]==='"'&&c>=48&&c<=57&&(i=r=!1),r&&i&&(r=x,i=f),!r&&!i){l&&Rt(p,d,v.index,or);continue}if(i)for(s=m.length-1;s>=0;s--){let w=m[s];if(m[s].level<o)break;if(w.single===l&&m[s].level===o){w=m[s];let S,D;l?(S=t.md.options.quotes[2],D=t.md.options.quotes[3]):(S=t.md.options.quotes[0],D=t.md.options.quotes[1]),Rt(p,d,v.index,D),Rt(p,w.token,w.pos,S),m.length=s;continue e}}r?m.push({token:d,pos:v.index,single:l,level:o}):i&&l&&Rt(p,d,v.index,or)}}Object.keys(p).forEach(function(d){e[d].content=To(e[d].content,p[d])})}function No(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Do.test(e.tokens[t].content)||Ro(e.tokens[t].children,e)}function Lo(e){let t,s;const m=e.tokens,p=m.length;for(let d=0;d<p;d++){if(m[d].type!=="inline")continue;const g=m[d].children,o=g.length;for(t=0;t<o;t++)g[t].type==="text_special"&&(g[t].type="text");for(t=s=0;t<o;t++)g[t].type==="text"&&t+1<o&&g[t+1].type==="text"?g[t+1].content=g[t].content+g[t+1].content:(t!==s&&(g[s]=g[t]),s++);t!==s&&(g.length=s)}}const Kt=[["normalize",bo],["block",yo],["inline",vo],["linkify",Ao],["replacements",Io],["smartquotes",No],["text_join",Lo]];function Pn(){this.ruler=new Te;for(let e=0;e<Kt.length;e++)this.ruler.push(Kt[e][0],Kt[e][1])}Pn.prototype.process=function(e){const t=this.ruler.getRules("");for(let s=0,m=t.length;s<m;s++)t[s](e)};Pn.prototype.State=ti;function ze(e,t,s,m){this.src=e,this.md=t,this.env=s,this.tokens=m,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const p=this.src;for(let d=0,g=0,o=0,n=0,b=p.length,y=!1;g<b;g++){const v=p.charCodeAt(g);if(!y)if(ye(v)){o++,v===9?n+=4-n%4:n++;continue}else y=!0;(v===10||g===b-1)&&(v!==10&&g++,this.bMarks.push(d),this.eMarks.push(g),this.tShift.push(o),this.sCount.push(n),this.bsCount.push(0),y=!1,o=0,n=0,d=g+1)}this.bMarks.push(p.length),this.eMarks.push(p.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}ze.prototype.push=function(e,t,s){const m=new Me(e,t,s);return m.block=!0,s<0&&this.level--,m.level=this.level,s>0&&this.level++,this.tokens.push(m),m};ze.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};ze.prototype.skipEmptyLines=function(t){for(let s=this.lineMax;t<s&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};ze.prototype.skipSpaces=function(t){for(let s=this.src.length;t<s;t++){const m=this.src.charCodeAt(t);if(!ye(m))break}return t};ze.prototype.skipSpacesBack=function(t,s){if(t<=s)return t;for(;t>s;)if(!ye(this.src.charCodeAt(--t)))return t+1;return t};ze.prototype.skipChars=function(t,s){for(let m=this.src.length;t<m&&this.src.charCodeAt(t)===s;t++);return t};ze.prototype.skipCharsBack=function(t,s,m){if(t<=m)return t;for(;t>m;)if(s!==this.src.charCodeAt(--t))return t+1;return t};ze.prototype.getLines=function(t,s,m,p){if(t>=s)return"";const d=new Array(s-t);for(let g=0,o=t;o<s;o++,g++){let n=0;const b=this.bMarks[o];let y=b,v;for(o+1<s||p?v=this.eMarks[o]+1:v=this.eMarks[o];y<v&&n<m;){const r=this.src.charCodeAt(y);if(ye(r))r===9?n+=4-(n+this.bsCount[o])%4:n++;else if(y-b<this.tShift[o])n++;else break;y++}n>m?d[g]=new Array(n-m+1).join(" ")+this.src.slice(y,v):d[g]=this.src.slice(y,v)}return d.join("")};ze.prototype.Token=Me;const Fo=65536;function Zt(e,t){const s=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];return e.src.slice(s,m)}function ur(e){const t=[],s=e.length;let m=0,p=e.charCodeAt(m),d=!1,g=0,o="";for(;m<s;)p===124&&(d?(o+=e.substring(g,m-1),g=m):(t.push(o+e.substring(g,m)),o="",g=m+1)),d=p===92,m++,p=e.charCodeAt(m);return t.push(o+e.substring(g)),t}function Mo(e,t,s,m){if(t+2>s)return!1;let p=t+1;if(e.sCount[p]<e.blkIndent||e.sCount[p]-e.blkIndent>=4)return!1;let d=e.bMarks[p]+e.tShift[p];if(d>=e.eMarks[p])return!1;
15const g=e.src.charCodeAt(d++);if(g!==124&&g!==45&&g!==58||d>=e.eMarks[p])return!1;const o=e.src.charCodeAt(d++);if(o!==124&&o!==45&&o!==58&&!ye(o)||g===45&&ye(o))return!1;for(;d<e.eMarks[p];){const _=e.src.charCodeAt(d);if(_!==124&&_!==45&&_!==58&&!ye(_))return!1;d++}let n=Zt(e,t+1),b=n.split("|");const y=[];for(let _=0;_<b.length;_++){const w=b[_].trim();if(!w){if(_===0||_===b.length-1)continue;return!1}if(!/^:?-+:?$/.test(w))return!1;w.charCodeAt(w.length-1)===58?y.push(w.charCodeAt(0)===58?"center":"right"):w.charCodeAt(0)===58?y.push("left"):y.push("")}if(n=Zt(e,t).trim(),n.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;b=ur(n),b.length&&b[0]===""&&b.shift(),b.length&&b[b.length-1]===""&&b.pop();const v=b.length;if(v===0||v!==y.length)return!1;if(m)return!0;const r=e.parentType;e.parentType="table";const i=e.md.block.ruler.getRules("blockquote"),l=e.push("table_open","table",1),c=[t,0];l.map=c;const a=e.push("thead_open","thead",1);a.map=[t,t+1];const x=e.push("tr_open","tr",1);x.map=[t,t+1];for(let _=0;_<b.length;_++){const w=e.push("th_open","th",1);y[_]&&(w.attrs=[["style","text-align:"+y[_]]]);const S=e.push("inline","",0);S.content=b[_].trim(),S.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let f,h=0;for(p=t+2;p<s&&!(e.sCount[p]<e.blkIndent);p++){let _=!1;for(let S=0,D=i.length;S<D;S++)if(i[S](e,p,s,!0)){_=!0;break}if(_||(n=Zt(e,p).trim(),!n)||e.sCount[p]-e.blkIndent>=4||(b=ur(n),b.length&&b[0]===""&&b.shift(),b.length&&b[b.length-1]===""&&b.pop(),h+=v-b.length,h>Fo))break;if(p===t+2){const S=e.push("tbody_open","tbody",1);S.map=f=[t+2,0]}const w=e.push("tr_open","tr",1);w.map=[p,p+1];for(let S=0;S<v;S++){const D=e.push("td_open","td",1);y[S]&&(D.attrs=[["style","text-align:"+y[S]]]);const T=e.push("inline","",0);T.content=b[S]?b[S].trim():"",T.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return f&&(e.push("tbody_close","tbody",-1),f[1]=p),e.push("table_close","table",-1),c[1]=p,e.parentType=r,e.line=p,!0}function $o(e,t,s){if(e.sCount[t]-e.blkIndent<4)return!1;let m=t+1,p=m;for(;m<s;){if(e.isEmpty(m)){m++;continue}if(e.sCount[m]-e.blkIndent>=4){m++,p=m;continue}break}e.line=p;const d=e.push("code_block","code",0);return d.content=e.getLines(t,p,4+e.blkIndent,!1)+` 16`,d.map=[t,e.line],!0}function jo(e,t,s,m){let p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||p+3>d)return!1;const g=e.src.charCodeAt(p);if(g!==126&&g!==96)return!1;let o=p;p=e.skipChars(p,g);let n=p-o;if(n<3)return!1;const b=e.src.slice(o,p),y=e.src.slice(p,d);if(g===96&&y.indexOf(String.fromCharCode(g))>=0)return!1;if(m)return!0;let v=t,r=!1;for(;v++,!(v>=s||(p=o=e.bMarks[v]+e.tShift[v],d=e.eMarks[v],p<d&&e.sCount[v]<e.blkIndent));)if(e.src.charCodeAt(p)===g&&!(e.sCount[v]-e.blkIndent>=4)&&(p=e.skipChars(p,g),!(p-o<n)&&(p=e.skipSpaces(p),!(p<d)))){r=!0;break}n=e.sCount[t],e.line=v+(r?1:0);const i=e.push("fence","code",0);return i.info=y,i.content=e.getLines(t+1,v,n,!0),i.markup=b,i.map=[t,e.line],!0}function Bo(e,t,s,m){let p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];const g=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(p)!==62)return!1;if(m)return!0;const o=[],n=[],b=[],y=[],v=e.md.block.ruler.getRules("blockquote"),r=e.parentType;e.parentType="blockquote";let i=!1,l;for(l=t;l<s;l++){const h=e.sCount[l]<e.blkIndent;if(p=e.bMarks[l]+e.tShift[l],d=e.eMarks[l],p>=d)break;if(e.src.charCodeAt(p++)===62&&!h){let w=e.sCount[l]+1,S,D;e.src.charCodeAt(p)===32?(p++,w++,D=!1,S=!0):e.src.charCodeAt(p)===9?(S=!0,(e.bsCount[l]+w)%4===3?(p++,w++,D=!1):D=!0):S=!1;let T=w;for(o.push(e.bMarks[l]),e.bMarks[l]=p;p<d;){const E=e.src.charCodeAt(p);if(ye(E))E===9?T+=4-(T+e.bsCount[l]+(D?1:0))%4:T++;else break;p++}i=p>=d,n.push(e.bsCount[l]),e.bsCount[l]=e.sCount[l]+1+(S?1:0),b.push(e.sCount[l]),e.sCount[l]=T-w,y.push(e.tShift[l]),e.tShift[l]=p-e.bMarks[l];continue}if(i)break;let _=!1;for(let w=0,S=v.length;w<S;w++)if(v[w](e,l,s,!0)){_=!0;break}if(_){e.lineMax=l,e.blkIndent!==0&&(o.push(e.bMarks[l]),n.push(e.bsCount[l]),y.push(e.tShift[l]),b.push(e.sCount[l]),e.sCount[l]-=e.blkIndent);break}o.push(e.bMarks[l]),n.push(e.bsCount[l]),y.push(e.tShift[l]),b.push(e.sCount[l]),e.sCount[l]=-1}const c=e.blkIndent;e.blkIndent=0;const a=e.push("blockquote_open","blockquote",1);a.markup=">";const x=[t,0];a.map=x,e.md.block.tokenize(e,t,l);const f=e.push("blockquote_close","blockquote",-1);f.markup=">",e.lineMax=g,e.parentType=r,x[1]=e.line;for(let h=0;h<y.length;h++)e.bMarks[h+t]=o[h],e.tShift[h+t]=y[h],e.sCount[h+t]=b[h],e.bsCount[h+t]=n[h];return e.blkIndent=c,!0}function Po(e,t,s,m){const p=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let d=e.bMarks[t]+e.tShift[t];
16const g=e.src.charCodeAt(d++);if(g!==42&&g!==45&&g!==95)return!1;let o=1;for(;d<p;){const b=e.src.charCodeAt(d++);if(b!==g&&!ye(b))return!1;b===g&&o++}if(o<3)return!1;if(m)return!0;e.line=t+1;const n=e.push("hr","hr",0);return n.map=[t,e.line],n.markup=Array(o+1).join(String.fromCharCode(g)),!0}function ar(e,t){const s=e.eMarks[t];let m=e.bMarks[t]+e.tShift[t];const p=e.src.charCodeAt(m++);if(p!==42&&p!==45&&p!==43)return-1;if(m<s){const d=e.src.charCodeAt(m);if(!ye(d))return-1}return m}function lr(e,t){const s=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];let p=s;if(p+1>=m)return-1;let d=e.src.charCodeAt(p++);if(d<48||d>57)return-1;for(;;){if(p>=m)return-1;if(d=e.src.charCodeAt(p++),d>=48&&d<=57){if(p-s>=10)return-1;continue}if(d===41||d===46)break;return-1}return p<m&&(d=e.src.charCodeAt(p),!ye(d))?-1:p}function qo(e,t){const s=e.level+2;for(let m=t+2,p=e.tokens.length-2;m<p;m++)e.tokens[m].level===s&&e.tokens[m].type==="paragraph_open"&&(e.tokens[m+2].hidden=!0,e.tokens[m].hidden=!0,m+=2)}function zo(e,t,s,m){let p,d,g,o,n=t,b=!0;if(e.sCount[n]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]<e.blkIndent)return!1;let y=!1;m&&e.parentType==="paragraph"&&e.sCount[n]>=e.blkIndent&&(y=!0);let v,r,i;if((i=lr(e,n))>=0){if(v=!0,g=e.bMarks[n]+e.tShift[n],r=Number(e.src.slice(g,i-1)),y&&r!==1)return!1}else if((i=ar(e,n))>=0)v=!1;else return!1;if(y&&e.skipSpaces(i)>=e.eMarks[n])return!1;if(m)return!0;const l=e.src.charCodeAt(i-1),c=e.tokens.length;v?(o=e.push("ordered_list_open","ol",1),r!==1&&(o.attrs=[["start",r]])):o=e.push("bullet_list_open","ul",1);const a=[n,0];o.map=a,o.markup=String.fromCharCode(l);let x=!1;const f=e.md.block.ruler.getRules("list"),h=e.parentType;for(e.parentType="list";n<s;){d=i,p=e.eMarks[n];const _=e.sCount[n]+i-(e.bMarks[n]+e.tShift[n]);let w=_;for(;d<p;){const Z=e.src.charCodeAt(d);if(Z===9)w+=4-(w+e.bsCount[n])%4;else if(Z===32)w++;else break;d++}const S=d;let D;S>=p?D=1:D=w-_,D>4&&(D=1);const T=_+D;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(l);const E=[n,0];o.map=E,v&&(o.info=e.src.slice(g,i-1));const k=e.tight,I=e.tShift[n],L=e.sCount[n],U=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=T,e.tight=!0,e.tShift[n]=S-e.bMarks[n],e.sCount[n]=w,S>=p&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||x)&&(b=!1),x=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=U,e.tShift[n]=I,e.sCount[n]=L,e.tight=k,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(l),n=e.line,E[1]=n,n>=s||e.sCount[n]<e.blkIndent||e.sCount[n]-e.blkIndent>=4)break;let z=!1;for(let Z=0,H=f.length;Z<H;Z++)if(f[Z](e,n,s,!0)){z=!0;break}if(z)break;if(v){if(i=lr(e,n),i<0)break;g=e.bMarks[n]+e.tShift[n]}else if(i=ar(e,n),i<0)break;if(l!==e.src.charCodeAt(i-1))break}return v?o=e.push("ordered_list_close","ol",-1):o=e.push("bullet_list_close","ul",-1),o.markup=String.fromCharCode(l),a[1]=n,e.line=n,e.parentType=h,b&&qo(e,c),!0}function Uo(e,t,s,m){let p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t],g=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(p)!==91)return!1;function o(f){const h=e.lineMax;if(f>=h||e.isEmpty(f))return null;let _=!1;if(e.sCount[f]-e.blkIndent>3&&(_=!0),e.sCount[f]<0&&(_=!0),!_){const D=e.md.block.ruler.getRules("reference"),T=e.parentType;e.parentType="reference";let E=!1;for(let k=0,I=D.length;k<I;k++)if(D[k](e,f,h,!0)){E=!0;break}if(e.parentType=T,E)return null}const w=e.bMarks[f]+e.tShift[f],S=e.eMarks[f];return e.src.slice(w,S+1)}let n=e.src.slice(p,d+1);d=n.length;let b=-1;for(p=1;p<d;p++){const f=n.charCodeAt(p);if(f===91)return!1;if(f===93){b=p;break}else if(f===10){const h=o(g);h!==null&&(n+=h,d=n.length,g++)}else if(f===92&&(p++,p<d&&n.charCodeAt(p)===10)){const h=o(g);h!==null&&(n+=h,d=n.length,g++)}}if(b<0||n.charCodeAt(b+1)!==58)return!1;for(p=b+2;p<d;p++){const f=n.charCodeAt(p);if(f===10){const h=o(g);h!==null&&(n+=h,d=n.length,g++)}else if(!ye(f))break}const y=e.md.helpers.parseLinkDestination(n,p,d);if(!y.ok)return!1;const v=e.md.normalizeLink(y.str);if(!e.md.validateLink(v))return!1;p=y.pos;const r=p,i=g,l=p;for(;p<d;p++){const f=n.charCodeAt(p);if(f===10){const h=o(g);h!==null&&(n+=h,d=n.length,g++)}else if(!ye(f))break}let c=e.md.helpers.parseLinkTitle(n,p,d);for(;c.can_continue;){const f=o(g);if(f===null)break;n+=f,p=d,d=n.length,g++,c=e.md.helpers.parseLinkTitle(n,p,d,c)}let a;for(p<d&&l!==p&&c.ok?(a=c.str,p=c.pos):(a="",p=r,g=i);p<d;){const f=n.charCodeAt(p);if(!ye(f))break;p++}
16if(p<d&&n.charCodeAt(p)!==10&&a)for(a="",p=r,g=i;p<d;){const f=n.charCodeAt(p);if(!ye(f))break;p++}if(p<d&&n.charCodeAt(p)!==10)return!1;const x=zt(n.slice(1,b));return x?(m||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[x]>"u"&&(e.env.references[x]={title:a,href:v}),e.line=g),!0):!1}const Ho=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Go="[a-zA-Z_:][a-zA-Z0-9:._-]*",Yo="[^\"'=<>`\\x00-\\x20]+",Xo="'[^']*'",Vo='"[^"]*"',Wo="(?:"+Yo+"|"+Xo+"|"+Vo+")",Ko="(?:\\s+"+Go+"(?:\\s*=\\s*"+Wo+")?)",ri="<[A-Za-z][A-Za-z0-9\\-]*"+Ko+"*\\s*\\/?>",ii="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Zo="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Jo="<[?][\\s\\S]*?[?]>",Qo="<![A-Za-z][^>]*>",eu="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",tu=new RegExp("^(?:"+ri+"|"+ii+"|"+Zo+"|"+Jo+"|"+Qo+"|"+eu+")"),nu=new RegExp("^(?:"+ri+"|"+ii+")"),ut=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Ho.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(nu.source+"\\s*$"),/^$/,!1]];function ru(e,t,s,m){let p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(p)!==60)return!1;let g=e.src.slice(p,d),o=0;for(;o<ut.length&&!ut[o][0].test(g);o++);if(o===ut.length)return!1;if(m)return ut[o][2];let n=t+1;const b=ut[o][1].test("");if(!ut[o][1].test(g)){for(;n<s&&!(e.sCount[n]<e.blkIndent&&(b||!e.isEmpty(n)));n++)if(p=e.bMarks[n]+e.tShift[n],d=e.eMarks[n],g=e.src.slice(p,d),ut[o][1].test(g)){g.length!==0&&n++;break}}e.line=n;const y=e.push("html_block","",0);return y.map=[t,n],y.content=e.getLines(t,n,e.blkIndent,!0),!0}function iu(e,t,s,m){let p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let g=e.src.charCodeAt(p);if(g!==35||p>=d)return!1;let o=1;for(g=e.src.charCodeAt(++p);g===35&&p<d&&o<=6;)o++,g=e.src.charCodeAt(++p);if(o>6||p<d&&!ye(g))return!1;if(m)return!0;d=e.skipSpacesBack(d,p);const n=e.skipCharsBack(d,35,p);n>p&&ye(e.src.charCodeAt(n-1))&&(d=n),e.line=t+1;const b=e.push("heading_open","h"+String(o),1);b.markup="########".slice(0,o),b.map=[t,e.line];const y=e.push("inline","",0);y.content=Ut(e.src.slice(p,d)),y.map=[t,e.line],y.children=[];const v=e.push("heading_close","h"+String(o),-1);return v.markup="########".slice(0,o),!0}function su(e,t,s){const m=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const p=e.parentType;e.parentType="paragraph";let d=0,g,o=t+1;for(;o<s&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]>=e.blkIndent){let i=e.bMarks[o]+e.tShift[o];const l=e.eMarks[o];if(i<l&&(g=e.src.charCodeAt(i),(g===45||g===61)&&(i=e.skipChars(i,g),i=e.skipSpaces(i),i>=l))){d=g===61?1:2;break}}if(e.sCount[o]<0)continue;let r=!1;for(let i=0,l=m.length;i<l;i++)if(m[i](e,o,s,!0)){r=!0;break}if(r)break}if(!d)return e.parentType=p,!1;const n=Ut(e.getLines(t,o,e.blkIndent,!1));e.line=o+1;const b=e.push("heading_open","h"+String(d),1);b.markup=String.fromCharCode(g),b.map=[t,e.line];const y=e.push("inline","",0);y.content=n,y.map=[t,e.line-1],y.children=[];const v=e.push("heading_close","h"+String(d),-1);return v.markup=String.fromCharCode(g),e.parentType=p,!0}function ou(e,t,s){const m=e.md.block.ruler.getRules("paragraph"),p=e.parentType;let d=t+1;for(e.parentType="paragraph";d<s&&!e.isEmpty(d);d++){if(e.sCount[d]-e.blkIndent>3||e.sCount[d]<0)continue;let b=!1;for(let y=0,v=m.length;y<v;y++)if(m[y](e,d,s,!0)){b=!0;break}if(b)break}const g=Ut(e.getLines(t,d,e.blkIndent,!1));e.line=d;const o=e.push("paragraph_open","p",1);o.map=[t,e.line];const n=e.push("inline","",0);return n.content=g,n.map=[t,e.line],n.children=[],e.push("paragraph_close","p",-1),e.parentType=p,!0}const Nt=[["table",Mo,["paragraph","reference"]],["code",$o],["fence",jo,["paragraph","reference","blockquote","list"]],["blockquote",Bo,["paragraph","reference","blockquote","list"]],["hr",Po,["paragraph","reference","blockquote","list"]],["list",zo,["paragraph","reference","blockquote"]],["reference",Uo],["html_block",ru,["paragraph","reference","blockquote"]],["heading",iu,["paragraph","reference","blockquote"]],["lheading",su],["paragraph",ou]];function Ht(){this.ruler=new Te;for(let e=0;e<Nt.length;e++)this.ruler.push(Nt[e][0],Nt[e][1],{alt:(Nt[e][2]||[]).slice()})}Ht.prototype.tokenize=function(e,t,s){const m=this.ruler.getRules(""),p=m.length,d=e.md.options.maxNesting;let g=t,o=!1;for(;g<s&&(e.line=g=e.skipEmptyLines(g),!(g>=s||e.sCount[g]<e.blkIndent));){if(e.level>=d){e.line=s;break}const n=e.line;let b=!1;for(let y=0;y<p;y++)if(b=m[y](e,g,s,!1),b){if(n>=e.line)throw new Error("block rule didn't increment state.line");break}if(!b)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),g=e.line,g<s&&e.isEmpty(g)&&(o=!0,g++,e.line=g)}};Ht.prototype.parse=function(e,t,s,m){if(!e)return;const p=new this.State(e,t,s,m);this.tokenize(p,p.line,p.lineMax)};Ht.prototype.State=ze;function St(e,t,s,m){this.src=e,this.env=s,this.md=t,this.tokens=m,this.tokens_meta=Array(m.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}St.prototype.pushPending=function(){const e=new Me("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};St.prototype.push=function(e,t,s){this.pending&&this.pushPending();const m=new Me(e,t,s);let p=null;return s<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),m.level=this.level,s>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],p={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(m),this.tokens_meta.push(p),m};St.prototype.scanDelims=function(e,t){const s=this.posMax,m=this.src.charCo
16deAt(e);let p;if(e===0)p=32;else if(e===1)p=this.src.charCodeAt(0),(p&63488)===55296&&(p=65533);else if(p=this.src.charCodeAt(e-1),(p&64512)===56320){const a=this.src.charCodeAt(e-2);p=(a&64512)===55296?65536+(a-55296<<10)+(p-56320):65533}else(p&64512)===55296&&(p=65533);let d=e;for(;d<s&&this.src.charCodeAt(d)===m;)d++;const g=d-e;let o=d<s?this.src.charCodeAt(d):32;if((o&64512)===55296){const a=this.src.charCodeAt(d+1);o=(a&64512)===56320?65536+(o-55296<<10)+(a-56320):65533}else(o&64512)===56320&&(o=65533);const n=_t(p)||xt(p),b=_t(o)||xt(o),y=vt(p),v=vt(o),r=!v&&(!b||y||n),i=!y&&(!n||v||b);return{can_open:r&&(t||!i||n),can_close:i&&(t||!r||b),length:g}};St.prototype.Token=Me;function uu(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function au(e,t){let s=e.pos;for(;s<e.posMax&&!uu(e.src.charCodeAt(s));)s++;return s===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,s)),e.pos=s,!0)}function lu(e){return e>=65&&e<=90||e>=97&&e<=122}function cu(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function fu(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const s=e.pos,m=e.posMax;if(s+3>m||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47)return!1;const p=s-Math.min(10,e.pending.length,s);let d=s;for(;d>p&&cu(e.src.charCodeAt(d-1));)d--;if(d===s||!lu(e.src.charCodeAt(d)))return!1;const g=s-d,o=e.md.linkify.matchAtStart(e.src.slice(d));if(!o)return!1;let n=o.url;if(n.length<=g)return!1;let b=n.length;for(;b>0&&n.charCodeAt(b-1)===42;)b--;b!==n.length&&(n=n.slice(0,b));const y=e.md.normalizeLink(n);if(!e.md.validateLink(y))return!1;if(!t){e.pending=e.pending.slice(0,-g);const v=e.push("link_open","a",1);v.attrs=[["href",y]],v.markup="linkify",v.info="auto";const r=e.push("text","",0);r.content=e.md.normalizeLinkText(n);const i=e.push("link_close","a",-1);i.markup="linkify",i.info="auto"}return e.pos+=n.length-g,!0}function du(e,t){let s=e.pos;if(e.src.charCodeAt(s)!==10)return!1;const m=e.pending.length-1,p=e.posMax;if(!t)if(m>=0&&e.pending.charCodeAt(m)===32)if(m>=1&&e.pending.charCodeAt(m-1)===32){let d=m-1;for(;d>=1&&e.pending.charCodeAt(d-1)===32;)d--;e.pending=e.pending.slice(0,d),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(s++;s<p&&ye(e.src.charCodeAt(s));)s++;return e.pos=s,!0}const qn=[];for(let e=0;e<256;e++)qn.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){qn[e.charCodeAt(0)]=1});function hu(e,t){let s=e.pos;const m=e.posMax;if(e.src.charCodeAt(s)!==92||(s++,s>=m))return!1;let p=e.src.charCodeAt(s);if(p===10){for(t||e.push("hardbreak","br",0),s++;s<m&&(p=e.src.charCodeAt(s),!!ye(p));)s++;return e.pos=s,!0}if(p===32){if(!t){const o=e.push("text_special","",0);o.content="\\",o.markup="\\",o.info="escape"}return e.pos=s,!0}let d=e.src[s];if(p>=55296&&p<=56319&&s+1<m){const o=e.src.charCodeAt(s+1);o>=56320&&o<=57343&&(d+=e.src[s+1],s++)}const g="\\"+d;if(!t){const o=e.push("text_special","",0);p<256&&qn[p]!==0?o.content=d:o.content=g,o.markup=g,o.info="escape"}return e.pos=s+1,!0}function pu(e,t){let s=e.pos;if(e.src.charCodeAt(s)!==96)return!1;const p=s;s++;const d=e.posMax;for(;s<d&&e.src.charCodeAt(s)===96;)s++;const g=e.src.slice(p,s),o=g.length;if(e.backticksScanned&&(e.backticks[o]||0)<=p)return t||(e.pending+=g),e.pos+=o,!0;let n=s,b;for(;(b=e.src.indexOf("`",n))!==-1;){for(n=b+1;n<d&&e.src.charCodeAt(n)===96;)n++;const y=n-b;if(y===o){if(!t){const v=e.push("code_inline","code",0);v.markup=g,v.content=e.src.slice(s,b).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=n,!0}e.backticks[y]=b}return e.backticksScanned=!0,t||(e.pending+=g),e.pos+=o,!0}function mu(e,t){const s=e.pos,m=e.src.charCodeAt(s);if(t||m!==126)return!1;const p=e.scanDelims(e.pos,!0);let d=p.length;const g=String.fromCharCode(m);if(d<2)return!1;let o;d%2&&(o=e.push("text","",0),o.content=g,d--);for(let n=0;n<d;n+=2)o=e.push("text","",0),o.content=g+g,e.delimiters.push({marker:m,length:0,token:e.tokens.length-1,end:-1,open:p.can_open,close:p.can_close});return e.pos+=p.length,!0}function cr(e,t){let s;const m=[],p=t.length;for(let d=0;d<p;
16d++){const g=t[d];if(g.marker!==126||g.end===-1)continue;const o=t[g.end];s=e.tokens[g.token],s.type="s_open",s.tag="s",s.nesting=1,s.markup="~~",s.content="",s=e.tokens[o.token],s.type="s_close",s.tag="s",s.nesting=-1,s.markup="~~",s.content="",e.tokens[o.token-1].type==="text"&&e.tokens[o.token-1].content==="~"&&m.push(o.token-1)}for(;m.length;){const d=m.pop();let g=d+1;for(;g<e.tokens.length&&e.tokens[g].type==="s_close";)g++;g--,d!==g&&(s=e.tokens[g],e.tokens[g]=e.tokens[d],e.tokens[d]=s)}}function gu(e){const t=e.tokens_meta,s=e.tokens_meta.length;cr(e,e.delimiters);for(let m=0;m<s;m++)t[m]&&t[m].delimiters&&cr(e,t[m].delimiters)}const si={tokenize:mu,postProcess:gu};function bu(e,t){const s=e.pos,m=e.src.charCodeAt(s);if(t||m!==95&&m!==42)return!1;const p=e.scanDelims(e.pos,m===42);for(let d=0;d<p.length;d++){const g=e.push("text","",0);g.content=String.fromCharCode(m),e.delimiters.push({marker:m,length:p.length,token:e.tokens.length-1,end:-1,open:p.can_open,close:p.can_close})}return e.pos+=p.length,!0}function fr(e,t){const s=t.length;for(let m=s-1;m>=0;m--){const p=t[m];if(p.marker!==95&&p.marker!==42||p.end===-1)continue;const d=t[p.end],g=m>0&&t[m-1].end===p.end+1&&t[m-1].marker===p.marker&&t[m-1].token===p.token-1&&t[p.end+1].token===d.token+1,o=String.fromCharCode(p.marker),n=e.tokens[p.token];n.type=g?"strong_open":"em_open",n.tag=g?"strong":"em",n.nesting=1,n.markup=g?o+o:o,n.content="";const b=e.tokens[d.token];b.type=g?"strong_close":"em_close",b.tag=g?"strong":"em",b.nesting=-1,b.markup=g?o+o:o,b.content="",g&&(e.tokens[t[m-1].token].content="",e.tokens[t[p.end+1].token].content="",m--)}}function yu(e){const t=e.tokens_meta,s=e.tokens_meta.length;fr(e,e.delimiters);for(let m=0;m<s;m++)t[m]&&t[m].delimiters&&fr(e,t[m].delimiters)}const oi={tokenize:bu,postProcess:yu};function vu(e,t){let s,m,p,d,g="",o="",n=e.pos,b=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const y=e.pos,v=e.posMax,r=e.pos+1,i=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(i<0)return!1;let l=i+1;if(l<v&&e.src.charCodeAt(l)===40){for(b=!1,l++;l<v&&(s=e.src.charCodeAt(l),!(!ye(s)&&s!==10));l++);if(l>=v)return!1;if(n=l,p=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),p.ok){for(g=e.md.normalizeLink(p.str),e.md.validateLink(g)?l=p.pos:g="",n=l;l<v&&(s=e.src.charCodeAt(l),!(!ye(s)&&s!==10));l++);if(p=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<v&&n!==l&&p.ok)for(o=p.str,l=p.pos;l<v&&(s=e.src.charCodeAt(l),!(!ye(s)&&s!==10));l++);}(l>=v||e.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof e.env.references>"u")return!1;if(l<v&&e.src.charCodeAt(l)===91?(n=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?m=e.src.slice(n,l++):l=i+1):l=i+1,m||(m=e.src.slice(r,i)),d=e.env.references[zt(m)],!d)return e.pos=y,!1;g=d.href,o=d.title}if(!t){e.pos=r,e.posMax=i;const c=e.push("link_open","a",1),a=[["href",g]];c.attrs=a,o&&a.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=l,e.posMax=v,!0}function xu(e,t){let s,m,p,d,g,o,n,b,y="";const v=e.pos,r=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const i=e.pos+2,l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(l<0)return!1;if(d=l+1,d<r&&e.src.charCodeAt(d)===40){for(d++;d<r&&(s=e.src.charCodeAt(d),!(!ye(s)&&s!==10));d++);if(d>=r)return!1;for(b=d,o=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),o.ok&&(y=e.md.normalizeLink(o.str),e.md.validateLink(y)?d=o.pos:y=""),b=d;d<r&&(s=e.src.charCodeAt(d),!(!ye(s)&&s!==10));d++);if(o=e.md.helpers.parseLinkTitle(e.src,d,e.posMax),d<r&&b!==d&&o.ok)for(n=o.str,d=o.pos;d<r&&(s=e.src.charCodeAt(d),!(!ye(s)&&s!==10));d++);else n="";if(d>=r||e.src.charCodeAt(d)!==41)return e.pos=v,!1;d++}else{if(typeof e.env.references>"u")return!1;if(d<r&&e.src.charCodeAt(d)===91?(b=d+1,d=e.md.helpers.parseLinkLabel(e,d),d>=0?p=e.src.slice(b,d++):d=l+1):d=l+1,p||(p=e.src.slice(i,l)),g=e.env.references[zt(p)],!g)return e.pos=v,!1;y=g.href,n=g.title}if(!t){m=e.src.slice(i,l);const c=[];e.md.inline.parse(m,e.md,e.env,c);const a=e.push("image","img",0),x=[["src",y],["alt",""]];a.attrs=x,a.children=c,a.content=m,n&&x.push(["title",n])}return e.pos=d,e.posMax=r,!0}const _u=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Au=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Eu(e,t){let s=e.pos;
16if(e.src.charCodeAt(s)!==60)return!1;const m=e.pos,p=e.posMax;for(;;){if(++s>=p)return!1;const g=e.src.charCodeAt(s);if(g===60)return!1;if(g===62)break}const d=e.src.slice(m+1,s);if(Au.test(d)){const g=e.md.normalizeLink(d);if(!e.md.validateLink(g))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",g]],o.markup="autolink",o.info="auto";const n=e.push("text","",0);n.content=e.md.normalizeLinkText(d);const b=e.push("link_close","a",-1);b.markup="autolink",b.info="auto"}return e.pos+=d.length+2,!0}if(_u.test(d)){const g=e.md.normalizeLink("mailto:"+d);if(!e.md.validateLink(g))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",g]],o.markup="autolink",o.info="auto";const n=e.push("text","",0);n.content=e.md.normalizeLinkText(d);const b=e.push("link_close","a",-1);b.markup="autolink",b.info="auto"}return e.pos+=d.length+2,!0}return!1}function wu(e){return/^<a[>\s]/i.test(e)}function Cu(e){return/^<\/a\s*>/i.test(e)}function Su(e){const t=e|32;return t>=97&&t<=122}function ku(e,t){if(!e.md.options.html)return!1;const s=e.posMax,m=e.pos;
16if(e.src.charCodeAt(m)!==60||m+2>=s)return!1;const p=e.src.charCodeAt(m+1);if(p!==33&&p!==63&&p!==47&&!Su(p))return!1;const d=e.src.slice(m).match(tu);if(!d)return!1;if(!t){const g=e.push("html_inline","",0);g.content=d[0],wu(g.content)&&e.linkLevel++,Cu(g.content)&&e.linkLevel--}return e.pos+=d[0].length,!0}const Ou=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Iu=/^&([a-z][a-z0-9]{1,31});/i;function Du(e,t){const s=e.pos,m=e.posMax;if(e.src.charCodeAt(s)!==38||s+1>=m)return!1;if(e.src.charCodeAt(s+1)===35){const d=e.src.slice(s).match(Ou);if(d){if(!t){const g=d[1][0].toLowerCase()==="x"?parseInt(d[1].slice(1),16):parseInt(d[1],10),o=e.push("text_special","",0);o.content=Bn(g)?yt(g):yt(65533),o.markup=d[0],o.info="entity"}return e.pos+=d[0].length,!0}}else{const d=e.src.slice(s).match(Iu);if(d){const g=Ys(d[0]);if(g!==d[0]){if(!t){const o=e.push("text_special","",0);o.content=g,o.markup=d[0],o.info="entity"}return e.pos+=d[0].length,!0}}}return!1}function dr(e){const t={},s=e.length;if(!s)return;let m=0,p=-2;const d=[];for(let g=0;g<s;g++){const o=e[g];if(d.push(0),(e[m].marker!==o.marker||p!==o.token-1)&&(m=g),p=o.token,o.length=o.length||0,!o.close)continue;t.hasOwnProperty(o.marker)||(t[o.marker]=[-1,-1,-1,-1,-1,-1]);const n=t[o.marker][(o.open?3:0)+o.length%3];let b=m-d[m]-1,y=b;for(;b>n;b-=d[b]+1){const v=e[b];if(v.marker===o.marker&&v.open&&v.end<0){let r=!1;if((v.close||o.open)&&(v.length+o.length)%3===0&&(v.length%3!==0||o.length%3!==0)&&(r=!0),!r){const i=b>0&&!e[b-1].open?d[b-1]+1:0;d[g]=g-b+i,d[b]=i,o.open=!1,v.end=g,v.close=!1,y=-1,p=-2;break}}}y!==-1&&(t[o.marker][(o.open?3:0)+(o.length||0)%3]=y)}}function Tu(e){const t=e.tokens_meta,s=e.tokens_meta.length;dr(e.delimiters);for(let m=0;m<s;m++)t[m]&&t[m].delimiters&&dr(t[m].delimiters)}function Ru(e){let t,s,m=0;const p=e.tokens,d=e.tokens.length;for(t=s=0;t<d;t++)p[t].nesting<0&&m--,p[t].level=m,p[t].nesting>0&&m++,p[t].type==="text"&&t+1<d&&p[t+1].type==="text"?p[t+1].content=p[t].content+p[t+1].content:(t!==s&&(p[s]=p[t]),s++);t!==s&&(p.length=s)}const Jt=[["text",au],["linkify",fu],["newline",du],["escape",hu],["backticks",pu],["strikethrough",si.tokenize],["emphasis",oi.tokenize],["link",vu],["image",xu],["autolink",Eu],["html_inline",ku],["entity",Du]],Qt=[["balance_pairs",Tu],["strikethrough",si.postProcess],["emphasis",oi.postProcess],["fragments_join",Ru]];function kt(){this.ruler=new Te;for(let e=0;e<Jt.length;e++)this.ruler.push(Jt[e][0],Jt[e][1]);this.ruler2=new Te;for(let e=0;e<Qt.length;e++)this.ruler2.push(Qt[e][0],Qt[e][1])}kt.prototype.skipToken=function(e){const t=e.pos,s=this.ruler.getRules(""),m=s.length,p=e.md.options.maxNesting,d=e.cache;if(typeof d[t]<"u"){e.pos=d[t];return}let g=!1;if(e.level<p){for(let o=0;o<m;o++)if(e.level++,g=s[o](e,!0),e.level--,g){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;g||e.pos++,d[t]=e.pos};kt.prototype.tokenize=function(e){const t=this.ruler.getRules(""),s=t.length,m=e.posMax,p=e.md.options.maxNesting;for(;e.pos<m;){const d=e.pos;let g=!1;if(e.level<p){for(let o=0;o<s;o++)if(g=t[o](e,!1),g){if(d>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(g){if(e.pos>=m)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};kt.prototype.parse=function(e,t,s,m){const p=new this.State(e,t,s,m);this.tokenize(p);const d=this.ruler2.getRules(""),g=d.length;for(let o=0;o<g;o++)d[o](p)};kt.prototype.State=St;function Nu(e){const t={};e=e||{},t.src_Any=Xr.source,t.src_Cc=Vr.source,t.src_Z=Kr.source,t.src_P=$n.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const s="[><ï½]";return t.src_pseudo_letter=`(?:(?!${s}|${t.src_ZPCc})${t.src_Any})`,t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth=`(?:(?:(?!${t.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator=`(?=$|${s}|${t.src_ZPCc})(?!${e["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${t.src_ZPCc}))`,t.src_path=`(?:[/?#](?:(?!${t.src_ZCc}|${s}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${t.src_ZCc}|\\]).)*\\]|\\((?:(?!${t.src_ZCc}|[)]).)*\\)|\\{(?:(?!${t.src_ZCc}|[}]).)*\\}|\\"(?:(?!${t.src_ZCc}|["]).)+\\"|\\'(?:(?!${t.src_ZCc}|[']).)+\\'|\\'(?=${t.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${t.src_ZCc}|[.]|$)|`+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+`,(?!${t.src_ZCc}|$)|;(?!${t.src_ZCc}|$)|\\!+(?!${t.src_ZCc}|[!]|$)|\\?(?!${t.src_ZCc}|[?]|$))+|\\/)?`,t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+`|${t.src_pseudo_letter}{1,63})`,t.src_domain="(?:"+t.src_xn+`|(?:${t.src_pseudo_letter})|(?:${t.src_pseudo_letter}(?:-|${t.src_pseudo_letter}){0,61}${t.src_pseudo_letter}
16))`,t.src_host=`(?:(?:(?:(?:${t.src_domain})\\.)*${t.src_domain}))`,t.tpl_host_fuzzy="(?:"+t.src_ip4+`|(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%)))`,t.tpl_host_no_ip_fuzzy=`(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%))`,t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${t.src_ZPCc}|>|$))`,t.tpl_email_fuzzy=`(^|${s}|"|\\(|${t.src_ZCc})(${t.src_email_name}@${t.tpl_host_fuzzy_strict})`,t.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`|ï½]|${t.src_ZPCc}))((?![$+<=>^\`|ï½])${t.tpl_host_port_fuzzy_strict}${t.src_path})`,t.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`|ï½]|${t.src_ZPCc}))((?![$+<=>^\`|ï½])${t.tpl_host_port_no_ip_fuzzy_strict}${t.src_path})`,t}function Rn(e){return Array.prototype.slice.call(arguments,1).forEach(function(s){s&&Object.keys(s).forEach(function(m){e[m]=s[m]})}),e}function Gt(e){return Object.prototype.toString.call(e)}function Lu(e){return Gt(e)==="[object String]"}function Fu(e){return Gt(e)==="[object Object]"}function Mu(e){return Gt(e)==="[object RegExp]"}function hr(e){return Gt(e)==="[object Function]"}function $u(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const ui={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function ju(e){return Object.keys(e||{}).reduce(function(t,s){return t||ui.hasOwnProperty(s)},!1)}const Bu={"http:":{validate:function(e,t,s){const m=e.slice(t);return s.re.http||(s.re.http=new RegExp(`^\\/\\/${s.re.src_auth}${s.re.src_host_port_strict}${s.re.src_path}`,"i")),s.re.http.test(m)?m.match(s.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,s){const m=e.slice(t);return s.re.no_http||(s.re.no_http=new RegExp("^"+s.re.src_auth+`(?:localhost|(?:(?:${s.re.src_domain})\\.)+${s.re.src_domain_root})`+s.re.src_port+s.re.src_host_terminator+s.re.src_path,"i")),s.re.no_http.test(m)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:m.match(s.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,s){const m=e.slice(t);return s.re.mailto||(s.re.mailto=new RegExp(`^${s.re.src_email_name}@${s.re.src_host_strict}`,"i")),s.re.mailto.test(m)?m.match(s.re.mailto)[0].length:0}}},Pu="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",qu="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|ÑÑ".split("|");function zu(e){return function(t,s){const m=t.slice(s);return e.test(m)?m.match(e)[0].length:0}}function pr(){return function(e,t){t.normalize(e)}}function jt(e){const t=e.re=Nu(e.__opts__),s=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||s.push(Pu),s.push(t.src_xn),t.src_tlds=s.join("|");function m(o){return o.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(m(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(m(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(m(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(m(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(m(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(m(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(m(t.tpl_host_fuzzy_test),"i");const p=[];e.__compiled__={};function d(o,n){throw new Error(`(LinkifyIt) Invalid schema "${o}": ${n}`)}Object.keys(e.__schemas__).forEach(function(o){const n=e.__schemas__[o];if(n===null)return;const b={validate:null,link:null};if(e.__compiled__[o]=b,Fu(n)){Mu(n.validate)?b.validate=zu(n.validate):hr(n.validate)?b.validate=n.validate:d(o,n),hr(n.normalize)?b.normalize=n.normalize:n.normalize?d(o,n):b.normalize=pr();return}if(Lu(n)){p.push(o);return}d(o,n)}),p.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:pr()};const g=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map($u).join("|");e.re.schema_test=RegExp(`(^|(?!_)(?:[><ï½]|${t.src_ZPCc}))(${g})`,"i"),e.re.schema_search=RegExp(`(^|(?!_)(?:[><ï½]|${t.src_ZPCc}))(${g}
16)`,"ig"),e.re.schema_at_start=RegExp(`^${e.re.schema_search.source}`,"i"),e.re.pretest=RegExp(`(${e.re.schema_test.source})|(${e.re.host_fuzzy_test.source})|@`,"i")}function ai(e,t,s,m){const p=e.slice(s,m);this.schema=t.toLowerCase(),this.index=s,this.lastIndex=m,this.raw=p,this.text=p,this.url=p}function Re(e,t){if(!(this instanceof Re))return new Re(e,t);t||ju(e)&&(t=e,e={}),this.__opts__=Rn({},ui,t),this.__schemas__=Rn({},Bu,e),this.__compiled__={},this.__tlds__=qu,this.__tlds_replaced__=!1,this.re={},jt(this)}Re.prototype.add=function(t,s){return this.__schemas__[t]=s,jt(this),this};Re.prototype.set=function(t){return this.__opts__=Rn(this.__opts__,t),this};Re.prototype.test=function(t){if(!t.length)return!1;let s,m;if(this.re.schema_test.test(t)){for(m=this.re.schema_search,m.lastIndex=0;(s=m.exec(t))!==null;)if(this.testSchemaAt(t,s[2],m.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&t.search(this.re.host_fuzzy_test)>=0&&t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&t.match(this.re.email_fuzzy)!==null)};Re.prototype.pretest=function(t){return this.re.pretest.test(t)};Re.prototype.testSchemaAt=function(t,s,m){return this.__compiled__[s.toLowerCase()]?this.__compiled__[s.toLowerCase()].validate(t,m,this):0};Re.prototype.match=function(t){const s=[],m=[],p=[],d=[];let g,o,n;function b(r,i){return r?i?r.index!==i.index?r.index<i.index?r:i:r.lastIndex>=i.lastIndex?r:i:r:i}if(!t.length)return null;if(this.re.schema_test.test(t))for(n=this.re.schema_search,n.lastIndex=0;(g=n.exec(t))!==null;)o=this.testSchemaAt(t,g[2],n.lastIndex),o&&m.push({schema:g[2],index:g.index+g[1].length,lastIndex:g.index+g[0].length+o});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(n=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,n.lastIndex=0;(g=n.exec(t))!==null;)p.push({schema:"",index:g.index+g[1].length,lastIndex:g.index+g[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(n=this.re.email_fuzzy_global,n.lastIndex=0;(g=n.exec(t))!==null;)d.push({schema:"mailto:",index:g.index+g[1].length,lastIndex:g.index+g[0].length});const y=[0,0,0];let v=0;for(;;){const r=[m[y[0]],d[y[1]],p[y[2]]],i=b(b(r[0],r[1]),r[2]);if(!i)break;if(i===r[0]?y[0]++:i===r[1]?y[1]++:y[2]++,i.index<v)continue;const l=new ai(t,i.schema,i.index,i.lastIndex);this.__compiled__[l.schema].normalize(l,this),s.push(l),v=i.lastIndex}return s.length?s:null};Re.prototype.matchAtStart=function(t){if(!t.length)return null;const s=this.re.schema_at_start.exec(t);if(!s)return null;const m=this.testSchemaAt(t,s[2],s[0].length);if(!m)return null;const p=new ai(t,s[2],s.index+s[1].length,s.index+s[0].length+m);return this.__compiled__[p.schema].normalize(p,this),p};Re.prototype.tlds=function(t,s){return t=Array.isArray(t)?t:[t],s?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(m,p,d){return m!==d[p-1]}).reverse(),jt(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,jt(this),this)};Re.prototype.normalize=function(t){t.schema||(t.url=`http://${t.url}`),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url=`mailto:${t.url}`)};Re.prototype.onCompile=function(){};const dt=2147483647,Be=36,zn=1,At=26,Uu=38,Hu=700,li=72,ci=128,fi="-",Gu=/^xn--/,Yu=/[^\0-\x7F]/,Xu=/[\x2E\u3002\uFF0E\uFF61]/g,Vu={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},en=Be-zn,Pe=Math.floor,tn=String.fromCharCode;function rt(e){throw new RangeError(Vu[e])}function Wu(e,t){const s=[];let m=e.length;for(;m--;)s[m]=t(e[m]);return s}function di(e,t){const s=e.split("@");let m="";s.length>1&&(m=s[0]+"@",e=s[1]),e=e.replace(Xu,".");const p=e.split("."),d=Wu(p,t).join(".");return m+d}function hi(e){const t=[];let s=0;const m=e.length;for(;s<m;){const p=e.charCodeAt(s++);if(p>=55296&&p<=56319&&s<m){const d=e.charCodeAt(s++);(d&64512)==56320?t.push(((p&1023)<<10)+(d&1023)+65536):(t.push(p),s--)}else t.push(p)}return t}const Ku=e=>String.fromCodePoint(...e),Zu=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Be},mr=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},pi=function(e,t,s){let m=0;for(e=s?Pe(e/Hu):e>>1,e+=Pe(e/t);e>en*At>>1;m+=Be)e=Pe(e/en);return Pe(m+(en+1)*e/(e+Uu))},mi=function(e){const t=[],s=e.length;let m=0,p=ci,d=li,g=e.lastIndexOf(fi);g<0&&(g=0);for(let o=0;o<g;++o)e.charCodeAt(o)>=128&&rt("not-basic"),t.push(e.charCodeAt(o));for(let o=g>0?g+1:0;o<s;){const n=m;for(let y=1,v=Be;;v+=Be){o>=s&&rt("invalid-input");const r=Zu(e.charCodeAt(o++));r>=Be&&rt("invalid-input"),r>Pe((dt-m)/y)&&rt("overflow"),m+=r*y;const i=v<=d?zn:v>=d+At?At:v-d;if(r<i)break;const l=Be-i;y>Pe(dt/l)&&rt("overflow"),y*=l}const b=t.length+1;d=pi(m-n,b,n==0),Pe(m/b)>dt-p&&rt("overflow"),p+=Pe(m/b),m%=b,t.splice(m++,0,p)}return String.fromCodePoint(...t)},gi=function(e){const t=[];e=hi(e);const s=e.length;let m=ci,p=0,d=li;for(const n of e)n<128&&t.push(tn(n));const g=t.length;let o=g;
16for(g&&t.push(fi);o<s;){let n=dt;for(const y of e)y>=m&&y<n&&(n=y);const b=o+1;n-m>Pe((dt-p)/b)&&rt("overflow"),p+=(n-m)*b,m=n;for(const y of e)if(y<m&&++p>dt&&rt("overflow"),y===m){let v=p;for(let r=Be;;r+=Be){const i=r<=d?zn:r>=d+At?At:r-d;if(v<i)break;const l=v-i,c=Be-i;t.push(tn(mr(i+l%c,0))),v=Pe(l/c)}t.push(tn(mr(v,0))),d=pi(p,b,o===g),p=0,++o}++p,++m}return t.join("")},Ju=function(e){return di(e,function(t){return Gu.test(t)?mi(t.slice(4).toLowerCase()):t})},Qu=function(e){return di(e,function(t){return Yu.test(t)?"xn--"+gi(t):t})},bi={version:"2.3.1",ucs2:{decode:hi,encode:Ku},decode:mi,encode:gi,toASCII:Qu,toUnicode:Ju},ea={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},ta={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},na={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},ra={default:ea,zero:ta,commonmark:na},ia=/^(vbscript|javascript|file|data):/,sa=/^data:image\/(gif|png|jpeg|webp);/;function oa(e){const t=e.trim().toLowerCase();return ia.test(t)?sa.test(t):!0}const yi=["http:","https:","mailto:"];function ua(e){const t=Mn(e,!0);if(t.hostname&&(!t.protocol||yi.indexOf(t.protocol)>=0))try{t.hostname=bi.toASCII(t.hostname)}catch{}return Ct(Fn(t))}function aa(e){const t=Mn(e,!0);if(t.hostname&&(!t.protocol||yi.indexOf(t.protocol)>=0))try{t.hostname=bi.toUnicode(t.hostname)}catch{}return mt(Fn(t),mt.defaultChars+"%")}function Le(e,t){if(!(this instanceof Le))return new Le(e,t);t||jn(e)||(t=e||{},e="default"),this.inline=new kt,this.block=new Ht,this.core=new Pn,this.renderer=new bt,this.linkify=new Re,this.validateLink=oa,this.normalizeLink=ua,this.normalizeLinkText=aa,this.utils=lo,this.helpers=qt({},po),this.options={},this.configure(e),t&&this.set(t)}Le.prototype.set=function(e){return qt(this.options,e),this};Le.prototype.configure=function(e){const t=this;if(jn(e)){const s=e;if(e=ra[s],!e)throw new Error('Wrong `markdown-it` preset "'+s+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(s){e.components[s].rules&&t[s].ruler.enableOnly(e.components[s].rules),e.components[s].rules2&&t[s].ruler2.enableO
16nly(e.components[s].rules2)}),this};Le.prototype.enable=function(e,t){let s=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(p){s=s.concat(this[p].ruler.enable(e,!0))},this),s=s.concat(this.inline.ruler2.enable(e,!0));const m=e.filter(function(p){return s.indexOf(p)<0});if(m.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+m);return this};Le.prototype.disable=function(e,t){let s=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(p){s=s.concat(this[p].ruler.disable(e,!0))},this),s=s.concat(this.inline.ruler2.disable(e,!0));const m=e.filter(function(p){return s.indexOf(p)<0});if(m.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+m);return this};Le.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Le.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const s=new this.core.State(e,this,t);return this.core.process(s),s.tokens};Le.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Le.prototype.parseInline=function(e,t){const s=new this.core.State(e,this,t);return s.inlineMode=!0,this.core.process(s),s.tokens};Le.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function la(e,t,s,m){const p=Number(e[t].meta.id+1).toString();let d="";return typeof m.docId=="string"&&(d=`-${m.docId}-`),d+p}function ca(e,t){let s=Number(e[t].meta.id+1).toString();return e[t].meta.subId>0&&(s+=`:${e[t].meta.subId}`),`[${s}]`}function fa(e,t,s,m,p){const d=p.rules.footnote_anchor_name(e,t,s,m,p),g=p.rules.footnote_caption(e,t,s,m,p);let o=d;return e[t].meta.subId>0&&(o+=`:${e[t].meta.subId}`),`<sup class="footnote-ref"><a href="#fn${d}" id="fnref${o}">${g}</a></sup>`}function da(e,t,s){return(s.xhtmlOut?`<hr class="footnotes-sep" /> 17`:`<hr class="footnotes-sep"> 18`)+`<section class="footnotes"> 19<ol class="footnotes-list"> 20`}function ha(){return`</ol> 21</section> 22`}function pa(e,t,s,m,p){let d=p.rules.footnote_anchor_name(e,t,s,m,p);return e[t].meta.subId>0&&(d+=`:${e[t].meta.subId}`),`<li id="fn${d}" class="footnote-item">`}function ma(){return`</li> 23`}function ga(e,t,s,m,p){let d=p.rules.footnote_anchor_name(e,t,s,m,p);return e[t].meta.subId>0&&(d+=`:${e[t].meta.subId}`),` <a href="#fnref${d}" class="footnote-backref">â©ï¸</a>`}function ba(e){const t=e.helpers.parseLinkLabel,s=e.utils.isSpace;e.renderer.rules.footnote_ref=fa,e.renderer.rules.footnote_block_open=da,e.renderer.rules.footnote_block_close=ha,e.renderer.rules.footnote_open=pa,e.renderer.rules.footnote_close=ma,e.renderer.rules.footnote_anchor=ga,e.renderer.rules.footnote_caption=ca,e.renderer.rules.footnote_anchor_name=la;function m(o,n,b,y){const v=o.bMarks[n]+o.tShift[n],r=o.eMarks[n];if(v+4>r||o.src.charCodeAt(v)!==91||o.src.charCodeAt(v+1)!==94)return!1;let i;for(i=v+2;i<r;i++){if(o.src.charCodeAt(i)===32)return!1;if(o.src.charCodeAt(i)===93)break}if(i===v+2||i+1>=r||o.src.charCodeAt(++i)!==58)return!1;if(y)return!0;i++,o.env.footnotes||(o.env.footnotes={}),o.env.footnotes.refs||(o.env.footnotes.refs={});const l=o.src.slice(v+2,i-2);o.env.footnotes.refs[`:${l}`]=-1;const c=new o.Token("footnote_reference_open","",1);c.meta={label:l},c.level=o.level++,o.tokens.push(c);const a=o.bMarks[n],x=o.tShift[n],f=o.sCount[n],h=o.parentType,_=i,w=o.sCount[n]+i-(o.bMarks[n]+o.tShift[n]);let S=w;for(;i<r;){const T=o.src.charCodeAt(i);if(s(T))T===9?S+=4-S%4:S++;else break;i++}o.tShift[n]=i-_,o.sCount[n]=S-w,o.bMarks[n]=_,o.blkIndent+=4,o.parentType="footnote",o.sCount[n]<o.blkIndent&&(o.sCount[n]+=o.blkIndent),o.md.block.tokenize(o,n,b,!0),o.parentType=h,o.blkIndent-=4,o.tShift[n]=x,o.sCount[n]=f,o.bMarks[n]=a;const D=new o.Token("footnote_reference_close","",-1);return D.level=--o.level,o.tokens.push(D),!0}function p(o,n){const b=o.posMax,y=o.pos;if(y+2>=b||o.src.charCodeAt(y)!==94||o.src.charCodeAt(y+1)!==91)return!1;const v=y+2,r=t(o,y+1);if(r<0)return!1;if(!n){o.env.footnotes||(o.env.footnotes={}),o.env.footnotes.list||(o.env.footnotes.list=[]);const i=o.env.footnotes.list.length,l=[];o.md.inline.parse(o.src.slice(v,r),o.md,o.env,l);const c=o.push("footnote_ref","",0);c.meta={id:i},o.env.footnotes.list[i]={content:o.src.slice(v,r),tokens:l}}return o.pos=r+1,o.posMax=b,!0}function d(o,n){const b=o.posMax,y=o.pos;if(y+3>
23b||!o.env.footnotes||!o.env.footnotes.refs||o.src.charCodeAt(y)!==91||o.src.charCodeAt(y+1)!==94)return!1;let v;for(v=y+2;v<b;v++){if(o.src.charCodeAt(v)===32||o.src.charCodeAt(v)===10)return!1;if(o.src.charCodeAt(v)===93)break}if(v===y+2||v>=b)return!1;v++;const r=o.src.slice(y+2,v-1);if(typeof o.env.footnotes.refs[`:${r}`]>"u")return!1;if(!n){o.env.footnotes.list||(o.env.footnotes.list=[]);let i;o.env.footnotes.refs[`:${r}`]<0?(i=o.env.footnotes.list.length,o.env.footnotes.list[i]={label:r,count:0},o.env.footnotes.refs[`:${r}`]=i):i=o.env.footnotes.refs[`:${r}`];const l=o.env.footnotes.list[i].count;o.env.footnotes.list[i].count++;const c=o.push("footnote_ref","",0);c.meta={id:i,subId:l,label:r}}return o.pos=v,o.posMax=b,!0}function g(o){let n,b,y,v=!1;const r={};if(!o.env.footnotes||(o.tokens=o.tokens.filter(function(l){return l.type==="footnote_reference_open"?(v=!0,b=[],y=l.meta.label,!1):l.type==="footnote_reference_close"?(v=!1,r[":"+y]=b,!1):(v&&b.push(l),!v)}),!o.env.footnotes.list))return;const i=o.env.footnotes.list;o.tokens.push(new o.Token("footnote_block_open","",1));for(let l=0,c=i.length;l<c;l++){const a=new o.Token("footnote_open","",1);if(a.meta={id:l,label:i[l].label},o.tokens.push(a),i[l].tokens){n=[];const h=new o.Token("paragraph_open","p",1);h.block=!0,n.push(h);const _=new o.Token("inline","",0);_.children=i[l].tokens,_.content=i[l].content,n.push(_);const w=new o.Token("paragraph_close","p",-1);w.block=!0,n.push(w)}else i[l].label&&(n=r[`:${i[l].label}`]);n&&(o.tokens=o.tokens.concat(n));let x;o.tokens[o.tokens.length-1].type==="paragraph_close"?x=o.tokens.pop():x=null;const f=i[l].count>0?i[l].count:1;for(let h=0;h<f;h++){const _=new o.Token("footnote_anchor","",0);_.meta={id:l,subId:h,label:i[l].label},o.tokens.push(_)}x&&o.tokens.push(x),o.tokens.push(new o.Token("footnote_close","",-1))}o.tokens.push(new o.Token("footnote_block_close","",-1))}e.block.ruler.before("reference","footnote_def",m,{alt:["paragraph","reference"]}),e.inline.ruler.after("image","footnote_inline",p),e.inline.ruler.after("footnote_inline","footnote_ref",d),e.core.ruler.after("inline","footnote_tail",g)}async function ya(e){try{const t=await fetch(e);if(!t.ok)throw new Error("Network response was not ok");return await t.text()}catch(t){return console.error("There has been a problem with your fetch operation:",t),null}}const vi=/^<!-- ?\{(?:([a-z0-9]+)(\^[0-9]*)?: ?)?(.*)} ?-->\n?$/,va={li:["list_item"],ul:["bullet_list"],p:["paragraph"],ol:["ordered_list"],blockquote:["blockquote"],h1:["heading"],h2:["heading"],h3:["heading"],h4:["heading"],h5:["heading"],h6:["heading"],a:["link"],code:["code_inline","code_block","fence"]},xi={hr:!0,image:!0},xa={"eox-map":{tour:[["style","pointer-events: none"],["prevent-scroll","true"]]},img:{hero:[["position","center"],["data-parallax",!0]]},video:{hero:[["position","center"],["loop",!0],["muted",!0],["autoplay",!0],["data-parallax",!0]]}},_a=["img","video"],nn={1:["0.0.0"]},Aa=["tour"],Ea=["iframe"];function _i(){document.body.style.userSelect="none"}function wa(){document.body.style.userSelect=""}function Ca(e,t,s){e.target===t&&(_i(),s.dragging=!0,s.lastX=e.clientX,s.lastY=e.clientY)}function Sa(e,t,s){if(s.dragging){let m=e.clientX-s.lastX,p=e.clientY-s.lastY,{top:d,left:g}=t.getBoundingClientRect();t.style.top=`${d+p}px`,t.style.left=`${g+m}px`,s.lastX=e.clientX,s.lastY=e.clientY}if(s.dragging||s.resizing){let m=s.lastX-e.clientX,p=e.clientY-s.lastY,{width:d,height:g,left:o,top:n}=t.getBoundingClientRect();s.resizing&&(t.style.width=`${d+m}px`,t.style.height=`${g+p}px`,t.style.top=`${n}px`),t.style.left=`${o-m}px`,s.lastX=e.clientX,s.lastY=e.clientY}}function ka(e){wa(),e.dragging=!1,e.resizing=!1}function Oa(e,t){e.stopPropagation(),_i(),t.resizing=!0,t.lastX=e.clientX,t.lastY=e.clientY}async function Ia(e,t,s){e.addEventListener("mousedown",m=>Ca(m,e,s)),window.addEventListener("mousemove",m=>Sa(m,e,s)),window.addEventListener("mouseup",()=>ka(s)),t.addEventListener("mousedown",m=>Oa(m,s))}function Da(e){const t=document.querySelector("eox-storytelling"),{y:s}=t.getBoundingClientRect(),m=e.querySelector(".editor-wrapper"),p=y=>Number(y.replace("px","")),d=window.getComputedStyle(m),g=p(d.bottom),o=p(d.padding)*2,n=m.classList.contains("partial-height")?80:0,b=window.innerHeight-s-g-o-n;m.style.height=`${b}px`}function Ta(e){const t=document.createElement("input");t.type="file",t.accept=".md",t.onchange=s=>{const m=s.target.files[0];if(!m)return;const p=new FileReader;p.onload=d=>{const g=d.target.result;e.value(g)},p.readAsText(m)},t.click()}function Ra(e){const t=e.value(),s=new Blob([t],{type:"text/markdown"}),m=URL.createObjectURL(s),p=document.createElement("a");p.href=m,p.download=`${document.title}.md`,document.body.appendChild(p),p.click(),document.body.removeChild(p)}function Ai(e){const t=[];return e.forEach((s,m)=>{(s.startsWith("# ")||s.startsWith("## "))&&t.push(m)}),t}function gr(e,t,s,m,p,d){const g=e.split(` 24`),o=d.shadowRoot||d,n=o.querySelector("eox-storytelling-editor"),y=Ai(g)[t];if(m)if(p){const r=o.querySelector("eox-jsonform#storytelling-editor-fields").editor.getValue();Object.keys(r).forEach(i=>
24{const l=r[i];s=s.replaceAll(`{${i}}`,l)}),d.selectedCustomElement=null}else{d.selectedCustomElement={markdown:s,fields:m},d.requestUpdate();return}y>=0?g.splice(y,0,s):g.push(s),n.editor.editor.editors["root.Story"].setValue(g.join(` 25`)),setTimeout(()=>{const v=o.querySelector(`div[data-section="${t+1}"]`);v&&window.scrollTo(0,v.offsetTop)},200),d.addCustomSectionIndex=-1,d.requestUpdate()}function Na(e,t,s){let m=null;s==null||s.codemirror.on("change",function(){const p=e.querySelector(".editor-saver");p.innerText="Auto Saving...",m&&clearTimeout(m),m=setTimeout(()=>{p.innerText="Saved";const d=JSON.parse(localStorage.getItem("markdown")||"{}");localStorage.setItem("markdown",JSON.stringify({...d,[t||"default"]:s.value()})),m=null},2500)})}function La(e){var t;(t=(e.shadowRoot||e).querySelector(".CodeMirror-scroll"))==null||t.addEventListener("wheel",function(s){const m=s.deltaY,p=e.querySelector(".CodeMirror-sizer").scrollHeight,d=e.querySelector(".CodeMirror-scroll").clientHeight;(e.querySelector(".CodeMirror-scroll").scrollTop<=0&&m<0||e.querySelector(".CodeMirror-scroll").scrollTop+d>=p&&m>0)&&s.preventDefault()},{passive:!1})}function Fa(e){if(e.showEditor!==void 0){let t=JSON.parse(localStorage.getItem("markdown")||"{}");const s=e.id||"default",m=t[s];m&&m!==e.markdown&&(confirm("Recover your Story from the last time you edited?")?e.markdown=m:(delete t[s],localStorage.setItem("markdown",JSON.stringify(t))))}}function Ei(e){var t,s;if((s=(t=e.editor.editor)==null?void 0:t.editors)!=null&&s["root.Story"]){const m=e.editor.editor.editors["root.Story"].simplemde_instance;if(!e.disableAutosave)Na(e,e.storyId,m);else{const p=e.querySelector(".editor-saver");p.innerText=""}La(e)}else setTimeout(()=>Ei(e),100)}function wi(e){var s;e.renderRoot.querySelector(".editor-wrapper").classList.add("editor-opacity-none"),e.editor&&e.editor.editor&&e.editor.editor.ready&&((s=e.editor.editor)!=null&&s.editors["root.Story"].simplemde_instance)?e.querySelector(".switch input").click():setTimeout(()=>wi(e),100)}const rn=(e,t,s,m,p)=>({name:e,action:p||function({codemirror:g}){const o=g.getCursor("start"),n=g.getCursor("end");g.replaceRange(t,o,n)},className:s,title:m}),Ma={properties:{Story:{type:"string",format:"markdown",options:{simplemde:{toolbar:["bold","italic","strikethrough","heading","|","unordered-list","ordered-list","link","|",rn("import",null,"fa fa-upload","Import Markdown File",Ta),rn("export",null,"fa fa-download","Export Markdown File",Ra),"|",rn("add-custom-section",null,"fa fa-plus","Add custom section",()=>{const e=document.querySelector("eox-storytelling"),t=e.markdown.split(` 26`),s=Ai(t);e&&(e.addCustomSectionIndex=s.length,e.requestUpdate())})],spellChecker:!1}}}}},$a=`## What is Lorem Ipsum? 27Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. 28`,ja=`## Table <!--{ as="div" }--> 29| Number | Random Name | Lorem Ipsum | 30|--------|-------------|---------------------------------------------------| 31| 1 | Alice | Lorem ipsum dolor sit amet, consectetur adipiscing | 32| 2 | Bob | elit. Sed do eiusmod tempor incididunt ut labore | 33| 3 | Charlie | et dolore magna aliqua. Ut enim ad minim veniam, | 34| 4 | Dana | quis nostrud exercitation ullamco laboris nisi ut | 35| 5 | Eve | aliquip ex ea commodo consequat. Duis aute irure | 36`,Ba=`## List <!--{ as="div" }--> 371. Lorem ipsum dolor sit amet, consectetur adipiscing elit. **Sed do eiusmod tempor** incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 382. _Duis aute irure_ dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. **Excepteur sint occaecat cupidatat** non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 393. **Lorem ipsum dolor sit amet,** consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. _Ut enim ad minim veniam, quis nostrud exercitation ullamco_ laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 404. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. **Excepteur sint occaecat cupidatat** non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. _Lorem ipsum dolor sit amet, consectetur adipiscing elit._ Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 415. _Ut enim ad minim veniam, quis nostrud_ exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. **Duis aute irure dolor** in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 426. **Excepteur sint occaecat cupidatat** non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. _Lorem ipsum dolor sit amet, consectetur adipiscing elit._ Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 43`,Pa=`## {title} <!--{as="eox-map" style="width: 100%; height: 500px;" layers='{layers}' zoom="{zoom}" center=[{longitude},{latitude}] }--> 44`,qa={title:"Simple Map",type:"object",required:["title","layers"],properties:{title:{type:"string",default:"Map Example",format:"text"},layers:{type:"string",default:'[ { "type": "Tile", "properties": { "id": "TOPO-WMS" }, "source": { "type": "TileWMS", "url": "https://ows.mundialis.de/services/service", "params": { "LAYERS": "TOPO-WMS" } } } ]',format:"textarea"},zoom:{type:"integer",default:2,minimum:1,maximum:28,format:"number"},longitude:{type:"integer",default:15,format:"number"},latitude:{type:"integer",default:48,format:"number"}}},za=`## {title} <!--{ as="eox-map" mode="tour" }--> 45
46### <!--{ layers='{layers}' center=[{longitude},{latitude}] zoom="{zoom}" animationOptions="{duration:500}" }--> 47#### {tourTitle} 48{description} 49`,Ua={title:"Tour",type:"object",required:["title"],properties:{title:{type:"string",default:"Map Tour Example",format:"text"},layers:{title:"Layers (Tour 1)",type:"string",default:'[{"type":"Tile","properties":{"id":"osm"},"source":{"type":"OSM"}}]',format:"textarea"},zoom:{title:"Zoom (Tour 1)",type:"integer",default:5,minimum:1,maximum:28,format:"number"},longitude:{title:"Longitude (Tour 1)",type:"integer",default:15,format:"number"},latitude:{title:"Longitude (Tour 1)",type:"integer",default:48,format:"number"},tourTitle:{title:"Title (Tour 1)",type:"string",default:"Tour Title",format:"text"},description:{title:"Description (Tour 1)",type:"string",default:"Some description for tour 1",format:"text"}}},Ha=`## {title} <!--{as="img" data-fallback-src="{data-fallback-src}" src="{src}" style="width: 100%; height: 600px;"}--> 50`,Ga={title:"Simple Image",type:"object",required:["title","src"],properties:{title:{type:"string",default:"Simple Image Example",format:"text"},src:{title:"Image Source",type:"string",default:"https://images.unsplash.com/photo-1461880234904-751a2f54f1c7?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",format:"upload",accept:"image/*"},"data-fallback-src":{title:"Fallback Source",type:"string",default:"",format:"text"}}},Ya=`# {title} <!--{ as="img" data-fallback-src="{data-fallback-src}" mode="hero" src="{src}" }--> 51### {description} <!--{ style="font-size:1rem;opacity:0.7;margin-top:1rem;" }--> 52`,Xa={title:"Hero Image",type:"object",required:["title","src"],properties:{title:{type:"string",default:"Hero Bg Image Example",format:"text"},src:{title:"Image Source",type:"string",default:"https://www.gstatic.com/prettyearth/assets/full/14617.jpg",format:"upload",accept:"image/*"},"data-fallback-src":{title:"Fallback Source",type:"string",default:"",format:"text"},description:{type:"string",default:"by EOX",format:"text"}}},Va=`# {title} <!--{ as="video" data-fallback-src="{data-fallback-src}" mode="hero" src="{src}" }--> 53#### {description} <!--{ style="font-size:1rem;opacity:0.7;margin-top:1rem;" }--> 54`,Wa={title:"Hero Image",type:"object",required:["title","src"],properties:{title:{type:"string",default:"Hero Bg Video Example",format:"text"},src:{title:"Image Source",type:"string",default:"https://dlmultimedia.esa.int/download/public/videos/2023/06/010/2306_010_AR_EN.mp4",format:"upload",accept:"video/*"},"data-fallback-src":{title:"Fallback Source",type:"string",default:"",format:"text"},description:{type:"string",default:"by EOX",format:"text"}}},Ka=[{name:"Basic",elements:[{name:"Textual",id:"ele-textual",markdown:$a,icon:"data:image/svg+xml,%3Csvg fill='none' viewBox='0 0 138 112' xmlns='http://www.w3.org/2000/svg'%3E%3Crect fill='%23f7f7f7' rx='4' height='112' width='138'/%3E%3Crect x='27' y='22' width='84' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='27' y='34' width='84' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='27' y='46' width='84' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='27' y='58' width='84' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='27' y='70' width='84' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='27' y='82' width='84' height='7' rx='3.5' fill='%235E5E5E'/%3E%3C/svg%3E"},{name:"Table",id:"ele-table",markdown:ja,icon:"data:image/svg+xml,%3Csvg viewBox='0 0 137 112' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='137' height='112' rx='4' fill='%23f7f7f7'/%3E%3Crect x='26' y='22' width='84' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='26' y='34' width='84' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='26' y='46' width='84' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='26' y='58' width='84' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='26' y='73' width='84' height='14' rx='7' fill='%23D9D9D9'/%3E%3C/svg%3E%0A"},{name:"List",id:"ele-list",markdown:Ba,icon:"data:image/svg+xml,%3Csvg viewBox='0 0 138 112' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='138' height='112' rx='4' fill='%23f7f7f7'/%3E%3Crect x='38' y='22' width='73' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='38' y='34' width='73' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='38' y='46' width='73' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='38' y='58' width='73' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='38' y='70' width='73' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='38' y='82' width='73' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Ccircle cx='30.5' cy='25.5' r='3.5' fill='%23BFBFBF'/%3E%3Ccircle cx='30.5' cy='37.5' r='3.5' fill='%23BFBFBF'/%3E%3Ccircle cx='30.5' cy='49.5' r='3.5' fill='%23BFBFBF'/%3E%3Ccircle cx='30.5' cy='61.5' r='3.5' fill='%23BFBFBF'/%3E%3Ccircle cx='30.5' cy='73.5' r='3.5' fill='%23BFBFBF'/%3E%3Ccircle cx='30.5' cy='85.5' r='3.5' fill='%23BFBFBF'/%3E%3C/svg%3E%0A"}]},{name:"Map",elements:[{name:"Simple Map",id:"ele-simple-map",markdown:Pa,icon:"data:image/svg+xml,%3Csvg viewBox='0 0 138 112' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='138' height='112' rx='4' fill='%23f7f7f7'/%3E%3Crect x='11' y='11' width='116' height='90' rx='4' fill='%23ebebeb'/%3E%3Cpath d='M54.08 42.873L56.58 52.373C57.83 57.123 65.08 59.373 69.58 59.373C73.18 59.373 74.7467 63.0397 75.08 64.873C74.08 68.0397 73.48 74.373 79.08 74.373C84.68 74.373 85.08 70.7064 84.58 68.873L80.58 59.373C78.2467 56.5397 73.58 49.473 73.58 43.873C73.58 38.2729 69.9134 37.873 68.08 38.373C64.08 42.373 60.4134 40.0397 59.08 38.373C54.28 36.773 53.7467 40.7063 54.08 42.873Z' fill='%235E5E5E'/%3E%3Cpath d='M59.0891 62.4676C58.5923 65.8092 60.2794 68.2359 61.5214 68.4348C66.4893 71.7763 70.4738 69.4293 71.5088 68.4348C72.9992 66.5253 71.7634 63.0643 70.5214 62.4676C68.5343 62.945 64.5564 63.661 63.5214 62.4676C62.031 60.5581 60.0214 60.4641 59.0891 62.4676Z' fill='%235E5E5E'/%3E%3C/svg%3E%0A",fields:qa},{name:"Tour",id:"ele-map-tour",markdown:za,icon:"data:image/svg+xml,%3Csvg viewBox='0 0 138 112' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='138' height='112' rx='4' fill='%23f7f7f7'/%3E%3Crect x='27' y='22' width='84' height='67' rx='4' fill='%23ebebeb'/%3E%3Cpath d='M65.08 35.873L67.58 45.373C68.83 50.123 76.08 52.373 80.58 52.373C84.18 52.373 85.7467 56.0397 86.08 57.873C85.08 61.0397 84.48 67.373 90.08 67.373C95.68 67.373 96.08 63.7064 95.58 61.873L91.58 52.373C89.2467 49.5397 84.58 42.473 84.58 36.873C84.58 31.2729 80.9134 30.873 79.08 31.373C75.08 35.373 71.4134 33.0397 70.08 31.373C65.28 29.773 64.7467 33.7063 65.08 35.873Z' fill='%235E5E5E'/%3E%3Cpath d='M70.0891 55.4676C69.5923 58.8092 71.2794 61.2359 72.5214 61.4348C77.4893 64.7763 81.4738 62.4293 82.5088 61.4348C83.9992 59.5253 82.7634 56.0643 81.5214 55.4676C79.5343 55.945 75.5564 56.661 74.5214 55.4676C73.031 53.5581 71.0214 53.4641 70.0891 55.4676Z' fill='%235E5E5E'/%3E%3Crect x='34' y='67' width='26' height='16' rx='2' fill='%23f7f7f7'/%3E%3C/svg%3E%0A",fields:Ua}]},{name:"Media",elements:[{name:"Simple",id:"ele-simple-media",markdown:Ha,icon:"data:image/svg+xml,%3Csvg viewBox='0 0 138 112' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='138' height='112' rx='4' fill='%23f7f7f7'/%3E%3Crect x='27' y='22' width='84' height='67' rx='4' fill='%23ebebeb'/%3E%3Cpath d='M69.5 39L73.2045 50.4012H85.1924L75.494 57.4476L79.1985 68.8488L69.5 61.8024L59.8015 68.8488L63.506 57.4476L53.8076 50.4012H65.7955L69.5 39Z' fill='%235E5E5E'/%3E%3C/svg%3E%0A",fields:Ga},{name:"Hero Image",id:"ele-hero-image",markdown:Ya,icon:"data:image/svg+xml,%3Csvg viewBox='0 0 138 112' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='138' height='112' rx='4' fill='%23f7f7f7'/%3E%3Crect x='11' y='11' width='116' height='90' rx='4' fill='%23ebebeb'/%3E%3Crect x='35' y='49' width='69' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='51' y='59' width='37' height='4' rx='2' fill='%23BEBEBE'/%3E%3C/svg%3E%0A",fields:Xa},{name:"Hero Video",id:"ele-hero-video",markdown:Va,icon:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 138 112' fill='none'%3E%3Crect width='138' height='112' rx='4' fill='%23F2F2F2'/%3E%3Crect x='11' y='11' width='116' height='90' rx='4' fill='%23D8D8D8'/%3E%3Crect x='35' y='49' width='69' height='7' rx='3.5' fill='%235E5E5E'/%3E%3Crect x='51' y='59' width='37' height='4' rx='2' fill='%23BEBEBE'/%3E%3Cline x1='20.6233' y1='87.6712' x2='75.6233' y2='24.6712' stroke='%235E5E5E' stroke-opacity='0.1'/%3E%3Cline x1='64.6233' y1='87.6712' x2='119.623' y2='24.6712' stroke='%235E5E5E' stroke-opacity='0.1'/%3E%3C/svg%3E",fields:Wa}]}];class Za extends gs{register(){super.register()}unregister(){super.unregister()}build(){const t=this.options,s=this.schema.description,m=this.theme,p=this.defaults,d=this.schema;t.compact||(this.header=this.label=m.getFormInputLabel(this.getTitle(),this.isRequired())),s&&(this.description=m.getFormInputDescription(this.translateProperty(s))),t.infoText&&(this.infoButton=m.getInfoButton(this.translateProperty(t.infoText)));const g=document.createElement("div");g.style.cssText="display: flex; gap: 10px; justify-content: center; align-items: center;";const o=document.createElement("input");o.type="text",o.value=d.default,o.addEventListener("change",()=>{this.value=o.value,this.onChange(!0)});const n=document.createElement("div");n.style.cssText="width: 2px; height: 24px; background: rgba(0, 0, 0, 0.25);";const b=document.createElement("button");b.classList.add("upload-button"),b.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="white"><path d="M440-320v-326L336-542l-56-58 200-200 200 200-56 58-104-104v326h-80ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"/></svg>',b.style.padding="10px",b.addEventListener("click",y=>{y.preventDefault();const v=document.createElement("input");return v.id="upload-file-input",v.type="file",v.accept=d.accept||"image/*,video/*",v.style.display="none",v.addEventListener("change",r=>{const i=r.target.files[0];if(i){const l=document.createElement("div");l.innerText="Uploading...",l.classList.add("loader-element"),l.style.cssText="display: flex; justify-content: center; align-items: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 39, 66, 0.6); z-index: 99999999;font-weight: 500; color: white;",document.body.appendChild(l);const c=(x,f,h)=>
54{if(h){alert(h.message),l.remove();return}let _=this.jsoneditor.getValue();_[this.key]=x,o.value=x,f&&(_["data-fallback-src"]=f),this.jsoneditor.setValue(_),l.remove()},a=new CustomEvent("upload:file",{detail:{file:i,update:c},bubbles:!0,composed:!0});this.input.dispatchEvent(a)}v.remove()}),document.body.appendChild(v),v.click(),!1}),g.appendChild(o),g.appendChild(n),g.appendChild(b),this.input=g,this.input.id=this.formname,this.input.setAttribute("name",this.formname),this.input.setAttribute("value",p),this.control=m.getFormControl(this.label,this.input,this.description,this.infoButton),this.container.appendChild(this.control)}destroy(){this.label&&this.label.parentNode&&this.label.parentNode.removeChild(this.label),this.description&&this.description.parentNode&&this.description.parentNode.removeChild(this.description),this.input&&this.input.parentNode&&this.input.parentNode.removeChild(this.input),super.destroy()}}const Ja=[{type:"string",format:"upload",func:Za,loaderElement:document.querySelector(".loader-element")}],Qa="@eox/storytelling",el="1.13.0",Lt={name:Qa,version:el};function tl(e,t){(e.shadowRoot||e).querySelectorAll(t).forEach(s=>{s.addEventListener("click",m=>{m.preventDefault(),window.parent.location.hash=m.currentTarget.hash.replace("#",""),Un(e)})})}function Un(e){const t=window.parent.location.hash,s=t?e.shadowRoot.querySelector(t):null;if(s){const m=e.shadowRoot.querySelector(".navigation");s.style.scrollMarginTop=`calc(${(m==null?void 0:m.getBoundingClientRect().top)+(m==null?void 0:m.getBoundingClientRect().height)||e.getBoundingClientRect().top}px + 1rem)`,s.style.scrollMarginBottom="1rem";const p=s.querySelector("section-step");p?p.scrollIntoView({behavior:"smooth",block:"center"}):s.scrollIntoView({behavior:"smooth"})}}function nl(e){return{tagNameCheck:m=>m.match(new RegExp(/^[a-z]+(-[a-z0-9]+)*$/)),attributeNameCheck:m=>m.match(new RegExp(e.attrs.keys.join("|"))),allowCustomizedBuiltInElements:!0}}function rl(){const e=document.createElement("style");e.innerHTML=` 55 @import url("https://cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css"); 56 `,document.body.appendChild(e)}function sn(e){const t=e.split("-")[0].split(".").map(Number);let s=0;const m=1e3;for(let p=0;p<t.length;p++)s+=t[p]*Math.pow(m,t.length-p-1);return s}function il(e){const t=Number(Object.keys(nn).find(m=>nn[m].length===1)),s=nn[e];if(!e||!s)return console.warn(`Version not (or wrongly) specified in markdown frontmatter. Assuming latest markdown syntax version (v${t}).`),t;if(t===e)return e;{const m=[sn(s[0]),sn(s[1])],p=sn(Lt.version);return p>=m[0]&&p<=m[1]||console.error(`You are using an older or newer version of ${Lt.name} package, which is not compatible with the version defined in the markdown frontmatter. Please update the ${Lt.name} package to (>=${s[0]} and <=${s[1]}) or change the markdown syntax version to ${Lt.version}`),e}}var Ci={exports:{}};(function(e,t){(function(s,m){e.exports=m()})(ms,function(){function s(A,O){if(!(A instanceof O))throw new TypeError("Cannot call a class as a function")}function m(A,O){for(var N=0;N<O.length;N++){var F=O[N];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(A,d(F.key),F)}}function p(A,O,N){return O&&m(A.prototype,O),Object.defineProperty(A,"prototype",{writable:!1}),A}function d(A){var O=function(N,F){if(typeof N!="object"||!N)return N;var q=N[Symbol.toPrimitive];if(q!==void 0){var X=q.call(N,F);if(typeof X!="object")return X;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(N)}(A,"string");return typeof O=="symbol"?O:O+""}function g(A){return(g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(A)}var o=Date.now();function n(){var A={},O=!0,N=0,F=arguments.length;Object.prototype.toString.call(arguments[0])==="[object Boolean]"&&(O=arguments[0],N++);for(var q=function(u){for(var R in u)Object.prototype.hasOwnProperty.call(u,R)&&(O&&Object.prototype.toString.call(u[R])==="[object Object]"?A[R]=n(!0,A[R],u[R]):A[R]=u[R])};N<F;N++){var X=arguments[N];q(X)}return A}function b(A,O){if((L(A)||A===window||A===document)&&(A=[A]),z(A)||Z(A)||(A=[A]),oe(A)!=0){if(z(A)&&!Z(A))for(var N=A.length,F=0;F<N&&O.call(A[F],A[F],F,A)!==!1;F++);else if(Z(A)){for(var q in A)if(ee(A,q)&&O.call(A[q],A[q],q,A)===!1)break}}}function y(A){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,F=A[o]=A[o]||[],q={all:F,evt:null,found:null};return O&&N&&oe(F)>0&&b(F,function(X,u){if(X.eventName==O&&X.fn.toString()==N.toString())return q.found=!0,q.evt=u,!1}),q}function v(A){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},N=O.onElement,F=O.withCallback,q=O.avoidDuplicate,X=q===void 0||q,u=O.once,R=u!==void 0&&u,B=O.useCapture,$=B!==void 0&&B,j=arguments.length>2?arguments[2]:void 0,C=N||[];function M(P){k(F)&&F.call(j,P,this),R&&M.destroy()}return I(C)&&(C=document.querySelectorAll(C)),M.destroy=function(){b(C,function(P){var G=y(P,A,M);G.found&&G.all.splice(G.evt,1),P.removeEventListener&&P.removeEventListener(A,M,$)})},b(C,function(P){var G=y(P,A,M);
56(P.addEventListener&&X&&!G.found||!X)&&(P.addEventListener(A,M,$),G.all.push({eventName:A,fn:M}))}),M}function r(A,O){b(O.split(" "),function(N){return A.classList.add(N)})}function i(A,O){b(O.split(" "),function(N){return A.classList.remove(N)})}function l(A,O){return A.classList.contains(O)}function c(A,O){for(;A!==document.body;){if(!(A=A.parentElement))return!1;if(typeof A.matches=="function"?A.matches(O):A.msMatchesSelector(O))return A}}function a(A){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",N=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!A||O==="")return!1;if(O==="none")return k(N)&&N(),!1;var F=S(),q=O.split(" ");b(q,function(X){r(A,"g"+X)}),v(F,{onElement:A,avoidDuplicate:!1,once:!0,withCallback:function(X,u){b(q,function(R){i(u,"g"+R)}),k(N)&&N()}})}function x(A){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(O==="")return A.style.webkitTransform="",A.style.MozTransform="",A.style.msTransform="",A.style.OTransform="",A.style.transform="",!1;A.style.webkitTransform=O,A.style.MozTransform=O,A.style.msTransform=O,A.style.OTransform=O,A.style.transform=O}function f(A){A.style.display="block"}function h(A){A.style.display="none"}function _(A){var O=document.createDocumentFragment(),N=document.createElement("div");for(N.innerHTML=A;N.firstChild;)O.appendChild(N.firstChild);return O}function w(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function S(){var A,O=document.createElement("fakeelement"),N={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(A in N)if(O.style[A]!==void 0)return N[A]}function D(A,O,N,F){if(A())O();else{var q;N||(N=100);var X=setInterval(function(){A()&&(clearInterval(X),q&&clearTimeout(q),O())},N)}}function T(A,O,N){if(H(A))console.error("Inject assets error");else if(k(O)&&(N=O,O=!1),I(O)&&O in window)k(N)&&N();else{var F;if(A.indexOf(".css")!==-1){if((F=document.querySelectorAll('link[href="'+A+'"]'))&&F.length>0)return void(k(N)&&N());var q=document.getElementsByTagName("head")[0],X=q.querySelectorAll('link[rel="stylesheet"]'),u=document.createElement("link");return u.rel="stylesheet",u.type="text/css",u.href=A,u.media="all",X?q.insertBefore(u,X[0]):q.appendChild(u),void(k(N)&&N())}if((F=document.querySelectorAll('script[src="'+A+'"]'))&&F.length>0){if(k(N)){if(I(O))return D(function(){return window[O]!==void 0},function(){N()}),!1;N()}}else{var R=document.createElement("script");R.type="text/javascript",R.src=A,R.onload=function(){if(k(N)){if(I(O))return D(function(){return window[O]!==void 0},function(){N()}),!1;N()}},document.body.appendChild(R)}}}function E(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function k(A){return typeof A=="function"}function I(A){return typeof A=="string"}function L(A){return!(!A||!A.nodeType||A.nodeType!=1)}function U(A){return Array.isArray(A)}function z(A){return A&&A.length&&isFinite(A.length)}function Z(A){return g(A)==="object"&&A!=null&&!k(A)&&!U(A)}function H(A){return A==null}function ee(A,O){return A!==null&&hasOwnProperty.call(A,O)}function oe(A){if(Z(A)){if(A.keys)return A.keys().length;var O=0;for(var N in A)ee(A,N)&&O++;return O}return A.length}function he(A){return!isNaN(parseFloat(A))&&isFinite(A)}function le(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,O=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");if(!O.length)return!1;if(O.length==1)return O[0];typeof A=="string"&&(A=parseInt(A));var N=[];b(O,function(R){N.push(R.getAttribute("data-taborder"))});var F=Math.max.apply(Math,N.map(function(R){return parseInt(R)})),q=A<0?1:A+1;q>F&&(q="1");var X=N.filter(function(R){return R>=parseInt(q)}),u=X.sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(u,'"]'))}function V(A){if(A.events.hasOwnProperty("keyboard"))return!1;A.events.keyboard=v("keydown",{onElement:window,withCallback:function(O,N){var F=(O=O||window.event).keyCode;if(F==9){var q=document.querySelector(".gbtn.focused");
56if(!q){var X=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if(X=="input"||X=="textarea"||X=="button")return}O.preventDefault();var u=document.querySelectorAll(".gbtn[data-taborder]");if(!u||u.length<=0)return;if(!q){var R=le();return void(R&&(R.focus(),r(R,"focused")))}var B=le(q.getAttribute("data-taborder"));i(q,"focused"),B&&(B.focus(),r(B,"focused"))}F==39&&A.nextSlide(),F==37&&A.prevSlide(),F==27&&A.close()}})}var te=p(function A(O,N){var F=this,q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(s(this,A),this.img=O,this.slide=N,this.onclose=q,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",function(X){return F.dragStart(X)},!1),this.img.addEventListener("mouseup",function(X){return F.dragEnd(X)},!1),this.img.addEventListener("mousemove",function(X){return F.drag(X)},!1),this.img.addEventListener("click",function(X){return F.slide.classList.contains("dragging-nav")?(F.zoomOut(),!1):F.zoomedIn?void(F.zoomedIn&&!F.dragging&&F.zoomOut()):F.zoomIn()},!1),this.img.setZoomEvents=!0},[{key:"zoomIn",value:function(){var A=this.widowWidth();if(!(this.zoomedIn||A<=768)){var O=this.img;if(O.setAttribute("data-style",O.getAttribute("style")),O.style.maxWidth=O.naturalWidth+"px",O.style.maxHeight=O.naturalHeight+"px",O.naturalWidth>A){var N=A/2-O.naturalWidth/2;this.setTranslate(this.img.parentNode,N,0)}this.slide.classList.add("zoomed"),this.zoomedIn=!0}}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&typeof this.onclose=="function"&&this.onclose()}},{key:"dragStart",value:function(A){A.preventDefault(),this.zoomedIn?(A.type==="touchstart"?(this.initialX=A.touches[0].clientX-this.xOffset,this.initialY=A.touches[0].clientY-this.yOffset):(this.initialX=A.clientX-this.xOffset,this.initialY=A.clientY-this.yOffset),A.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(A){var O=this;A.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout(function(){O.dragging=!1,O.img.isDragging=!1,O.img.classList.remove("dragging")},100)}},{key:"drag",value:function(A){this.active&&(A.preventDefault(),A.type==="touchmove"?(this.currentX=A.touches[0].clientX-this.initialX,this.currentY=A.touches[0].clientY-this.initialY):(this.currentX=A.clientX-this.initialX,this.currentY=A.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(A){if(this.zoomedIn){var O=A.clientX-this.img.naturalWidth/2,N=A.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,O,N)}}},{key:"setTranslate",value:function(A,O,N){A.style.transform="translate3d("+O+"px, "+N+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),ue=p(function A(){var O=this,N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};s(this,A);var F=N.dragEl,q=N.toleranceX,X=q===void 0?40:q,u=N.toleranceY,R=u===void 0?65:u,B=N.slide,$=B===void 0?null:B,j=N.instance,C=j===void 0?null:j;this.el=F,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=X,this.toleranceY=R,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=$,this.instance=C,this.el.addEventListener("mousedown",function(M){return O.dragStart(M)},!1),this.el.addEventListener("mouseup",function(M){return O.dragEnd(M)},!1),this.el.addEventListener("mousemove",function(M){return O.drag(M)},!1)},[{key:"dragStart",value:function(A){if(this.slide.classList.contains("zoomed"))this.active=!1;else{A.type==="touchstart"?(this.initialX=A.touches[0].clientX-this.xOffset,this.initialY=A.touches[0].clientY-this.yOffset):(this.initialX=A.clientX-this.xOffset,this.initialY=A.clientY-this.yOffset);var O=A.target.nodeName.toLowerCase();A.target.classList.contains("nodrag")||c(A.target,".nodrag")||["input","select","textarea","button","a"].indexOf(O)!==-1?this.active=!1:(A.preventDefault(),(A.target===this.el||O!=="img"&&c(A.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=c(A.target,".ginner-container")))}}},{key:"dragEnd",value:function(A){var O=this;A&&A.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,this.doSlideChange=="right"&&this.instance.prevSlide(),this.doSlideChange=="left"&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout(function(){O.instance.preventOutsideClick=!1,O.toleranceReached=!1,O.lastDirection=null,O.dragging=!1,O.el.isDragging=!1,O.el.classList.remove("dragging"),O.slide.classList.remove("dragging-nav"),O.dragContainer.style.transform="",O.dragContainer.style.transition=""},100)}},{key:"drag",value:function(A){if(this.active){A.preventDefault(),this.slide.classList.add("dragging-nav"),A.type==="touchmove"?(this.currentX=A.touches[0].clientX-this.initialX,this.currentY=A.touches[0].clientY-this.initialY):(this.currentX=A.clientX-this.initialX,this.currentY=A.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var O=Math.abs(this.currentX),N=Math.abs(this.currentY);if(O>0&&O>=Math.abs(this.currentY)&&(!this.lastDirection||this.lastDirection=="x")){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var F=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&F&&(this.doSlideChange=F),this.instance.settings.dragAutoSnap&&F)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),F=="right"&&this.instance.prevSlide(),void(F=="left"&&this.instance.nextSlide())}if(this.toleranceY>0&&N>0&&N>=O&&(!this.lastDirection||this.lastDirection=="y")){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY);var q=this.shouldClose();return!this.instance.settings.dragAutoSnap&&q&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&q&&this.instance.close())}}}},{key:"shouldChange",value:function(){var A=!1;if(Math.abs(this.currentX)>=this.toleranceX){var O=this.currentX>0?"right":"left";(O=="left"&&this.slide!==this.slide.parentNode.lastChild||O=="right"&&this.slide!==this.slide.parentNode.firstChild)&&(A=O)}return A}},{key:"shouldClose",value:function(){var A=!1;return Math.abs(this.currentY)>=this.toleranceY&&(A=!0),A}},{key:"setTranslate",value:function(A,O,N){var F=arguments.length>3&&arguments[3]!==void 0&&arguments[3];A.style.transition=F?"all .2s ease":"",A.style.transform="translate3d(".concat(O,"px, ").concat(N,"px, 0)")}}]);function de(A,O,N,F){var q=A.querySelector(".gslide-media"),X=new Image,u="gSlideTitle_"+N,R="gSlideDesc_"+N;X.addEventListener("load",function(){k(F)&&F()},!1),X.src=O.href,O.sizes!=""&&O.srcset!=""&&(X.sizes=O.sizes,X.srcset=O.srcset),X.alt="",H(O.alt)||O.alt===""||(X.alt=O.alt),O.title!==""&&X.setAttribute("aria-labelledby",u),O.description!==""&&X.setAttribute("aria-describedby",R),O.hasOwnProperty("_hasCustomWidth")&&O._hasCustomWidth&&(X.style.width=O.width),O.hasOwnProperty("_hasCustomHeight")&&O._hasCustomHeight&&(X.style.height=O.height),q.insertBefore(X,q.firstChild)}function ce(A,O,N,F){var q=this,X=A.querySelector(".ginner-container"),u="gvideo"+N,R=A.querySelector(".gslide-media"),B=this.getAllPlayers();r(X,"gvideo-container"),R.insertBefore(_('<div class="gvideo-wrapper"></div>'),R.firstChild);var $=A.querySelector(".gvideo-wrapper");T(this.settings.plyr.css,"Plyr");var j=O.href,C=O==null?void 0:O.videoProvider,M=!1;R.style.maxWidth=O.width,T(this.settings.plyr.js,"Plyr",function(){if(!C&&j.match(/vimeo\.com\/([0-9]*)/)&&(C="vimeo"),!C&&(j.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||j.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||j.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||j.match(/(youtube\.com|youtube-nocookie\.com)\/shorts\/([a-zA-Z0-9\-_]+)/))&&
56(C="youtube"),C==="local"||!C){C="local";var P='<video id="'+u+'" ';P+='style="background:#000; max-width: '.concat(O.width,';" '),P+='preload="metadata" ',P+='x-webkit-airplay="allow" ',P+="playsinline ",P+="controls ",P+='class="gvideo-local">',P+='<source src="'.concat(j,'">'),M=_(P+="</video>")}var G=M||_('<div id="'.concat(u,'" data-plyr-provider="').concat(C,'" data-plyr-embed-id="').concat(j,'"></div>'));r($,"".concat(C,"-video gvideo")),$.appendChild(G),$.setAttribute("data-id",u),$.setAttribute("data-index",N);var W=ee(q.settings.plyr,"config")?q.settings.plyr.config:{},K=new Plyr("#"+u,W);K.on("ready",function(Y){B[u]=Y.detail.plyr,k(F)&&F()}),D(function(){return A.querySelector("iframe")&&A.querySelector("iframe").dataset.ready=="true"},function(){q.resize(A)}),K.on("enterfullscreen",ie),K.on("exitfullscreen",ie)})}function ie(A){var O=c(A.target,".gslide-media");A.type==="enterfullscreen"&&r(O,"fullscreen"),A.type==="exitfullscreen"&&i(O,"fullscreen")}function me(A,O,N,F){var q,X=this,u=A.querySelector(".gslide-media"),R=!(!ee(O,"href")||!O.href)&&O.href.split("#").pop().trim(),B=!(!ee(O,"content")||!O.content)&&O.content;if(B&&(I(B)&&(q=_('<div class="ginlined-content">'.concat(B,"</div>"))),L(B))){B.style.display=="none"&&(B.style.display="block");var $=document.createElement("div");$.className="ginlined-content",$.appendChild(B),q=$}if(R){var j=document.getElementById(R);if(!j)return!1;var C=j.cloneNode(!0);C.style.height=O.height,C.style.maxWidth=O.width,r(C,"ginlined-content"),q=C}if(!q)return console.error("Unable to append inline slide content",O),!1;u.style.height=O.height,u.style.width=O.width,u.appendChild(q),this.events["inlineclose"+R]=v("click",{onElement:u.querySelectorAll(".gtrigger-close"),withCallback:function(M){M.preventDefault(),X.close()}}),k(F)&&F()}function be(A,O,N,F){var q=A.querySelector(".gslide-media"),X=function(u){var R=u.url,B=u.allow,$=u.callback,j=u.appendTo,C=document.createElement("iframe");return C.className="vimeo-video gvideo",C.src=R,C.style.width="100%",C.style.height="100%",B&&C.setAttribute("allow",B),C.onload=function(){C.onload=null,r(C,"node-ready"),k($)&&$()},j&&j.appendChild(C),C}({url:O.href,callback:F});q.parentNode.style.maxWidth=O.width,q.parentNode.style.height=O.height,q.appendChild(X)}var Ae=p(function A(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};s(this,A),this.defaults={href:"",sizes:"",srcset:"",title:"",type:"",videoProvider:"",description:"",alt:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},Z(O)&&(this.defaults=n(this.defaults,O))},[{key:"sourceType",value:function(A){var O=A;return(A=A.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)!==null?"image":A.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||A.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||A.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||A.match(/(youtube\.com|youtube-nocookie\.com)\/shorts\/([a-zA-Z0-9\-_]+)/)||A.match(/vimeo\.com\/([0-9]*)/)||A.match(/\.(mp4|ogg|webm|mov)/)!==null?"video":A.match(/\.(mp3|wav|wma|aac|ogg)/)!==null?"audio":A.indexOf("#")>-1&&O.split("#").pop().trim()!==""?"inline":A.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(A,O){var N=this,F=n({descPosition:O.descPosition},this.defaults);if(Z(A)&&!L(A)){ee(A,"type")||(ee(A,"content")&&A.content?A.type="inline":ee(A,"href")&&(A.type=this.sourceType(A.href)));var q=n(F,A);return this.setSize(q,O),q}var X="",u=A.getAttribute("data-glightbox"),R=A.nodeName.toLowerCase();if(R==="a"&&(X=A.href),R==="img"&&(X=A.src,F.alt=A.alt),F.href=X,b(F,function(P,G){ee(O,G)&&G!=="width"&&(F[G]=O[G]);var W=A.dataset[G];H(W)||(F[G]=N.sanitizeValue(W))}),F.content&&(F.type="inline"),!F.type&&X&&(F.type=this.sourceType(X)),H(u)){if(!F.title&&R=="a"){var B=A.title;H(B)||B===""||(F.title=B)}if(!F.title&&R=="img"){var $=A.alt;H($)||$===""||(F.title=$)}}else{var j=[];b(F,function(P,G){j.push(";\\s?"+G)}),j=j.join("\\s?:|"),u.trim()!==""&&b(F,function(P,G){var W=u,K=new RegExp("s?"+G+"s?:s?(.*?)("+j+"s?:|$)"),Y=W.match(K);if(Y&&Y.length&&Y[1]){var J=Y[1].trim().replace(/;\s*$/,"");
56F[G]=N.sanitizeValue(J)}})}if(F.description&&F.description.substring(0,1)==="."){var C;try{C=document.querySelector(F.description).innerHTML}catch(P){if(!(P instanceof DOMException))throw P}C&&(F.description=C)}if(!F.description){var M=A.querySelector(".glightbox-desc");M&&(F.description=M.innerHTML)}return this.setSize(F,O,A),this.slideConfig=F,F}},{key:"setSize",value:function(A,O){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,F=A.type=="video"?this.checkSize(O.videosWidth):this.checkSize(O.width),q=this.checkSize(O.height);return A.width=ee(A,"width")&&A.width!==""?this.checkSize(A.width):F,A.height=ee(A,"height")&&A.height!==""?this.checkSize(A.height):q,N&&A.type=="image"&&(A._hasCustomWidth=!!N.dataset.width,A._hasCustomHeight=!!N.dataset.height),A}},{key:"checkSize",value:function(A){return he(A)?"".concat(A,"px"):A}},{key:"sanitizeValue",value:function(A){return A!=="true"&&A!=="false"?A:A==="true"}}]),se=p(function A(O,N,F){s(this,A),this.element=O,this.instance=N,this.index=F},[{key:"setContent",value:function(){var A=this,O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,N=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(l(O,"loaded"))return!1;var F=this.instance.settings,q=this.slideConfig,X=E();k(F.beforeSlideLoad)&&F.beforeSlideLoad({index:this.index,slide:O,player:!1});var u=q.type,R=q.descPosition,B=O.querySelector(".gslide-media"),$=O.querySelector(".gslide-title"),j=O.querySelector(".gslide-desc"),C=O.querySelector(".gdesc-inner"),M=N,P="gSlideTitle_"+this.index,G="gSlideDesc_"+this.index;if(k(F.afterSlideLoad)&&(M=function(){k(N)&&N(),F.afterSlideLoad({index:A.index,slide:O,player:A.instance.getSlidePlayerInstance(A.index)})}),q.title==""&&q.description==""?C&&C.parentNode.parentNode.removeChild(C.parentNode):($&&q.title!==""?($.id=P,$.innerHTML=q.title):$.parentNode.removeChild($),j&&q.description!==""?(j.id=G,X&&F.moreLength>
560?(q.smallDescription=this.slideShortDesc(q.description,F.moreLength,F.moreText),j.innerHTML=q.smallDescription,this.descriptionEvents(j,q)):j.innerHTML=q.description):j.parentNode.removeChild(j),r(B.parentNode,"desc-".concat(R)),r(C.parentNode,"description-".concat(R))),r(B,"gslide-".concat(u)),r(O,"loaded"),u!=="video"){if(u!=="external")return u==="inline"?(me.apply(this.instance,[O,q,this.index,M]),void(q.draggable&&new ue({dragEl:O.querySelector(".gslide-inline"),toleranceX:F.dragToleranceX,toleranceY:F.dragToleranceY,slide:O,instance:this.instance}))):void(u!=="image"?k(M)&&M():de(O,q,this.index,function(){var W=O.querySelector("img");q.draggable&&new ue({dragEl:W,toleranceX:F.dragToleranceX,toleranceY:F.dragToleranceY,slide:O,instance:A.instance}),q.zoomable&&W.naturalWidth>W.offsetWidth&&(r(W,"zoomable"),new te(W,O,function(){A.instance.resize()})),k(M)&&M()}));be.apply(this,[O,q,this.index,M])}else ce.apply(this.instance,[O,q,this.index,M])}},{key:"slideShortDesc",value:function(A){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:50,N=arguments.length>2&&arguments[2]!==void 0&&arguments[2],F=document.createElement("div");F.innerHTML=A;var q=F.innerText,X=N;if((A=q.trim()).length<=O)return A;var u=A.substr(0,O-1);return X?(F=null,u+'... <a href="#" class="desc-more">'+N+"</a>"):u}},{key:"descriptionEvents",value:function(A,O){var N=this,F=A.querySelector(".desc-more");if(!F)return!1;v("click",{onElement:F,withCallback:function(q,X){q.preventDefault();var u=document.body,R=c(X,".gslide-desc");if(!R)return!1;R.innerHTML=O.description,r(u,"gdesc-open");var B=v("click",{onElement:[u,c(R,".gslide-description")],withCallback:function($,j){$.target.nodeName.toLowerCase()!=="a"&&(i(u,"gdesc-open"),r(u,"gdesc-closed"),R.innerHTML=O.smallDescription,N.descriptionEvents(R,O),setTimeout(function(){i(u,"gde
56sc-closed")},400),B.destroy())}})}})}},{key:"create",value:function(){return _(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){L(this.element)||this.element.hasOwnProperty("draggable")||(this.element.draggable=this.instance.settings.draggable);var A=new Ae(this.instance.settings.slideExtraAttributes);return this.slideConfig=A.parseConfig(this.element,this.instance.settings),this.slideConfig}}]);function ve(A){return Math.sqrt(A.x*A.x+A.y*A.y)}function Ie(A,O){var N=function(F,q){var X=ve(F)*ve(q);if(X===0)return 0;var u=function(R,B){return R.x*B.x+R.y*B.y}(F,q)/X;return u>1&&(u=1),Math.acos(u)}(A,O);return function(F,q){return F.x*q.y-q.x*F.y}(A,O)>0&&(N*=-1),180*N/Math.PI}var Fe=p(function A(O){s(this,A),this.handlers=[],this.el=O},[{key:"add",value:function(A){this.handlers.push(A)}},{key:"del",value:function(A){A||(this.handlers=[]);for(var O=this.handlers.length;O>=0;O--)this.handlers[O]===A&&this.handlers.splice(O,1)}},{key:"dispatch",value:function(){for(var A=0,O=this.handlers.length;A<O;A++){var N=this.handlers[A];typeof N=="function"&&N.apply(this.el,arguments)}}}]);function xe(A,O){var N=new Fe(A);return N.add(O),N}var Ze=p(function A(O,N){s(this,A),this.element=typeof O=="string"?document.querySelector(O):O,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var F=function(){};this.rotate=xe(this.element,N.rotate||F),this.touchStart=xe(this.element,N.touchStart||F),this.multipointStart=xe(this.element,N.multipointStart||F),this.multipointEnd=xe(this.element,N.multipointEnd||F),this.pinch=xe(this.element,N.pinch||F),this.swipe=xe(this.element,N.swipe||F),this.tap=xe(this.element,N.tap||F),this.doubleTap=xe(this.element,N.doubleTap||F),this.longTap=xe(this.element,N.longTap||F),this.singleTap=xe(this.element,N.singleTap||F),this.pressMove=xe(this.element,N.pressMove||F),this.twoFingerPressMove=xe(this.element,N.twoFingerPressMove||F),this.touchMove=xe(this.element,N.touchMove||F),this.touchEnd=xe(this.element,N.touchEnd||F),this.touchCancel=xe(this.element,N.touchCancel||F),this.translateContainer=this.element,this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}},[{key:"start",value:function(A){if(A.touches)if(A.target&&A.target.nodeName&&["a","button","input"].indexOf(A.target.nodeName.toLowerCase())>=0)console.log("ignore drag for this touched element",A.target.nodeName.toLowerCase());else{this.now=Date.now(),this.x1=A.touches[0].pageX,this.y1=A.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(A,this.element),this.preTapPosition.x!==null&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var O=this.preV;if(A.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var N={x:A.touches[1].pageX-this.x1,y:A.touches[1].pageY-this.y1};O.x=N.x,O.y=N.y,this.pinchStartLen=ve(O),this.multipointStart.dispatch(A,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout((function(){this.longTap.dispatch(A,this.element),this._preventTap=!0}).bind(this),750)}}},{key:"move",value:function(A){if(A.touches){var O=this.preV,N=A.touches.length,F=A.touches[0].pageX,q=A.touches[0].pageY;if(this.isDoubleTap=!1,N>1){var X=A.touches[1].pageX,u=A.touches[1].pageY,R={x:A.touches[1].pageX-F,y:A.touches[1].pageY-q};O.x!==null&&(this.pinchStartLen>0&&(A.zoom=ve(R)/this.pinchStartLen,this.pinch.dispatch(A,this.element)),A.angle=Ie(R,O),this.rotate.dispatch(A,this.element)),O.x=R.x,O.y=R.y,this.x2!==null&&this.sx2!==null?(A.deltaX=(F-this.x2+X-this.sx2)/2,A.deltaY=(q-this.y2+u-this.sy2)/2):(A.deltaX=0,A.deltaY=0),this.twoFingerPressMove.dispatch(A,this.element),this.sx2=X,this.sy2=u}else{if(this.x2!==null){A.deltaX=F-this.x2,A.deltaY=q-this.y2;var B=Math.abs(this.x1-this.x2),$=Math.abs(this.y1-this.y2);(B>10||$>10)&&(this._preventTap=!0)}else A.deltaX=0,A.deltaY=0;this.pressMove.dispatch(A,this.element)}this.touchMove.dispatch(A,this.element),this._cancelLongTap(),this.x2=F,this.y2=q,N>1&&A.preventDefault()}}},{key:"end",value:function(A){if(A.changedTouches){this._cancelLongTap();var O=this;A.touches.length<2&&(this.multipointEnd.dispatch(A,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(A.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout(function(){O.swipe.dispatch(A,O.element)},0)):(this.tapTimeout=setTimeout(function(){O._preventTap||O.tap.dispatch(A,O.element),O.isDoubleTap&&(O.doubleTap.dispatch(A,O.element),O.isDoubleTap=!1)},0),O.isDoubleTap||(O.singleTapTimeout=setTimeout(function(){O.singleTap.dispatch(A,O.element)},250))),this.touchEnd.dispatch(A,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(A){this.cancelAll(),this.touchCancel.dispatch(A,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}},{key:"_swipeDirection",value:function(A,O,N,F){return Math.abs(A-O)>=Math.abs(N-F)?A-O>0?"Left":"Right":N-F>0?"Up":"Down"}},{key:"on",value:function(A,O){this[A]&&this[A].add(O)}},{key:"off",value:function(A,O){this[A]&&this[A].del(O)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]);function $e(A){var O=function(){var u,R=document.createElement("fakeelement"),B={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(u in B)if(R.style[u]!==void 0)return B[u]}(),N=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,F=l(A,"gslide-media")?A:A.querySelector(".gslide-media"),q=c(F,".ginner-container"),X=A.querySelector(".gslide-description");N>769&&(F=q),r(F,"greset"),x(F,"translate3d(0, 0, 0)"),v(O,{onElement:F,once:!0,withCallback:function(u,R){i(F,"greset")}}),F.style.opacity="",X&&(X.style.opacity="")}function Ne(A){if(A.events.hasOwnProperty("touch"))return!1;var O,N,F,q=w(),X=q.width,u=q.height,R=!1,B=null,$=null,j=null,C=!1,M=1,P=1,G=!1,W=!1,K=null,Y=null,J=null,Q=null,ne=0,re=0,ae=!1,fe=!1,_e={},Ce={},Je=0,Vn=0,as=document.getElementById("glightbox-slider"),Dt=document.querySelector(".goverlay"),ls=new Ze(as,{touchStart:function(ge){if(R=!0,(l(ge.targetTouches[0].target,"ginner-container")||c(ge.targetTouches[0].target,".gslide-desc")||ge.targetTouches[0].target.nodeName.toLowerCase()=="a")&&(R=!1),c(ge.targetTouches[0].target,".gslide-inline")&&!l(ge.targetTouches[0].target.parentNode,"gslide-inline")&&(R=!1),R){if(Ce=ge.targetTouches[0],_e.pageX=ge.targetTouches[0].pageX,_e.pageY=ge.targetTouches[0].pageY,Je=ge.targetTouches[0].clientX,Vn=ge.targetTouches[0].clientY,B=A.activeSlide,$
56=B.querySelector(".gslide-media"),F=B.querySelector(".gslide-inline"),j=null,l($,"gslide-image")&&(j=$.querySelector("img")),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>769&&($=B.querySelector(".ginner-container")),i(Dt,"greset"),ge.pageX>20&&ge.pageX<window.innerWidth-20)return;ge.preventDefault()}},touchMove:function(ge){if(R&&(Ce=ge.targetTouches[0],!G&&!W)){if(F&&F.offsetHeight>u){var ke=_e.pageX-Ce.pageX;if(Math.abs(ke)<=13)return!1}C=!0;var Qe,Tt=ge.targetTouches[0].clientX,cs=ge.targetTouches[0].clientY,fs=Je-Tt,ds=Vn-cs;if(Math.abs(fs)>Math.abs(ds)?(ae=!1,fe=!0):(fe=!1,ae=!0),O=Ce.pageX-_e.pageX,ne=100*O/X,N=Ce.pageY-_e.pageY,re=100*N/u,ae&&j&&(Qe=1-Math.abs(N)/u,Dt.style.opacity=Qe,A.settings.touchFollowAxis&&(ne=0)),fe&&(Qe=1-Math.abs(O)/X,$.style.opacity=Qe,A.settings.touchFollowAxis&&(re=0)),!j)return x($,"translate3d(".concat(ne,"%, 0, 0)"));x($,"translate3d(".concat(ne,"%, ").concat(re,"%, 0)"))}},touchEnd:function(){if(R){if(C=!1,W||G)return J=K,void(Q=Y);var ge=Math.abs(parseInt(re)),ke=Math.abs(parseInt(ne));if(!(ge>29&&j))return ge<29&&ke<25?(r(Dt,"greset"),Dt.style.opacity=1,$e($)):void 0;A.close()}},multipointEnd:function(){setTimeout(function(){G=!1},50)},multipointStart:function(){G=!0,M=P||1},pinch:function(ge){if(!j||C)return!1;G=!0,j.scaleX=j.scaleY=M*ge.zoom;var ke=M*ge.zoom;if(W=!0,ke<=1)return W=!1,ke=1,Q=null,J=null,K=null,Y=null,void j.setAttribute("style","");ke>4.5&&(ke=4.5),j.style.transform="scale3d(".concat(ke,", ").concat(ke,", 1)"),P=ke},pressMove:function(ge){if(W&&!G){var ke=Ce.pageX-_e.pageX,Qe=Ce.pageY-_e.pageY;J&&(ke+=J),Q&&(Qe+=Q),K=ke,Y=Qe;var Tt="translate3d(".concat(ke,"px, ").concat(Qe,"px, 0)");P&&(Tt+=" scale3d(".concat(P,", ").concat(P,", 1)")),x(j,Tt)}},swipe:function(ge){if(!W)if(G)G=!1;else{if(ge.direction=="Left"){if(A.index==A.elements.length-1)return $e($);A.nextSlide()}if(ge.direction=="Right"){if(A.index==0)return $e($);A.prevSlide()}}}});A.events.touch=ls}var Ue=E(),He=E()!==null||document.createTouch!==void 0||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,Ge=document.getElementsByTagName("html")[0],Ye={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.12/plyr.css",js:"https://cdn.plyr.io/3.6.12/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.943,6.058c-8.077-8.077-21.172-8.077-29.249,0L6.058,476.693c-8.077,8.077-8.077,21.172,0,29.249C10.096,509.982,15.39,512,20.683,512c5.293,0,10.586-2.019,14.625-6.059L505.943,35.306C514.019,27.23,514.019,14.135,505.943,6.058z"/></g></g><g><g><path d="M505.942,476.694L35.306,6.059c-8.076-8.077-21.172-8.077-29.248,0c-8.077,8.076-8.077,21.171,0,29.248l470.636,470.636c4.038,4.039,9.332,6.058,14.625,6.058c5.293,0,10.587-2.019,14.624-6.057C514.018,497.866,514.018,484.771,505.942,476.694z"/></g></g></svg>',next:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"> <g><path d="M360.731,229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1l215.5,215.5l-215.5,215.5c-5.3,5.3-5.3,13.8,0,19.1c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-4l225.1-225.1C365.931,242.875,365.931,234.275,360.731,229.075z"/></g></svg>',prev:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"><g><path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/></g></svg>'},slideHTML:`<div class="gslide"> 57 <div class="gslide-inner-content"> 58 <div class="ginner-container"> 59 <div class="gslide-media"> 60 </div> 61 <div class="gslide-description"> 62 <div class="gdesc-inner"> 63 <h4 class="gslide-title"></h4> 64 <div class="gslide-desc"></div> 65 </div> 66 </div> 67 </div> 68 </div> 69</div>`,lightboxHTML:`<div id="glightbox-body" class="glightbox-container" tabindex="-1" role="dialog" aria-hidden="false"> 70 <div class="gloader visible"></div> 71 <div class="goverlay"></div> 72 <div class="gcontainer"> 73 <div id="glightbox-slider" class="gslider"></div> 74 <button class="gclose gbtn" aria-label="Close" data-taborder="3">{closeSVG}</button> 75 <button class="gprev gbtn" aria-label="Previous" data-taborder="2">{prevSVG}</button> 76 <button class="gnext gbtn" aria-label="Next" data-taborder="1">{nextSVG}</button> 77</div> 78</div>`},ot=p(function A(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};s(this,A),this.customOptions=O,this.settings=n(Ye,O),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1},[{key:"init",value:function(){var A=this,O=this.getSelector();O&&(this.baseEvents=v("click",{onElement:O,withCallback:function(N,F){N.preventDefault(),A.open(F)}})),this.elements=this.getElements()}},{key:"open",value:function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.elements.length===0)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var N=he(O)?O:this.settings.startAt;if(L(A)){var F=A.getAttribute("data-gallery");F&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,F)),H(N)&&(N=this.getElementIndex(A))<0&&(N=0)}he(N)||(N=0),this.build(),a(this.overlay,this.settings.openEffect==="none"?"none":this.settings.cssEfects.fade.in);var q=document.body,X=window.innerWidth-document.documentElement.clientWidth;if(X>0){var u=document.createElement("style");u.type="text/css",u.className="gcss-styles",u.innerText=".gscrollbar-fixer {margin-right: ".concat(X,"px}"),document.head.appendChild(u),r(q,"gscrollbar-fixer")}r(q,"glightbox-open"),r(Ge,"glightbox-open"),Ue&&(r(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(N,!0),this.elements.length===1?(r(this.prevButton,"glightbox-button-hidden"),r(this.nextButton,"glightbox-button-hidden")):(i(this.prevButton,"glightbox-button-hidden"),i(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),k(this.settings.onOpen)&&this.settings.onOpen(),He&&this.settings.touchNavigation&&Ne(this),this.settings.keyboardNavigation&&V(this)}},{key:"openAt",value:function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.open(null,A)}},{key:"showSlide",value:function(){var A=this,O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,N=arguments.length>1&&arguments[1]!==void 0&&arguments[1];f(this.loader),this.index=parseInt(O);var F=this.slidesContainer.querySelector(".current");F&&i(F,"current"),this.slideAnimateOut();var q=this.slidesContainer.querySelectorAll(".gslide")[O];if(l(q,"loaded"))this.slideAnimateIn(q,N),h(this.loader);else{f(this.loader);var X=this.elements[O],u={index:this.index,slide:q,slideNode:q,slideConfig:X.slideConfig,slideIndex:this.index,trigger:X.node,player:null};this.trigger("slide_before_load",u),X.instance.setContent(q,function(){h(A.loader),A.resize(),A.slideAnimateIn(q,N),A.trigger("slide_after_load",u)})}this.slideDescription=q.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&l(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(O+1),this.preloadSlide(O-1)),this.updateNavigationClasses(),this.activeSlide=q}},{key:"preloadSlide",value:function(A){var O=this;if(A<0||A>this.elements.length-1||H(this.elements[A]))return!1;var N=this.slidesContainer.querySelectorAll(".gslide")[A];if(l(N,"loaded"))return!1;
78var F=this.elements[A],q=F.type,X={index:A,slide:N,slideNode:N,slideConfig:F.slideConfig,slideIndex:A,trigger:F.node,player:null};this.trigger("slide_before_load",X),q==="video"||q==="external"?setTimeout(function(){F.instance.setContent(N,function(){O.trigger("slide_after_load",X)})},200):F.instance.setContent(N,function(){O.trigger("slide_after_load",X)})}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var A=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(A<0||A>this.elements.length-1))return!1;A<0?A=this.elements.length-1:A>=this.elements.length&&(A=0),this.showSlide(A)}},{key:"insertSlide",value:function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;O<0&&(O=this.elements.length);var N=new se(A,this,O),F=N.getConfig(),q=n({},F),X=N.create(),u=this.elements.length-1;q.index=O,q.node=!1,q.instance=N,q.slideConfig=F,this.elements.splice(O,0,q);var R=null,B=null;if(this.slidesContainer){if(O>u)this.slidesContainer.appendChild(X);else{var $=this.slidesContainer.querySelectorAll(".gslide")[O];this.slidesContainer.insertBefore(X,$)}(this.settings.preload&&this.index==0&&O==0||this.index-1==O||this.index+1==O)&&this.preloadSlide(O),this.index===0&&O===0&&(this.index=1),this.updateNavigationClasses(),R=this.slidesContainer.querySelectorAll(".gslide")[O],B=this.getSlidePlayerInstance(O),q.slideNode=R}
78this.trigger("slide_inserted",{index:O,slide:R,slideNode:R,slideConfig:F,slideIndex:O,trigger:null,player:B}),k(this.settings.slideInserted)&&this.settings.slideInserted({index:O,slide:R,player:B})}},{key:"removeSlide",value:function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;if(A<0||A>this.elements.length-1)return!1;var O=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[A];O&&(this.getActiveSlideIndex()==A&&(A==this.elements.length-1?this.prevSlide():this.nextSlide()),O.parentNode.removeChild(O)),this.elements.splice(A,1),this.trigger("slide_removed",A),k(this.settings.slideRemoved)&&this.settings.slideRemoved(A)}},{key:"slideAnimateIn",value:function(A,O){var N=this,F=A.querySelector(".gslide-media"),q=A.querySelector(".gslide-description"),X={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:H(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:H(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},u={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(F.offsetWidth>0&&q&&(h(q),q.style.display=""),i(A,this.effectsClasses),O)a(A,this.settings.cssEfects[this.settings.openEffect].in,function(){N.settings.autoplayVideos&&N.slidePlayerPlay(A),N.trigger("slide_changed",{prev:X,current:u}),k(N.settings.afterSlideChange)&&N.settings.afterSlideChange.apply(N,[X,u])});else{var R=this.settings.slideEffect,B=R!=="none"?this.settings.cssEfects[R].in:R;this.prevActiveSlideIndex>this.index&&this.settings.slideEffect=="slide"&&(B=this.settings.cssEfects.slideBack.in),a(A,B,function(){N.settings.autoplayVideos&&N.slidePlayerPlay(A),N.trigger("slide_changed",{prev:X,current:u}),k(N.settings.afterSlideChange)&&N.settings.afterSlideChange.apply(N,[X,u])})}setTimeout(function(){N.resize(A)},100),r(A,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var A=this.prevActiveSlide;i(A,this.effectsClasses),r(A,"prev");var O=this.settings.slideEffect,N=O!=="none"?this.settings.cssEfects[O].out:O;this.slidePlayerPause(A),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:H(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:H(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),k(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&this.settings.slideEffect=="slide"&&(N=this.settings.cssEfects.slideBack.out),a(A,N,function(){var F=A.querySelector(".ginner-container"),q=A.querySelector(".gslide-media"),X=A.querySelector(".gslide-description");F.style.transform="",q.style.transform="",i(q,"greset"),q.style.opacity="",X&&(X.style.opacity=""),i(A,"prev")})}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(A){var O="gvideo"+A,N=this.getAllPlayers();return!(!ee(N,O)||!N[O])&&N[O]}},{key:"stopSlideVideo",value:function(A){if(L(A)){var O=A.querySelector(".gvideo-wrapper");O&&(A=O.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause");var N=this.getSlidePlayerInstance(A);N&&N.playing&&N.pause()}},{key:"slidePlayerPause",value:function(A){if(L(A)){var O=A.querySelector(".gvideo-wrapper");O&&(A=O.getAttribute("data-index"))}var N=this.getSlidePlayerInstance(A);N&&N.playing&&N.pause()}},{key:"playSlideVideo",value:function(A){if(L(A)){var O=A.querySelector(".gvideo-wrapper");O&&(A=O.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay");var N=this.getSlidePlayerInstance(A);N&&!N.playing&&N.play()}},{key:"slidePlayerPlay",value:function(A){var O;if(!Ue||(O=this.settings.plyr.config)!==null&&O!==void 0&&O.muted){if(L(A)){var N=A.querySelector(".gvideo-wrapper");N&&(A=N.getAttribute("data-index"))}var F=this.getSlidePlayerInstance(A);F&&!F.playing&&(F.play(),this.settings.autofocusVideos&&F.elements.container.focus())}}},{key:"setElements",value:function(A){var O=this;this.settings.elements=!1;var N=[];A&&A.length&&b(A,function(F,q){var X=new se(F,O,q),u=X.getConfig(),R=n({},u);R.slideConfig=u,R.instance=X,R.index=q,N.push(R)}),this.elements=N,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(b(this.elements,function(){var F=_(O.settings.slideHTML);O.slidesContainer.appendChild(F)}),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(A){var O=!1;return b(this.elements,function(N,F){if(ee(N,"node")&&N.node==A)return O=F,!0}),O}},{key:"getElements",value:function(){var A=this,O=[];this.elements=this.elements?this.elements:[],!H(this.settings.elements)&&U(this.settings.elements)&&this.settings.elements.length&&b(this.settings.elements,function(F,q){var X=new se(F,A,q),u=X.getConfig(),R=n({},u);R.node=!1,R.index=q,R.instance=X,R.slideConfig=u,O.push(R)});var N=!1;
78return this.getSelector()&&(N=document.querySelectorAll(this.getSelector())),N&&b(N,function(F,q){var X=new se(F,A,q),u=X.getConfig(),R=n({},u);R.node=F,R.index=q,R.instance=X,R.slideConfig=u,R.gallery=F.getAttribute("data-gallery"),O.push(R)}),O}},{key:"getGalleryElements",value:function(A,O){return A.filter(function(N){return N.gallery==O})}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&this.settings.selector.substring(0,5)=="data-"?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var A=[];for(var O in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(O)){var N=this.settings.cssEfects[O];A.push("g".concat(N.in)),A.push("g".concat(N.out))}return A.join(" ")}},{key:"build",value:function(){var A=this;if(this.built)return!1;var O=document.body.childNodes,N=[];b(O,function($){$.parentNode==document.body&&$.nodeName.charAt(0)!=="#"&&$.hasAttribute&&!$.hasAttribute("aria-hidden")&&(N.push($),$.setAttribute("aria-hidden","true"))});var F=ee(this.settings.svg,"next")?this.settings.svg.next:"",q=ee(this.settings.svg,"prev")?this.settings.svg.prev:"",X=ee(this.settings.svg,"close")?this.settings.svg.close:"",u=this.settings.lightboxHTML;u=_(u=(u=(u=u.replace(/{nextSVG}/g,F)).replace(/{prevSVG}/g,q)).replace(/{closeSVG}/g,X)),document.body.appendChild(u);var R=document.getElementById("glightbox-body");this.modal=R;var B=R.querySelector(".gclose");this.prevButton=R.querySelector(".gprev"),this.nextButton=R.querySelector(".gnext"),this.overlay=R.querySelector(".goverlay"),this.loader=R.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=N,this.events={},r(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&B&&(this.events.close=v("click",{onElement:B,withCallback:function($,j){$.preventDefault(),A.close()}})),B&&!this.settings.closeButton&&B.parentNode.removeChild(B),this.nextButton&&(this.events.next=v("click",{onElement:this.nextButton,withCallback:function($,j){$.preventDefault(),A.nextSlide()}})),this.prevButton&&(this.events.prev=v("click",{onElement:this.prevButton,withCallback:function($,j){$.preventDefault(),A.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=v("click",{onElement:R,withCallback:function($,j){A.preventOutsideClick||l(document.body,"glightbox-mobile")||c($.target,".ginner-container")||c($.target,".gbtn")||l($.target,"gnext")||l($.target,"gprev")||A.close()}})),b(this.elements,function($,j){A.slidesContainer.appendChild($.instance.create()),$.slideNode=A.slidesContainer.querySelectorAll(".gslide")[j]}),He&&r(document.body,"glightbox-touch"),this.events.resize=v("resize",{onElement:window,withCallback:function(){A.resize()}}),this.built=!0}},{key:"resize",value:function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if((A=A||this.activeSlide)&&!l(A,"zoomed")){var O=w(),N=A.querySelector(".gvideo-wrapper"),F=A.querySelector(".gslide-image"),q=this.slideDescription,X=O.width,u=O.height;if(X<=768?r(document.body,"glightbox-mobile"):i(document.body,"glightbox-mobile"),N||F){var R=!1;if(q&&(l(q,"description-bottom")||l(q,"description-top"))&&!l(q,"gabsolute")&&(R=!0),F){if(X<=768)F.querySelector("img");else if(R){var B,$,j=q.offsetHeight,C=F.querySelector("img"),M=(B=this.elements[this.index])===null||B===void 0?void 0:B.node,P="100vh";M&&(P=($=M.getAttribute("data-height"))!==null&&$!==void 0?$:P),C.setAttribute("style","max-height: calc(".concat(P," - ").concat(j,"px)")),q.setAttribute("style","max-width: ".concat(C.offsetWidth,"px;"))}}if(N){var G=ee(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"";if(!G){var W=N.clientWidth,K=N.clientHeight,Y=W/K;G="".concat(W/Y,":").concat(K/Y)}var J=G.split(":"),Q=this.settings.videosWidth,ne=this.settings.videosWidth,re=(ne=he(Q)||Q.indexOf("px")!==-1?parseInt(Q):Q.indexOf("vw")!==-1?X*parseInt(Q)/100:Q.indexOf("vh")!==-1?u*parseInt(Q)/100:Q.indexOf("%")!==-1?X*parseInt(Q)/100:parseInt(N.clientWidth))/(parseInt(J[0])/parseInt(J[1]));if(re=Math.floor(re),R&&(u-=q.offsetHeight),ne>X||re>u||u<re&&X>ne){var ae=N.offsetWidth,fe=N.offsetHeight,_e=u/fe,Ce={width:ae*_e,height:fe*_e};N.parentNode.setAttribute("style","max-width: ".concat(Ce.width,"px")),R&&q.setAttribute("style","max-width: ".concat(Ce.width,"px;"))}else N.parentNode.style.maxWidth="".concat(Q),R&&q.setAttribute("style","max-width: ".concat(Q,";"))}}}}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var A=this.loop();i(this.nextButton,"disabled"),i(this.prevButton,"disabled"),this.index==0&&this.elements.length-1==0?(r(this.prevButton,"disabled"),r(this.nextButton,"disabled")):this.index!==0||A?this.index!==this.elements.length-1||A||r(this.nextButton,"disabled"):r(this.prevButton,"disabled")}},{key:"loop",value:function(){var A=ee(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null;return A=ee(this.settings,"loop")?this.settings.loop:A,A}},{key:"close",value:function(){var A=this;if(!this.lightboxOpen){if(this.events){for(var O in this.events)this.events.hasOwnProperty(O)&&this.events[O].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&b(this.bodyHiddenChildElms,function(N){N.removeAttribute("aria-hidden")}),r(this.modal,"glightbox-closing"),a(this.overlay,this.settings.openEffect=="none"?"none":this.settings.cssEfects.fade.out),a(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,function(){if(A.activeSlide=null,A.prevActiveSlideIndex=null,A.prevActiveSlide=null,A.built=!1,A.events){for(var N in A.events)A.events.hasOwnProperty(N)&&A.events[N].destroy();A.events=null}var F=document.body;i(Ge,"glightbox-open"),i(F,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),A.modal.parentNode.removeChild(A.modal),A.trigger("close"),k(A.settings.onClose)&&A.settings.onClose();var q=document.querySelector(".gcss-styles");q&&q.parentNode.removeChild(q),A.lightboxOpen=!1,A.closing=null})}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(A,O){var N=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!A||!k(O))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:A,once:N,callback:O})}},{key:"once",value:function(A,O){this.on(A,O,!0)}},{key:"trigger",value:function(A){var O=this,N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,F=[];b(this.apiEvents,function(q,X){var u=q.evt,R=q.once,B=q.callback;u==A&&(B(N),R&&F.push(X))}),F.length&&b(F,function(q){return O.apiEvents.splice(q,1)})}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return"3.3.1"}}]);return function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},O=new ot(A);return O.init(),O}})})(Ci);var sl=Ci.exports;const ol=Yr(sl);let Nn=null,Bt=[],on=[],un=[],an=[],nt=[];function ul(e,t,s,m){const d=new DOMParser().parseFromString(e,"text/html"),g=m.shadowRoot||m,o=!!(m.showNav&&m.nav.length);nt.forEach(r=>clearTimeout(r)),nt=[],d.querySelectorAll("a").forEach(r=>{var i;(i=r.getAttribute("href"))!=null&&i.startsWith("#")?r.addEventListener("click",()=>{setTimeout(()=>{Un(m)})}):r.target="_blank"}),on.forEach(r=>
78r==null?void 0:r.disconnect()),on=[],un.forEach(r=>r==null?void 0:r.disconnect()),un=[],an.forEach(r=>r==null?void 0:r.disconnect()),an=[],o&&m.nav.forEach(r=>{const i=new IntersectionObserver(c=>{c.forEach(a=>{const x=a.isIntersecting,f=a.target.getAttribute("id");x&&g.querySelectorAll(".navigation li").forEach(h=>{h.classList.contains(`nav-${f}`)?h.classList.add("active"):h.classList.remove("active")})})},{rootMargin:"-50% 0px"}),l=setTimeout(()=>{const c=g.querySelector(`#${r.id}`);c&&(i.observe(c),un.push(i))},200);nt.push(l)}),Object.keys(t).forEach(r=>{const i=t[r];if(Aa.includes(i.mode)&&i.steps){const l=`${i.as}#${i.id}`;let c=!1;const a=new Map,x=new Map;i.steps.forEach(L=>{Array.isArray(L.layers)&&L.layers.forEach(U=>{if(U.properties&&U.properties.id){const z=U.properties.id,Z=U.source?JSON.stringify(U.source):"null",H=`${z}::${Z}`;if(!a.has(H)){let oe=z;if(x.has(z)){const he=x.get(z)+1;x.set(z,he),oe=`${z}_${he}`}else x.set(z,0);a.set(H,oe)}const ee=a.get(H);U.properties.id=ee}})});const f=new Map;i.steps.forEach(L=>{Array.isArray(L.layers)&&L.layers.forEach(U=>{U.properties&&U.properties.id&&f.set(U.properties.id,U)})});const h=Array.from(f.values()),_=new Set((i.steps[0].layers||[]).map(L=>{var U;return(U=L.properties)==null?void 0:U.id})),w=h.filter(L=>{var U;return _.has((U=L.properties)==null?void 0:U.id)});let S=!1,D=0;const T=new IntersectionObserver(L=>{L.forEach(U=>{U.isIntersecting&&!c&&(Ft(i,0,l,g,S?h:w),c=!0)})}),E=new IntersectionObserver(L=>{L.forEach(U=>{const z=U.isIntersecting,Z=Number(U.target.getAttribute("key"));z&&(D=Z,Z>0&&(S=!0),Ft(i,Z,l,g,S?h:w))})}),k=setTimeout(()=>{const L=g.querySelector(`#${r}`);if(!L)return;g.querySelectorAll(`#${r} section-step`).forEach((Z,H)=>{Z.setAttribute("key",`${H}`),E.observe(Z)}),an.push(E),Ft(i,0,l,g,S?h:w);const z=setTimeout(()=>{S||(S=!0,Ft(i,D,l,g,h))},2500);nt.push(z),T.observe(L),on.push(T)},500);nt.push(k);const I=setTimeout(()=>{const L=g.querySelector(l);L&&L.preloadTiles&&i.steps.forEach((U,z)=>{const Z=setTimeout(()=>{const ee=(U.layers||[]).map(le=>{var V;return(V=le.properties)==null?void 0:V.id}).filter(Boolean),oe=U.zoom,he=U.center;ee.length&&oe!==void 0&&he&&L.preloadTiles(ee,oe,he,.5)},z*1e3);nt.push(Z)})},3e3);nt.push(I)}});function b(){g.querySelectorAll(".story-telling .hero img, .story-telling .hero video").forEach(function(i){if(!(i instanceof HTMLElement))return;i.getAttribute("data-parallax")==="true"&&(i.style.transform="translateY("+i.getBoundingClientRect().top*.1+"px)")})}window.removeEventListener("scroll",b),window.addEventListener("scroll",b),Nn=ol({autoplayVideos:!0}),Bt=[];const y=[],v=Array.from(d.body.childNodes);for(const r of v)r instanceof Element&&y.push(ll(r,s,m));return Nn.setElements(Bt),y}function Ft(e,t,s,m,p=[]){const d=m.querySelector(s);if(!d)return;const g=e.steps[t];Object.keys(g).forEach(o=>{if(o!=="id")if(o==="layers"&&p.length&&Array.isArray(g[o])){const n=g[o],b=p.map(v=>{const r=n.find(i=>{var l,c;return((l=i.properties)==null?void 0:l.id)===((c=v.properties)==null?void 0:c.id)});return r?{...v,...r,visible:!0,opacity:r.opacity??1}:{...v,visible:!0,opacity:0}}),y=new Map;d.getLayerById&&b.forEach(v=>{const r=d.getLayerById(v.properties.id);r&&y.set(v.properties.id,r.getOpacity())}),d[o]=b,d.getLayerById&&b.forEach(v=>{const r=v.properties.id,i=v.opacity,l=y.get(r);l!==void 0&&Math.abs(l-i)>.01&&al(d,r,l,i,800)})}else d[o]=g[o]}),d.mode==="tour"&&(d.style="")}function al(e,t,s,m,p){const d=e.getLayerById(t);if(!d)return;d.setOpacity(s),d._fadeFrame&&cancelAnimationFrame(d._fadeFrame);const g=performance.now();function o(n){let y=(n-g)/p;y>1&&(y=1);let v=y;m>s?v=1-(1-y)*(1-y):m<s&&(v=y*y);const r=s+(m-s)*v;d.setOpacity(r),y<1?d._fadeFrame=requestAnimationFrame(o):(d._fadeFrame=null,d.setOpacity(m))}d._fadeFrame=requestAnimationFrame(o)}function ll(e,t,s){if(e.nodeType===Node.ELEMENT_NODE&&e.querySelectorAll("*").forEach(p=>{/^[a-z]+(-[a-z0-9]+)*$/.test(p.tagName.toLowerCase())&&e.classList.contains("section-custom")&&Array.from(p.attributes).forEach(g=>p[g.name]=Hn(p,g.name));const d=setTimeout(()=>t(p),100);nt.push(d)}),e.querySelectorAll){const m=e.querySelectorAll("img"),p=e.querySelectorAll("video");
78[...m,...p].forEach(d=>{const g=d.getAttribute("mode");if(d.parentNode.tagName!=="A"){if(g!=="hero"&&d.getAttribute("mode")!=="tour"){d.style.cursor="zoom-in";const n=Bt.length;d.addEventListener("click",()=>{Nn.openAt(n)}),Bt.push({type:"image",href:d.src})}d.onerror=()=>{s.renderRoot.contains(d)&&d.getAttribute("data-fallback-src")?(d.src=d.getAttribute("data-fallback-src"),d.removeAttribute("data-fallback-src")):d.src="https://placehold.co/600x400?text=Media+not+found"};const o=()=>{document.body.contains(d)&&d.getAttribute("data-fallback-src")&&d.removeAttribute("data-fallback-src")};d.onload=o,d.onloadeddata=o}})}return e}function Hn(e,t=void 0){const s=t?e.getAttribute(t):e;return Si(s)}function Si(e){let t;try{t=JSON.parse(e)}catch{!isNaN(e)&&e.trim()!==""?t=Number(e):e==="true"?t=!0:e==="false"?t=!1:t=e}return t}function br(e,t,s,m,p,d){const g=p.getBoundingClientRect(),o=(g.right+g.left)/2,n=25/2,b=g.top-n,y=g.top+n;let v=s?g.bottom-n:void 0,r=s?g.bottom+n:void 0;const i=o-n,l=o+n,{clientX:c,clientY:a}=e,x=t?a>=b&&a<=y:!1,f=s?a>=v&&a<=r:!1;if(f||(v=void 0,r=void 0),(c>=i&&c<=l&&(a>=v||a>=b)&&(a<=r||a<=y)||m)&&d.showEditor!=="closed"){const _=Number(p.getAttribute("data-section"));if(p.classList.contains("hero")&&x)return;d.addCustomSectionIndex=m?0:f?_:_-1,d.requestUpdate()}}function cl(e,t,s,m,p){const d=new DOMParser;let g=-1;if(s&&t.length&&e.length){g=0;const n=` 79 <div class="navigation"> 80 <div class="container nav-container"> 81 <span class="hamburger-menu" aria-label="Toggle navigation"> 82 </span> 83 <div class="nav-overlay"></div> 84 <ul class="nav-list"> 85 ${t.map(({id:l,title:c,state:a})=>a?`<li class="nav-${l} center-align"><a href="#${l}"><small class="truncate">${c}</small></a></li>`:"").join("")} 86 </ul> 87 </div> 88 </div> 89 `,b=d.parseFromString(n,"text/html").body.firstChild,y=b.querySelector(".hamburger-menu"),v=b.querySelector(".navigation .container ul"),r=b.querySelector(".nav-overlay"),i=b.querySelectorAll(".nav-list li");if(y&&v){const l=()=>{y.classList.toggle("active"),v.classList.toggle("show"),r.classList.toggle("show")};y.addEventListener("click",()=>l()),r.addEventListener("click",()=>l()),i.forEach(c=>{c.addEventListener("click",()=>l())})}e[0].classList.contains("hero")&&(g=1),e.splice(g,0,b)}let o=!1;if(e.length){const n=g+1;n&&e[n].classList.add("section-after-nav"),e[g===0?1:0].classList.add("section-start"),e[e.length-1].classList.add("section-end");const b=new IntersectionObserver(y=>{y.forEach(v=>{v.isIntersecting?v.target.classList.add("show-overlay"):v.target.classList.remove("show-overlay")})},{rootMargin:"-50% 0px"});e.slice(0,g===-1?0:g).concat(e.slice(n)).forEach((y,v)=>{if(!y.classList)return;y.classList.contains("section-wrap")&&(o=!0);const r=y.querySelector("eox-map"),i=y.classList.contains("tour");if(r){const l=Array.from(y.children).filter(x=>x.tagName.toLowerCase()!=="section-step"&&x.getAttribute("as")!=="eox-map"),c=Array.from(r.children),a=[...l,...c];if(a.length){const x=Array.from(r.classList).filter(_=>_.startsWith("overlay-")),f=document.createElement("div");f.className="eox-map-overlay",f.classList.add(x.length?x[0]:"overlay-br");const h=document.createElement("div");h.className="eox-map-overlay-content",a.forEach(_=>h.appendChild(_)),f.appendChild(h),r.innerHTML="",y.insertBefore(f,r.nextSibling),i&&b.observe(y)}}if(y.classList.add("section-item"),y.setAttribute("data-section",`${v+1}`),m!==void 0){const l=y.classList.contains("section-start"),c=y.classList.contains("section-end");y.addEventListener("click",function(a){br(a,l,c,!1,y,p)})}})}if(!o){let n=document.createElement("div");n.className="section-wrap container section-item section-start",e.forEach(b=>{n.appendChild(b)}),n.addEventListener("click",function(b){br(b,!1,!1,!0,this,p)}),e=[n]}if(e[0].classList.contains("hero")&&p.showHeroScrollIndicator){const n=e.filter(b=>{var y;return(y=b.classList)==null?void 0:y.contains("section-wrap")})||[];if(n.length>1){const b=e[1].classList.contains("navigation"),y=document.createElement("a");y.classList.add("hero-scroll-indicator"),y.addEventListener("click",v=>{v.preventDefault(),(b?e:n)[1].scrollIntoView({behavior:"smooth",block:"start"})}),e[0].appendChild(y)}}return e}function ki(e,t){if(e.nodeType!==t.nodeType){e.replaceWith(t);return}if(e.nodeType===Node.TEXT_NODE||e.nodeType===Node.COMMENT_NODE){e.nodeValue!==t.nodeValue&&(e.nodeValue=t.nodeValue);return}if(e.nodeType===Node.ELEMENT_NODE){const s=e,m=t;if(s.tagName!==m.tagName){s.replaceWith(m);return}const p=s.attributes,d=m.attributes;for(let y=p.length-1;y>=0;y--){const v=p[y].name;m.hasAttribute(v)||s.removeAttribute(v)}for(let y=0;y<d.length;y++){const v=d[y].name,r=d[y].value;s.getAttribute(v)!==r&&s.setAttribute(v,r)}if(s.tagName.includes("-"))for(const y of Object.keys(m))m[y]!==void 0&&s[y]!==m[y]&&(s[y]=m[y]);const g=Array.from(s.childNodes),o=Array.from(m.childNodes);let n=0,b=0;for(;n<g.length||b<o.length;){const y=g[n],v=o[b];if(!y&&v)s.appendChild(v),b++;else if(y&&!v)y.remove(),n++;else{const r=y,i=v;
89y.nodeType===v.nodeType&&r.tagName===i.tagName?(ki(y,v),n++,b++):(y.replaceWith(v),n++,b++)}}}}function fl(e,t){const s=Array.from(e.childNodes);let m=0,p=0;for(;m<s.length||p<t.length;){const d=s[m],g=t[p];if(!d&&g)e.appendChild(g),p++;else if(d&&!g)d.remove(),m++;else{const o=d,n=g;d.nodeType===g.nodeType&&o.tagName===n.tagName?(ki(d,g),m++,p++):(d.replaceWith(g),m++,p++)}}}var Oi={exports:{}};(function(e,t){(function(s,m){e.exports=m()})(self,()=>(()=>{var s={2115(d,g,o){const{assert:n,clone:b,deepEqual:y,merge:v}=o(3115),r=o(2130),i=o(9415),l=o(3541),c=o(8013),a=o(2062),x=o(9017),f=o(6162),h=o(5844),_=o(8529),w=o(125),S=o(1190),D=o(6220),T={standardTypes:new Set(["string","number","integer","boolean","object","array","null"]),jsonSchemaTarget:"draft-2020-12",primitiveTypes:new Set(["string","number","boolean"]),nullSchema:()=>({type:"null"}),Base:class{constructor(E){this.type=E,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new h.Ids,this._preferences=null,this._refs=new _.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return n(typeof x.describe=="function","Manifest functionality disabled"),x.describe(this)}$_jsonSchema(E,k={}){var I;if(k.target!==void 0&&k.target!==T.jsonSchemaTarget)throw new Error(`Unsupported JSON Schema target: ${k.target}`);const L=!k.$defs,U=(I=k.$defs)!==null&&I!==void 0?I:{};let z={};
89const Z=this.type==="any",H=this._flags.only,ee=this._valids&&Array.from(this._valids._values).filter(le=>le!==null);let oe=!0;if(ee&&ee.length&&H&&!Z){const le=new Set(ee.map(V=>typeof V));oe=le.has(this.type)||this.type==="date"&&le.has("object")}!Z&&oe&&T.standardTypes.has(this.type)&&(z.type=this.type),this._flags.description&&(z.description=this._flags.description),this._flags.default!==void 0&&typeof this._flags.default!="function"&&(z.default=this._flags.default);const he={...k,$defs:U};this._definition.jsonSchema&&oe&&(z=this._definition.jsonSchema(this,z,E,he));for(const le of this._rules){const V=this._definition.rules[le.name];V.jsonSchema&&oe&&!le._resolve.length&&(z=V.jsonSchema(le,z,H,E,he))}if(this.$_terms.shared)for(const le of this.$_terms.shared)U[le._flags.id]=le.$_jsonSchema(E,he);if(L&&Object.keys(U).length&&(z.$defs=U),this._valids){const le=ee.filter(V=>typeof V!="symbol");if(le.length)if(this._flags.only){z.enum=le;const V=i.intersect(new Set(le.map(te=>typeof te)),T.primitiveTypes);if(V.size){const te=[...V];z.type=te.length===1?te[0]:te}}else{const V=le.filter(te=>typeof te!==this.type||Z);!V.length||Z&&!H||(z.anyOf||(z={anyOf:[z]}),z.anyOf.push({enum:V}))}}if(this._valids&&this._valids.has(null)&&(!Z||H)&&(this._valids.length===1&&(Z||H)?z.type="null":z.type?z.type=[z.type,"null"]:z.anyOf?z.anyOf.unshift(T.nullSchema()):z={anyOf:[T.nullSchema(),z]}),this.$_terms.whens){const le=this.clone();le.$_terms.whens=null;const V=[];for(const ue of this.$_terms.whens){const de=ue.is?[ue]:ue.switch;for(let ce=0;ce<de.length;++ce){const ie=de[ce];ie.then&&V.push(le.concat(ie.then).$_jsonSchema(E,he)),ie.otherwise&&V.push(le.concat(ie.otherwise).$_jsonSchema(E,he)),ie.then&&(ce!==de.length-1||ie.otherwise)||V.push(le.$_jsonSchema(E,he))}}const te=[];for(const ue of V)te.some(de=>y(de,ue))||te.push(ue);return{anyOf:te}}return z}allow(...E){return i.verifyFlat(E,"allow"),this._values(E,"_valids")}alter(E){n(E&&typeof E=="object"&&!Array.isArray(E),"Invalid targets argument"),n(!this._inRuleset(),"Cannot set alterations inside a ruleset");const k=this.clone();k.$_terms.alterations=k.$_terms.alterations||[];for(const I of Object.keys(E)){const L=E[I];n(typeof L=="function","Alteration adjuster for",I,"must be a function"),k.$_terms.alterations.push({target:I,adjuster:L})}return k.$_temp.ruleset=!1,k}artifact(E){return n(E!==void 0,"Artifact cannot be undefined"),n(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",E)}cast(E){return n(E===!1||typeof E=="string","Invalid to value"),n(E===!1||this._definition.cast[E],"Type",this.type,"does not support casting to",E),this.$_setFlag("cast",E===!1?void 0:E)}default(E,k){return this._default("default",E,k)}description(E){return n(E&&typeof E=="string","Description must be a non-empty string"),this.$_setFlag("description",E)}empty(E){const k=this.clone();return E!==void 0&&(E=k.$_compile(E,{override:!1})),k.$_setFlag("empty",E,{clone:!1})}error(E){return n(E,"Missing error"),n(E instanceof Error||typeof E=="function","Must provide a valid Error object or a function"),this.$_setFlag("error",E)}example(E,k={}){return n(E!==void 0,"Missing example"),i.assertOptions(k,["override"]),this._inner("examples",E,{single:!0,override:k.override})}external(E,k){return typeof E=="object"&&(n(!k,"Cannot combine options with description"),k=E.description,E=E.method),n(typeof E=="function","Method must be a function"),n(k===void 0||k&&typeof k=="string","Description must be a non-empty string"),this._inner("externals",{method:E,description:k},{single:!0})}failover(E,k){return this._default("failover",E,k)}forbidden(){return this.presence("forbidden")}id(E){return E?(n(typeof E=="string","id must be a non-empty string"),n(/^[^\.]+$/.test(E),"id cannot contain period character"),this.$_setFlag("id",E)):this.$_setFlag("id",void 0)}invalid(...E){return this._values(E,"_invalids")}label(E){return n(E&&typeof E=="string","Label name must be a non-empty string"),this.$_setFlag("label",E)}meta(E){return n(E!==void 0,"Meta cannot be undefined"),this._inner("metas",E,{single:!0})}note(...E){n(E.length,"Missing notes");for(const k of E)n(k&&typeof k=="string","Notes must be non-empty strings");return this._inner("notes",E)}only(E=!0){return n(typeof E=="boolean","Invalid mode:",E),this.$_setFlag("only",E)}optional(){return this.presence("optional")}prefs(E){n(E,"Missing preferences"),n(E.context===void 0,"Cannot override context"),n(E.externals===void 0,"Cannot override externals"),n(E.warnings===void 0,"Cannot override warnings"),n(E.debug===void 0,"Cannot override debug"),i.checkPreferences(E);const k=this.clone();return k._preferences=i.preferences(k._preferences,E),k}presence(E){return n(["optional","required","forbidden"].includes(E),"Unknown presence mode",E),this.$_setFlag("presence",E)}raw(E=!0){return this.$_setFlag("result",E?"raw":void 0)}result(E){return n(["raw","strip"].includes(E),"Unknown result mode",E),this.$_setFlag("result",E)}required(){return this.presence("required")}strict(E){const k=this.clone(),I=E!==void 0&&!E;return k._preferences=i.preferences(k._preferences,{convert:I}),k}strip(E=!0){return this.$_setFlag("result",E?"strip":void 0)}tag(...E){n(E.length,"Missing tags");for(const k of E)n(k&&typeof k=="string","Tags must be non-empty strings");return this._inner("tags",E)}unit(E){return n(E&&typeof E=="string","Unit name must be a non-empty string"),this.$_setFlag("unit",E)}valid(...E){i.verifyFlat(E,"valid");const k=this.allow(...E);return k.$_setFlag("only",!!k._valids,{clone:!1}),k}when(E,k){const I=this.clone();I.$_terms.whens||(I.$_terms.whens=[]);const L=l.when(I,E,k);if(!["any","link"].includes(I.type)){const U=L.is?[L]:L.switch;for(const z of U)n(!z.then||z.then.type==="any"||z.then.type===I.type,"Cannot combine",I.type,"with",z.then&&z.then.type),n(!z.otherwise||z.otherwise.type==="any"||z.otherwise.type===I.type,"Cannot combine",I.type,"with",z.otherwise&&z.otherwise.type)}return I.$_terms.whens.push(L),I.$_mutateRebuild()}cache(E){n(!this._inRuleset(),"Cannot set caching inside a ruleset"),n(!this._cache,"Cannot override schema cache"),n(this._flags.artifact===void 0,"Cannot cache a rule with an artifact");const k=this.clone();return k._cache=E||r.provider.provision(),k.$_temp.ruleset=!1,k}clone(){const E=Object.create(Object.getPrototypeOf(this));return this._assign(E)}concat(E){n(i.isSchema(E),"Invalid schema object"),n(this.type==="any"||E.type==="any"||E.type===this.type,"Cannot merge type",this.type,"with another type:",E.type),n(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),n(!E._inRuleset(),"Cannot concatenate a schema with open ruleset");let k=this.clone();
89if(this.type==="any"&&E.type!=="any"){const I=E.clone();for(const L of Object.keys(k))L!=="type"&&(I[L]=k[L]);k=I}k._ids.concat(E._ids),k._refs.register(E,_.toSibling),k._preferences=k._preferences?i.preferences(k._preferences,E._preferences):E._preferences,k._valids=D.merge(k._valids,E._valids,E._invalids),k._invalids=D.merge(k._invalids,E._invalids,E._valids);for(const I of E._singleRules.keys())k._singleRules.has(I)&&(k._rules=k._rules.filter(L=>L.keep||L.name!==I),k._singleRules.delete(I));for(const I of E._rules)E._definition.rules[I.method].multi||k._singleRules.set(I.name,I),k._rules.push(I);if(k._flags.empty&&E._flags.empty){k._flags.empty=k._flags.empty.concat(E._flags.empty);const I=Object.assign({},E._flags);delete I.empty,v(k._flags,I)}else if(E._flags.empty){k._flags.empty=E._flags.empty;const I=Object.assign({},E._flags);delete I.empty,v(k._flags,I)}else v(k._flags,E._flags);for(const I of Object.keys(E.$_terms)){const L=E.$_terms[I];L?k.$_terms[I]?k.$_terms[I]=k.$_terms[I].concat(L):k.$_terms[I]=L.slice():k.$_terms[I]||(k.$_terms[I]=L)}return this.$_root._tracer&&this.$_root._tracer._combine(k,[this,E]),k.$_mutateRebuild()}extend(E){return n(!E.base,"Cannot extend type with another base"),a.type(this,E)}extract(E){return E=Array.isArray(E)?E:E.split("."),this._ids.reach(E)}fork(E,k){n(!this._inRuleset(),"Cannot fork inside a ruleset");let I=this;for(let L of[].concat(E))L=Array.isArray(L)?L:L.split("."),I=I._ids.fork(L,k,I);return I.$_temp.ruleset=!1,I}isAsync(){var E;if(!((E=this.$_terms.externals)===null||E===void 0)&&E.length)return!0;if(this.$_terms.whens)for(const z of this.$_terms.whens){var k,I;if((k=z.then)!==null&&k!==void 0&&k.isAsync()||(I=z.otherwise)!==null&&I!==void 0&&I.isAsync())return!0;if(z.switch)for(const Z of z.switch){var L,U;if((L=Z.then)!==null&&L!==void 0&&L.isAsync()||(U=Z.otherwise)!==null&&U!==void 0&&U.isAsync())return!0}}return!1}rule(E){const k=this._definition;i.assertOptions(E,Object.keys(k.modifiers)),n(this.$_temp.ruleset!==!1,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const I=this.$_temp.ruleset===null?this._rules.length-1:this.$_temp.ruleset;n(I>=0&&I<this._rules.length,"Cannot apply rules to empty ruleset");const L=this.clone();for(let U=I;U<L._rules.length;++U){const z=L._rules[U],Z=b(z);for(const H of Object.keys(E))k.modifiers[H](Z,E[H]),n(Z.name===z.name,"Cannot change rule name");L._rules[U]=Z,L._singleRules.get(Z.name)===z&&L._singleRules.set(Z.name,Z)}return L.$_temp.ruleset=!1,L.$_mutateRebuild()}get ruleset(){n(!this._inRuleset(),"Cannot start a new ruleset without closing the previous one");const E=this.clone();return E.$_temp.ruleset=E._rules.length,E}get $(){return this.ruleset}tailor(E){E=[].concat(E),n(!this._inRuleset(),"Cannot tailor inside a ruleset");let k=this;if(this.$_terms.alterations)for(const{target:I,adjuster:L}of this.$_terms.alterations)E.includes(I)&&(k=L(k),n(i.isSchema(k),"Alteration adjuster for",I,"failed to return a schema object"));return k=k.$_modify({each:I=>I.tailor(E),ref:!1}),k.$_temp.ruleset=!1,k.$_mutateRebuild()}tracer(){return w.location?w.location(this):this}validate(E,k){return S.entry(E,this,k)}validateAsync(E,k){return S.entryAsync(E,this,k)}$_addRule(E){typeof E=="string"&&(E={name:E}),n(E&&typeof E=="object","Invalid options"),n(E.name&&typeof E.name=="string","Invalid rule name");for(const z of Object.keys(E))n(z[0]!=="_","Cannot set private rule properties");const k=Object.assign({},E);k._resolve=[],k.method=k.method||k.name;const I=this._definition.rules[k.method],L=k.args;n(I,"Unknown rule",k.method);const U=this.clone();if(L){const z=Object.keys(L);n(z.length===1||z.length===this._definition.rules[k.name].args.length,"Invalid rule definition for",this.type,k.name);for(const Z of z){let H=L[Z];if(I.argsByName){const ee=I.argsByName.get(Z);if(ee.ref&&i.isResolvable(H))k._resolve.push(Z),U.$_mutateRegister(H);else if(ee.normalize&&(H=ee.normalize(H),L[Z]=H),ee.assert){const oe=i.validateArg(H,Z,ee);n(!oe,oe,"or reference")}}H!==void 0?L[Z]=H:delete L[Z]}}return I.multi||(U._ruleRemove(k.name,{clone:!1}),U._singleRules.set(k.name,k)),U.$_temp.ruleset===!1&&(U.$_temp.ruleset=null),I.priority?U._rules.unshift(k):U._rules.push(k),U}$_compile(E,k){return l.schema(this.$_root,E,k)}$_createError(E,k,I,L,U,z={}){const Z=z.flags!==!1?this._flags:{},H=z.messages?f.merge(this._definition.messages,z.messages):this._definition.messages;return new c.Report(E,k,I,Z,H,L,U)}$_getFlag(E){return this._flags[E]}$_getRule(E){return this._singleRules.get(E)}$_mapLabels(E){return E=Array.isArray(E)?E:E.split("."),this._ids.labels(E)}$_match(E,k,I,L){(I=Object.assign({},I)).abortEarly=!0,I._externals=!1,k.snapshot();const U=!S.validate(E,this,k,I,L).errors;
89return k.restore(),U}$_modify(E){return i.assertOptions(E,["each","once","ref","schema"]),h.schema(this,E)||this}$_mutateRebuild(){return n(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(E,{source:k,name:I,path:L,key:U})=>{const z=this._definition[k][I]&&this._definition[k][I].register;z!==!1&&this.$_mutateRegister(E,{family:z,key:U})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(E,{family:k,key:I}={}){this._refs.register(E,k),this._ids.register(E,{key:I})}$_property(E){return this._definition.properties[E]}$_reach(E){return this._ids.reach(E)}$_rootReferences(){return this._refs.roots()}$_setFlag(E,k,I={}){n(E[0]==="_"||!this._inRuleset(),"Cannot set flag inside a ruleset");const L=this._definition.flags[E]||{};if(y(k,L.default)&&(k=void 0),y(k,this._flags[E]))return this;const U=I.clone!==!1?this.clone():this;return k!==void 0?(U._flags[E]=k,U.$_mutateRegister(k)):delete U._flags[E],E[0]!=="_"&&(U.$_temp.ruleset=!1),U}$_parent(E,...k){return this[E][i.symbols.parent].call(this,...k)}$_validate(E,k,I){return S.validate(E,this,k,I)}
vendor: 5,984 bytes, line 89
89_assign(E){E.type=this.type,E.$_root=this.$_root,E.$_temp=Object.assign({},this.$_temp),E.$_temp.whens={},E._ids=this._ids.clone(),E._preferences=this._preferences,E._valids=this._valids&&this._valids.clone(),E._invalids=this._invalids&&this._invalids.clone(),E._rules=this._rules.slice(),E._singleRules=new Map(this._singleRules),E._refs=this._refs.clone(),E._flags=Object.assign({},this._flags),E._cache=null,E.$_terms={};for(const k of Object.keys(this.$_terms))E.$_terms[k]=this.$_terms[k]?this.$_terms[k].slice():null;if(E.$_super={},this.$_super)for(const k of Object.keys(this.$_super))E.$_super[k]=this._super[k].bind(E);return E}_bare(){const E=this.clone();E._reset();const k=E._definition.terms;for(const I of Object.keys(k)){const L=k[I];E.$_terms[I]=L.init}return E.$_mutateRebuild()}_default(E,k,I={}){return i.assertOptions(I,"literal"),n(k!==void 0,"Missing",E,"value"),n(typeof k=="function"||!I.literal,"Only function value supports literal option"),typeof k=="function"&&I.literal&&(k={[i.symbols.literal]:!0,literal:k}),this.$_setFlag(E,k)}_generate(E,k,I){if(!this.$_terms.whens)return{schema:this};const L=[],U=[];for(let H=0;H<this.$_terms.whens.length;++H){const ee=this.$_terms.whens[H];if(ee.concat){L.push(ee.concat),U.push(`${H}.concat`);continue}const oe=ee.ref?ee.ref.resolve(E,k,I):E,he=ee.is?[ee]:ee.switch,le=U.length;for(let V=0;V<he.length;++V){const{is:te,then:ue,otherwise:de}=he[V],ce=`${H}${ee.switch?"."+V:""}`;if(te.$_match(oe,k.nest(te,`${ce}.is`),I)){if(ue){const ie=k.localize([...k.path,`${ce}.then`],k.ancestors,k.schemas),{schema:me,id:be}=ue._generate(E,ie,I);L.push(me),U.push(`${ce}.then${be?`(${be})`:""}`);break}}else if(de){const ie=k.localize([...k.path,`${ce}.otherwise`],k.ancestors,k.schemas),{schema:me,id:be}=de._generate(E,ie,I);L.push(me),U.push(`${ce}.otherwise${be?`(${be})`:""}`);break}}if(ee.break&&U.length>le)break}const z=U.join(", ");if(k.mainstay.tracer.debug(k,"rule","when",z),!z)return{schema:this};if(!k.mainstay.tracer.active&&this.$_temp.whens[z])return{schema:this.$_temp.whens[z],id:z};let Z=this;this._definition.generate&&(Z=this._definition.generate(this,E,k,I));for(const H of L)Z=Z.concat(H);return this.$_root._tracer&&this.$_root._tracer._combine(Z,[this,...L]),this.$_temp.whens[z]=Z,{schema:Z,id:z}}_inner(E,k,I={}){n(!this._inRuleset(),`Cannot set ${E} inside a ruleset`);const L=this.clone();return L.$_terms[E]&&!I.override||(L.$_terms[E]=[]),I.single?L.$_terms[E].push(k):L.$_terms[E].push(...k),L.$_temp.ruleset=!1,L}_inRuleset(){return this.$_temp.ruleset!==null&&this.$_temp.ruleset!==!1}_ruleRemove(E,k={}){if(!this._singleRules.has(E))return this;const I=k.clone!==!1?this.clone():this;I._singleRules.delete(E);const L=[];for(let U=0;U<I._rules.length;++U){const z=I._rules[U];z.name!==E||z.keep?L.push(z):I._inRuleset()&&U<I.$_temp.ruleset&&--I.$_temp.ruleset}return I._rules=L,I}_values(E,k){i.verifyFlat(E,k.slice(1,-1));const I=this.clone(),L=E[0]===i.symbols.override;if(L&&(E=E.slice(1)),!I[k]&&E.length?I[k]=new D:L&&(I[k]=E.length?new D:null,I.$_mutateRebuild()),!I[k])return I;L&&I[k].override();for(const U of E){n(U!==void 0,"Cannot call allow/valid/invalid with undefined"),n(U!==i.symbols.override,"Override must be the first value");const z=k==="_invalids"?"_valids":"_invalids";I[z]&&(I[z].remove(U),I[z].length||(n(k==="_valids"||!I._flags.only,"Setting invalid value",U,"leaves schema rejecting all values due to previous valid rule"),I[z]=null)),I[k].add(U,I._refs)}return I}get"~standard"(){const E=I=>{let L;return L=c.ValidationError.isError(I)?I.details.map(({message:U,path:z})=>({message:U,path:z})):[{message:I.message}],{issues:L}},k=I=>({value:I});return{version:1,vendor:"joi",validate:(I,L)=>{const U=S.standard(I,this,L);return U instanceof Promise?U.then(k,E):U.error?E(U.error):k(U.value)},jsonSchema:{input:I=>this.$_jsonSchema("input",I),output:I=>this.$_jsonSchema("output",I)}}}}};T.Base.prototype[i.symbols.any]={version:i.version,compile:l.compile,root:"$_root"},T.Base.prototype.isImmutable=!0,T.Base.prototype.deny=T.Base.prototype.invalid,T.Base.prototype.disallow=T.Base.prototype.invalid,T.Base.prototype.equal=T.Base.prototype.valid,T.Base.prototype.exist=T.Base.prototype.required,T.Base.prototype.not=T.Base.prototype.invalid,T.Base.prototype.options=T.Base.prototype.prefs,T.Base.prototype.preferences=T.Base.prototype.prefs,d.exports=new T.Base},2130(d,g,o){const{assert:n,clone:b}=o(3115),y=o(9415),v={max:1e3,supported:new Set(["undefined","boolean","number","string"])};g.provider={provision:r=>new v.Cache(r)},v.Cache=class{constructor(r={}){y.assertOptions(r,["max"]),n(r.max===void 0||r.max&&r.max>0&&isFinite(r.max),"Invalid max cache size"),this._max=r.max||v.max,this._map=new Map,this._list=new v.List}get length(){return this._map.size}set(r,i){if(r!==null&&!v.supported.has(typeof r))return;let l=this._map.get(r);if(l)return l.value=i,void this._list.first(l);l=this._list.unshift({key:r,value:i}),this._map.set(r,l),this._compact()}get(r){const i=this._map.get(r);if(i)return this._list.first(i),b(i.value)}_compact(){if(this._map.size>this._max){const r=this._list.pop();this._map.delete(r.key)}}},v.List=class{constructor(){this.tail=null,this.head=null}unshift(r){return r.next=null,r.prev=this.head,this.head&&(this.head.next=r),this.head=r,this.tail||(this.tail=r),r}first(r){r!==this.head&&(this._remove(r),this.unshift(r))}pop(){return this._remove(this.tail)}_remove(r){const{next:i,prev:l}=r;return i.prev=l,l&&(l.next=i),r===this.tail&&(this.tail=i),r.prev=null,r.next=null,r}}},9415(d,g,o){const{assert:n,AssertError:b}=o(3115),y=o(6913);let v,r;const i={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};
89g.version=y.version,g.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},g.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},g.assertOptions=function(l,c,a="Options"){n(l&&typeof l=="object"&&!Array.isArray(l),"Options must be of type object");const x=Object.keys(l).filter(f=>!c.includes(f));n(x.length===0,`${a} contain unknown keys: ${x}`)},g.checkPreferences=function(l){r=r||o(1688);const c=r.preferences.validate(l);if(c.error)throw new b([c.error.details[0].message])},g.compare=function(l,c,a){switch(a){case"=":return l===c;case">":return l>c;case"<":return l<c;case">=":return l>=c;case"<=":return l<=c}},g.default=function(l,c){return l===void 0?c:l},g.intersect=function(l,c){if(typeof l.intersection=="function")return l.intersection(c);const a=new Set;for(const x of l)c.has(x)&&a.add(x);return a},g.isIsoDate=function(l){return i.isoDate.test(l)},g.isNumber=function(l){return typeof l=="number"&&!isNaN(l)},g.isResolvable=function(l){return!!l&&(l[g.symbols.ref]||l[g.symbols.template])},g.isSchema=function(l,c={}){const a=l&&l[g.symbols.any];return!!a&&(n(c.legacy||a.version===g.version,"Cannot mix different versions of joi schemas"),!0)},g.isValues=function(l){return l[g.symbols.values]},g.limit=function(l){return Number.isSafeInteger(l)&&l>=0},g.preferences=function(l,c){v=v||o(6162),l=l||{},c=c||{};const a=Object.assign({},l,c);return c.errors&&l.errors&&(a.errors=Object.assign({},l.errors,c.errors),a.errors.wrap=Object.assign({},l.errors.wrap,c.errors.wrap)),c.messages&&(a.messages=v.compile(c.messages,l.messages)),delete a[g.symbols.prefs],a},g.tryWithPath=function(l,c,a={}){try{return l()}catch(x){throw x.path!==void 0?x.path=c+"."+x.path:x.path=c,a.append&&(x.message=`${x.message} (${x.path})`),x}},g.validateArg=function(l,c,{assert:a,message:x}){if(g.isSchema(a)){const f=a.validate(l);return f.error?f.error.message:void 0}if(!a(l))return c?`${c} ${x}`:x},g.verifyFlat=function(l,c){for(const a of l)n(!Array.isArray(a),"Method no longer accepts array arguments:",c)}},3541(d,g,o){const{assert:n}=o(3115),b=o(9415),y=o(8529),v={};g.schema=function(r,i,l={}){b.assertOptions(l,["appendPath","override"]);try{return v.schema(r,i,l)}catch(c){throw l.appendPath&&c.path!==void 0&&(c.message=`${c.message} (${c.path})`),c}},v.schema=function(r,i,l){n(i!==void 0,"Invalid undefined schema"),Array.isArray(i)&&(n(i.length,"Invalid empty array schema"),i.length===1&&(i=i[0]));const c=(a,...x)=>l.override!==!1?a.valid(r.override,...x):a.valid(...x);if(v.simple(i))return c(r,i);if(typeof i=="function")return r.custom(i);if(n(typeof i=="object","Invalid schema content:",typeof i),b.isResolvable(i))return c(r,i);if(b.isSchema(i))return i;if(Array.isArray(i)){for(const a of i)if(!v.simple(a))return r.alternatives().try(...i);return c(r,...i)}return i instanceof RegExp?r.string().regex(i):i instanceof Date?c(r.date(),i):(n(Object.getPrototypeOf(i)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),r.object().keys(i))},g.ref=function(r,i){return y.isRef(r)?r:y.create(r,i)},g.compile=function(r,i,l={}){b.assertOptions(l,["legacy"]);const c=i&&i[b.symbols.any];if(c)return n(l.legacy||c.version===b.version,"Cannot mix different versions of joi schemas:",c.version,b.version),i;if(typeof i!="object"||!l.legacy)return g.schema(r,i,{appendPath:!0});const a=v.walk(i);return a?a.compile(a.root,i):g.schema(r,i,{appendPath:!0})},v.walk=function(r){if(typeof r!="object")return null;if(Array.isArray(r)){for(const l of r){const c=v.walk(l);if(c)return c}return null}const i=r[b.symbols.any];if(i)return{root:r[i.root],compile:i.compile};n(Object.getPrototypeOf(r)===Object.getPrototypeOf({}),"Schema can only contain plain objects");
89for(const l of Object.keys(r)){const c=v.walk(r[l]);if(c)return c}return null},v.simple=function(r){return r===null||["boolean","string","number"].includes(typeof r)},g.when=function(r,i,l){if(l===void 0&&(n(i&&typeof i=="object","Missing options"),l=i,i=y.create(".")),Array.isArray(l)&&(l={switch:l}),b.assertOptions(l,["is","not","then","otherwise","switch","break"]),b.isSchema(i))return n(l.is===void 0,'"is" can not be used with a schema condition'),n(l.not===void 0,'"not" can not be used with a schema condition'),n(l.switch===void 0,'"switch" can not be used with a schema condition'),v.condition(r,{is:i,then:l.then,otherwise:l.otherwise,break:l.break});if(n(y.isRef(i)||typeof i=="string","Invalid condition:",i),n(l.not===void 0||l.is===void 0,'Cannot combine "is" with "not"'),l.switch===void 0){let a=l;l.not!==void 0&&(a={is:l.not,then:l.otherwise,otherwise:l.then,break:l.break});let x=a.is!==void 0?r.$_compile(a.is):r.$_root.invalid(null,!1,0,"").required();return n(a.then!==void 0||a.otherwise!==void 0,'options must have at least one of "then", "otherwise", or "switch"'),n(a.break===void 0||a.then===void 0||a.otherwise===void 0,"Cannot specify then, otherwise, and break all together"),l.is===void 0||y.isRef(l.is)||b.isSchema(l.is)||(x=x.required()),v.condition(r,{ref:g.ref(i),is:x,then:a.then,otherwise:a.otherwise,break:a.break})}n(Array.isArray(l.switch),'"switch" must be an array'),n(l.is===void 0,'Cannot combine "switch" with "is"'),n(l.not===void 0,'Cannot combine "switch" with "not"'),n(l.then===void 0,'Cannot combine "switch" with "then"');const c={ref:g.ref(i),switch:[],break:l.break};for(let a=0;a<l.switch.length;++a){const x=l.switch[a],f=a===l.switch.length-1;b.assertOptions(x,f?["is","then","otherwise"]:["is","then"]),n(x.is!==void 0,'Switch statement missing "is"'),n(x.then!==void 0,'Switch statement missing "then"');const h={is:r.$_compile(x.is),then:r.$_compile(x.then)};if(y.isRef(x.is)||b.isSchema(x.is)||(h.is=h.is.required()),f){n(l.otherwise===void 0||x.otherwise===void 0,'Cannot specify "otherwise" inside and outside a "switch"');const _=l.otherwise!==void 0?l.otherwise:x.otherwise;_!==void 0&&(n(c.break===void 0,"Cannot specify both otherwise and break"),h.otherwise=r.$_compile(_))}c.switch.push(h)}return c},v.condition=function(r,i){for(const l of["then","otherwise"])i[l]===void 0?delete i[l]:i[l]=r.$_compile(i[l]);return i}},8013(d,g,o){const n=o(554),b=o(9415),y=o(1532);g.Report=class{constructor(v,r,i,l,c,a,x){if(this.code=v,this.flags=l,this.messages=c,this.path=a.path,this.prefs=x,this.state=a,this.value=r,this.message=null,this.template=null,this.local=i||{},this.local.label=g.label(this.flags,this.state,this.prefs,this.messages),this.value===void 0||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const f=this.path[this.path.length-1];typeof f!="object"&&(this.local.key=f)}}_setTemplate(v){if(this.template=v,!this.flags.label&&this.path.length===0){const r=this._template(this.template,"root");r&&(this.local.label=r)}}toString(){if(this.message)return this.message;const v=this.code;if(!this.prefs.errors.render)return this.code;const r=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return r===void 0?`Error code "${v}" is not defined, your custom type is missing the correct messages definition`:(this.message=r.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(v,r){return g.template(this.value,v,r||this.code,this.state,this.prefs)}},g.path=function(v){let r="";for(const i of v)typeof i!="object"&&(typeof i=="string"?(r&&(r+="."),r+=i):r+=`[${i}]`);return r},g.template=function(v,r,i,l,c){if(!r)return;if(y.isTemplate(r))return i!=="root"?r:null;let a=c.errors.language;if(b.isResolvable(a)&&(a=a.resolve(v,l,c)),a&&r[a]){if(r[a][i]!==void 0)return r[a][i];if(r[a]["*"]!==void 0)return r[a]["*"]}return r[i]?r[i]:r["*"]},g.label=function(v,r,i,l){if(!i.errors.label)return"";if(v.label)return v.label;let c=r.path;return i.errors.label==="key"&&r.path.length>1&&(c=r.path.slice(-1)),g.path(c)||g.template(null,i.messages,"root",r,i)||l&&g.template(null,l,"root",r,i)||"value"},g.process=function(v,r,i){if(!v)return null;const{override:l,message:c,details:a}=g.details(v);if(l)return l;if(i.errors.stack)return new g.ValidationError(c,a,r);const x=Error.stackTraceLimit;Error.stackTraceLimit=0;const f=new g.ValidationError(c,a,r);return Error.stackTraceLimit=x,f},g.details=function(v,r={}){let i=[];const l=[];for(const c of v){if(c instanceof Error){if(r.override!==!1)return{override:c};const x=c.toString();i.push(x),l.push({message:x,type:"override",context:{error:c}});continue}const a=c.toString();i.push(a),l.push({message:a,path:c.path.filter(x=>typeof x!="object"),type:c.code,context:c.local})}return i.length>1&&(i=[...new Set(i)]),{message:i.join(". "),details:l}}
vendor: 4,111 bytes, line 89
89,g.ValidationError=class extends Error{constructor(v,r,i){super(v),this._original=i,this.details=r}static isError(v){return v instanceof g.ValidationError}},g.ValidationError.prototype.isJoi=!0,g.ValidationError.prototype.name="ValidationError",g.ValidationError.prototype.annotate=n.error},2062(d,g,o){const{assert:n,clone:b}=o(3115),y=o(9415),v=o(6162),r={};g.type=function(i,l){const c=Object.getPrototypeOf(i),a=b(c),x=i._assign(Object.create(a)),f=Object.assign({},l);delete f.base,a._definition=f;const h=c._definition||{};f.messages=v.merge(h.messages,f.messages),f.properties=Object.assign({},h.properties,f.properties),x.type=f.type,f.flags=Object.assign({},h.flags,f.flags);const _=Object.assign({},h.terms);if(f.terms)for(const T of Object.keys(f.terms)){const E=f.terms[T];n(x.$_terms[T]===void 0,"Invalid term override for",f.type,T),x.$_terms[T]=E.init,_[T]=E}f.terms=_,f.args||(f.args=h.args),f.prepare=r.prepare(f.prepare,h.prepare),f.coerce&&(typeof f.coerce=="function"&&(f.coerce={method:f.coerce}),f.coerce.from&&!Array.isArray(f.coerce.from)&&(f.coerce={method:f.coerce.method,from:[].concat(f.coerce.from)})),f.coerce=r.coerce(f.coerce,h.coerce),f.validate=r.validate(f.validate,h.validate);const w=Object.assign({},h.rules);if(f.rules)for(const T of Object.keys(f.rules)){const E=f.rules[T];n(typeof E=="object","Invalid rule definition for",f.type,T);let k=E.method;if(k===void 0&&(k=function(){return this.$_addRule(T)}),k&&(n(!a[T],"Rule conflict in",f.type,T),a[T]=k),n(!w[T],"Rule conflict in",f.type,T),w[T]=E,E.alias){const I=[].concat(E.alias);for(const L of I)a[L]=E.method}E.args&&(E.argsByName=new Map,E.args=E.args.map(I=>(typeof I=="string"&&(I={name:I}),n(!E.argsByName.has(I.name),"Duplicated argument name",I.name),y.isSchema(I.assert)&&(I.assert=I.assert.strict().label(I.name)),E.argsByName.set(I.name,I),I)))}f.rules=w,f.jsonSchema||(f.jsonSchema=h.jsonSchema);const S=Object.assign({},h.modifiers);if(f.modifiers)for(const T of Object.keys(f.modifiers)){n(!a[T],"Rule conflict in",f.type,T);const E=f.modifiers[T];n(typeof E=="function","Invalid modifier definition for",f.type,T);const k=function(I){return this.rule({[T]:I})};a[T]=k,S[T]=E}if(f.modifiers=S,f.overrides){a._super=c,x.$_super={};for(const T of Object.keys(f.overrides))n(c[T],"Cannot override missing",T),f.overrides[T][y.symbols.parent]=c[T],x.$_super[T]=c[T].bind(x);Object.assign(a,f.overrides)}f.cast=Object.assign({},h.cast,f.cast);const D=Object.assign({},h.manifest,f.manifest);return D.build=r.build(f.manifest&&f.manifest.build,h.manifest&&h.manifest.build),f.manifest=D,f.rebuild=r.rebuild(f.rebuild,h.rebuild),x},r.build=function(i,l){return i&&l?function(c,a){return l(i(c,a),a)}:i||l},r.coerce=function(i,l){return i&&l?{from:i.from&&l.from?[...new Set([...i.from,...l.from])]:null,method(c,a){let x;if((!l.from||l.from.includes(typeof c))&&(x=l.method(c,a),x)){if(x.errors||x.value===void 0)return x;c=x.value}if(!i.from||i.from.includes(typeof c)){const f=i.method(c,a);if(f)return f}return x}}:i||l},r.prepare=function(i,l){return i&&l?function(c,a){const x=i(c,a);if(x){if(x.errors||x.value===void 0)return x;c=x.value}return l(c,a)||x}:i||l},r.rebuild=function(i,l){return i&&l?function(c){l(c),i(c)}:i||l},r.validate=function(i,l){return i&&l?function(c,a){const x=l(c,a);if(x){if(x.errors&&(!Array.isArray(x.errors)||x.errors.length))return x;c=x.value}return i(c,a)||x}:i||l}},1100(d,g,o){const{assert:n,clone:b}=o(3115),y=o(2130),v=o(9415),r=o(3541),i=o(8013),l=o(2062),c=o(9017),a=o(8529),x=o(1532),f=o(125);let h;const _={types:{alternatives:o(4972),any:o(680),array:o(2591),boolean:o(6186),date:o(2588),function:o(4840),link:o(9556),number:o(4709),object:o(7487),string:o(9033),symbol:o(5008)},aliases:{alt:"alternatives",bool:"boolean",func:"function"},root:function(){const w={_types:new Set(Object.keys(_.types))};for(const S of w._types)w[S]=function(...D){return n(!D.length||["alternatives","link","object"].includes(S),"The",S,"type does not allow arguments"),_.generate(this,_.types[S],D)};for(const S of["allow","custom","disallow","equal","exist","forbidden","invali
89d","not","only","optional","options","prefs","preferences","required","strip","valid","when"])w[S]=function(...D){return this.any()[S](...D)};Object.assign(w,_.methods);for(const S of Object.keys(_.aliases)){const D=_.aliases[S];w[S]=w[D]}return w.x=w.expression,f.setup&&f.setup(w),w}};_.methods={ValidationError:i.ValidationError,version:v.version,cache:y.provider,assert(w,S,...D){_.assert(w,S,!0,D)},attempt:(w,S,...D)=>_.assert(w,S,!1,D),build(w){return n(typeof c.build=="function","Manifest functionality disabled"),c.build(this,w)},checkPreferences(w){v.checkPreferences(w)},compile(w,S){return r.compile(this,w,S)},defaults(w){n(typeof w=="function","modifier must be a function");const S=Object.assign({},this);for(const D of S._types){const T=w(S[D]());n(v.isSchema(T),"modifier must return a valid schema object"),S[D]=function(...E){return _.generate(this,T,E)}}return S},expression:(...w)=>new x(...w),extend(...w){v.verifyFlat(w,"extend"),h=h||o(1688),n(w.length,"You need to provide at least one extension"),this.assert(w,h.extensions);const S=Object.assign({},this);S._types=new Set(S._types);for(let D of w){typeof D=="function"&&(D=D(S)),this.assert(D,h.extension);const T=_.expandExtension(D,S);for(const E of T){n(S[E.type]===void 0||S._types.has(E.type),"Cannot override name",E.type);const k=E.base||this.any(),I=l.type(k,E);S._types.add(E.type),S[E.type]=function(...L){return _.generate(this,I,L)}}}return S},isError:i.ValidationError.isError,isExpression:x.isTemplate,isRef:a.isRef,isSchema:v.isSchema,in:(...w)=>a.in(...w),override:v.symbols.override,ref:(...w)=>a.create(...w),types(){const w={};for(const S of this._types)w[S]=this[S]();for(const S of Object.keys(_.aliases))w[S]=this[S]();return w}},_.assert=function(w,S,D,T){const E=T[0]instanceof Error||typeof T[0]=="string"?T[0]:null,k=E!==null?T[1]:T[0],I=S.validate(w,v.preferences({errors:{stack:!0}},k||{}));let L=I.error;if(!L)return I.value;if(E instanceof Error)throw E;const U=D&&typeof L.annotate=="function"?L.annotate():L.message;throw L instanceof i.ValidationError==0&&(L=b(L)),L.message=E?`${E} ${U}`:U,L},_.generate=function(w,S,D){return n(w,"Must be invoked on a Joi instance."),S.$_root=w,S._definition.args&&D.length?S._definition.args(S,...D):S},_.expandExtension=function(w,S){if(typeof w.type=="string")return[w];const D=[];for(const T of S._types)if(w.type.test(T)){const E=Object.assign({},w);E.type=T,E.base=S[T](),D.push(E)}return D},d.exports=_.root()},6162(d,g,o){const{assert:n,clone:b}=o(3115),y=o(1532);g.compile=function(v,r){if(typeof v=="string")return n(!r,"Cannot set single message string"),new y(v);if(y.isTemplate(v))return n(!r,"Cannot set single message template"),v;n(typeof v=="object"&&!Array.isArray(v),"Invalid message options"),r=r?b(r):{};for(const i of Object.keys(v)){const l=v[i];if(i==="root"||y.isTemplate(l)){r[i]=l;continue}if(typeof l=="string"){r[i]=new y(l);continue}n(typeof l=="object"&&!Array.isArray(l),"Invalid message for",i);const c=i,a=Object.hasOwn(r,c)?r[c]:{};r[c]=a;for(const x of Object.keys(l)){const f=l[x];x==="root"||y.isTemplate(f)?a[x]=f:(n(typeof f=="string","Invalid message for",x,"in",c),a[x]=new y(f))}}return r},g.decompile=function(v){const r={};for(const i of Object.keys(v)){const l=v[i];if(i==="root"){r.root=l;continue}if(y.isTemplate(l)){r[i]=l.describe({compact:!0});continue}const c=i;r[c]={};for(const a of Object.keys(l)){const x=l[a];a!=="root"?r[c][a]=x.describe({compact:!0}):r[c].root=x}}return r},g.merge=function(v,r){if(!v)return g.compile(r);if(!r)return v;if(typeof r=="string")return new y(r);if(y.isTemplate(r))return r;const i=b(v);for(const l of Object.keys(r)){const c=r[l];if(l==="root"||y.isTemplate(c)){i[l]=c;continue}if(typeof c=="string"){i[l]=new y(c);continue}n(typeof c=="object"&&!Array.isArray(c),"Invalid message for",l);const a=l,x=Object.hasOwn(i,a)?i[a]:{};i[a]=x;for(const f of Object.keys(c)){const h=c[f];f==="root"||y.isTemplate(h)?x[f]=h:(n(typeof h=="string","Invalid message for",f,"in",a),x[f]=new y(h))}}return i}},5844(d,g,o){const{assert:n}=o(3115),b=o(9415),y=o(8529),v={};g.Ids=v.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const r=new v.Ids;return this._byId.size&&(r._byId=new Map(this._byId)),this._byKey.size&&(r._byKey=new Map(this._byKey)),r._schemaChain=this._schemaChain,r}concat(r){r._schemaChain&&(this._schemaChain=!0);
89for(const[i,l]of r._byId.entries())n(!this._byKey.has(i),"Schema id conflicts with existing key:",i),this._byId.set(i,l);for(const[i,l]of r._byKey.entries())n(!this._byId.has(i),"Schema key conflicts with existing id:",i),this._byKey.set(i,l)}fork(r,i,l){const c=this._collect(r);c.push({schema:l});const a=c.shift();let x={id:a.id,schema:i(a.schema)};n(b.isSchema(x.schema),"adjuster function failed to return a joi schema type");for(const f of c)x={id:f.id,schema:v.fork(f.schema,x.id,x.schema)};return x.schema}labels(r,i=[]){const l=r[0],c=this._get(l);if(!c)return[...i,...r].join(".");const a=r.slice(1);return i=[...i,c.schema._flags.label||l],a.length?c.schema._ids.labels(a,i):i.join(".")}reach(r,i=[]){const l=r[0],c=this._get(l);n(c,"Schema does not contain path",[...i,...r].join("."));const a=r.slice(1);return a.length?c.schema._ids.reach(a,[...i,l]):c.schema}register(r,{key:i}={}){if(!r||!b.isSchema(r))return;(r.$_property("schemaChain")||r._ids._schemaChain)&&(this._schemaChain=!0);const l=r._flags.id;if(l){const c=this._byId.get(l);n(!c||c.schema===r,"Cannot add different schemas with the same id:",l),n(!this._byKey.has(l),"Schema id conflicts with existing key:",l),this._byId.set(l,{schema:r,id:l})}i&&(n(!this._byKey.has(i),"Schema already contains key:",i),n(!this._byId.has(i),"Schema key conflicts with existing id:",i),this._byKey.set(i,{schema:r,id:i}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(r,i=[],l=[]){const c=r[0],a=this._get(c);n(a,"Schema does not contain path",[...i,...r].join(".")),l=[a,...l];const x=r.slice(1);return x.length?a.schema._ids._collect(x,[...i,c],l):l}_get(r){return this._byId.get(r)||this._byKey.get(r)}},v.fork=function(r,i,l){const c=g.schema(r,{each:(a,{key:x})=>{if(i===(a._flags.id||x))return l},ref:!1});return c?c.$_mutateRebuild():r},g.schema=function(r,i){let l;for(const c of Object.keys(r._flags)){if(c[0]==="_")continue;const a=v.scan(r._flags[c],{source:"flags",name:c},i);a!==void 0&&(l=l||r.clone(),l._flags[c]=a)}for(let c=0;c<r._rules.length;++c){const a=r._rules[c],x=v.scan(a.args,{source:"rules",name:a.name},i);if(x!==void 0){l=l||r.clone();const f=Object.assign({},a);f.args=x,l._rules[c]=f,l._singleRules.get(a.name)===a&&l._singleRules.set(a.name,f)}}for(const c of Object.keys(r.$_terms)){if(c[0]==="_")continue;const a=v.scan(r.$_terms[c],{source:"terms",name:c},i);a!==void 0&&(l=l||r.clone(),l.$_terms[c]=a)}return l},v.scan=function(r,i,l,c,a){const x=c||[];if(r===null||typeof r!="object")return;let f;if(Array.isArray(r)){for(let h=0;h<r.length;++h){const _=i.source==="terms"&&i.name==="keys"&&r[h].key,w=v.scan(r[h],i,l,[h,...x],_);w!==void 0&&(f=f||r.slice(),f[h]=w)}return f}if(l.schema!==!1&&b.isSchema(r)||l.ref!==!1&&y.isRef(r)){const h=l.each(r,{...i,path:x,key:a});return h===r?void 0:h}for(const h of Object.keys(r)){if(h[0]==="_")continue;const _=v.scan(r[h],i,l,[h,...x],a);_!==void 0&&(f=f||Object.assign({},r),f[h]=_)}return f}},8529(d,g,o){const{assert:n,reach:b}=o(3115),y=o(9415);let v;const r={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};g.create=function(i,l={}){n(typeof i=="string","Invalid reference key:",i),y.assertOptions(l,["adjust","ancestor","in","iterables","map","prefix","render","separator"]),n(!l.prefix||typeof l.prefix=="object","options.prefix must be of type object");const c=Object.assign({},r.defaults,l);delete c.prefix;const a=c.separator,x=r.context(i,a,l.prefix);if(c.type=x.type,i=x.key,c.type==="value")if(x.root&&(n(!a||i[0]!==a,"Cannot specify relative path with root prefix"),c.ancestor="root",i||(i=null)),a&&a===i)i=null,c.ancestor=0;else if(c.ancestor!==void 0)n(!a||!i||i[0]!==a,"Cannot combine prefix with ancestor option");else{const[f,h]=r.ancestor(i,a);h&&(i=i.slice(h))===""&&(i=null),c.ancestor=f}return c.path=a?i===null?[]:i.split(a):[i],new r.Ref(c)},g.in=function(i,l={}){return g.create(i,{...l,in:!0})},g.isRef=function(i){return!!i&&!!i[y.symbols.ref]},r.Ref=class{constructor(i){n(typeof i=="object","Invalid reference construction"),y.assertOptions(i,["adjust","ancestor","in","iterables","map","path","render","separator","type","depth","key","root","display"]),n([!1,void 0].includes(i.separator)||typeof i.separator=="string"&&i.separator.length===1,"Invalid separator"),n(!i.adjust||typeof i.adjust=="function","options.adjust must be a function"),n(!i.map||Array.isArray(i.map),"options.map must be an array"),n(!i.map||!i.adjust,"Cannot set both map and adjust options"),Object.assign(this,r.defaults,i),n(this.type==="value"||this.ancestor===void 0,"Non-value references cannot reference ancestors"),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(i,l,c,a,x={}){return n(!this.in||x.in,"Invalid in() reference usage"),this.type==="global"?this._resolve(c.context,l,x):this.type==="local"?this._resolve(a,l,x):this.ancestor?this.ancestor==="root"?this._resolve(l.ancestors[l.ancestors.length-1],l,x):(n(this.ancestor<=l.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(l.ancestors[this.ancestor-1],l,x)):this._resolve(i,l,x)}_resolve(i,l,c){let a;
89if(this.type==="value"&&l.mainstay.shadow&&c.shadow!==!1&&(a=l.mainstay.shadow.get(this.absolute(l))),a===void 0&&(a=b(i,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(a=this.adjust(a)),this.map){const x=this.map.get(a);x!==void 0&&(a=x)}return l.mainstay&&l.mainstay.tracer.resolve(l,this,a),a}toString(){return this.display}absolute(i){return[...i.path.slice(0,-this.ancestor),...this.path]}clone(){return new r.Ref(this)}describe(){const i={path:this.path};this.type!=="value"&&(i.type=this.type),this.separator!=="."&&(i.separator=this.separator),this.type==="value"&&this.ancestor!==1&&(i.ancestor=this.ancestor),this.map&&(i.map=[...this.map]);for(const l of["adjust","iterables","render"])this[l]!==null&&this[l]!==void 0&&(i[l]=this[l]);return this.in!==!1&&(i.in=!0),{ref:i}}updateDisplay(){const i=this.key!==null?this.key:"";if(this.type!=="value")return void(this.display=`ref:${this.type}:${i}`);if(!this.separator)return void(this.display=`ref:${i}`);if(!this.ancestor)return void(this.display=`ref:${this.separator}${i}`);if(this.ancestor==="root")return void(this.display=`ref:root:${i}`);if(this.ancestor===1)return void(this.display=`ref:${i||".."}`);const l=new Array(this.ancestor+1).fill(this.separator).join("");this.display=`ref:${l}${i||""}`}},r.Ref.prototype[y.symbols.ref]=!0,g.build=function(i){return(i=Object.assign({},r.defaults,i)).type==="value"&&i.ancestor===void 0&&(i.ancestor=1),new r.Ref(i)},r.context=function(i,l,c={}){if(i=i.trim(),c){const a=c.global===void 0?"$":c.global;if(a!==l&&i.startsWith(a))return{key:i.slice(a.length),type:"global"};const x=c.local===void 0?"#":c.local;if(x!==l&&i.startsWith(x))return{key:i.slice(x.length),type:"local"};const f=c.root===void 0?"/":c.root;if(f!==l&&i.startsWith(f))return{key:i.slice(f.length),type:"value",root:!0}}return{key:i,type:"value"}},r.ancestor=function(i,l){if(!l)return[1,0];if(i[0]!==l)return[1,0];if(i[1]!==l)return[0,1];let c=2;for(;i[c]===l;)++c;return[c-1,c]},g.toSibling=0,g.toParent=1,g.Manager=class{constructor(){this.refs=[]}register(i,l){if(i)if(l=l===void 0?g.toParent:l,Array.isArray(i))for(const c of i)this.register(c,l);else if(y.isSchema(i))for(const c of i._refs.refs)c.ancestor-l>=0&&this.refs.push({ancestor:c.ancestor-l,root:c.root});else g.isRef(i)&&i.type==="value"&&i.ancestor-l>=0&&this.refs.push({ancestor:i.ancestor-l,root:i.root}),v=v||o(1532),v.isTemplate(i)&&this.register(i.refs(),l)}get length(){return this.refs.length}clone(){const i=new g.Manager;return i.refs=this.refs.slice(),i}reset(){this.refs=[]}roots(){return this.refs.filter(i=>!i.ancestor).map(i=>i.root)}}},1688(d,g,o){const n=o(1100),b={};b.wrap=n.string().min(1).max(2).allow(!1),g.preferences=n.object({allowUnknown:n.boolean(),abortEarly:n.boolean(),artifacts:n.boolean(),cache:n.boolean(),context:n.object(),convert:n.boolean(),dateFormat:n.valid("date","iso","string","time","utc"),debug:n.boolean(),errors:{escapeHtml:n.boolean(),label:n.valid("path","key",!1),language:[n.string(),n.object().ref()],render:n.boolean(),stack:n.boolean(),wrap:{label:b.wrap,array:b.wrap,string:b.wrap}},externals:n.boolean(),messages:n.object(),noDefaults:n.boolean(),nonEnumerables:n.boolean(),presence:n.valid("required","optional","forbidden"),skipFunctions:n.boolean(),stripUnknown:n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects").allow(!0,!1),warnings:n.boolean()}).strict(),b.nameRx=/^[a-zA-Z0-9]\w*$/,b.rule=n.object({alias:n.array().items(n.string().pattern(b.nameRx)).single(),args:n.array().items(n.string(),n.object({name:n.string().pattern(b.nameRx).required(),ref:n.boolean(),assert:n.alternatives([n.function(),n.object().schema()]).conditional("ref",{is:!0,then:n.required()}),normalize:n.function(),message:n.string().when("assert",{is:n.function(),then:n.required()})})),convert:n.boolean(),manifest:n.boolean(),method:n.function().allow(!1),multi:n.boolean(),validate:n.function(),jsonSchema:n.function()}),g.extension=n.object({type:n.alternatives([n.string(),n.object().regex()]).required(),args:n.function(),cast:n.object().pattern(b.nameRx,n.object({from:n.function().maxArity(1).required(),to:n.function().minArity(1).maxArity(2).required()})),base:n.object().schema().when("type",{is:n.object().regex(),then:n.forbidden()}),coerce:[n.function().maxArity(3),n.object({method:n.function().maxArity(3).required(),from:n.array().items(n.string()).single()})],flags:n.object().pattern(b.nameRx,n.object({setter:n.string(),default:n.any()})),manifest:{build:n.function().arity(2)},messages:[n.object(),n.string()],modifiers:n.object().pattern(b.nameRx,n.function().minArity(1).maxArity(2)),overrides:n.object().pattern(b.nameRx,n.function()),prepare:n.function().maxArity(3),rebuild:n.function().arity(1),rules:n.object().pattern(b.nameRx,b.rule),jsonSchema:n.function(),terms:n.object().pattern(b.nameRx,n.object({init:n.array().allow(null).required(),manifest:n.object().pattern(/.+/,[n.valid("schema","single"),n.object({mapped:n.object({from:n.string().required(),to:n.string().required()}).required()})])}
vendor: 4,171 bytes, line 89
89)),validate:n.function().maxArity(3)}).strict(),g.extensions=n.array().items(n.object(),n.function().arity(1)).strict(),b.desc={buffer:n.object({buffer:n.string()}),func:n.object({function:n.function().required(),options:{literal:!0}}),override:n.object({override:!0}),ref:n.object({ref:n.object({type:n.valid("value","global","local"),path:n.array().required(),separator:n.string().length(1).allow(!1),ancestor:n.number().min(0).integer().allow("root"),map:n.array().items(n.array().length(2)).min(1),adjust:n.function(),iterables:n.boolean(),in:n.boolean(),render:n.boolean()}).required()}),regex:n.object({regex:n.string().min(3)}),special:n.object({special:n.valid("deep").required()}),template:n.object({template:n.string().required(),options:n.object()}),value:n.object({value:n.alternatives([n.object(),n.array()]).required()})},b.desc.entity=n.alternatives([n.array().items(n.link("...")),n.boolean(),n.function(),n.number(),n.string(),b.desc.buffer,b.desc.func,b.desc.ref,b.desc.regex,b.desc.special,b.desc.template,b.desc.value,n.link("/")]),b.desc.values=n.array().items(null,n.boolean(),n.function(),n.number().allow(1/0,-1/0,NaN),n.string().allow(""),n.symbol(),b.desc.buffer,b.desc.func,b.desc.override,b.desc.ref,b.desc.regex,b.desc.template,b.desc.value),b.desc.messages=n.object().pattern(/.+/,[n.string(),b.desc.template,n.object().pattern(/.+/,[n.string(),b.desc.template])]),g.description=n.object({type:n.string().required(),flags:n.object({cast:n.string(),default:n.any(),description:n.string(),empty:n.link("/"),failover:b.desc.entity,id:n.string(),label:n.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:n.boolean(),unit:n.string()}).unknown(),preferences:{allowUnknown:n.boolean(),abortEarly:n.boolean(),artifacts:n.boolean(),cache:n.boolean(),convert:n.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:n.boolean(),label:["path","key"],language:[n.string(),b.desc.ref],wrap:{label:b.wrap,array:b.wrap}},externals:n.boolean(),messages:b.desc.messages,noDefaults:n.boolean(),nonEnumerables:n.boolean(),presence:["required","optional","forbidden"],skipFunctions:n.boolean(),stripUnknown:n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects").allow(!0,!1),warnings:n.boolean()},allow:b.desc.values,invalid:b.desc.values,rules:n.array().min(1).items({name:n.string().required(),args:n.object().min(1),keep:n.boolean(),message:[n.string(),b.desc.messages],warn:n.boolean()}),keys:n.object().pattern(/.*/,n.link("/")),link:b.desc.ref}).pattern(/^[a-z]\w*$/,n.any())},4957(d,g,o){const{clone:n,reach:b}=o(3115),y=o(9415),v={value:Symbol("value")};d.exports=v.State=class{constructor(r,i,l){this.path=r,this.ancestors=i,this.mainstay=l.mainstay,this.schemas=l.schemas,this.debug=null}localize(r,i=null,l=null){const c=new v.State(r,i,this);return l&&c.schemas&&(c.schemas=[v.schemas(l),...c.schemas]),c}nest(r,i){const l=new v.State(this.path,this.ancestors,this);return l.schemas=l.schemas&&[v.schemas(r),...l.schemas],l.debug=i,l}shadow(r,i){this.mainstay.shadow=this.mainstay.shadow||new v.Shadow,this.mainstay.shadow.set(this.path,r,i)}snapshot(){this.mainstay.shadow&&(this._snapshot=n(this.mainstay.shadow.node(this.path))),this.mainstay.snapshot()}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.restore()}commit(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.commit()}},v.schemas=function(r){return y.isSchema(r)?{schema:r}:r},v.Shadow=class{constructor(){this._values=null}set(r,i,l){if(!r.length||l==="strip"&&typeof r[r.length-1]=="number")return;this._values=this._values||new Map;let c=this._values;for(let a=0;a<r.length;++a){const x=r[a];let f=c.get(x);f||(f=new Map,c.set(x,f)),c=f}c[v.value]=i}get(r){const i=this.node(r);if(i)return i[v.value]}node(r){if(this._values)return b(this._values,r,{iterables:!0})}override(r,i){if(!this._values)return;const l=r.slice(0,-1),c=r[r.length-1],a=b(this._values,l,{iterables:!0});i?a.set(c,i):a&&a.delete(c)}}},1532(d,g,o){const{assert:n,clone:b,escapeHtml:y}
89=o(3115),v=o(679),r=o(9415),i=o(8013),l=o(8529),c={symbol:Symbol("template"),opens:new Array(1e3).join("\0"),closes:new Array(1e3).join("�"),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};d.exports=c.Template=class{constructor(a,x){if(n(typeof a=="string","Template source must be a string"),n(!a.includes("\0")&&!a.includes("�"),"Template source cannot contain reserved control characters"),this.source=a,this.rendered=a,this._template=null,x){const{functions:f,...h}=x;this._settings=Object.keys(h).length?b(h):void 0,this._functions=f,this._functions&&(n(Object.keys(this._functions).every(_=>typeof _=="string"),"Functions keys must be strings"),n(Object.values(this._functions).every(_=>typeof _=="function"),"Functions values must be functions"))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes("{"))return;const a=c.encode(this.source),x=c.split(a);let f=!1;const h=[],_=x.shift();_&&h.push(c.decode(_));for(const w of x){const S=w[0]!=="{",D=S?"}":"}}",T=w.indexOf(D);if(T===-1||w[1]==="{"){h.push(`{${c.decode(w)}`);continue}let E=w.slice(S?0:1,T);const k=E[0]===":";k&&(E=E.slice(1));const I=this._ref(c.decode(E),{raw:S,wrapped:k});h.push(I),typeof I!="string"&&(f=!0);const L=w.slice(T+D.length);L&&h.push(c.decode(L))}f?this._template=h:this.rendered=h.join("")}static date(a,x){return c.dateFormat[x.dateFormat].call(a)}describe(a={}){if(!this._settings&&a.compact)return this.source;const x={template:this.source};return this._settings&&(x.options=this._settings),this._functions&&(x.functions=this._functions),x}static build(a){return new c.Template(a.template,a.options||a.functions?{...a.options,functions:a.functions}:void 0)}isDynamic(){return!!this._template}static isTemplate(a){return!!a&&!!a[r.symbols.template]}refs(){if(!this._template)return;const a=[];for(const x of this._template)typeof x!="string"&&a.push(...x.refs);return a}resolve(a,x,f,h){return this._template&&this._template.length===1?this._part(this._template[0],a,x,f,h,{}):this.render(a,x,f,h)}_part(a,...x){return a.ref?a.ref.resolve(...x):a.formula.evaluate(x)}render(a,x,f,h,_={}){if(!this.isDynamic())return this.rendered;const w=[];for(const S of this._template)if(typeof S=="string")w.push(S);else{const D=this._part(S,a,x,f,h,_),T=c.stringify(D,a,x,f,h,_);if(T!==void 0){const E=S.raw||(_.errors&&_.errors.escapeHtml)===!1?T:y(T);w.push(c.wrap(E,S.wrapped&&f.errors.wrap.label))}}return w.join("")}_ref(a,{raw:x,wrapped:f}){const h=[],_=S=>{const D=l.create(S,this._settings);return h.push(D),T=>{const E=D.resolve(...T);return E!==void 0?E:null}};try{const S=this._functions?{...c.functions,...this._functions}:c.functions;var w=new v.Parser(a,{reference:_,functions:S,constants:c.constants})}catch(S){throw S.message=`Invalid template variable "${a}" fails due to: ${S.message}`,S}if(w.single){if(w.single.type==="reference"){const S=h[0];return{ref:S,raw:x,refs:h,wrapped:f||S.type==="local"&&S.key==="label"}}return c.stringify(w.single.value)}return{formula:w,raw:x,refs:h}}toString(){return this.source}},c.Template.prototype[r.symbols.template]=!0,c.Template.prototype.isImmutable=!0,c.encode=function(a){return a.replace(/\\(\{+)/g,(x,f)=>c.opens.slice(0,f.length)).replace(/\\(\}+)/g,(x,f)=>c.closes.slice(0,f.length))},c.decode=function(a){return a.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},c.split=function(a){const x=[];let f="";for(let h=0;h<a.length;++h){const _=a[h];if(_==="{"){let w="";for(;h+1<a.length&&a[h+1]==="{";)w+="{",++h;x.push(f),f=w}else f+=_}return x.push(f),x},c.wrap=function(a,x){return x?x.length===1?`${x}${a}${x}`:`${x[0]}${a}${x[1]}`:a},c.stringify=function(a,x,f,h,_,w={}){const S=typeof a,D=h&&h.errors&&h.errors.wrap||{};let T=!1;if(l.isRef(a)&&a.render&&(T=a.in,a=a.resolve(x,f,h,_,{in:a.in,...w})),a===null)return"null";if(S==="string")return c.wrap(a,w.arrayItems&&D.string);if(S==="number"||S==="function"||S==="symbol")return a.toString();if(S!=="object")return JSON.stringify(a);if(a instanceof Date)return c.Template.date(a,h);if(a instanceof Map){const k=[];for(const[I,L]of a.entries())k.push(`${I.toString()} -> ${L.toString()}`);a=k}
89if(!Array.isArray(a))return a.toString();const E=[];for(const k of a)E.push(c.stringify(k,x,f,h,_,{arrayItems:!0,...w}));return c.wrap(E.join(", "),!T&&D.array)},c.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},c.functions={if:(a,x,f)=>a?x:f,length:a=>typeof a=="string"?a.length:a&&typeof a=="object"?Array.isArray(a)?a.length:Object.keys(a).length:null,msg(a){const[x,f,h,_,w]=this,S=w.messages;if(!S)return"";const D=i.template(x,S[0],a,f,h)||i.template(x,S[1],a,f,h);return D?D.render(x,f,h,_,w):""},number:a=>typeof a=="number"?a:typeof a=="string"?parseFloat(a):typeof a=="boolean"?a?1:0:a instanceof Date?a.getTime():null}},4972(d,g,o){const{assert:n,merge:b}=o(3115),y=o(680),v=o(9415),r=o(3541),i=o(8013),l=o(8529),c={};d.exports=y.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:l.toSibling}},args:(a,...x)=>x.length===1&&Array.isArray(x[0])?a.try(...x[0]):a.try(...x),validate(a,x){const{schema:f,error:h,state:_,prefs:w}=x;if(f._flags.match){const D=[],T=[];for(let k=0;k<f.$_terms.matches.length;++k){const I=f.$_terms.matches[k],L=_.nest(I.schema,`match.${k}`);L.snapshot();const U=I.schema.$_validate(a,L,w);U.errors?(T.push(U.errors),L.restore()):(D.push(U.value),L.commit())}if(D.length===0)return{errors:h("alternatives.any",{details:T.map(k=>i.details(k,{override:!1}))})};if(f._flags.match==="one")return D.length===1?{value:D[0]}:{errors:h("alternatives.one")};if(D.length!==f.$_terms.matches.length)return{errors:h("alternatives.all",{details:T.map(k=>i.details(k,{override:!1}))})};const E=k=>k.$_terms.matches.some(I=>I.schema.type==="object"||I.schema.type==="alternatives"&&E(I.schema));return E(f)?{value:D.reduce((k,I)=>b(k,I,{mergeArrays:!1}))}:{value:D[D.length-1]}}const S=[];for(let D=0;D<f.$_terms.matches.length;++D){const T=f.$_terms.matches[D];if(T.schema){const I=_.nest(T.schema,`match.${D}`);I.snapshot();const L=T.schema.$_validate(a,I,w);if(!L.errors)return I.commit(),L;I.restore(),S.push({schema:T.schema,reports:L.errors});continue}const E=T.ref?T.ref.resolve(a,_,w):a,k=T.is?[T]:T.switch;for(let I=0;I<k.length;++I){const L=k[I],{is:U,then:z,otherwise:Z}=L,H=`match.${D}${T.switch?"."+I:""}`;if(U.$_match(E,_.nest(U,`${H}.is`),w)){if(z)return z.$_validate(a,_.nest(z,`${H}.then`),w)}else if(Z)return Z.$_validate(a,_.nest(Z,`${H}.otherwise`),w)}}return c.errors(S,x)},jsonSchema(a,x,f,h){const _=[];for(const S of a.$_terms.matches)if(S.schema)_.push(S.schema.$_jsonSchema(f,h));else{const D=S.is?[S]:S.switch;for(const T of D)T.then&&_.push(T.then.$_jsonSchema(f,h)),T.otherwise&&_.push(T.otherwise.$_jsonSchema(f,h))}if(_.length){var w;delete x.type;const S=(w=a._flags.match)!==null&&w!==void 0?w:"any";S==="one"?x.oneOf=_:S==="all"?x.allOf=_:x.anyOf=_}return x},rules:{conditional:{method(a,x){n(!this._flags._endedSwitch,"Unreachable condition"),n(!this._flags.match,"Cannot combine match mode",this._flags.match,"with conditional rule"),n(x.break===void 0,"Cannot use break option with alternatives conditional");const f=this.clone(),h=r.when(f,a,x),_=h.is?[h]:h.switch;for(const w of _)if(w.then&&w.otherwise){f.$_setFlag("_endedSwitch",!0,{clone:!1});break}return f.$_terms.matches.push(h),f.$_mutateRebuild()}},match:{method(a){if(n(["any","one","all"].includes(a),"Invalid alternatives match mode",a),a!=="any")for(const x of this.$_terms.matches)n(x.schema,"Cannot combine match mode",a,"with conditional rules");return this.$_setFlag("match",a)}},try:{method(...a){n(a.length,"Missing alternative schemas"),v.verifyFlat(a,"try"),n(!this._flags._endedSwitch,"Unreachable condition");const x=this.clone();for(const f of a)x.$_terms.matches.push({schema:x.$_compile(f)});return x.$_mutateRebuild()}}},overrides:{label(a){return this.$_parent("label",a).$_modify({each:(x,f)=>f.path[0]!=="is"&&typeof x._flags.label!="string"?x.label(a):void 0,ref:!1})},isAsync(){var a;if((a=this.$_terms.externals)!==null&&a!==void 0&&a.length)return!0;for(const _ of this.$_terms.matches){var x,f,h;if((x=_.schema)!==null&&x!==void 0&&x.isAsync()||(f=_.then)!==null&&f!==void 0&&f.isAsync()||(h=_.otherwise)!==null&&h!==void 0&&h.isAsync())return!0}return!1}},rebuild(a){a.$_modify({each:x=>{v.isSchema(x)&&x.type==="array"&&a.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(a,x){if(x.matches)for(const f of x.matches){const{schema:h,ref:_,is:w,not:S,then:D,otherwise:T}=f;a=h?a.try(h):_?a.conditional(_,{is:w,then:D,not:S,otherwise:T,switch:f.switch}):a.conditional(w,{then:D,otherwise:T})}return a}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),c.errors=function(a,{error:x,state:f}){if(!a.length)return{errors:x("alternatives.any")};if(a.length===1)return{errors:a[0].reports};const h=new Set,_=[];for(const{reports:w,schema:S}of a){if(w.length>1)return c.unmatched(a,x);const D=w[0];if(D instanceof i.Report==0)return c.unmatched(a,x);if(D.state.path.length!==f.path.length){_.push({type:S.type,report:D});continue}if(D.code==="any.only"){for(const k of D.local.valids)h.add(k);continue}const[T,E]=D.code.split(".");E!=="base"?_.push({type:S.type,report:D}):D.code==="object.base"?h.add(D.local.type):h.add(T)}return _.length?_.length===1?{errors:_[0].report}:c.unmatched(a,x):{errors:x("alternatives.types",{types:[...h]})}},c.unmatched=function(a,x){const f=[];for(const h of a)f.push(...h.reports);return{errors:x("alternatives.match",i.details(f,{override:!1}))}}},680(d,g,o){const{assert:n}=o(3115),b=o(2115),y=o(9415),v=o(6162);d.exports=b.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(r,i){return n(typeof r=="function","Method must be a function"),n(i===void 0||i&&typeof i=="string","Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:r,description:i}})},validate(r,i,{method:l}){try{return l(r,i)}catch(c){return i.error("any.custom",{error:c})}},args:["method","description"],multi:!0},messages:{method(r){return this.prefs({messages:r})}},shared:{method(r){n(y.isSchema(r)&&r._flags.id,"Schema must be a schema with an id");const i=this.clone();return i.$_terms.shared=i.$_terms.shared||[],i.$_terms.shared.push(r),i.$_mutateRegister(r),i}},warning:{method(r,i){return n(r&&typeof r=="string","Invalid warning code"),this.$_addRule({name:"warning",args:{code:r,local:i},warn:!0})},validate:(r,i,{code:l,local:c})=>i.error(l,c),args:["code","local"],multi:!0}},modifiers:{keep(r,i=!0){r.keep=i},message(r,i){r.message=v.compile(i)},warn(r,i=!0){r.warn=i}},manifest:{build(r,i){for(const l of Object.keys(i)){const c=i[l];if(["examples","externals","metas","notes","tags"].includes(l))for(const a of c)r=r[l.slice(0,-1)](a);else{if(l==="alterations"){const a={};
89for(const{target:x,adjuster:f}of c)a[x]=f;r=r.alter(a);continue}if(l!=="whens"){if(l==="shared")for(const a of c)r=r.shared(a)}else for(const a of c){const{ref:x,is:f,not:h,then:_,otherwise:w,concat:S}=a;r=S?r.concat(S):x?r.when(x,{is:f,not:h,then:_,otherwise:w,switch:a.switch,break:a.break}):r.when(f,{then:_,otherwise:w,break:a.break})}}}return r}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},2591(d,g,o){const{assert:n,deepEqual:b,reach:y}=o(3115),v=o(680),r=o(9415),i=o(3541),l={};d.exports=v.extend({type:"array",flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:"schema"},ordered:{init:[],manifest:"schema"},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:"object",method(c,{schema:a,state:x,prefs:f}){if(!Array.isArray(c))return;const h=a.$_getRule("sort");return h?l.sort(a,c,h.args.options,x,f):void 0}},validate(c,{schema:a,error:x}){if(!Array.isArray(c)){if(a._flags.single){const f=[c];return f[r.symbols.arraySingle]=!0,{value:f}}return{errors:x("array.base")}}if(a.$_getRule("items")||a.$_terms.externals)return{value:c.slice()}},jsonSchema(c,a,x,f){const h=c.$_terms.ordered;if(h.length&&(a.prefixItems=h.map(w=>w.$_jsonSchema(x,f))),c.$_terms.items.length){let w;w=c.$_terms.items.length===1?c.$_terms.items[0].$_jsonSchema(x,f):{anyOf:c.$_terms.items.map(S=>S.$_jsonSchema(x,f))},h.length?(a.unevaluatedItems=w,l.setOrderedMinItems(a,h)):a.items=w}else h.length&&(a.unevaluatedItems=!1,l.setOrderedMinItems(a,h),a.maxItems=h.length);const _=[];for(const w of c._rules)w.name!=="has"||w.args.schema._refs.refs.length||_.push(w.args.schema.$_jsonSchema(x,f));if(_.length&&(_.length===1?a.contains=_[0]:a.allOf=_.map(w=>({contains:w}))),c._flags.single&&c.$_terms.items.length){let w;w=c.$_terms.items.length===1?c.$_terms.items[0].$_jsonSchema(x,f):{anyOf:c.$_terms.items.map(S=>S.$_jsonSchema(x,f))},a={anyOf:[a,w]}}return a},rules:{has:{method(c){c=this.$_compile(c,{appendPath:!0});const a=this.$_addRule({name:"has",args:{schema:c}});return a.$_mutateRegister(c),a},validate(c,{state:a,prefs:x,error:f},{schema:h}){const _=[c,...a.ancestors];for(let S=0;S<c.length;++S){const D=a.localize([...a.path,S],_,h);if(h.$_match(c[S],D,x))return c}const w=h._flags.label;return w?f("array.hasKnown",{patternLabel:w}):f("array.hasUnknown",null)},multi:!0},items:{method(...c){r.verifyFlat(c,"items");const a=this.$_addRule("items");for(let x=0;x<c.length;++x){const f=r.tryWithPath(()=>this.$_compile(c[x]),x,{append:!0});a.$_terms.items.push(f)}return a.$_mutateRebuild()},validate(c,{schema:a,error:x,state:f,prefs:h,errorsArray:_}){const w=a.$_terms._requireds.slice(),S=a.$_terms.ordered.slice(),D=[...a.$_terms._inclusions,...w],T=!c[r.symbols.arraySingle];delete c[r.symbols.arraySingle];const E=_();let k=c.length;for(let I=0;I<k;++I){const L=c[I];let U=!1,z=!1;const Z=T?I:new Number(I),H=[...f.path,Z];if(!a._flags.sparse&&L===void 0){if(E.push(x("array.sparse",{key:Z,path:H,pos:I,value:void 0},f.localize(H))),h.abortEarly)return E;S.shift();continue}const ee=[c,...f.ancestors];for(const V of a.$_terms._exclusions)if(V.$_match(L,f.localize(H,ee,V),h,{presence:"ignore"})){if(E.push(x("array.excludes",{pos:I,value:L},f.localize(H))),h.abortEarly)return E;U=!0,S.shift();break}if(U)continue;if(a.$_terms.ordered.length){if(S.length){const V=S.shift(),te=V.$_validate(L,f.localize(H,ee,V),h);if(te.errors){if(E.push(...te.errors),h.abortEarly)return E}else if(V._flags.result==="strip")l.fastSplice(c,I),--I,--k;else{if(!a._flags.sparse&&te.value===void 0){if(E.push(x("array.sparse",{key:Z,path:H,pos:I,value:void 0},f.localize(H))),h.abortEarly)return E;continue}c[I]=te.value}continue}if(!a.$_terms.items.length){if(E.push(x("array.orderedLength",{pos:I,limit:a.$_terms.ordered.length})),h.abortEarly)return E;break}}const oe=[];let he=w.length;for(let V=0;V<he;++V){const te=f.localize(H,ee,w[V]);te.snapshot();const ue=w[V].$_validate(L,te,h);if(oe[V]=ue,!ue.errors){if(te.commit(),c[I]=ue.value,z=!0,l.fastSplice(w,V),--V,--he,!a._flags.sparse&&ue.value===void 0&&(E.push(x("array.sparse",{key:Z,path:H,pos:I,value:void 0},f.localize(H))),h.abortEarly))return E;break}
89te.restore()}if(z)continue;const le=h.stripUnknown&&!!h.stripUnknown.arrays||!1;he=D.length;for(const V of D){let te;const ue=w.indexOf(V);if(ue!==-1)te=oe[ue];else{const de=f.localize(H,ee,V);if(de.snapshot(),te=V.$_validate(L,de,h),!te.errors){de.commit(),V._flags.result==="strip"?(l.fastSplice(c,I),--I,--k):a._flags.sparse||te.value!==void 0?c[I]=te.value:(E.push(x("array.sparse",{key:Z,path:H,pos:I,value:void 0},f.localize(H))),U=!0),z=!0;break}de.restore()}if(he===1){if(le){l.fastSplice(c,I),--I,--k,z=!0;break}if(E.push(...te.errors),h.abortEarly)return E;U=!0;break}}if(!U&&(a.$_terms._inclusions.length||a.$_terms._requireds.length)&&!z){if(le){l.fastSplice(c,I),--I,--k;continue}if(E.push(x("array.includes",{pos:I,value:L},f.localize(H))),h.abortEarly)return E}}return w.length&&l.fillMissedErrors(a,E,w,c,f,h),S.length&&(l.fillOrderedErrors(a,E,S,c,f,h),E.length||l.fillDefault(S,c,f,h)),E.length?E:c},priority:!0,manifest:!1},length:{method(c){return this.$_addRule({name:"length",args:{limit:c},operator:"="})},validate:(c,a,{limit:x},{name:f,operator:h,args:_})=>r.compare(c.length,x,h)?c:a.error("array."+f,{limit:_.limit,value:c}),jsonSchema:(c,a)=>(a.minItems=c.args.limit,a.maxItems=c.args.limit,a),args:[{name:"limit",ref:!0,assert:r.limit,message:"must be a positive integer"}]},max:{method(c){return this.$_addRule({name:"max",method:"length",args:{limit:c},operator:"<="})},jsonSchema:(c,a)=>(a.maxItems=c.args.limit,a)},min:{method(c){return this.$_addRule({name:"min",method:"length",args:{limit:c},operator:">="})},jsonSchema:(c,a)=>(a.minItems=c.args.limit,a)},ordered:{method(...c){r.verifyFlat(c,"ordered");const a=this.$_addRule("items");for(let x=0;x<c.length;++x){const f=r.tryWithPath(()=>this.$_compile(c[x]),x,{append:!0});l.validateSingle(f,a),a.$_mutateRegister(f),a.$_terms.ordered.push(f)}return a.$_mutateRebuild()}},single:{method(c){const a=c===void 0||!!c;return n(!a||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",a)}},sort:{method(c={}){r.assertOptions(c,["by","order"]);const a={order:c.order||"ascending"};return c.by&&(a.by=i.ref(c.by,{ancestor:0}),n(!a.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:a}})},validate(c,{error:a,state:x,prefs:f,schema:h},{options:_}){const{value:w,errors:S}=l.sort(h,c,_,x,f);if(S)return S;for(let D=0;D<c.length;++D)if(c[D]!==w[D])return a("array.sort",{order:_.order,by:_.by?_.by.key:"value"});return c},convert:!0},sparse:{method(c){const a=c===void 0||!!c;return this._flags.sparse===a?this:(a?this.clone():this.$_addRule("items")).$_setFlag("sparse",a,{clone:!1})}},unique:{method(c,a={}){n(!c||typeof c=="function"||typeof c=="string","comparator must be a function or a string"),r.assertOptions(a,["ignoreUndefined","separator"]);const x={name:"unique",args:{options:a,comparator:c}};if(c)if(typeof c=="string"){const f=r.default(a.separator,".");x.path=f?c.split(f):[c]}else x.comparator=c;return this.$_addRule(x)},validate(c,{state:a,error:x,schema:f},{comparator:h,options:_},{comparator:w,path:S}){const D={string:Object.create(null),number:Object.create(null),undefined:Object.create(null),boolean:Object.create(null),bigint:Object.create(null),object:new Map,function:new Map,custom:new Map},T=w||b,E=_.ignoreUndefined;for(let k=0;k<c.length;++k){const I=S?y(c[k],S):c[k],L=w?D.custom:D[typeof I];if(n(L,"Failed to find unique map container for type",typeof I),L instanceof Map){const U=L.entries();let z;for(;!(z=U.next()).done;)if(T(z.value[0],I)){const Z=a.localize([...a.path,k],[c,...a.ancestors]),H={pos:k,value:c[k],dupePos:z.value[1],dupeValue:c[z.value[1]]};return S&&(H.path=h),x("array.unique",H,Z)}L.set(I,k)}else{if((!E||I!==void 0)&&L[I]!==void 0){const U={pos:k,value:c[k],dupePos:L[I],dupeValue:c[L[I]]};return S&&(U.path=h),x("array.unique",U,a.localize([...a.path,k],[c,...a.ancestors]))}L[I]=k}}return c},jsonSchema:(c,a)=>(c.args.comparator||(a.uniqueItems=!0),a),args:["comparator","options"],multi:!0}},overrides:{isAsync(){var c;if((c=this.$_terms.externals)!==null&&c!==void 0&&c.length)return!0;for(const a of this.$_terms.items)if(a.isAsync())return!0;
89for(const a of this.$_terms.ordered)if(a.isAsync())return!0;return!1}},cast:{set:{from:Array.isArray,to:(c,a)=>new Set(c)}},rebuild(c){c.$_terms._inclusions=[],c.$_terms._exclusions=[],c.$_terms._requireds=[];for(const a of c.$_terms.items)l.validateSingle(a,c),a._flags.presence==="required"?c.$_terms._requireds.push(a):a._flags.presence==="forbidden"?c.$_terms._exclusions.push(a):c.$_terms._inclusions.push(a);for(const a of c.$_terms.ordered)l.validateSingle(a,c)},manifest:{build:(c,a)=>(a.items&&(c=c.items(...a.items)),a.ordered&&(c=c.ordered(...a.ordered)),c)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),l.setOrderedMinItems=function(c,a){const x=l.orderedMinItems(a);x&&(c.minItems=x)},l.orderedMinItems=function(c){for(let a=c.length-1;a>=0;--a)if(c[a]._flags.presence==="required")return a+1;return 0},l.fillMissedErrors=function(c,a,x,f,h,_){const w=[];let S=0;for(const D of x){const T=D._flags.label;T?w.push(T):++S}w.length?S?a.push(c.$_createError("array.includesRequiredBoth",f,{knownMisses:w,unknownMisses:S},h,_)):a.push(c.$_createError("array.includesRequiredKnowns",f,{knownMisses:w},h,_)):a.push(c.$_createError("array.includesRequiredUnknowns",f,{unknownMisses:S},h,_))},l.fillOrderedErrors=function(c,a,x,f,h,_){const w=[];for(const S of x)S._flags.presence==="required"&&w.push(S);w.length&&l.fillMissedErrors(c,a,w,f,h,_)},l.fillDefault=function(c,a,x,f){const h=[];let _=!0;for(let w=c.length-1;w>=0;--w){const S=c[w],D=[a,...x.ancestors],T=S.$_validate(void 0,x.localize(x.path,D,S),f).value;if(_){if(T===void 0)continue;_=!1}h.unshift(T)}h.length&&a.push(...h)},l.fastSplice=function(c,a){let x=a;for(;x<c.length;)c[x++]=c[x];--c.length},l.validateSingle=function(c,a){(c.type==="array"||c._flags._arrayItems)&&(n(!a._flags.single,"Cannot specify array item with single rule enabled"),a.$_setFlag("_arrayItems",!0,{clone:!1}))},l.sort=function(c,a,x,f,h){const _=x.order==="ascending"?1:-1,w=-1*_,S=_,D=(T,E)=>{let k=l.compare(T,E,w,S);if(k!==null||(x.by&&(T=x.by.resolve(T,f,h),E=x.by.resolve(E,f,h)),k=l.compare(T,E,w,S),k!==null))return k;const I=typeof T;if(I!==typeof E)throw c.$_createError("array.sort.mismatching",a,null,f,h);if(I!=="number"&&I!=="string")throw c.$_createError("array.sort.unsupported",a,{type:I},f,h);return I==="number"?(T-E)*_:T<E?w:S};try{return{value:a.slice().sort(D)}}catch(T){return{errors:T}}},l.compare=function(c,a,x,f){return c===a?0:c===void 0?1:a===void 0?-1:c===null?f:a===null?x:null}},6186(d,g,o){const{assert:n}=o(3115),b=o(680),y=o(9415),v=o(6220),r={isBool:function(i){return typeof i=="boolean"}};d.exports=b.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(i,{schema:l}){if(typeof i!="boolean"){if(typeof i=="string"){const c=i.trim(),a=l._flags.sensitive?c:c.toLowerCase();i=a==="true"||a!=="false"&&i}return typeof i!="boolean"&&(i=l.$_terms.truthy&&l.$_terms.truthy.has(i,null,null,!l._flags.sensitive)||(!l.$_terms.falsy||!l.$_terms.falsy.has(i,null,null,!l._flags.sensitive))&&i),{value:i}}},validate(i,{error:l}){if(typeof i!="boolean")return{value:i,errors:l("boolean.base")}},rules:{truthy:{method(...i){y.verifyFlat(i,"truthy");const l=this.clone();l.$_terms.truthy=l.$_terms.truthy||new v;for(let c=0;c<i.length;++c){const a=i[c];n(a!==void 0,"Cannot call truthy with undefined"),l.$_terms.truthy.add(a)}return l}},falsy:{method(...i){y.verifyFlat(i,"falsy");const l=this.clone();l.$_terms.falsy=l.$_terms.falsy||new v;for(let c=0;c<i.length;++c){const a=i[c];n(a!==void 0,"Cannot call falsy with undefined"),l.$_terms.falsy.add(a)}return l}},sensitive:{method(i=!0){return this.$_setFlag("sensitive",i)}}}
89,cast:{number:{from:r.isBool,to:(i,l)=>i?1:0},string:{from:r.isBool,to:(i,l)=>i?"true":"false"}},manifest:{build:(i,l)=>(l.truthy&&(i=i.truthy(...l.truthy)),l.falsy&&(i=i.falsy(...l.falsy)),i)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},2588(d,g,o){const{assert:n}=o(3115),b=o(680),y=o(9415),v=o(1532),r={formats:["iso","javascript","unix"],isDate:function(i){return i instanceof Date}};d.exports=b.extend({type:"date",coerce:{from:["number","string"],method:(i,{schema:l})=>({value:r.parse(i,l._flags.format)||i})},validate(i,{schema:l,error:c,prefs:a}){if(i instanceof Date&&!isNaN(i.getTime()))return;const x=l._flags.format;return a.convert&&x&&typeof i=="string"?{value:i,errors:c("date.format",{format:x})}:{value:i,errors:c("date.base")}},jsonSchema:(i,l,c,a)=>(l.type="string",l.format="date-time",l),rules:{compare:{method:!1,validate(i,l,{date:c},{name:a,operator:x,args:f}){const h=c==="now"?Date.now():c.getTime();return y.compare(i.getTime(),h,x)?i:l.error("date."+a,{limit:f.date,value:i})},args:[{name:"date",ref:!0,normalize:i=>i==="now"?i:r.parse(i),assert:i=>i!==null,message:"must have a valid date format"}]},format:{method(i){return n(r.formats.includes(i),"Unknown date format",i),this.$_setFlag("format",i)}},greater:{method(i){return this.$_addRule({name:"greater",method:"compare",args:{date:i},operator:">"})},jsonSchema(i,l){const c=i.args.date;return c instanceof Date&&(l["x-constraint"]={...l["x-constraint"],greater:c.toISOString()}),l}},iso:{method(){return this.format("iso")}},less:{method(i){return this.$_addRule({name:"less",method:"compare",args:{date:i},operator:"<"})},jsonSchema(i,l){const c=i.args.date;return c instanceof Date&&(l["x-constraint"]={...l["x-constraint"],less:c.toISOString()}),l}},max:{method(i){return this.$_addRule({name:"max",method:"compare",args:{date:i},operator:"<="})},jsonSchema(i,l){const c=i.args.date;return c instanceof Date&&(l["x-constraint"]={...l["x-constraint"],max:c.toISOString()}),l}},min:{method(i){return this.$_addRule({name:"min",method:"compare",args:{date:i},operator:">="})},jsonSchema(i,l){const c=i.args.date;return c instanceof Date&&(l["x-constraint"]={...l["x-constraint"],min:c.toISOString()}),l}},timestamp:{method(i="javascript"){return n(["javascript","unix"].includes(i),'"type" must be one of "javascript, unix"'),this.format(i)}}},cast:{number:{from:r.isDate,to:(i,l)=>i.getTime()},string:{from:r.isDate,to:(i,{prefs:l})=>v.date(i,l)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),r.parse=function(i,l){if(i instanceof Date)return i;if(typeof i!="string"&&(isNaN(i)||!isFinite(i))||/^\s*$/.test(i))return null;if(l==="iso")return y.isIsoDate(i)?r.date(i.toString()):null;const c=i;if(typeof i=="string"&&/^[+-]?\d+(\.\d+)?$/.test(i)&&(i=parseFloat(i)),l){if(l==="javascript")return r.date(1*i);if(l==="unix")return r.date(1e3*i);if(typeof c=="string")return null}return r.date(i)},r.date=function(i){const l=new Date(i);return isNaN(l.getTime())?null:l}},4840(d,g,o){const{assert:n}=o(3115),b=o(2888);d.exports=b.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(y){return n(Number.isSafeInteger(y)&&y>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:y}})},validate:(y,v,{n:r})=>y.length===r?y:v.error("function.arity",{n:r})},class:{method(){return this.$_addRule("class")},validate:(y,v)=>/^\s*class\s/.test(y.toString())?y:v.error("function.class",{value:y})},minArity:{method(y){return n(Number.isSafeInteger(y)&&y>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:y}})},validate:(y,v,{n:r})=>y.length>=r?y:v.error("function.minArity",{n:r})},maxArity:{method(y){return n(Number.isSafeInteger(y)&&y>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:y}})},validate:(y,v,{n:r})=>y.length<=r?y:v.error("function.maxArity",{n:r})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},2888(d,g,o){const{applyToDefaults:n,assert:b,clone:y}=o(3115),v=o(8248),r=o(680),i=o(9415),l=o(3541),c=o(8013),a=o(8529),x=o(1532),f={renameDefaults:{alias:!1,multiple:!1,override:!1}};d.exports=r.extend({type:"_keys",properties:{typeof:"object"},flags:{unknown:{default:void 0}}
89,terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:"schema",to:"key"}}},patterns:{init:null},renames:{init:null}},args:(h,_)=>h.keys(_),jsonSchema(h,_,w,S){if(_.type="object",h.$_terms.keys){_.properties={};const D=[];for(const T of h.$_terms.keys){const E=T.schema.$_jsonSchema(w,S);_.properties[T.key]=E,T.schema._flags.id&&(S.$defs[T.schema._flags.id]=E),(T.schema._flags.presence==="required"||w==="output"&&T.schema._flags.default!==void 0)&&D.push(T.key)}D.length&&(_.required=D.sort())}if(h.$_terms.patterns){const D={};for(const T of h.$_terms.patterns)T.regex?D[T.regex.source]=T.rule.$_jsonSchema(w,S):T.schema.type==="any"?_.additionalProperties=T.rule.$_jsonSchema(w,S):D[".*"]=T.rule.$_jsonSchema(w,S);Object.keys(D).length&&(_.patternProperties=D)}return _.additionalProperties===void 0&&!(h._flags.unknown===!0||h._flags.unknown===void 0&&!h.$_terms.keys&&!h.$_terms.patterns&&!h._flags.only)&&(_.additionalProperties=!1),_},validate(h,{schema:_,error:w,state:S,prefs:D}){if(!h||typeof h!==_.$_property("typeof")||Array.isArray(h))return{value:h,errors:w("object.base",{type:_.$_property("typeof")})};if(!(_.$_terms.renames||_.$_terms.dependencies||_.$_terms.keys||_.$_terms.patterns||_.$_terms.externals))return;h=f.clone(h,D);const T=[];if(_.$_terms.renames&&!f.rename(_,h,S,D,T))return{value:h,errors:T};if(!_.$_terms.keys&&!_.$_terms.patterns&&!_.$_terms.dependencies)return{value:h,errors:T};const E=new Set(Object.keys(h));if(_.$_terms.keys){const k=[h,...S.ancestors];for(const I of _.$_terms.keys){const L=I.key,U=h[L];E.delete(L);const z=S.localize([...S.path,L],k,I),Z=I.schema.$_validate(U,z,D);if(Z.errors){if(D.abortEarly)return{value:h,errors:Z.errors};Z.value!==void 0&&(h[L]=Z.value),T.push(...Z.errors)}else I.schema._flags.result==="strip"||Z.value===void 0&&U!==void 0?delete h[L]:Z.value!==void 0&&(h[L]=Z.value)}}if(E.size||_._flags._hasPatternMatch){const k=f.unknown(_,h,E,T,S,D);if(k)return k}if(_.$_terms.dependencies)for(const k of _.$_terms.dependencies){if(k.key!==null&&f.isPresent(k.options)(k.key.resolve(h,S,D,null,{shadow:!1}))===!1)continue;const I=f.dependencies[k.rel](_,k,h,S,D);if(I){const L=_.$_createError(I.code,h,I.context,S,D);if(D.abortEarly)return{value:h,errors:L};T.push(L)}}return{value:h,errors:T}},rules:{and:{method(...h){return i.verifyFlat(h,"and"),f.dependency(this,"and",null,h)}},append:{method(h){return h==null||Object.keys(h).length===0?this:this.keys(h)}},assert:{method(h,_,w){x.isTemplate(h)||(h=l.ref(h)),b(w===void 0||typeof w=="string","Message must be a string"),_=this.$_compile(_,{appendPath:!0});const S=this.$_addRule({name:"assert",args:{subject:h,schema:_,message:w}});return S.$_mutateRegister(h),S.$_mutateRegister(_),S},validate(h,{error:_,prefs:w,state:S},{subject:D,schema:T,message:E}){const k=D.resolve(h,S,w),I=a.isRef(D)?D.absolute(S):[];return T.$_match(k,S.localize(I,[h,...S.ancestors],T),w)?h:_("object.assert",{subject:D,message:E})},args:["subject","schema","message"],multi:!0},instance:{method(h,_){return b(typeof h=="function","constructor must be a function"),_=_||h.name,this.$_addRule({name:"instance",args:{constructor:h,name:_}})},validate:(h,_,{constructor:w,name:S})=>h instanceof w?h:_.error("object.instance",{type:S,value:h}),args:["constructor","name"]},keys:{method(h){b(h===void 0||typeof h=="object","Object schema must be a valid object"),b(!i.isSchema(h),"Object schema cannot be a joi schema");const _=this.clone();if(h)if(Object.keys(h).length){_.$_terms.keys=_.$_terms.keys?_.$_terms.keys.filter(w=>!h.hasOwnProperty(w.key)):new f.Keys;for(const w of Object.keys(h))i.tryWithPath(()=>_.$_terms.keys.push({key:w,schema:this.$_compile(h[w])}),w)}else _.$_terms.keys=new f.Keys;else _.$_terms.keys=null;return _.$_mutateRebuild()}},length:{method(h){return this.$_addRule({name:"length",args:{limit:h},operator:"="})},validate:(h,_,{limit:w},{name:S,operator:D,args:T})=>i.compare(Object.keys(h).length,w,D)?h:_.error("object."+S,{limit:T.limit,value:h}),jsonSchema:(h,_)=>(_.minProperties=h.args.limit,_.maxProperties=h.args.limit,_),args:[{name:"limit",ref:!0,assert:i.limit,message:"must be a positive integer"}]},max:{method(h){return this.$_addRule({name:"max",method:"length",args:{limit:h},operator:"<="})},jsonSchema:(h,_)=>
89(_.maxProperties=h.args.limit,_)},min:{method(h){return this.$_addRule({name:"min",method:"length",args:{limit:h},operator:">="})},jsonSchema:(h,_)=>(_.minProperties=h.args.limit,_)},nand:{method(...h){return i.verifyFlat(h,"nand"),f.dependency(this,"nand",null,h)}},or:{method(...h){return i.verifyFlat(h,"or"),f.dependency(this,"or",null,h)}},oxor:{method(...h){return f.dependency(this,"oxor",null,h)}},pattern:{method(h,_,w={}){const S=h instanceof RegExp;S||(h=this.$_compile(h,{appendPath:!0})),b(_!==void 0,"Invalid rule"),i.assertOptions(w,["fallthrough","matches"]),S&&b(!h.flags.includes("g")&&!h.flags.includes("y"),"pattern should not use global or sticky mode"),_=this.$_compile(_,{appendPath:!0});const D=this.clone();D.$_terms.patterns=D.$_terms.patterns||[];const T={[S?"regex":"schema"]:h,rule:_};return w.matches&&(T.matches=this.$_compile(w.matches),T.matches.type!=="array"&&(T.matches=T.matches.$_root.array().items(T.matches)),D.$_mutateRegister(T.matches),D.$_setFlag("_hasPatternMatch",!0,{clone:!1})),w.fallthrough&&(T.fallthrough=!0),D.$_terms.patterns.push(T),D.$_mutateRegister(_),D}},ref:{method(){return this.$_addRule("ref")},validate:(h,_)=>a.isRef(h)?h:_.error("object.refType",{value:h})},regex:{method(){return this.$_addRule("regex")},validate:(h,_)=>h instanceof RegExp?h:_.error("object.regex",{value:h})},rename:{method(h,_,w={}){b(typeof h=="string"||h instanceof RegExp,"Rename missing the from argument"),b(typeof _=="string"||_ instanceof x,"Invalid rename to argument"),b(_!==h,"Cannot rename key to same name:",h),i.assertOptions(w,["alias","ignoreUndefined","override","multiple"]);const S=this.clone();S.$_terms.renames=S.$_terms.renames||[];for(const D of S.$_terms.renames)b(D.from!==h,"Cannot rename the same key multiple times");return _ instanceof x&&S.$_mutateRegister(_),S.$_terms.renames.push({from:h,to:_,options:n(f.renameDefaults,w)}),S}},schema:{method(h="any"){return this.$_addRule({name:"schema",args:{type:h}})},validate:(h,_,{type:w})=>!i.isSchema(h)||w!=="any"&&h.type!==w?_.error("object.schema",{type:w}):h},unknown:{method(h){return this.$_setFlag("unknown",h!==!1)}},with:{method(h,_,w={}){return f.dependency(this,"with",h,_,w)}},without:{method(h,_,w={}){return f.dependency(this,"without",h,_,w)}},xor:{method(...h){return i.verifyFlat(h,"xor"),f.dependency(this,"xor",null,h)}}},overrides:{default(h,_){return h===void 0&&(h=i.symbols.deepDefault),this.$_parent("default",h,_)},isAsync(){var h,_,w;if((h=this.$_terms.externals)!==null&&h!==void 0&&h.length)return!0;if((_=this.$_terms.keys)!==null&&_!==void 0&&_.length){for(const S of this.$_terms.keys)if(S.schema.isAsync())return!0}if((w=this.$_terms.patterns)!==null&&w!==void 0&&w.length){for(const S of this.$_terms.patterns)if(S.rule.isAsync())return!0}return!1}},rebuild(h){h.$_terms.keys&&(h.$_terms.keys=new f.Keys(...f.sortKeys(h.$_terms.keys)))},manifest:{build(h,_){if(_.keys&&(h=h.keys(_.keys)),_.dependencies)for(const{rel:w,key:S=null,peers:D,options:T}of _.dependencies)h=f.dependency(h,w,S,D,T);if(_.patterns)for(const{regex:w,schema:S,rule:D,fallthrough:T,matches:E}of _.patterns)h=h.pattern(w||S,D,{fallthrough:T,matches:E});if(_.renames)for(const{from:w,to:S,options:D}of _.renames)h=h.rename(w,S,D);return h}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.rename.proto":"{{#label}} cannot rename {{:#from}} because target {{:#to}} is a reserved key","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),f.clone=function(h,_){if(typeof h=="object"){if(_.nonEnumerables)return y(h,{shallow:!0});const S=Object.getPrototypeOf(h),D=Object.create(S);
89return Object.assign(D,h),Object.getPrototypeOf(D)!==S&&Object.setPrototypeOf(D,S),D}const w=function(...S){return h.apply(this,S)};return w.prototype=y(h.prototype),Object.defineProperty(w,"name",{value:h.name,writable:!1}),Object.defineProperty(w,"length",{value:h.length,writable:!1}),Object.assign(w,h),w},f.dependency=function(h,_,w,S,D){b(w===null||typeof w=="string",_,"key must be a strings"),D||(D=S.length>1&&typeof S[S.length-1]=="object"?S.pop():{}),i.assertOptions(D,["separator","isPresent"]),S=[].concat(S);const T=i.default(D.separator,"."),E=[];for(const I of S)b(typeof I=="string",_,"peers must be strings"),E.push(l.ref(I,{separator:T,ancestor:0,prefix:!1}));w!==null&&(w=l.ref(w,{separator:T,ancestor:0,prefix:!1}));const k=h.clone();return k.$_terms.dependencies=k.$_terms.dependencies||[],k.$_terms.dependencies.push(new f.Dependency(_,w,E,S,D)),k},f.dependencies={and(h,_,w,S,D){const T=[],E=[],k=_.peers.length,I=f.isPresent(_.options);for(const L of _.peers)I(L.resolve(w,S,D,null,{shadow:!1}))===!1?T.push(L.key):E.push(L.key);if(T.length!==k&&E.length!==k)return{code:"object.and",context:{present:E,presentWithLabels:f.keysToLabels(h,E),missing:T,missingWithLabels:f.keysToLabels(h,T)}}},nand(h,_,w,S,D){const T=[],E=f.isPresent(_.options);for(const L of _.peers)E(L.resolve(w,S,D,null,{shadow:!1}))&&T.push(L.key);if(T.length!==_.peers.length)return;const k=_.paths[0],I=_.paths.slice(1);return{code:"object.nand",context:{main:k,mainWithLabel:f.keysToLabels(h,k),peers:I,peersWithLabels:f.keysToLabels(h,I)}}},or(h,_,w,S,D){const T=f.isPresent(_.options);for(const E of _.peers)if(T(E.resolve(w,S,D,null,{shadow:!1})))return;return{code:"object.missing",context:{peers:_.paths,peersWithLabels:f.keysToLabels(h,_.paths)}}},oxor(h,_,w,S,D){const T=[],E=f.isPresent(_.options);for(const I of _.peers)E(I.resolve(w,S,D,null,{shadow:!1}))&&T.push(I.key);if(!T.length||T.length===1)return;const k={peers:_.paths,peersWithLabels:f.keysToLabels(h,_.paths)};return k.present=T,k.presentWithLabels=f.keysToLabels(h,T),{code:"object.oxor",context:k}},with(h,_,w,S,D){const T=f.isPresent(_.options);for(const E of _.peers)if(T(E.resolve(w,S,D,null,{shadow:!1}))===!1)return{code:"object.with",context:{main:_.key.key,mainWithLabel:f.keysToLabels(h,_.key.key),peer:E.key,peerWithLabel:f.keysToLabels(h,E.key)}}},without(h,_,w,S,D){const T=f.isPresent(_.options);for(const E of _.peers)if(T(E.resolve(w,S,D,null,{shadow:!1})))return{code:"object.without",context:{main:_.key.key,mainWithLabel:f.keysToLabels(h,_.key.key),peer:E.key,peerWithLabel:f.keysToLabels(h,E.key)}}},xor(h,_,w,S,D){const T=[],E=f.isPresent(_.options);for(const I of _.peers)E(I.resolve(w,S,D,null,{shadow:!1}))&&T.push(I.key);if(T.length===1)return;const k={peers:_.paths,peersWithLabels:f.keysToLabels(h,_.paths)};return T.length===0?{code:"object.missing",context:k}:(k.present=T,k.presentWithLabels=f.keysToLabels(h,T),{code:"object.xor",context:k})}},f.sortKeys=function(h,_=!0){const w=new v.Sorter;for(const S of h)i.tryWithPath(()=>w.add(S,{after:S.schema.$_rootReferences(),group:S.key,manual:_}),S.key);try{return w.sort()}catch{return f.sortKeys(h,!1)}},f.keysToLabels=function(h,_){return Array.isArray(_)?_.map(w=>h.$_mapLabels(w)):h.$_mapLabels(_)},f.isPresent=function(h){return typeof h.isPresent=="function"?h.isPresent:_=>_!==void 0},f.rename=function(h,_,w,S,D){const T={};for(const E of h.$_terms.renames){const k=[],I=typeof E.from!="string";if(I)for(const L of Object.keys(_)){if(_[L]===void 0&&E.options.ignoreUndefined||L===E.to)continue;const U=E.from.exec(L);U&&k.push({from:L,to:E.to,match:U})}else!Object.prototype.hasOwnProperty.call(_,E.from)||_[E.from]===void 0&&E.options.ignoreUndefined||k.push(E);for(const L of k){const U=L.from;let z=L.to;if(z instanceof x&&(z=z.render(_,w,S,L.match)),U!==z){if(!E.options.multiple&&T[z]&&(D.push(h.$_createError("object.rename.multiple",_,{from:U,to:z,pattern:I},w,S)),S.abortEarly)||Object.prototype.hasOwnProperty.call(_,z)&&!E.options.override&&!T[z]&&(D.push(h.$_createError("object.rename.override",_,{from:U,to:z,pattern:I},w,S)),S.abortEarly))return!1;if(z!=="__proto__")_[U]===void 0?delete _[z]:_[z]=_[U],T[z]=!0,E.options.alias||delete _[U];else if(D.push(h.$_createError("object.rename.proto",_,{from:U,to:z,pattern:I},w,S)),S.abortEarly)return!1}}}return!0},f.unknown=function(h,_,w,S,D,T){if(h.$_terms.patterns){let E=!1;const k=h.$_terms.patterns.map(L=>{if(L.matches)return E=!0,[]}),I=[_,...D.ancestors];for(const L of w){const U=_[L],z=[...D.path,L];for(let Z=0;Z<h.$_terms.patterns.length;++Z){const H=h.$_terms.patterns[Z];if(H.regex){const he=H.regex.test(L);if(D.mainstay.tracer.debug(D,"rule",`pattern.${Z}`,he?"pass":"error"),!he)continue}else if(!H.schema.$_match(L,D.nest(H.schema,`pattern.${Z}`),T))continue;w.delete(L);const ee=D.localize(z,I,{schema:H.rule,key:L}),oe=H.rule.$_validate(U,ee,T);
89if(oe.errors){if(T.abortEarly)return{value:_,errors:oe.errors};S.push(...oe.errors)}if(H.matches&&k[Z].push(L),_[L]=oe.value,!H.fallthrough)break}}if(E)for(let L=0;L<k.length;++L){const U=k[L];if(!U)continue;const z=h.$_terms.patterns[L].matches,Z=D.localize(D.path,I,z),H=z.$_validate(U,Z,T);if(H.errors){const ee=c.details(H.errors,{override:!1});ee.matches=U;const oe=h.$_createError("object.pattern.match",_,ee,D,T);if(T.abortEarly)return{value:_,errors:oe};S.push(oe)}}}if(w.size&&(h.$_terms.keys||h.$_terms.patterns)){if(T.stripUnknown&&h._flags.unknown===void 0||T.skipFunctions){const E=!(!T.stripUnknown||T.stripUnknown!==!0&&!T.stripUnknown.objects);for(const k of w)E?(delete _[k],w.delete(k)):typeof _[k]=="function"&&w.delete(k)}if(!i.default(h._flags.unknown,T.allowUnknown))for(const E of w){const k=D.localize([...D.path,E],[]),I=h.$_createError("object.unknown",_[E],{child:E},k,T,{flags:!1});if(T.abortEarly)return{value:_,errors:I};S.push(I)}}},f.Dependency=class{constructor(h,_,w,S,D){this.rel=h,this.key=_,this.peers=w,this.paths=S,this.options=D}describe(){const h={rel:this.rel,peers:this.paths};return this.key!==null&&(h.key=this.key.key),this.peers[0].separator!=="."&&(h.options={...h.options,separator:this.peers[0].separator}),this.options.isPresent&&(h.options={...h.options,isPresent:this.options.isPresent}),h}},f.Keys=class extends Array{concat(h){const _=this.slice(),w=new Map;for(let S=0;S<_.length;++S)w.set(_[S].key,S);for(const S of h){const D=S.key,T=w.get(D);T!==void 0?_[T]={key:D,schema:_[T].schema.concat(S.schema)}:_.push(S)}return _}}},9556(d,g,o){const{assert:n}=o(3115),b=o(680),y=o(9415),v=o(3541),r=o(8013),i={};d.exports=b.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(l,c)=>l.ref(c),jsonSchema(l,c,a,x){if(!l.$_terms.link)return c;const{ref:f}=l.$_terms.link[0];return f.ancestor==="root"||f.ancestor>0?(c.$ref=`#/${f.path.map(h=>`properties/${h}`).join("/")}`,c):(f.path.length===1?c.$ref=`#/$defs/${f.path[0]}`:c.$ref=`#/${f.path.slice(1).map(h=>`properties/${h}`).join("/")}`,c)},validate(l,{schema:c,state:a,prefs:x,error:f}){n(c.$_terms.link,"Uninitialized link schema");const h=c._flags.maxRecursion;if(h!==void 0&&a.schemas.filter(S=>S.schema===c).length>h)return{value:l,errors:f("link.maxRecursion",{limit:h})};const _=i.generate(c,l,a,x),w=c.$_terms.link[0].ref;try{return _.$_validate(l,a.nest(_,`link:${w.display}:${_.type}`),x)}catch(S){if(!(S instanceof RangeError))throw S;return{value:l,errors:f("link.depth")}}},generate:(l,c,a,x)=>i.generate(l,c,a,x),rules:{ref:{method(l){n(!this.$_terms.link,"Cannot reinitialize schema"),l=v.ref(l),n(l.type==="value"||l.type==="local","Invalid reference type:",l.type),n(l.type==="local"||l.ancestor==="root"||l.ancestor>0,"Link cannot reference itself");const c=this.clone();return c.$_terms.link=[{ref:l}],c}},relative:{method(l=!0){return this.$_setFlag("relative",l)}},maxRecursion:{method(l){return n(Number.isSafeInteger(l)&&l>=1,"limit must be a positive integer"),this.$_setFlag("maxRecursion",l)}}},messages:{"link.depth":"{{#label}} exceeds maximum recursion depth supported by the runtime","link.maxRecursion":"{{#label}} exceeds maximum recursion depth of {{#limit}}"},overrides:{concat(l){n(this.$_terms.link,"Uninitialized link schema"),n(y.isSchema(l),"Invalid schema object"),n(l.type!=="link","Cannot merge type link with another link");const c=this.clone();return c.$_terms.whens||(c.$_terms.whens=[]),c.$_terms.whens.push({concat:l}),c.$_mutateRebuild()}},manifest:{build:(l,c)=>(n(c.link,"Invalid link description missing link"),l.ref(c.link))}}),i.generate=function(l,c,a,x){let f=a.mainstay.links.get(l);if(f)return f._generate(c,a,x).schema;const h=l.$_terms.link[0].ref,{perspective:_,path:w}=i.perspective(h,a);i.assert(_,"which is outside of schema boundaries",h,l,a,x);try{f=w.length?_.$_reach(w):_}catch{i.assert(!1,"to non-existing schema",h,l,a,x)}return i.assert(f.type!=="link","which is another link",h,l,a,x),l._flags.relative||a.mainstay.links.set(l,f),f._generate(c,a,x).schema}
89,i.perspective=function(l,c){if(l.type==="local"){for(const{schema:a,key:x}of c.schemas){if((a._flags.id||x)===l.path[0])return{perspective:a,path:l.path.slice(1)};if(a.$_terms.shared){for(const f of a.$_terms.shared)if(f._flags.id===l.path[0])return{perspective:f,path:l.path.slice(1)}}}return{perspective:null,path:null}}return l.ancestor==="root"?{perspective:c.schemas[c.schemas.length-1].schema,path:l.path}:{perspective:c.schemas[l.ancestor]&&c.schemas[l.ancestor].schema,path:l.path}},i.assert=function(l,c,a,x,f,h){l||n(!1,`"${r.label(x._flags,f,h)}" contains link reference "${a.display}" ${c}`)}},4709(d,g,o){const{assert:n}=o(3115),b=o(680),y=o(9415),v={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(r){const i=r.toString(),l=i.indexOf("."),c=i.indexOf("e");return(l<0?0:(c<0?i.length:c)-l-1)+(c<0?0:Math.max(0,-parseInt(i.slice(c+1))))}};d.exports=b.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(r,{schema:i,error:l}){if(!r.match(v.numberRx))return;r=r.trim();const c={value:parseFloat(r)};if(c.value===0&&(c.value=0),!i._flags.unsafe)if(r.match(/e/i)){if(v.extractSignificantDigits(r)!==v.extractSignificantDigits(String(c.value)))return c.errors=l("number.unsafe"),c}else{const a=c.value.toString();if(a.match(/e/i))return c;if(a!==v.normalizeDecimal(r))return c.errors=l("number.unsafe"),c}return c}},validate(r,{schema:i,error:l,prefs:c}){if(r===1/0||r===-1/0)return{value:r,errors:l("number.infinity")};if(!y.isNumber(r))return{value:r,errors:l("number.base")};const a={value:r};if(c.convert){const x=i.$_getRule("precision");if(x){const f=Math.pow(10,x.args.limit);a.value=Math.round(a.value*f)/f}}return a.value===0&&(a.value=0),!i._flags.unsafe&&(r>Number.MAX_SAFE_INTEGER||r<Number.MIN_SAFE_INTEGER)&&(a.errors=l("number.unsafe")),a},rules:{compare:{method:!1,validate:(r,i,{limit:l},{name:c,operator:a,args:x})=>y.compare(r,l,a)?r:i.error("number."+c,{limit:x.limit,value:r}),args:[{name:"limit",ref:!0,assert:y.isNumber,message:"must be a number"}]},greater:{method(r){return this.$_addRule({name:"greater",method:"compare",args:{limit:r},operator:">"})},jsonSchema:(r,i)=>(i.exclusiveMinimum=r.args.limit,i)},integer:{method(){return this.$_addRule("integer")},validate:(r,i)=>Math.trunc(r)-r===0?r:i.error("number.integer"),jsonSchema:(r,i)=>(i.type="integer",i)},less:{method(r){return this.$_addRule({name:"less",method:"compare",args:{limit:r},operator:"<"})},jsonSchema:(r,i)=>(i.exclusiveMaximum=r.args.limit,i)},max:{method(r){return this.$_addRule({name:"max",method:"compare",args:{limit:r},operator:"<="})},jsonSchema:(r,i)=>(i.maximum=r.args.limit,i)},min:{method(r){return this.$_addRule({name:"min",method:"compare",args:{limit:r},operator:">="})},jsonSchema:(r,i)=>(i.minimum=r.args.limit,i)},multiple:{method(r){const i=typeof r=="number"?v.decimalPlaces(r):null,l=Math.pow(10,i);return this.$_addRule({name:"multiple",args:{base:r,baseDecimalPlace:i,pfactor:l}})},validate:(r,i,{base:l,baseDecimalPlace:c,pfactor:a},x)=>v.decimalPlaces(r)>c?i.error("number.multiple",{multiple:x.args.base,value:r}):Math.round(a*r)%Math.round(a*l)===0?r:i.error("number.multiple",{multiple:x.args.base,value:r}),jsonSchema:(r,i)=>(i.multipleOf=r.args.base,i),args:[{name:"base",ref:!0,assert:r=>typeof r=="number"&&isFinite(r)&&r>0,message:"must be a positive number"},"baseDecimalPlace","pfactor"],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(r,i)=>Number.isSafeInteger(r)&&r>=0&&r<=65535?r:i.error("number.port"),jsonSchema:(r,i)=>(i.type="integer",i.minimum=0,i.maximum=65535,i)},positive:{method(){return this.sign("positive")}},precision:{method(r){return n(Number.isSafeInteger(r),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:r}})},validate(r,i,{limit:l}){const c=r.toString().match(v.precisionRx);return Math.max((c[1]?c[1].length:0)-(c[2]?parseInt(c[2],10):0),0)<=l?r:i.error("number.precision",{limit:l,value:r})},convert:!0},sign:{method(r){return n(["negative","positive"].includes(r),"Invalid sign",r),this.$_addRule({name:"sign",args:{sign:r}})},validate:(r,i,{sign:l})=>l==="negative"&&r<0||l==="positive"&&r>0?r:i.error(`number.${l}`),jsonSchema:(r,i)=>(r.args.sign==="positive"?i.exclusiveMinimum=0:i.exclusiveMaximum=0,i)},unsafe:{method(r=!0){return n(typeof r=="boolean","enabled must be a boolean"),this.$_setFlag("unsafe",r)}}},cast:{string:{from:r=>typeof r=="number",to:(r,i)=>r.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}
89),v.extractSignificantDigits=function(r){return r.replace(v.exponentialPartRegex,"").replace(v.dotRegex,"").replace(v.trailingZerosRegex,"").replace(v.leadingSignAndZerosRegex,"")},v.normalizeDecimal=function(r){return(r=r.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&r.endsWith("0")&&(r=r.replace(/0+$/,"")),r==="-0"?"0":r}},7487(d,g,o){const n=o(2888);d.exports=n.extend({type:"object",cast:{map:{from:b=>b&&typeof b=="object",to:(b,y)=>new Map(Object.entries(b))}}})},9033(d,g,o){const{assert:n,escapeRegex:b}=o(3115),{isDomainValid:y,isEmailValid:v,ipRegex:r,uriRegex:i}=o(9089),l=o(7368),c=o(680),a=o(9415),x={tlds:l.tlds instanceof Set&&{tlds:{allow:l.tlds,deny:null}},base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:{withPrefix:/^0x[0-9a-f]+$/i,withOptionalPrefix:/^(?:0x)?[0-9a-f]+$/i,withoutPrefix:/^[0-9a-f]+$/i},ipRegex:r({cidr:"forbidden"}).regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":"}","[":"]","(":")","":""},guidVersions:{uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5",uuidv6:"6",uuidv7:"7",uuidv8:"8"},guidSeparators:new Set([void 0,!0,!1,"-",":"]),normalizationForms:["NFC","NFD","NFKC","NFKD"]};d.exports=c.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(f,{schema:h,state:_,prefs:w}){const S=h.$_getRule("normalize");S&&(f=f.normalize(S.args.form));const D=h.$_getRule("case");D&&(f=D.args.direction==="upper"?f.toLocaleUpperCase():f.toLocaleLowerCase());const T=h.$_getRule("trim");if(T&&T.args.enabled&&(f=f.trim()),h.$_terms.replacements)for(const k of h.$_terms.replacements)f=f.replace(k.pattern,k.replacement);const E=h.$_getRule("hex");if(E&&E.args.options.byteAligned&&f.length%2!=0&&(f=`0${f}`),h.$_getRule("isoDate")){const k=x.isoDate(f);k&&(f=k)}if(h._flags.truncate){const k=h.$_getRule("max");if(k){let I=k.args.limit;if(a.isResolvable(I)&&(I=I.resolve(f,_,w),!a.limit(I)))return{value:f,errors:h.$_createError("any.ref",I,{ref:k.args.limit,arg:"limit",reason:"must be a positive integer"},_,w)};f=f.slice(0,I)}}return{value:f}}},validate(f,{schema:h,error:_}){if(typeof f!="string")return{value:f,errors:_("string.base")};if(f===""){const w=h.$_getRule("min");return w&&w.args.limit===0?void 0:{value:f,errors:_("string.empty")}}},jsonSchema(f,h,_,w){var S;if(!((S=f._valids)!==null&&S!==void 0&&S.has("")||f._flags.only)){const D=f.$_getRule("min"),T=f.$_getRule("length");(!D||D.args.limit>0)&&(!T||T.args.limit>0)&&(h.minLength=1)}return h},rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(f,h)=>/^[a-zA-Z0-9]+$/.test(f)?f:h.error("string.alphanum")},base64:{method(f={}){return a.assertOptions(f,["paddingRequired","urlSafe"]),f={urlSafe:!1,paddingRequired:!0,...f},n(typeof f.paddingRequired=="boolean","paddingRequired must be boolean"),n(typeof f.urlSafe=="boolean","urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:f}})},validate:(f,h,{options:_})=>x.base64Regex[_.paddingRequired][_.urlSafe].test(f)?f:h.error("string.base64"),jsonSchema:(f,h)=>(h.format="base64",h)},case:{method(f){return n(["lower","upper"].includes(f),"Invalid case:",f),this.$_addRule({name:"case",args:{direction:f}})},validate:(f,h,{direction:_})=>_==="lower"&&f===f.toLocaleLowerCase()||_==="upper"&&f===f.toLocaleUpperCase()?f:h.error(`string.${_}case`),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(f,h){let _=f.length,w=0,S=1;for(;_--;){const D=f.charAt(_)*S;w+=D-9*(D>9),S^=3}return w>0&&w%10==0?f:h.error("string.creditCard")}},dataUri:{method(f={}){return a.assertOptions(f,["paddingRequired"]),f={paddingRequired:!0,...f},n(typeof f.paddingRequired=="boolean","paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:f}})},validate(f,h,{options:_}){const w=f.match(x.dataUriRegex);return w&&(!w[2]||w[2]!=="base64"||x.base64Regex[_.paddingRequired].false.test(w[3]))?f:h.error("string.dataUri")},jsonSchema:(f,h)=>(h.format="data-uri",h)},domain:{method(f){f&&a.assertOptions(f,["allowFullyQualified","allowUnicode","allowUnderscore","maxDomainSegments","minDomainSegments","tlds"]);const h=x.addressOptions(f);return this.$_addRule({name:"domain",args:{options:f},address:h})},validate:(f,h,_,{address:w})=>y(f,w)?f:h.error("string.domain")},email:{method(f={}){a.assertOptions(f,["allowFullyQualified","allowUnicode","allowUnderscore","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),n(f.multiple===void 0||typeof f.multiple=="boolean","multiple option must be an boolean");const h=x.addressOptions(f),_=new RegExp(`\\s*[${f.separator?b(f.separator):","}
89]\\s*`);return this.$_addRule({name:"email",args:{options:f},regex:_,address:h})},validate(f,h,{options:_},{regex:w,address:S}){const D=_.multiple?f.split(w):[f],T=[];for(const E of D)v(E,S)||T.push(E);return T.length?h.error("string.email",{value:f,invalids:T}):f},jsonSchema:(f,h)=>(h.format="email",h)},guid:{alias:"uuid",method(f={}){a.assertOptions(f,["version","separator","wrapper"]),n(f.wrapper===void 0||typeof f.wrapper=="boolean"||typeof f.wrapper=="string"&&typeof x.guidBrackets[f.wrapper]=="string",`"wrapper" must be true, false, or one of "${Object.keys(x.guidBrackets).filter(Boolean).join('", "')}"`);let h="";if(f.version){const T=[].concat(f.version);n(T.length>=1,"version must have at least 1 valid version specified");const E=new Set;for(let k=0;k<T.length;++k){const I=T[k];n(typeof I=="string","version at position "+k+" must be a string");const L=x.guidVersions[I.toLowerCase()];n(L,"version at position "+k+" must be one of "+Object.keys(x.guidVersions).join(", ")),n(!E.has(L),"version at position "+k+" must not be a duplicate"),h+=L,E.add(L)}}n(x.guidSeparators.has(f.separator),'separator must be one of true, false, "-", or ":"');const _=f.separator===void 0?"[:-]?":f.separator===!0?"[:-]":f.separator===!1?"[]?":`\\${f.separator}`;let w,S;f.wrapper===void 0?(w="[\\[{\\(]?",S="[\\]}\\)]?"):f.wrapper===!0?(w="[\\[{\\(]",S="[\\]}\\)]"):f.wrapper===!1?(w="",S=""):(w=b(f.wrapper),S=b(x.guidBrackets[f.wrapper]));const D=new RegExp(`^(${w})[0-9A-F]{8}(${_})[0-9A-F]{4}\\2?[${h||"0-9A-F"}][0-9A-F]{3}\\2?[${h?"89AB":"0-9A-F"}][0-9A-F]{3}\\2?[0-9A-F]{12}(${S})$`,"i");return this.$_addRule({name:"guid",args:{options:f},regex:D})},validate(f,h,_,{regex:w}){const S=w.exec(f);if(!S)return h.error("string.guid");const D=S[1],T=S[S.length-1];return(D||T)&&x.guidBrackets[D]!==T?h.error("string.guid"):f},jsonSchema:(f,h)=>(h.format="uuid",h)},hex:{method(f={}){return a.assertOptions(f,["byteAligned","prefix"]),f={byteAligned:!1,prefix:!1,...f},n(typeof f.byteAligned=="boolean","byteAligned must be boolean"),n(typeof f.prefix=="boolean"||f.prefix==="optional",'prefix must be boolean or "optional"'),this.$_addRule({name:"hex",args:{options:f}})},validate:(f,h,{options:_})=>(_.prefix==="optional"?x.hexRegex.withOptionalPrefix:_.prefix===!0?x.hexRegex.withPrefix:x.hexRegex.withoutPrefix).test(f)?_.byteAligned&&f.length%2!=0?h.error("string.hexAlign"):f:h.error("string.hex"),jsonSchema:(f,h)=>(h.format="hex",h)},hostname:{method(){return this.$_addRule("hostname")},validate:(f,h)=>y(f,{minDomainSegments:1})||x.ipRegex.test(f)?f:h.error("string.hostname"),jsonSchema:(f,h)=>(h.format="hostname",h)},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(f={}){a.assertOptions(f,["cidr","version"]);const{cidr:h,versions:_,regex:w}=r(f),S=f.version?_:void 0;return this.$_addRule({name:"ip",args:{options:{cidr:h,version:S}},regex:w})},validate:(f,h,{options:_},{regex:w})=>w.test(f)?f:_.version?h.error("string.ipVersion",{value:f,cidr:_.cidr,version:_.version}):h.error("string.ip",{value:f,cidr:_.cidr}),jsonSchema(f,h){const _=f.args.options.version;return _&&_.length===1?h.format=_[0]:h.format="ip",h}},isoDate:{method(){return this.$_addRule("isoDate")},validate:(f,{error:h})=>x.isoDate(f)?f:h("string.isoDate"),jsonSchema:(f,h)=>(h.format="date-time",h)},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(f,h)=>x.isoDurationRegex.test(f)?f:h.error("string.isoDuration"),jsonSchema:(f,h)=>(h.format="duration",h)},length:{method(f,h){return x.length(this,"length",f,"=",h)},validate(f,h,{limit:_,encoding:w},{name:S,operator:D,args:T}){const E=!w&&f.length;return a.compare(E,_,D)?f:h.error("string."+S,{limit:T.limit,value:f,encoding:w})},jsonSchema:(f,h)=>(h.minLength=f.args.limit,h.maxLength=f.args.limit,h),args:[{name:"limit",ref:!0,assert:a.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(f,h){return x.length(this,"max",f,"<=",h)},jsonSchema:(f,h)=>(h.maxLength=f.args.limit,h),args:["limit","encoding"]},min:{method(f,h){return x.length(this,"min",f,">=",h)},jsonSchema:(f,h)=>(f.args.limit>0&&(h.minLength=f.args.limit),h),args:["limit","encoding"]},normalize:{method(f="NFC"){return n(x.normalizationForms.includes(f),"normalization form must be one of "+x.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:f}})},validate:(f,{error:h},{form:_})=>f===f.normalize(_)?f:h("string.normalize",{value:f,form:_}),convert:!0},pattern:{alias:"regex",method(f,h={}){n(f instanceof RegExp,"regex must be a RegExp"),n(!f.flags.includes("g")&&!f.flags.includes("y"),"regex should not use global or sticky mode"),typeof h=="string"&&(h={name:h}),a.assertOptions(h,["invert","name"]);const _=["string.pattern",h.invert?".invert":"",h.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:f,options:h},errorCode:_})},validate:(f,h,{regex:_,options:w},{errorCode:S})=>_.test(f)^w.invert?f:h.error(S,{name:w.name,regex:_,value:f}),jsonSchema(f,h){const _=f.args.regex.source;return h.allOf?h.allOf.push({pattern:_}):h.pattern!==void 0?(h.allOf=[{pattern:h.pattern},{pattern:_}],delete h.pattern):h.pattern=_,h},args:["regex","options"],multi:!0},replace:{method(f,h){typeof f=="string"&&(f=new RegExp(b(f),"g")),n(f instanceof RegExp,"pattern must be a RegExp"),n(typeof h=="string","replacement must be a String");const _=this.clone();return _.$_terms.replacements||(_.$_terms.replacements=[]),_.$_terms.replacements.push({pattern:f,replacement:h}),_}},token:{method(){return this.$_addRule("token")}
89,validate:(f,h)=>/^\w+$/.test(f)?f:h.error("string.token"),jsonSchema:(f,h)=>(h.format="token",h)},trim:{method(f=!0){return n(typeof f=="boolean","enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:f}})},validate:(f,h,{enabled:_})=>_&&f!==f.trim()?h.error("string.trim"):f,convert:!0},truncate:{method(f=!0){return n(typeof f=="boolean","enabled must be a boolean"),this.$_setFlag("truncate",f)}},uppercase:{method(){return this.case("upper")}},uri:{method(f={}){a.assertOptions(f,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme","encodeUri"]),f.domain&&a.assertOptions(f.domain,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:h,scheme:_}=i(f),w=f.domain?x.addressOptions(f.domain):null;return this.$_addRule({name:"uri",args:{options:f},regex:h,domain:w,scheme:_})},validate(f,h,{options:_},{regex:w,domain:S,scheme:D}){if(["http:/","https:/"].includes(f))return h.error("string.uri");let T=w.exec(f);if(!T&&h.prefs.convert&&_.encodeUri){const E=encodeURI(f);T=w.exec(E),T&&(f=E)}if(T){const E=T[1]||T[2];return!S||_.allowRelative&&!E||y(E,S)?f:h.error("string.domain",{value:E})}return _.relativeOnly?h.error("string.uriRelativeOnly"):_.scheme?h.error("string.uriCustomScheme",{scheme:D,value:f}):h.error("string.uri")},jsonSchema:(f,h)=>(h.format="uri",h)}},manifest:{build(f,h){if(h.replacements)for(const{pattern:_,replacement:w}of h.replacements)f=f.replace(_,w);return f}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),x.addressOptions=function(f){if(!f)return x.tlds||f;if(n(f.minDomainSegments===void 0||Number.isSafeInteger(f.minDomainSegments)&&f.minDomainSegments>0,"minDomainSegments must be a positive integer"),n(f.maxDomainSegments===void 0||Number.isSafeInteger(f.maxDomainSegments)&&f.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),f.tlds===!1)return f;if(f.tlds===!0||f.tlds===void 0)return n(x.tlds,"Built-in TLD list disabled"),Object.assign({},f,x.tlds);n(typeof f.tlds=="object","tlds must be true, false, or an object");const h=f.tlds.deny;if(h)return Array.isArray(h)&&(f=Object.assign({},f,{tlds:{deny:new Set(h)}})),n(f.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),n(!f.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),x.validateTlds(f.tlds.deny,"tlds.deny"),f;const _=f.tlds.allow;return _?_===!0?(n(x.tlds,"Built-in TLD list disabled"),Object.assign({},f,x.tlds)):(Array.isArray(_)&&(f=Object.assign({},f,{tlds:{allow:new Set(_)}})),n(f.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),x.validateTlds(f.tlds.allow,"tlds.allow"),f):{...f,tlds:!1}},x.validateTlds=function(f,h){for(const _ of f)n(y(_,{minDomainSegments:1,maxDomainSegments:1}),`${h} must contain valid top level domain names`)},x.isoDate=function(f){if(!a.isIsoDate(f))return null;/T.*[+-]\d\d$/.test(f)&&(f+=":00");const h=new Date(f);return isNaN(h.getTime())?null:h.toISOString()},x.length=function(f,h,_,w,S){return n(!S||!1,"Invalid encoding:",S),f.$_addRule({name:h,method:"length",args:{limit:_,encoding:S},operator:w})}},5008(d,g,o){const{assert:n}=o(3115),b=o(680),y={};y.Map=class extends Map{slice(){return new y.Map(this)}},d.exports=b.extend({type:"symbol",terms:{map:{init:new y.Map}},coerce:{method(v,{schema:r,error:i}){const l=r.$_terms.map.get(v);return l&&(v=l),r._flags.only&&typeof v!="symbol"?{value:v,errors:i("symbol.map",{map:r.$_terms.map})}:{value:v}}},validate(v,{error:r}){if(typeof v!="symbol")return{value:v,errors:r("symbol.base")}},rules:{map:{method(v){v&&!v[Symbol.iterator]&&typeof v=="object"&&(v=Object.entries(v)),n(v&&v[Symbol.iterator],"Iterable must be an iterable or object");const r=this.clone(),i=[];for(const l of v){n(l&&l[Symbol.iterator],"Entry must be an iterable");const[c,a]=l;n(typeof c!="object"&&typeof c!="function"&&typeof c!="symbol","Key must not be of type object, function, or Symbol"),n(typeof a=="symbol","Value must be a Symbol"),r.$_terms.map.set(c,a),i.push(a)}return r.valid(...i)}}},manifest:{build:(v,r)=>(r.map&&(v=v.map(r.map)),v)},jsonSchema(v,r,i,l){const c=v.$_terms.map;return c.size?{anyOf:Array.from(c.keys()).map(a=>({const:a}))}:{}},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})},1190(d,g,o){const{assert:n,clone:b,ignore:y,reach:v}
89=o(3115),r=o(9415),i=o(8013),l=o(4957),c={result:Symbol("result")};g.entry=function(a,x,f){let h=r.defaults;f&&(n(f.warnings===void 0,"Cannot override warnings preference in synchronous validation"),n(f.artifacts===void 0,"Cannot override artifacts preference in synchronous validation"),h=r.preferences(r.defaults,f));const _=c.entry(a,x,h);n(!_.mainstay.externals.length,"Schema with external rules must use validateAsync()");const w={value:_.value};return _.error&&(w.error=_.error),_.mainstay.warnings.length&&(w.warning=i.details(_.mainstay.warnings)),_.mainstay.debug&&(w.debug=_.mainstay.debug),_.mainstay.artifacts&&(w.artifacts=_.mainstay.artifacts),w},g.entryAsync=async function(a,x,f){let h=r.defaults;f&&(h=r.preferences(r.defaults,f));const _=c.entry(a,x,h),w=_.mainstay;if(_.error)throw w.debug&&(_.error.debug=w.debug),_.error;if(w.externals.length){let D=_.value;const T=[];for(const E of w.externals){const k=E.state.path,I=E.schema.type==="link"?w.links.get(E.schema):null;let L,U,z=D;const Z=k.length?[D]:[],H=k.length?v(a,k):a;if(k.length){L=k[k.length-1];let ee=D;for(const oe of k.slice(0,-1))ee=ee[oe],Z.unshift(ee);U=Z[0],z=U[L]}try{const ee=(he,le)=>(I||E.schema).$_createError(he,z,le,E.state,h),oe=await E.method(z,{schema:E.schema,linked:I,state:E.state,prefs:f,original:H,error:ee,errorsArray:c.errorsArray,warn:(he,le)=>w.warnings.push((I||E.schema).$_createError(he,z,le,E.state,h)),message:(he,le)=>(I||E.schema).$_createError("external",z,le,E.state,h,{messages:he})});if(oe===void 0||oe===z)continue;if(oe instanceof i.Report){if(w.tracer.log(E.schema,E.state,"rule","external","error"),T.push(oe),h.abortEarly)break;continue}if(Array.isArray(oe)&&oe[r.symbols.errors]){if(w.tracer.log(E.schema,E.state,"rule","external","error"),T.push(...oe),h.abortEarly)break;continue}U?(w.tracer.value(E.state,"rule",z,oe,"external"),U[L]=oe):(w.tracer.value(E.state,"rule",D,oe,"external"),D=oe)}catch(ee){throw h.errors.label&&(ee.message+=` (${E.label})`),ee}}if(_.value=D,T.length)throw _.error=i.process(T,a,h),w.debug&&(_.error.debug=w.debug),_.error}if(!h.warnings&&!h.debug&&!h.artifacts)return _.value;const S={value:_.value};return w.warnings.length&&(S.warning=i.details(w.warnings)),w.debug&&(S.debug=w.debug),w.artifacts&&(S.artifacts=w.artifacts),S},g.standard=function(a,x,f){const h=f==null?void 0:f.libraryOptions;return x.isAsync()?g.entryAsync(a,x,h):g.entry(a,x,h)},c.Mainstay=class{constructor(a,x,f){this.externals=[],this.warnings=[],this.tracer=a,this.debug=x,this.links=f,this.shadow=null,this.artifacts=null,this._snapshots=[]}snapshot(){this._snapshots.push({externals:this.externals.length,warnings:this.warnings.length})}restore(){const a=this._snapshots.pop();this.externals.length=a.externals,this.warnings.length=a.warnings}commit(){this._snapshots.pop()}},c.entry=function(a,x,f){const{tracer:h,cleanup:_}=c.tracer(x,f),w=f.debug?[]:null,S=x._ids._schemaChain?new Map:null,D=new c.Mainstay(h,w,S),T=x._ids._schemaChain?[{schema:x}]:null,E=new l([],[],{mainstay:D,schemas:T}),k=g.validate(a,x,E,f);_&&x.$_root.untrace();const I=i.process(k.errors,a,f);return{value:k.value,error:I,mainstay:D}},c.tracer=function(a,x){return a.$_root._tracer?{tracer:a.$_root._tracer._register(a)}:x.debug?(n(a.$_root.trace,"Debug mode not supported"),{tracer:a.$_root.trace()._register(a),cleanup:!0}):{tracer:c.ignore}},g.validate=function(a,x,f,h,_={}){if(x.$_terms.whens&&(x=x._generate(a,f,h).schema),x._preferences&&(h=c.prefs(x,h)),x._cache&&h.cache){const I=x._cache.get(a);if(f.mainstay.tracer.debug(f,"validate","cached",!!I),I)return I}x._flags.failover!==void 0&&f.snapshot();const w=(I,L,U)=>x.$_createError(I,a,L,U||f,h),S={original:a,prefs:h,schema:x,state:f,error:w,errorsArray:c.errorsArray,warn:(I,L,U)=>f.mainstay.warnings.push(w(I,L,U)),message:(I,L)=>x.$_createError("custom",a,L,f,h,{messages:I})};f.mainstay.tracer.entry(x,f);const D=x._definition;if(D.prepare&&a!==void 0&&h.convert){const I=D.prepare(a,S);if(I){if(f.mainstay.tracer.value(f,"prepare",a,I.value),I.errors)return c.finalize(I.value,[].concat(I.errors),S);a=I.value}}if(D.coerce&&a!==void 0&&h.convert&&(!D.coerce.from||D.coerce.from.includes(typeof a))){const I=D.coerce.method(a,S);if(I){if(f.mainstay.tracer.value(f,"coerced",a,I.value),I.errors)return c.finalize(I.value,[].concat(I.errors),S);a=I.value}}const T=x._flags.empty;T&&T.$_match(c.trim(a,x),f.nest(T),r.defaults)&&(f.mainstay.tracer.value(f,"empty",a,void 0),a=void 0);const E=_.presence||x._flags.presence||(x._flags._endedSwitch?null:h.presence);if(a===void 0){if(E==="forbidden")return c.finalize(a,null,S);if(E==="required")return c.finalize(a,[x.$_createError("any.required",a,null,f,h)],S);if(E==="optional"){if(x._flags.default!==r.symbols.deepDefault)return c.finalize(a,null,S);f.mainstay.tracer.value(f,"default",a,{}),a={}}}else if(E==="forbidden")return c.finalize(a,[x.$_createError("any.unknown",a,null,f,h)],S);const k=[];if(x._valids){const I=x._valids.get(a,f,h,x._flags.insensitive);if(I)return h.convert&&(f.mainstay.tracer.value(f,"valids",a,I.value),a=I.value),f.mainstay.tracer.filter(x,f,"valid",I),c.finalize(a,null,S);if(x._flags.only){const L=x.$_createError("any.only",a,{valids:x._valids.values({display:!0})},f,h);if(h.abortEarly)return c.finalize(a,[L],S);k.push(L)}}if(x._invalids){const I=x._invalids.get(a,f,h,x._flags.insensitive);
89if(I){f.mainstay.tracer.filter(x,f,"invalid",I);const L=x.$_createError("any.invalid",a,{invalids:x._invalids.values({display:!0})},f,h);if(h.abortEarly)return c.finalize(a,[L],S);k.push(L)}}if(D.validate){const I=D.validate(a,S);if(I&&(f.mainstay.tracer.value(f,"base",a,I.value),a=I.value,I.errors)){if(!Array.isArray(I.errors))return k.push(I.errors),c.finalize(a,k,S);if(I.errors.length)return k.push(...I.errors),c.finalize(a,k,S)}}return x._rules.length?c.rules(a,k,S):c.finalize(a,k,S)},c.rules=function(a,x,f){const{schema:h,state:_,prefs:w}=f;for(const S of h._rules){const D=h._definition.rules[S.method];if(D.convert&&w.convert){_.mainstay.tracer.log(h,_,"rule",S.name,"full");continue}let T,E=S.args;if(S._resolve.length){E=Object.assign({},E);for(const I of S._resolve){const L=D.argsByName.get(I),U=E[I].resolve(a,_,w),z=L.normalize?L.normalize(U):U,Z=r.validateArg(z,null,L);if(Z){T=h.$_createError("any.ref",U,{arg:I,ref:E[I],reason:Z},_,w);break}E[I]=z}}T=T||D.validate(a,f,E,S);const k=c.rule(T,S);if(k.errors){if(_.mainstay.tracer.log(h,_,"rule",S.name,"error"),S.warn){_.mainstay.warnings.push(...k.errors);continue}if(w.abortEarly)return c.finalize(a,k.errors,f);x.push(...k.errors)}else _.mainstay.tracer.log(h,_,"rule",S.name,"pass"),_.mainstay.tracer.value(_,"rule",a,k.value,S.name),a=k.value}return c.finalize(a,x,f)},c.rule=function(a,x){return a instanceof i.Report?(c.error(a,x),{errors:[a],value:null}):Array.isArray(a)&&a[r.symbols.errors]?(a.forEach(f=>c.error(f,x)),{errors:a,value:null}):{errors:null,value:a}},c.error=function(a,x){return x.message&&a._setTemplate(x.message),a},c.finalize=function(a,x,f){x=x||[];const{schema:h,state:_,prefs:w}=f;if(h._flags.failover!==void 0){let D=!1;if(x.length){const T=c.default("failover",void 0,x,f);T!==void 0&&(_.mainstay.tracer.value(_,"failover",a,T),a=T,x=[],D=!0)}D?_.restore():_.commit()}if(x.length&&h._flags.error)if(typeof h._flags.error=="function"){x=h._flags.error(x),Array.isArray(x)||(x=[x]);for(const D of x)n(D instanceof Error||D instanceof i.Report,"error() must return an Error object")}else x=[h._flags.error];if(a===void 0){const D=c.default("default",a,x,f);_.mainstay.tracer.value(_,"default",a,D),a=D}if(h._flags.cast&&a!==void 0){const D=h._definition.cast[h._flags.cast];if(D.from(a)){const T=D.to(a,f);_.mainstay.tracer.value(_,"cast",a,T,h._flags.cast),a=T}}if(h.$_terms.externals&&w.externals&&w._externals!==!1)for(const{method:D}of h.$_terms.externals)_.mainstay.externals.push({method:D,schema:h,state:_,label:i.label(h._flags,_,w)});const S={value:a,errors:x.length?x:null};return h._flags.result&&(S.value=h._flags.result==="strip"?void 0:f.original,_.mainstay.tracer.value(_,h._flags.result,a,S.value),_.shadow(a,h._flags.result)),h._cache&&w.cache!==!1&&!h._refs.length&&h._cache.set(f.original,S),a===void 0||S.errors||h._flags.artifact===void 0||(_.mainstay.artifacts=_.mainstay.artifacts||new Map,_.mainstay.artifacts.has(h._flags.artifact)||_.mainstay.artifacts.set(h._flags.artifact,[]),_.mainstay.artifacts.get(h._flags.artifact).push(_.path)),S},c.prefs=function(a,x){const f=x===r.defaults;return f&&a._preferences[r.symbols.prefs]?a._preferences[r.symbols.prefs]:(x=r.preferences(x,a._preferences),f&&(a._preferences[r.symbols.prefs]=x),x)},c.default=function(a,x,f,h){const{schema:_,state:w,prefs:S}=h,D=_._flags[a];if(S.noDefaults||D===void 0)return x;if(w.mainstay.tracer.log(_,w,"rule",a,"full"),!D)return D;if(typeof D=="function"){const T=D.length?[b(w.ancestors[0]),h]:[];try{return D(...T)}catch(E){return void f.push(_.$_createError(`any.${a}`,null,{error:E},w,S))}}return typeof D!="object"?D:D[r.symbols.literal]?D.literal:r.isResolvable(D)?D.resolve(x,w,S):b(D)},c.trim=function(a,x){if(typeof a!="string")return a;const f=x.$_getRule("trim");return f&&f.args.enabled?a.trim():a},c.ignore={active:!1,debug:y,entry:y,filter:y,log:y,resolve:y,value:y},c.errorsArray=function(){const a=[];return a[r.symbols.errors]=!0,a}},6220(d,g,o){const{assert:n,deepEqual:b}=o(3115),y=o(9415),v={};d.exports=v.Values=class{constructor(r,i){this._values=new Set(r),this._refs=new Set(i),this._lowercase=v.lowercases(r),this._override=!1}get length(){return this._values.size+this._refs.size}add(r,i){y.isResolvable(r)?this._refs.has(r)||(this._refs.add(r),i&&i.register(r)):this.has(r,null,null,!1)||(this._values.add(r),typeof r=="string"&&this._lowercase.set(r.toLowerCase(),r))}static merge(r,i,l){if(r=r||new v.Values,i){if(i._override)return i.clone();for(const c of[...i._values,...i._refs])r.add(c)}if(l)for(const c of[...l._values,...l._refs])r.remove(c);return r.length?r:null}remove(r){y.isResolvable(r)?this._refs.delete(r):(this._values.delete(r),typeof r=="string"&&this._lowercase.delete(r.toLowerCase()))}has(r,i,l,c){return!!this.get(r,i,l,c)}get(r,i,l,c){if(!this.length)return!1;if(this._values.has(r))return{value:r};if(typeof r=="string"&&r&&c){const a=this._lowercase.get(r.toLowerCase());if(a)return{value:a}}if(!this._refs.size&&typeof r!="object")return!1;if(typeof r=="object"){for(const a of this._values)if(b(a,r))return{value:a}}if(i)for(const a of this._refs){const x=a.resolve(r,i,l,null,{in:!0});if(x===void 0)continue;const f=a.in&&typeof x=="object"?Array.isArray(x)?x:Object.keys(x):[x];for(const h of f)if(typeof h==typeof r){if(c&&r&&typeof r=="string"){if(h.toLowerCase()===r.toLowerCase())return{value:h,ref:a}}else if(b(h,r))return{value:h,ref:a}}}return!1}override(){this._override=!0}values(r){if(r&&r.display){const i=[];for(const l of[...this._values,...this._refs])l!==void 0&&i.push(l);return i}return Array.from([...this._values,...this._refs])}clone(){const r=new v.Values(this._values,this._refs);return r._override=this._override,r}concat(r){n(!r._override,"Cannot concat override set of values");const i=new v.Values([...this._values,...r._values],[...this._refs,...r._refs]);return i._override=this._override,i}describe(){const r=[];this._override&&r.push({override:!0});for(const i of this._values.values())r.push(i&&typeof i=="object"?{value:i}:i);for(const i of this._refs.values())r.push(i.describe());return r}},v.Values.prototype[y.symbols.values]=!0,v.Values.prototype.slice=v.Values.prototype.clone,v.lowercases=function(r){const i=new Map;if(r)for(const l of r)typeof l=="string"&&i.set(l.toLowerCase(),l);return i}},9089(d,g,o){o.d(g,{ipRegex:()=>le,isDomainValid:()=>f,isEmailValid:()=>S,uriRegex:()=>he});var n=o(8663);const b={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @
89character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_SEGMENTS_COUNT_MAX:"Domain contains too many segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"};function y(V){return{code:V,error:b[V]}}const v=/[^\x00-\x7f]/,r=/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,i=/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,l=/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,c=/^[a-zA-Z0-9_](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,a=n.URL||URL;function x(V,te={}){if(!V)return y("DOMAIN_NON_EMPTY_STRING");if(typeof V!="string")throw new Error("Invalid input: domain must be a string");if(V.length>256)return y("DOMAIN_TOO_LONG");if(v.test(V)){if(te.allowUnicode===!1)return y("DOMAIN_INVALID_UNICODE_CHARS");V=V.normalize("NFC")}if(r.test(V))return y("DOMAIN_INVALID_CHARS");V=function(ie){ie.includes("%")&&(ie=ie.replace(/%/g,"%25"));try{return new a(`http://${ie}`).host}catch{return ie}}(V),te.allowFullyQualified&&V[V.length-1]==="."&&(V=V.slice(0,-1));const ue=te.minDomainSegments||2,de=V.split(".");if(de.length<ue)return y("DOMAIN_SEGMENTS_COUNT");if(te.maxDomainSegments&&de.length>te.maxDomainSegments)return y("DOMAIN_SEGMENTS_COUNT_MAX");const ce=te.tlds;if(ce){const ie=de[de.length-1].toLowerCase();if(function(me){return!!me.allow}(ce)){if(!ce.allow.has(ie))return y("DOMAIN_FORBIDDEN_TLDS")}else if(ce.deny.has(ie))return y("DOMAIN_FORBIDDEN_TLDS")}for(let ie=0;ie<de.length;++ie){const me=de[ie];if(!me.length)return y("DOMAIN_EMPTY_SEGMENT");if(me.length>63)return y("DOMAIN_LONG_SEGMENT");if(ie<de.length-1){if(te.allowUnderscore){if(!c.test(me))return y("DOMAIN_INVALID_CHARS")}else if(!l.test(me))return y("DOMAIN_INVALID_CHARS")}else if(!i.test(me))return y("DOMAIN_INVALID_TLDS_CHARS")}return null}function f(V,te){return!x(V,te)}var h=o(6984);const _=/[^\x00-\x7f]/,w=new(h.TextEncoder||TextEncoder);function S(V,te){return!function(ue,de={}){if(typeof ue!="string")throw new Error("Invalid input: email must be a string");if(!ue)return y("EMPTY_STRING");const ce=!_.test(ue);if(!ce){if(de.allowUnicode===!1)return y("FORBIDDEN_UNICODE");ue=ue.normalize("NFC")}const ie=ue.split("@");if(ie.length!==2)return ie.length>2?y("MULTIPLE_AT_CHAR"):y("MISSING_AT_CHAR");const[me,be]=ie;if(!me)return y("EMPTY_LOCAL");if(!de.ignoreLength){if(ue.length>254)return y("ADDRESS_TOO_LONG");if(w.encode(me).length>64)return y("LOCAL_TOO_LONG")}return function(Ae,se){const ve=Ae.split(".");for(const Ie of ve){if(!Ie.length)return y("EMPTY_LOCAL_SEGMENT");if(se){if(!T.test(Ie))return y("INVALID_LOCAL_CHARS")}else for(const Fe of Ie){if(T.test(Fe))continue;const xe=D(Fe);if(!E.test(xe))return y("INVALID_LOCAL_CHARS")}}return null}(me,ce)||x(be,de)}(V,te)}function D(V){return Array.from(w.encode(V),te=>String.fromCharCode(te)).join("")}const T=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,E=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"));var k=o(8253),I=o.n(k),L=o(8669),U=o.n(L);const z=function(){const V={},te="\\dA-Fa-f",ue="["+te+"]",de="\\w-\\.~",ce="!\\$&'\\(\\)\\*\\+,;=",ie="%"+te,me=de+ie+ce+":@",be="["+me+"]",Ae="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";V.ipv4address="(?:"+Ae+"\\.){3}
89"+Ae;const se=ue+"{1,4}",ve="(?:"+se+":"+se+"|"+V.ipv4address+")",Ie="(?:"+se+":){6}"+ve,Fe="::(?:"+se+":){5}"+ve,xe="(?:"+se+")?::(?:"+se+":){4}"+ve,Ze="(?:(?:"+se+":){0,1}"+se+")?::(?:"+se+":){3}"+ve,$e="(?:(?:"+se+":){0,2}"+se+")?::(?:"+se+":){2}"+ve,Ne="(?:(?:"+se+":){0,3}"+se+")?::"+se+":"+ve,Ue="(?:(?:"+se+":){0,4}"+se+")?::"+ve,He="(?:(?:"+se+":){0,5}"+se+")?::"+se,Ge="(?:(?:"+se+":){0,6}"+se+")?::";V.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",V.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",V.ipv6address="(?:"+Ie+"|"+Fe+"|"+xe+"|"+Ze+"|"+$e+"|"+Ne+"|"+Ue+"|"+He+"|"+Ge+")",V.ipvFuture="v"+ue+"+\\.["+de+ce+":]+",V.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",V.schemeRegex=new RegExp(V.scheme);const Ye="["+de+ie+ce+":]*",ot="["+de+ie+ce+"]{1,255}",A="(?:\\[(?:"+V.ipv6address+"|"+V.ipvFuture+")\\]|"+V.ipv4address+"|"+ot+")",O="(?:"+Ye+"@)?"+A+"(?::\\d*)?",N="(?:"+Ye+"@)?("+A+")(?::\\d*)?",F=be+"*",q=be+"+",X="(?:\\/"+F+")*",u="\\/(?:"+q+X+")?",R=q+X,B="["+de+ie+ce+"@]+"+X,$="(?:\\/\\/\\/"+F+X+")";return V.hierPart="(?:(?:\\/\\/"+O+X+")|"+u+"|"+R+"|"+$+")",V.hierPartCapture="(?:(?:\\/\\/"+N+X+")|"+u+"|"+R+")",V.relativeRef="(?:(?:\\/\\/"+O+X+")|"+u+"|"+B+"|)",V.relativeRefCapture="(?:(?:\\/\\/"+N+X+")|"+u+"|"+B+"|)",V.query="["+me+"\\/\\?]*(?=#|$)",V.queryWithSquareBrackets="["+me+"\\[\\]\\/\\?]*(?=#|$)",V.fragment="["+me+"\\/\\?]*",V}(),Z={v4Cidr:z.ipv4Cidr,v6Cidr:z.ipv6Cidr,ipv4:z.ipv4address,ipv6:z.ipv6address,ipvfuture:z.ipvFuture};function H(V){const te=z,ue="(?:\\?"+(V.allowQuerySquareBrackets?te.queryWithSquareBrackets:te.query)+")?(?:#"+te.fragment+")?",de=V.domain?te.relativeRefCapture:te.relativeRef;if(V.relativeOnly)return ee(de+ue);let ce="";if(V.scheme){I()(V.scheme instanceof RegExp||typeof V.scheme=="string"||Array.isArray(V.scheme),"scheme must be a RegExp, String, or Array");const me=[].concat(V.scheme);I()(me.length>=1,"scheme must have at least 1 scheme specified");const be=[];for(let Ae=0;Ae<me.length;++Ae){const se=me[Ae];I()(se instanceof RegExp||typeof se=="string","scheme at position "+Ae+" must be a RegExp or String"),se instanceof RegExp?be.push(se.source.toString()):(I()(te.schemeRegex.test(se),"scheme at position "+Ae+" must be a valid scheme"),be.push(U()(se)))}ce=be.join("|")}const ie="(?:"+(ce?"(?:"+ce+")":te.scheme)+":"+(V.domain?te.hierPartCapture:te.hierPart)+")";return ee((V.allowRelative?"(?:"+ie+"|"+de+")":ie)+ue,ce)}function ee(V,te=null){return{raw:V=`(?=.)(?!https?:/(?:$|[^/]))(?!https?:///)(?!https?:[^/])${V}`,regex:new RegExp(`^${V}$`),scheme:te}}const oe=H({});function he(V={}){return V.scheme||V.allowRelative||V.relativeOnly||V.allowQuerySquareBrackets||V.domain?H(V):oe}function le(V={}){const te=V.cidr||"optional";I()(["required","optional","forbidden"].includes(te),"options.cidr must be one of required, optional, forbidden"),I()(V.version===void 0||typeof V.version=="string"||Array.isArray(V.version),"options.version must be a string or an array of string");let ue=V.version||["ipv4","ipv6","ipvfuture"];Array.isArray(ue)||(ue=[ue]),I()(ue.length>=1,"options.version must have at least 1 version specified");for(const ie of ue)I()(typeof ie=="string"&&ie===ie.toLowerCase(),"Invalid options.version value"),I()(["ipv4","ipv6","ipvfuture"].includes(ie),"options.version contains unknown version "+ie+" - must be one of ipv4, ipv6, ipvfuture");ue=Array.from(new Set(ue));const de=`(?:${ue.map(ie=>{if(te==="forbidden")return Z[ie];const me=`\\/${ie==="ipv4"?Z.v4Cidr:Z.v6Cidr}`;return te==="required"?`${Z[ie]}${me}`:`${Z[ie]}(?:${me})?`}).join("|")})`,ce=new RegExp(`^${de}$`);return{cidr:te,versions:ue,regex:ce,raw:de}}},679(d,g){const o={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};g.Parser=class{constructor(n,b={}){if(!b[o.settings]&&b.constants)for(const y in b.constants){const v=b.constants[y];if(v!==null&&!["boolean","number","string"].includes(typeof v))throw new Error(`Formula constant ${y}
89 contains invalid ${typeof v} value type`)}this.settings=b[o.settings]?b:Object.assign({[o.settings]:!0,constants:{},functions:{}},b),this.single=null,this._parts=null,this._parse(n)}_parse(n){let b=[],y="",v=0,r=!1;const i=c=>{if(v)throw new Error("Formula missing closing parenthesis");const a=b.length?b[b.length-1]:null;if(r||y||c){if(a&&a.type==="reference"&&c===")")return a.type="function",a.value=this._subFormula(y,a.value),void(y="");if(c===")"){const x=new g.Parser(y,this.settings);b.push({type:"segment",value:x})}else if(r){if(r==="]")return b.push({type:"reference",value:y}),void(y="");b.push({type:"literal",value:y})}else if(o.operatorCharacters.includes(y))a&&a.type==="operator"&&o.operators.includes(a.value+y)?a.value+=y:b.push({type:"operator",value:y});else if(y.match(o.numberRx))b.push({type:"constant",value:parseFloat(y)});else if(this.settings.constants[y]!==void 0)b.push({type:"constant",value:this.settings.constants[y]});else{if(!y.match(o.tokenRx))throw new Error(`Formula contains invalid token: ${y}`);b.push({type:"reference",value:y})}y=""}};for(const c of n)r?c===r?(i(),r=!1):y+=c:v?c==="("?(y+=c,++v):c===")"?(--v,v?y+=c:i(c)):y+=c:c in o.literals?r=o.literals[c]:c==="("?(i(),++v):o.operatorCharacters.includes(c)?(i(),y=c,i()):c!==" "?y+=c:i();i(),b=b.map((c,a)=>c.type!=="operator"||c.value!=="-"||a&&b[a-1].type!=="operator"?c:{type:"operator",value:"n"});let l=!1;for(const c of b){if(c.type==="operator"){if(o.operatorsPrefix.includes(c.value))continue;if(!l)throw new Error("Formula contains an operator in invalid position");if(!o.operators.includes(c.value))throw new Error(`Formula contains an unknown operator ${c.value}`)}else if(l)throw new Error("Formula missing expected operator");l=!l}if(!l)throw new Error("Formula contains invalid trailing operator");b.length===1&&["reference","literal","constant"].includes(b[0].type)&&(this.single={type:b[0].type==="reference"?"reference":"value",value:b[0].value}),this._parts=b.map(c=>{if(c.type==="operator")return o.operatorsPrefix.includes(c.value)?c:c.value;if(c.type!=="reference")return c.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(c.value))throw new Error(`Formula contains invalid reference ${c.value}`);return this.settings.reference?this.settings.reference(c.value):o.reference(c.value)})}_subFormula(n,b){const y=this.settings.functions[b];if(typeof y!="function")throw new Error(`Formula contains unknown function ${b}`);let v=[];if(n){let r="",i=0,l=!1;const c=()=>{if(!r)throw new Error(`Formula contains function ${b} with invalid arguments ${n}`);v.push(r),r=""};for(let a=0;a<n.length;++a){const x=n[a];l?(r+=x,x===l&&(l=!1)):x in o.literals&&!i?(r+=x,l=o.literals[x]):x!==","||i?(r+=x,x==="("?++i:x===")"&&--i):c()}c()}return v=v.map(r=>new g.Parser(r,this.settings)),function(r){const i=[];for(const l of v)i.push(l.evaluate(r));return y.call(r,...i)}}evaluate(n){const b=this._parts.slice();for(let y=b.length-2;y>=0;--y){const v=b[y];if(v&&v.type==="operator"){const r=b[y+1];b.splice(y+1,1);const i=o.evaluate(r,n);b[y]=o.single(v.value,i)}}return o.operatorsOrder.forEach(y=>{for(let v=1;v<b.length-1;)if(y.includes(b[v])){const r=b[v],i=o.evaluate(b[v-1],n),l=o.evaluate(b[v+1],n);b.splice(v,2);const c=o.calculate(r,i,l);b[v-1]=c===0?0:c}else v+=2}),o.evaluate(b[0],n)}},g.Parser.prototype[o.symbol]=!0,o.reference=function(n){return function(b){return b&&b[n]!==void 0?b[n]:null}},o.evaluate=function(n,b){return n===null?null:typeof n=="function"?n(b):n[o.symbol]?n.evaluate(b):n},o.single=function(n,b){if(n==="!")return!b;const y=-b;return y===0?0:y},o.calculate=function(n,b,y){if(n==="??")return o.exists(b)?b:y;
89if(typeof b=="string"||typeof y=="string"){if(n==="+")return(b=o.exists(b)?b:"")+(o.exists(y)?y:"")}else switch(n){case"^":return Math.pow(b,y);case"*":return b*y;case"/":return b/y;case"%":return b%y;case"+":return b+y;case"-":return b-y}switch(n){case"<":return b<y;case"<=":return b<=y;case">":return b>y;case">=":return b>=y;case"==":return b===y;case"!=":return b!==y;case"&&":return b&&y;case"||":return b||y}return null},o.exists=function(n){return n!=null}},6084(d,g,o){const n=o(8253),b=o(4126),y=o(9315),v=o(1528),r={};d.exports=function(i,l,c={}){if(n(i&&typeof i=="object","Invalid defaults value: must be an object"),n(!l||l===!0||typeof l=="object","Invalid source value: must be true, falsy or an object"),n(typeof c=="object","Invalid options: must be an object"),!l)return null;if(c.shallow)return r.applyToDefaultsWithShallow(i,l,c);const a=b(i);if(l===!0)return a;const x=c.nullOverride!==void 0&&c.nullOverride;return y(a,l,{nullOverride:x,mergeArrays:!1})},r.applyToDefaultsWithShallow=function(i,l,c){const a=c.shallow;n(Array.isArray(a),"Invalid keys");const x=new Map,f=l===!0?null:new Set;for(let w of a){w=Array.isArray(w)?w:w.split(".");const S=v(i,w);S&&typeof S=="object"?x.set(S,f&&v(l,w)||S):f&&f.add(w)}const h=b(i,{},x);if(!f)return h;for(const w of f)r.reachCopy(h,l,w);const _=c.nullOverride!==void 0&&c.nullOverride;return y(h,l,{nullOverride:_,mergeArrays:!1})},r.reachCopy=function(i,l,c){for(const f of c){if(!(f in l))return;const h=l[f];if(typeof h!="object"||h===null)return;l=h}const a=l;let x=i;for(let f=0;f<c.length-1;++f){const h=c[f];typeof x[h]!="object"&&(x[h]={}),x=x[h]}x[c[c.length-1]]=a}},8253(d,g,o){const n=o(1803),b=o(8314),y=d.exports=function(v,...r){if(v)return;if(r.length===1&&r[0]instanceof Error)throw r[0];const i=r.filter(l=>l!=="").map(l=>typeof l=="string"?l:l instanceof Error?l.message:b(l));throw new n(i.join(" "),y)}},1803(d){d.exports=class extends Error{constructor(g,o){var n,b,y;super(g||"Unknown error"),n=this,y="AssertError",(b=function(v){var r=function(i){if(typeof i!="object"||!i)return i;var l=i[Symbol.toPrimitive];if(l!==void 0){var c=l.call(i,"string");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(v);return typeof r=="symbol"?r:r+""}(b="name"))in n?Object.defineProperty(n,b,{value:y,enumerable:!0,configurable:!0,writable:!0}):n[b]=y,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,o)}}}
89,4126(d,g,o){const n=o(1528),b=o(3738),y=o(86),v={needsProtoHack:new Set([b.set,b.map,b.weakSet,b.weakMap]),structuredCloneExists:typeof structuredClone=="function"};d.exports=v.clone=function(r,i={},l=null){if(typeof r!="object"||r===null)return r;let c=v.clone,a=l;if(i.shallow){if(i.shallow!==!0)return v.cloneWithShallow(r,i);c=_=>_}else if(a){const _=a.get(r);if(_)return _}else a=new Map;const x=b.getInternalProto(r);switch(x){case b.buffer:return(!1).from(r);case b.date:return new Date(r.getTime());case b.regex:case b.url:return new x.constructor(r)}const f=v.base(r,x,i);if(f===r)return r;if(a&&a.set(r,f),x===b.set)for(const _ of r)f.add(c(_,i,a));else if(x===b.map)for(const[_,w]of r)f.set(_,c(w,i,a));const h=y.keys(r,i);for(const _ of h){if(_==="__proto__")continue;if(x===b.array&&_==="length"){f.length=r.length;continue}if(v.structuredCloneExists&&x===b.error&&_==="stack")continue;const w=Object.getOwnPropertyDescriptor(r,_);w?w.get||w.set?Object.defineProperty(f,_,w):w.enumerable?f[_]=c(r[_],i,a):Object.defineProperty(f,_,{enumerable:!1,writable:!0,configurable:!0,value:c(r[_],i,a)}):Object.defineProperty(f,_,{enumerable:!0,writable:!0,configurable:!0,value:c(r[_],i,a)})}return f},v.cloneWithShallow=function(r,i){const l=i.shallow;(i=Object.assign({},i)).shallow=!1;const c=new Map;for(const a of l){const x=n(r,a);typeof x!="object"&&typeof x!="function"||c.set(x,x)}return v.clone(r,i,c)},v.base=function(r,i,l){if(l.prototype===!1)return v.needsProtoHack.has(i)?new i.constructor:i===b.array?[]:{};const c=Object.getPrototypeOf(r);if(c&&c.isImmutable)return r;if(i===b.array){const a=[];return c!==i&&Object.setPrototypeOf(a,c),a}if(i===b.error&&v.structuredCloneExists&&(c===i||Error.isPrototypeOf(c.constructor))){const a=structuredClone(r);return Object.getPrototypeOf(a)!==c&&Object.setPrototypeOf(a,c),a}if(v.needsProtoHack.has(i)){const a=new c.constructor;return c!==i&&Object.setPrototypeOf(a,c),a}return Object.create(c)}},7125(d,g,o){const n=o(3738),b={mismatched:null};d.exports=function(y,v,r){return r=Object.assign({prototype:!0},r),!!b.isDeepEqual(y,v,r,[])},b.isDeepEqual=function(y,v,r,i){if(y===v)return y!==0||1/y==1/v;const l=typeof y;if(l!==typeof v||y===null||v===null)return!1;if(l==="function"){if(!r.deepFunction||y.toString()!==v.toString())return!1}else if(l!=="object")return y!=y&&v!=v;const c=b.getSharedType(y,v,!!r.prototype);switch(c){case n.buffer:return!1;case n.promise:return y===v;case n.regex:case n.url:return y.toString()===v.toString();case b.mismatched:return!1}for(let a=i.length-1;a>=0;--a)if(i[a].isSame(y,v))return!0;i.push(new b.SeenEntry(y,v));try{return!!b.isDeepEqualObj(c,y,v,r,i)}finally{i.pop()}},b.getSharedType=function(y,v,r){if(r)return Object.getPrototypeOf(y)!==Object.getPrototypeOf(v)?b.mismatched:n.getInternalProto(y);const i=n.getInternalProto(y);return i!==n.getInternalProto(v)?b.mismatched:i},b.valueOf=function(y){const v=y.valueOf;if(v===void 0)return y;try{return v.call(y)}catch(r){return r}},b.hasOwnEnumerableProperty=function(y,v){return Object.prototype.propertyIsEnumerable.call(y,v)},b.isSetSimpleEqual=function(y,v){for(const r of Set.prototype.values.call(y))if(!Set.prototype.has.call(v,r))return!1;return!0},b.isDeepEqualObj=function(y,v,r,i,l){const{isDeepEqual:c,valueOf:a,hasOwnEnumerableProperty:x}=b,{keys:f,getOwnPropertySymbols:h}=Object;if(y===n.array){if(!i.part){if(v.length!==r.length)return!1;for(let E=0;E<v.length;++E)if(!c(v[E],r[E],i,l))return!1;return!0}for(const E of v)for(const k of r)if(c(E,k,i,l))return!0}else if(y===n.set){if(v.size!==r.size)return!1;if(!b.isSetSimpleEqual(v,r)){const E=new Set(Set.prototype.values.call(r));for(const k of Set.prototype.values.call(v)){if(E.delete(k))continue;let I=!1;for(const L of E)if(c(k,L,i,l)){E.delete(L),I=!0;break}if(!I)return!1}}}else if(y===n.map){if(v.size!==r.size)return!1;for(const[E,k]of Map.prototype.entries.call(v))if(k===void 0&&!Map.prototype.has.call(r,E)||!c(k,Map.prototype.get.call(r,E),i,l))return!1}else if(y===n.error&&(v.name!==r.name||v.message!==r.message))return!1;const _=a(v),w=a(r);if((v!==_||r!==w)&&!c(_,w,i,l))return!1;const S=f(v);if(!i.part&&S.length!==f(r).length&&!i.skip)return!1;let D=0;for(const E of S)if(i.skip&&i.skip.includes(E))r[E]===void 0&&++D;else if(!x(r,E)||!c(v[E],r[E],i,l))return!1;if(!i.part&&S.length-D!==f(r).length)return!1;if(i.symbols!==!1){const E=h(v),k=new Set(h(r));for(const I of E){var T;if((T=i.skip)===null||T===void 0||!T.includes(I)){if(x(v,I)){if(!x(r,I)||
89!c(v[I],r[I],i,l))return!1}else if(x(r,I))return!1}k.delete(I)}for(const I of k)if(x(r,I))return!1}return!0},b.SeenEntry=class{constructor(y,v){this.obj=y,this.ref=v}isSame(y,v){return this.obj===y&&this.ref===v}}},8121(d){const g={};d.exports=function(o){if(!o)return"";let n="";for(let b=0;b<o.length;++b){const y=o.charCodeAt(b);g.isSafe(y)?n+=o[b]:n+=g.escapeHtmlChar(y)}return n},g.escapeHtmlChar=function(o){return g.namedHtml.get(o)||(o>=256?"&#"+o+";":`&#x${o.toString(16).padStart(2,"0")};`)},g.isSafe=function(o){return g.safeCharCodes.has(o)},g.namedHtml=new Map([[38,"&"],[60,"<"],[62,">"],[34,"""],[160," "],[162,"¢"],[163,"£"],[164,"¤"],[169,"©"],[174,"®"]]),g.safeCharCodes=function(){const o=new Set;for(let n=32;n<123;++n)(n>=97||n>=65&&n<=90||n>=48&&n<=57||n===32||n===46||n===44||n===45||n===58||n===95)&&o.add(n);return o}()},8669(d){d.exports=function(g){return g.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},9725(d){d.exports=function(){}},3115(d,g,o){g.applyToDefaults=o(6084),g.assert=o(8253),g.AssertError=o(1803),g.clone=o(4126),g.deepEqual=o(7125),g.escapeHtml=o(8121),g.escapeRegex=o(8669),g.ignore=o(9725),g.merge=o(9315),g.reach=o(1528)},9315(d,g,o){const n=o(8253),b=o(4126),y=o(86),v={};d.exports=v.merge=function(r,i,l){if(n(r&&typeof r=="object","Invalid target value: must be an object"),n(i==null||typeof i=="object","Invalid source value: must be null, undefined, or an object"),!i)return r;if(l=Object.assign({nullOverride:!0,mergeArrays:!0},l),Array.isArray(i)){n(Array.isArray(r),"Cannot merge array onto an object"),l.mergeArrays||(r.length=0);for(let a=0;a<i.length;++a)r.push(b(i[a],{symbols:l.symbols}));return r}const c=y.keys(i,l);for(let a=0;a<c.length;++a){const x=c[a];if(x==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,x))continue;const f=i[x];if(f&&typeof f=="object"){if(r[x]===f)continue;!r[x]||typeof r[x]!="object"||Array.isArray(r[x])!==Array.isArray(f)||f instanceof Date||f instanceof RegExp?r[x]=b(f,{symbols:l.symbols}):v.merge(r[x],f,l)}else(f!=null||l.nullOverride)&&(r[x]=f)}return r}},1528(d,g,o){const n=o(8253),b={};d.exports=function(y,v,r){if(v===!1||v==null)return y;typeof(r=r||{})=="string"&&(r={separator:r});const i=Array.isArray(v);n(!i||!r.separator,"Separator option is not valid for array-based chain");const l=i?v:v.split(r.separator||".");let c=y;for(let a=0;a<l.length;++a){let x=l[a];const f=r.iterables&&b.iterables(c);if(Array.isArray(c)||f==="set"){const h=Number(x);Number.isInteger(h)&&(x=h<0?c.length+h:h)}if(!c||typeof c=="function"&&r.functions===!1||!f&&c[x]===void 0){n(!r.strict||a+1===l.length,"Missing segment",x,"in reach path ",v),n(typeof c=="object"||r.functions===!0||typeof c!="function","Invalid segment",x,"in reach path ",v),c=r.default;break}c=f?f==="set"?[...c][x]:c.get(x):c[x]}return c},b.iterables=function(y){return y instanceof Set?"set":y instanceof Map?"map":void 0}},8314(d){d.exports=function(...g){try{return JSON.stringify(...g)}catch(o){return"[Cannot display object: "+o.message+"]"}}},3738(d,g){const o={};g=d.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,url:URL.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},o.typeMap=new Map([["[object Error]",g.error],["[object Map]",g.map],["[object Promise]",g.promise],["[object Set]",g.set],["[object URL]",g.url],["[object WeakMap]",g.weakMap],["[object WeakSet]",g.weakSet]]),g.getInternalProto=function(n){if(Array.isArray(n))return g.array;if(n instanceof Date)return g.date;if(n instanceof RegExp)return g.regex;if(n instanceof Error)return g.error;const b=Object.prototype.toString.call(n);return o.typeMap.get(b)||g.generic}},86(d,g){g.keys=function(o,n={}){return n.symbols!==!1?Reflect.ownKeys(o):Object.getOwnPropertyNames(o)}},8248(d,g,o){const{assert:n}=o(3115),b={};g.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(y,v){var r,i,l,c;const a=[].concat((r=(v=v??{}).before)!==null&&r!==void 0?r:[]),x=[].concat((i=v.after)!==null&&i!==void 0?i:[]),f=(l
89=v.group)!==null&&l!==void 0?l:"?",h=(c=v.sort)!==null&&c!==void 0?c:0;n(!a.includes(f),`Item cannot come before itself: ${f}`),n(!a.includes("?"),"Item cannot come before unassociated items"),n(!x.includes(f),`Item cannot come after itself: ${f}`),n(!x.includes("?"),"Item cannot come after unassociated items"),Array.isArray(y)||(y=[y]);for(const _ of y){const w={seq:this._items.length,sort:h,before:a,after:x,group:f,node:_};this._items.push(w)}if(!v.manual){const _=this._sort();n(_,"item",f!=="?"?`added into group ${f}`:"","created a dependencies error")}return this.nodes}merge(y){Array.isArray(y)||(y=[y]);for(const r of y)if(r)for(const i of r._items)this._items.push(Object.assign({},i));this._items.sort(b.mergeSort);for(let r=0;r<this._items.length;++r)this._items[r].seq=r;const v=this._sort();return n(v,"merge created a dependencies error"),this.nodes}sort(){const y=this._sort();return n(y,"sort created a dependencies error"),this.nodes}_sort(){const y={},v=Object.create(null),r=Object.create(null);for(const w of this._items){var i;const S=w.seq,D=w.group;r[D]=(i=r[D])!==null&&i!==void 0?i:[],r[D].push(S),y[S]=w.before;for(const T of w.after){var l;v[T]=(l=v[T])!==null&&l!==void 0?l:[],v[T].push(S)}}for(const w in y){const S=[];for(const D in y[w]){var c;const T=y[w][D];r[T]=(c=r[T])!==null&&c!==void 0?c:[],S.push(...r[T])}y[w]=S}for(const w in v)if(r[w])for(const S of r[w])y[S].push(...v[w]);const a={};for(const w in y){const S=y[w];for(const D of S){var x;a[D]=(x=a[D])!==null&&x!==void 0?x:[],a[D].push(w)}}const f={},h=[];for(let w=0;w<this._items.length;++w){let S=w;if(a[w]){S=null;for(let D=0;D<this._items.length;++D){if(f[D]===!0)continue;a[D]||(a[D]=[]);const T=a[D].length;let E=0;for(let k=0;k<T;++k)f[a[D][k]]&&++E;if(E===T){S=D;break}}}S!==null&&(f[S]=!0,h.push(S))}if(h.length!==this._items.length)return!1;const _={};for(const w of this._items)_[w.seq]=w;this._items=[],this.nodes=[];for(const w of h){const S=_[w];this.nodes.push(S.node),this._items.push(S)}return!0}},b.mergeSort=(y,v)=>y.sort===v.sort?0:y.sort<v.sort?-1:1},554(){},9017(){},125(){},8663(){},6984(){},7368(d,g,o){g.tlds=void 0;const n=o(1044);g.tlds=new Set(n.TLDS.map(b=>b.toLowerCase()))},1044(d,g){g.TLDS=void 0,g
vendor: 12,356 bytes, line 89
89.TLDS=["AAA","AARP","ABB","ABBOTT","ABBVIE","ABC","ABLE","ABOGADO","ABUDHABI","AC","ACADEMY","ACCENTURE","ACCOUNTANT","ACCOUNTANTS","ACO","ACTOR","AD","ADS","ADULT","AE","AEG","AERO","AETNA","AF","AFL","AFRICA","AG","AGAKHAN","AGENCY","AI","AIG","AIRBUS","AIRFORCE","AIRTEL","AKDN","AL","ALIBABA","ALIPAY","ALLFINANZ","ALLSTATE","ALLY","ALSACE","ALSTOM","AM","AMAZON","AMERICANEXPRESS","AMERICANFAMILY","AMEX","AMFAM","AMICA","AMSTERDAM","ANALYTICS","ANDROID","ANQUAN","ANZ","AO","AOL","APARTMENTS","APP","APPLE","AQ","AQUARELLE","AR","ARAB","ARAMCO","ARCHI","ARMY","ARPA","ART","ARTE","AS","ASDA","ASIA","ASSOCIATES","AT","ATHLETA","ATTORNEY","AU","AUCTION","AUDI","AUDIBLE","AUDIO","AUSPOST","AUTHOR","AUTO","AUTOS","AW","AWS","AX","AXA","AZ","AZURE","BA","BABY","BAIDU","BANAMEX","BAND","BANK","BAR","BARCELONA","BARCLAYCARD","BARCLAYS","BAREFOOT","BARGAINS","BASEBALL","BASKETBALL","BAUHAUS","BAYERN","BB","BBC","BBT","BBVA","BCG","BCN","BD","BE","BEATS","BEAUTY","BEER","BERLIN","BEST","BESTBUY","BET","BF","BG","BH","BHARTI","BI","BIBLE","BID","BIKE","BING","BINGO","BIO","BIZ","BJ","BLACK","BLACKFRIDAY","BLOCKBUSTER","BLOG","BLOOMBERG","BLUE","BM","BMS","BMW","BN","BNPPARIBAS","BO","BOATS","BOEHRINGER","BOFA","BOM","BOND","BOO","BOOK","BOOKING","BOSCH","BOSTIK","BOSTON","BOT","BOUTIQUE","BOX","BR","BRADESCO","BRIDGESTONE","BROADWAY","BROKER","BROTHER","BRUSSELS","BS","BT","BUILD","BUILDERS","BUSINESS","BUY","BUZZ","BV","BW","BY","BZ","BZH","CA","CAB","CAFE","CAL","CALL","CALVINKLEIN","CAM","CAMERA","CAMP","CANON","CAPETOWN","CAPITAL","CAPITALONE","CAR","CARAVAN","CARDS","CARE","CAREER","CAREERS","CARS","CASA","CASE","CASH","CASINO","CAT","CATERING","CATHOLIC","CBA","CBN","CBRE","CC","CD","CENTER","CEO","CERN","CF","CFA","CFD","CG","CH","CHANEL","CHANNEL","CHARITY","CHASE","CHAT","CHEAP","CHINTAI","CHRISTMAS","CHROME","CHURCH","CI","CIPRIANI","CIRCLE","CISCO","CITADEL","CITI","CITIC","CITY","CK","CL","CLAIMS","CLEANING","CLICK","CLINIC","CLINIQUE","CLOTHING","CLOUD","CLUB","CLUBMED","CM","CN","CO","COACH","CODES","COFFEE","COLLEGE","COLOGNE","COM","COMMBANK","COMMUNITY","COMPANY","COMPARE","COMPUTER","COMSEC","CONDOS","CONSTRUCTION","CONSULTING","CONTACT","CONTRACTORS","COOKING","COOL","COOP","CORSICA","COUNTRY","COUPON","COUPONS","COURSES","CPA","CR","CREDIT","CREDITCARD","CREDITUNION","CRICKET","CROWN","CRS","CRUISE","CRUISES","CU","CUISINELLA","CV","CW","CX","CY","CYMRU","CYOU","CZ","DAD","DANCE","DATA","DATE","DATING","DATSUN","DAY","DCLK","DDS","DE","DEAL","DEALER","DEALS","DEGREE","DELIVERY","DELL","DELOITTE","DELTA","DEMOCRAT","DENTAL","DENTIST","DESI","DESIGN","DEV","DHL","DIAMONDS","DIET","DIGITAL","DIRECT","DIRECTORY","DISCOUNT","DISCOVER","DISH","DIY","DJ","DK","DM","DNP","DO","DOCS","DOCTOR","DOG","DOMAINS","DOT","DOWNLOAD","DRIVE","DTV","DUBAI","DUPONT","DURBAN","DVAG","DVR","DZ","EARTH","EAT","EC","ECO","EDEKA","EDU","EDUCATION","EE","EG","EMAIL","EMERCK","ENERGY","ENGINEER","ENGINEERING","ENTERPRISES","EPSON","EQUIPMENT","ER","ERICSSON","ERNI","ES","ESQ","ESTATE","ET","EU","EUROVISION","EUS","EVENTS","EXCHANGE","EXPERT","EXPOSED","EXPRESS","EXTRASPACE","FAGE","FAIL","FAIRWINDS","FAITH","FAMILY","FAN","FANS","FARM","FARMERS","FASHION","FAST","FEDEX","FEEDBACK","FERRARI","FERRERO","FI","FIDELITY","FIDO","FILM","FINAL","FINANCE","FINANCIAL","FIRE","FIRESTONE","FIRMDALE","FISH","FISHING","FIT","FITNESS","FJ","FK","FLICKR","FLIGHTS","FLIR","FLORIST","FLOWERS","FLY","FM","FO","FOO","FOOD","FOOTBALL","FORD","FOREX","FORSALE","FORUM","FOUNDATION","FOX","FR","FREE","FRESENIUS","FRL","FROGANS","FRONTIER","FTR","FUJITSU","FUN","FUND","FURNITURE","FUTBOL","FYI","GA","GAL","GALLERY","GALLO","GALLUP","GAME","GAMES","GAP","GARDEN","GAY","GB","GBIZ","GD","GDN","GE","GEA","GENT","GENTING","GEORGE","GF","GG","GGEE","GH","GI","GIFT","GIFTS","GIVES","GIVING","GL","GLASS","GLE","GLOBAL","GLOBO","GM","GMAIL","GMBH","GMO","GMX","GN","GODADDY","GOLD","GOLDPOINT","GOLF","GOODYEAR","GOOG","GOOGLE","GOP","GOT","GOV","GP","GQ","GR","GRAINGER","GRAPHICS","GRATIS","GREEN","GRIPE","GROCERY","GROUP","GS","GT","GU","GUCCI","GUGE","GUIDE","GUITARS","GURU","GW","GY","HAIR","HAMBURG","HANGOUT","HAUS","HBO","HDFC","HDFCBANK","HEALTH","HEALTHCARE","HELP","HELSINKI","HERE","HERMES","HIPHOP","HISAMITSU","HITACHI","HIV","HK","HKT","HM","HN","HOCKEY","HOLDINGS","HOLIDAY","HOMEDEPOT","HOMEGOODS","HOMES","HOMESENSE","HONDA","HORSE","HOSPITAL","HOST","HOSTING","HOT","HOTELS","HOTMAIL","HOUSE","HOW","HR","HSBC","HT","HU","HUGHES","HYATT","HYUNDAI","IBM","ICBC","ICE","ICU","ID","IE","IEEE","IFM","IKANO","IL","IM","IMAMAT","IMDB","IMMO","IMMOBILIEN","IN","INC","INDUSTRIES","INFINITI","INFO","ING","INK","INSTITUTE","INSURANCE","INSURE","INT","INTERNATIONAL","INTUIT","INVESTMENTS","IO","IPIRANGA","IQ","IR","IRISH","IS","ISMAILI","IST","ISTANBUL","IT","ITAU","ITV","JAGUAR","JAVA","JCB","JE","JEEP","JETZT","JEWELRY","JIO","JLL","JM","JMP","JNJ","JO","JOBS","JOBURG","JOT","JOY","JP","JPMORGAN","JPRS","JUEGOS","JUNIPER","KAUFEN","KDDI","KE","KERRYHOTELS","KERRYPROPERTIES","KFH","KG","KH","KI","KIA","KIDS","KIM","KINDLE","KITCHEN","KIWI","KM","KN","KOELN","KOMATSU","KOSHER","KP","KPMG","KPN","KR","KRD","KRED","KUOKGROUP","KW","KY","KYOTO","KZ","LA","LACAIXA","LAMBORGHINI","LAMER","LAND","LANDROVER","LANXESS","LASALLE","LAT","LATINO","LATROBE","LAW","LAWYER","LB","LC","LDS","LEASE","LECLERC","LEFRAK","LEGAL","LEGO","LEXUS","LGBT","LI","LIDL","LIFE","LIFEINSURANCE","LIFESTYLE","LIGHTING","LIKE","LILLY","LIMITED","LIMO","LINCOLN","LINK","LIVE","LIVING","LK","LLC","LLP","LOAN","LOANS","LOCKER","LOCUS","LOL","LONDON","LOTTE","LOTTO","LOVE","LPL","LPLFINANCIAL","LR","LS","LT","LTD","LTDA","LU","LUNDBECK","LUXE","LUXURY","LV","LY","MA","MADRID","MAIF","MAISON","MAKEUP","MAN","MANAGEMENT","MANGO","MAP","MARKET","MARKETING","MARKETS","MARRIOTT","MARSHALLS","MATTEL","MBA","MC","MCKINSEY","MD","ME","MED","MEDIA","MEET","MELBOURNE","MEME","MEMORIAL","MEN","MENU","MERCK","MERCKMSD","MG","MH","MIAMI","MICROSOFT","MIL","MINI","MINT","MIT","MITSUBISHI","MK","ML","MLB","MLS","MM","MMA","MN","MO","MOBI","MOBILE","MODA","MOE","MOI","MOM","MONASH","MONEY","MONSTER","MORMON","MORTGAGE","MOSCOW","MOTO","MOTORCYCLES","MOV","MOVIE","MP","MQ","MR","MS","MSD","MT","MTN","MTR","MU","MUSEUM","MUSIC","MV","MW","MX","MY","MZ","NA","NAB","NAGOYA","NAME","NAVY","NBA","NC","NE","NEC","NET","NETBANK","NETFLIX","NETWORK","NEUSTAR","NEW","NEWS","NEXT","NEXTDIRECT","NEXUS","NF","NFL","NG","NGO","NHK","NI","NICO","NIKE","NIKON","NINJA","NISSAN","NISSAY","NL","NO","NOKIA","NORTON","NOW","NOWRUZ","NOWTV","NP","NR","NRA","NRW","NTT","NU","NYC","NZ","OBI","OBSERVER","OFFICE","OKINAWA","OLAYAN","OLAYANGROUP","OLLO","OM","OMEGA","ONE","ONG","ONL","ONLINE","OOO","OPEN","ORACLE","ORANGE","ORG","ORGANIC","ORIGINS","OSAKA","OTSUKA","OTT","OVH","PA","PAGE","PANASONIC","PARIS","PARS","PARTNERS","PARTS","PARTY","PAY","PCCW","PE","PET","PF","PFIZER","PG","PH","PHARMACY","PHD","PHILIPS","PHONE","PHOTO","PHOTOGRAPHY","PHOTOS","PHYSIO","PICS","PICTET","PICTURES","PID","PIN","PING","PINK","PIONEER","PIZZA","PK","PL","PLACE","PLAY","PLAYSTATION","PLUMBING","PLUS","PM","PN","PNC","POHL","POKER","POLITIE","PORN","POST","PR","PRAXI","PRESS","PRIME","PRO","PROD","PRODUCTIONS","PROF","PROGRESSIVE","PROMO","PROPERTIES","PROPERTY","PROTECTION","PRU","PRUDENTIAL","PS","PT","PUB","PW","PWC","PY","QA","QPON","QUEBEC","QUEST","RACING","RADIO","RE","READ","REALESTATE","REALTOR","REALTY","RECIPES","RED","REDUMBRELLA","REHAB","REISE","REISEN","REIT","RELIANCE","REN","RENT","RENTALS","REPAIR","REPORT","REPUBLICAN","REST","RESTAURANT","REVIEW","REVIEWS","REXROTH","RICH","RICHARDLI","RICOH","RIL","RIO","RIP","RO","ROCKS","RODEO","ROGERS","ROOM","RS","RSVP","RU","RUGBY","RUHR","RUN","RW","RWE","RYUKYU","SA","SAARLAND","SAFE","SAFETY","SAKURA","SALE","SALON","SAMSCLUB","SAMSUNG","SANDVIK","SANDVIKCOROMANT","SANOFI","SAP","SARL","SAS","SAVE","SAXO","SB","SBI","SBS","SC","SCB","SCHAEFFLER","SCHMIDT","SCHOLARSHIPS","SCHOOL","SCHULE","SCHWARZ","SCIENCE","SCOT","SD","SE","SEARCH","SEAT","SECURE","SECURITY","SEEK","SELECT","SENER","SERVICES","SEVEN","SEW","SEX","SEXY","SFR","SG","SH","SHANGRILA","SHARP","SHELL","SHIA","SHIKSHA","SHOES","SHOP","SHOPPING","SHOUJI","SHOW","SI","SILK","SINA","SINGLES","SITE","SJ","SK","SKI","SKIN","SKY","SKYPE","SL","SLING","SM","SMART","SMILE","SN","SNCF","SO","SOCCER","SOCIAL","SOFTBANK","SOFTWARE","SOHU","SOLAR","SOLUTIONS","SONG","SONY","SOY","SPA","SPACE","SPORT","SPOT","SR","SRL","SS","ST","STADA","STAPLES","STAR","STATEBANK","STATEFARM","STC","STCGROUP","STOCKHOLM","STORAGE","STORE","STREAM","STUDIO","STUDY","STYLE","SU","SUCKS","SUPPLIES","SUPPLY","SUPPORT","SURF","SURGERY","SUZUKI","SV","SWATCH","SWISS","SX","SY","SYDNEY","SYSTEMS","SZ","TAB","TAIPEI","TALK","TAOBAO","TARGET","TATAMOTORS","TATAR","TATTOO","TAX","TAXI","TC","TCI","TD","TDK","TEAM","TECH","TECHNOLOGY","TEL","TEMASEK","TENNIS","TEVA","TF","TG","TH","THD","THEATER","THEATRE","TIAA","TICKETS","TIENDA","TIPS","TIRES","TIROL","TJ","TJMAXX","TJX","TK","TKMAXX","TL","TM","TMALL","TN","TO","TODAY","TOKYO","TOOLS","TOP","TORAY","TOSHIBA","TOTAL","TOURS","TOWN","TOYOTA","TOYS","TR","TRADE","TRADING","TRAINING","TRAVEL","TRAVELERS","TRAVELERSINSURANCE","TRUST","TRV","TT","TUBE","TUI","TUNES","TUSHU","TV","TVS","TW","TZ","UA","UBANK","UBS","UG","UK","UNICOM","UNIVERSITY","UNO","UOL","UPS","US","UY","UZ","VA","VACATIONS","VANA","VANGUARD","VC","VE","VEGAS","VENTURES","VERISIGN","VERSICHERUNG","VET","VG","VI","VIAJES","VIDEO","VIG","VIKING","VILLAS","VIN","VIP","VIRGIN","VISA","VISION","VIVA","VIVO","VLAANDEREN","VN","VODKA","VOLVO","VOTE","VOTING","VOTO","VOYAGE","VU","WALES","WALMART","WALTER","WANG","WANGGOU","WATCH","WATCHES","WEATHER","WEATHERCHANNEL","WEBCAM","WEBER","WEBSITE","WED","WEDDING","WEIBO","WEIR","WF","WHOSWHO","WIEN","WIKI","WILLIAMHILL","WIN","WINDOWS","WINE","WINNERS","WME","WOODSIDE","WORK","WORKS","WORLD","WOW","WS","WTC","WTF","XBOX","XEROX","XIHUAN","XIN","XN--11B4C3D","XN--1CK2E1B","XN--1QQW23A","XN--2SCRJ9C","XN--30RR7Y","XN--3BST00M","XN--3DS443G","XN--3E0B707E","XN--3HCRJ9C","XN--3PXU8K","XN--42C2D9A","XN--45BR5CYL","XN--45BRJ9C","XN--45Q11C","XN--4DBRK0CE","XN--4GBRIM","XN--54B7FTA0CC","XN--55QW42G","XN--55QX5D","XN--5SU34J936BGSG","XN--5TZM5G","XN--6FRZ82G","XN--6QQ986B3XL","XN--80ADXHKS","XN--80AO21A","XN--80AQECDR1A","XN--80ASEHDB","XN--80ASWG","XN--8Y0A063A","XN--90A3AC","XN--90AE","XN--90AIS","XN--9DBQ2A","XN--9ET52U","XN--9KRT00A","XN--B4W605FERD","XN--BCK1B9A5DRE4C","XN--C1AVG","XN--C2BR7G","XN--CCK2B3B","XN--CCKWCXETD","XN--CG4BKI","XN--CLCHC0EA0B2G2A9GCD","XN--CZR694B","XN--CZRS0T","XN--CZRU2D","XN--D1ACJ3B","XN--D1ALF","XN--E1A4C","XN--ECKVDTC9D","XN--EFVY88H","XN--FCT429K","XN--FHBEI","XN--FIQ228C5HS","XN--FIQ64B","XN--FIQS8S","XN--FIQZ9S","XN--FJQ720A","XN--FLW351E","XN--FPCRJ9C3D","XN--FZC2C9E2C","XN--FZYS8D69UVGM","XN--G2XX48C","XN--GCKR3F0F","XN--GECRJ9C","XN--GK3AT1E","XN--H2BREG3EVE","XN--H2BRJ9C","XN--H2BRJ9C8C","XN--HXT814E","XN--I1B6B1A6A2E","XN--IMR513N","XN--IO0A7I","XN--J1AEF","XN--J1AMH","XN--J6W193G","XN--JLQ480N2RG","XN--JVR189M","XN--KCRX77D1X4A","XN--KPRW13D","XN--KPRY57D","XN--KPUT3I","XN--L1ACC","XN--LGBBAT1AD8J","XN--MGB9AWBF","XN--MGBA3A3EJT","XN--MGBA3A4F16A","XN--MGBA7C0BBN0A","XN--MGBAAM7A8H","XN--MGBAB2BD","XN--MGBAH1A3HJKRD","XN--MGBAI9AZGQP6J","XN--MGBAYH7GPA","XN--MGBBH1A","XN--MGBBH1A71E","XN--MGBC0A9AZCG","XN--MGBCA7DZDO","XN--MGBCPQ6GPA1A","XN--MGBERP4A5D4AR","XN--MGBGU82A","XN--MGBI4ECEXP","XN--MGBPL2FH","XN--MGBT3DHD","XN--MGBTX2B","XN--MGBX4CD0AB","XN--MIX891F","XN--MK1BU44C","XN--MXTQ1M","XN--NGBC5AZD","XN--NGBE9E0A","XN--NGBRX","XN--NODE","XN--NQV7F","XN--NQV7FS00EMA","XN--NYQY26A","XN--O3CW4H","XN--OGBPF8FL","XN--OTU796D","XN--P1ACF","XN--P1AI","XN--PGBS0DH","XN--PSSY2U","XN--Q7CE6A","XN--Q9JYB4C","XN--QCKA1PMC","XN--QXA6A","XN--QXAM","XN--RHQV96G","XN--ROVU88B","XN--RVC1E0AM3E","XN--S9BRJ9C","XN--SES554G","XN--T60B56A","XN--TCKWE","XN--TIQ49XQYJ","XN--UNUP4Y","XN--VERMGENSBERATER-CTB","XN--VERMGENSBERATUNG-PWB","XN--VHQUV","XN--VUQ861B","XN--W4R85EL8FHU5DNRA","XN--W4RS40L","XN--WGBH1C","XN--WGBL6A","XN--XHQ521B","XN--XKC2AL3HYE2A","XN--XKC2DL3A5EE0H","XN--Y9A3AQ","XN--YFRO4I67O","XN--YGBI2AMMX","XN--ZFR164B","XXX","XYZ","YACHTS","YAHOO","YAMAXUN","YANDEX","YE","YODOBASHI","YOGA","YOKOHAMA","YOU","YOUTUBE","YT","YUN","ZA","ZAPPOS","ZARA","ZERO","ZIP","ZM","ZONE","ZUERICH","ZW"]},6913(
89d){d.exports={version:"18.2.8"}}};const m={};function p(d){const g=m[d];if(g!==void 0)return g.exports;const o=m[d]={exports:{}};return s[d](o,o.exports,p),o.exports}return p.n=d=>{const g=d&&d.__esModule?()=>d.default:()=>d;return p.d(g,{a:g}),g},p.d=(d,g)=>{for(var o in g)p.o(g,o)&&!p.o(d,o)&&Object.defineProperty(d,o,{enumerable:!0,get:g[o]})},p.o=(d,g)=>Object.prototype.hasOwnProperty.call(d,g),p(1100)})())})(Oi);var dl=Oi.exports;const pe=Yr(dl),Ii={id:pe.string().required()},yr={...Ii,as:pe.string().valid("img","video").required(),src:pe.string().uri().required(),position:pe.string().valid("center","left","right"),"data-parallax":pe.boolean().required()},Di=pe.array().items(pe.object({type:pe.string().required()})),Ti=pe.object({type:pe.string().required(),url:pe.string().when("type",{is:"STAC",then:pe.string().required(),otherwise:pe.string().optional()}),properties:pe.object({id:pe.string().required()}).unknown().required(),source:pe.object({type:pe.string().required()}).unknown().when("type",{is:"STAC",then:pe.optional(),otherwise:pe.required()}),interactions:Di}).pattern(pe.string(),pe.any()),hl=pe.object({type:pe.string().valid("group","Group"),properties:pe.object({id:pe.string().required()}).unknown().required(),layers:pe.array().items(Ti),interactions:Di}),Gn={layers:pe.array().items(pe.object().keys({type:pe.string().required()}).unknown().custom((e,t)=>{const{error:s}=e.type==="Group"?hl.validate(e):Ti.validate(e);return s?t.message(s.message):e},"Custom validator for map schema.")).optional(),center:pe.array().items(pe.number()).min(2).max(2).optional(),zoom:pe.number().optional()},Ri={config:pe.object({...Gn}).unknown().optional()},Ni={"eox-map":pe.object({...Ii,...Gn,...Ri}).unknown()},pl={hero:{img:pe.object({...yr}).unknown(),video:pe.object({...yr}).unknown()},tour:{"eox-map":Ni["eox-map"],"section-step":pe.object({...Gn,...Ri}).unknown()}};function ml(e,t){var p,d;let s=[];for(const g of Object.keys(e)){const o=e[g];if(o.as){const n=o.mode?(p=pl[o.mode])==null?void 0:p[o.as]:Ni[o.as];n&&((d=n.validate(o,{abortEarly:!1}).error)==null||d.details.forEach(y=>{s.push({ref:`#${g}`,message:y.message}),console.error(`#${g}`,y.message)}))}}const m=(t.shadowRoot||t).querySelector("eox-storytelling-editor");setTimeout(()=>m==null?void 0:m.updateErrors(s),300)}function Li(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const gl=[["Ã","ss"],["áº","Ss"],["ä","ae"],["Ã","Ae"],["ö","oe"],["Ã","Oe"],["ü","ue"],["Ã","Ue"],["Ã","A"],["Ã","A"],["Ã","A"],["Ã","A"],["Ã","Ae"],["Ã
","A"],["Ã","AE"],["Ã","C"],["Ã","E"],["Ã","E"],["Ã","E"],["Ã","E"],["Æ","A"],["Ã","I"],["Ã","I"],["Ã","I"],["Ã","I"],["Ã","D"],["Ã","N"],["Ã","O"],["Ã","O"],["Ã","O"],["Ã","O"],["Ã","Oe"],["Å","O"],["Å","O"],["Ã","O"],["Å","OE"],["Ã","U"],["Ã","U"],["Ã","U"],["Ã","Ue"],["Ű","U"],["Ã","Y"],["Ã","TH"],["Ã","ss"],["à ","a"],["á","a"],["â","a"],["ã","a"],["ä","ae"],["Ã¥","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["É","a"],["ì","i"],["Ã","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","oe"],["Å","o"],["Å","o"],["ø","o"],["Å","oe"],["ù","u"],["ú","u"],["û","u"],["ü","ue"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"],["à ","a"],["Ã","A"],["á","a"],["Ã","A"],["â","a"],["Ã","A"],["ã","a"],["Ã","A"],["è","e"],["Ã","E"],["é","e"],["Ã","E"],["ê","e"],["Ã","E"],["ì","i"],["Ã","I"],["Ã","i"],["Ã","I"],["ò","o"],["Ã","O"],["ó","o"],["Ã","O"],["ô","o"],["Ã","O"],["õ","o"],["Ã","O"],["ù","u"],["Ã","U"],["ú","u"],["Ã","U"],["ý","y"],["Ã","Y"],["Ä","a"],["Ä","A"],["Ä","D"],["Ä","d"],["Ä©","i"],["Ĩ","I"],["Å©","u"],["Ũ","U"],["Æ¡","o"],["Æ ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["áº","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","
89E"],["á»","e"],["á»","E"],["á»","e"],["á»","E"],["á»
","e"],["á»","E"],["á»","e"],["á»","E"],["á»","i"],["á»","I"],["á»","i"],["á»","I"],["á»","o"],["á»","O"],["á»","o"],["á»","O"],["á»","o"],["á»","O"],["á»","o"],["á»","O"],["á»","o"],["á»","O"],["á»","o"],["á»","O"],["á»","o"],["á»","O"],["á»","o"],["á»","O"],["á»","o"],["á»","O"],["á»","o"],["á»","O"],["ỡ","o"],["á» ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["á»§","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["á»","u"],["Ử","U"],["ữ","u"],["á»®","U"],["á»±","u"],["á»°","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["á»´","Y"],["á»·","y"],["á»¶","Y"],["ỹ","y"],["Ỹ","Y"],["Ø¡","e"],["Ø¢","a"],["Ø£","a"],["ؤ","w"],["Ø¥","a"],["ئ","y"],["ا","a"],["ب","b"],["Ø©","t"],["ت","t"],["Ø«","th"],["ج","j"],["Ø","h"],["Ø®","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["Ø´","sh"],["ص","s"],["ض","d"],["Ø·","t"],["ظ","z"],["ع","e"],["غ","gh"],["Ù","_"],["Ù","f"],["Ù","q"],["Ù","k"],["Ù","l"],["Ù
","m"],["Ù","n"],["Ù","h"],["Ù","w"],["Ù","a"],["Ù","y"],["Ùâ","a"],["Ù","u"],["Ùâ","i"],["Ù ","0"],["Ù¡","1"],["Ù¢","2"],["Ù£","3"],["Ù¤","4"],["Ù¥","5"],["Ù¦","6"],["Ù§","7"],["Ù¨","8"],["Ù©","9"],["Ú","ch"],["Ú©","k"],["Ú¯","g"],["Ù¾","p"],["Ú","zh"],["Û","y"],["Û°","0"],["Û±","1"],["Û²","2"],["Û³","3"],["Û´","4"],["Ûµ","5"],["Û¶","6"],["Û·","7"],["Û¸","8"],["Û¹","9"],["Ù¼","p"],["Ú","z"],["Ú
","c"],["Ú","d"],["ﺫ","d"],["ïº","r"],["Ú","r"],["ﺯ","z"],["Ú","g"],["Ú","x"],["Ú«","g"],["Ú¼","n"],["Û","e"],["Û","e"],["Û","ai"],["Ù¹","t"],["Ú","d"],["Ú","r"],["Úº","n"],["Û","h"],["Ú¾","h"],["Û","e"],["Ð","A"],["а","a"],["Ð","B"],["б","b"],["Ð","V"],["в","v"],["Ð","G"],["г","g"],["Ð","D"],["д","d"],["Ñе","ye"],["Ъе","Ye"],["ÑÐ","yE"],["ЪÐ","YE"],["Ð","E"],["е","e"],["Ð","Yo"],["Ñ","yo"],["Ð","Zh"],["ж","zh"],["Ð","Z"],["з","z"],["Ð","I"],["и","i"],["Ñй","iy"],["Ый","Iy"],["ЫÐ","IY"],["ÑÐ","iY"],["Ð","Y"],["й","y"],["Ð","K"],["к","k"],["Ð","L"],["л","l"],["Ð","M"],["м","m"],["Ð","N"],["н","n"],["Ð","O"],["о","o"],["Ð","P"],["п","p"],["Ð ","R"],["Ñ","r"],["С","S"],["Ñ","s"],["Т","T"],["Ñ","t"],["У","U"],["Ñ","u"],["Ф","F"],["Ñ","f"],["Ð¥","Kh"],["Ñ
","kh"],["Ц","Ts"],["Ñ","ts"],["Ч","Ch"],["Ñ","ch"],["Ш","Sh"],["Ñ","sh"],["Щ","Sch"],["Ñ","sch"],["Ъ",""],["Ñ",""],["Ы","Y"],["Ñ","y"],["Ь",""],["Ñ",""],["Ð","E"],["Ñ","e"],["Ю","Yu"],["Ñ","yu"],["Я","Ya"],["Ñ","ya"],["Ä","a"],["Ä","A"],["È","s"],["È","S"],["È","t"],["È","T"],["Å£","t"],["Å¢","T"],["Å","s"],["Å","S"],["ç","c"],["Ã","C"],["Ä","g"],["Ä","G"],["ı","i"],["İ","I"],["Õ¡","a"],["Ô±","A"],["Õ¢","b"],["Ô²","B"],["Õ£","g"],["Ô³","G"],["Õ¤","d"],["Ô´","D"],["Õ¥","ye"],["Ôµ","Ye"],["Õ¦","z"],["Ô¶","Z"],["Õ§","e"],["Ô·","E"],["Õ¨","y"],["Ô¸","Y"],["Õ©","t"],["Ô¹","T"],["Õª","zh"],["Ôº","Zh"],["Õ«","i"],["Ô»","I"],["Õ¬","l"],["Ô¼","L"],["Õ","kh"],["Ô½","Kh"],["Õ®","ts"],["Ô¾","Ts"],["Õ¯","k"],["Ô¿","K"],["Õ°","h"],["Õ","H"],["Õ±","dz"],["Õ","Dz"],["Õ²","gh"],["Õ","Gh"],["Õ³","tch"],["Õ","Tch"],["Õ´","m"],["Õ","M"],["Õµ","y"],["Õ
","Y"],["Õ¶","n"],["Õ","N"],["Õ·","sh"],["Õ","Sh"],["Õ¸Ö","u"],["ÕÕ","U"],["ÕÖ","U"],["Õ¸","vo"],["Õ","Vo"],["Õ¹","ch"],["Õ","Ch"],["Õº","p"],["Õ","P"],["Õ»","j"],["Õ","J"],["Õ¼","r"],["Õ","R"],["Õ½","s"],["Õ","S"],["Õ¾","v"],["Õ","V"],["Õ¿","t"],["Õ","T"],["Ö","r"],["Õ","R"],["Ö","c"],["Õ","C"],["Ö","p"],["Õ","P"],["Ö","q"],["Õ","Q"],["Ö
","o"],["Õ","O"],["Ö","f"],["Õ","F"],["Ö","yev"],["á","a"],["á","b"],["á","g"],["á","d"],["á","e"],["á","v"],["á","z"],["á","t"],["á","i"],["á","k"],["á","l"],["á","m"],["á","n"],["á","o"],["á","p"],["á","zh"],["á ","r"],["á¡","s"],["á¢","t"],["á£","u"],["á¤","ph"],["á¥","q"],["á¦","gh"],["á§","k"],["á¨","sh"],["á©","ch"],["áª","ts"],["á«","dz"],["á¬","ts"],["á","tch"],["á®","kh"],["á¯","j"],["á°","h"],["Ä","c"],["Ä","d"],["Ä","e"],["Å","n"],["Å","r"],["Å¡","s"],["Å¥","t"],["ů","u"],["ž","z"],["Ä","C"],["Ä","D"],["Ä","E"],["Å","N"],["Å","R"],["Å ","S"],["Ť","T"],["Å®","U"],["Ž","Z"],["Þ","h"],["Þ","sh"],["Þ","
89n"],["Þ","r"],["Þ","b"],["Þ
","lh"],["Þ","k"],["Þ","a"],["Þ","v"],["Þ","m"],["Þ","f"],["Þ","dh"],["Þ","th"],["Þ","l"],["Þ","g"],["Þ","gn"],["Þ","s"],["Þ","d"],["Þ","z"],["Þ","t"],["Þ","y"],["Þ","p"],["Þ","j"],["Þ","ch"],["Þ","tt"],["Þ","hh"],["Þ","kh"],["Þ","th"],["Þ","z"],["Þ","sh"],["Þ","s"],["Þ","d"],["Þ ","t"],["Þ¡","z"],["Þ¢","a"],["Þ£","gh"],["Þ¤","q"],["Þ¥","w"],["Þ¦","a"],["Þ§","aa"],["Þ¨","i"],["Þ©","ee"],["Þª","u"],["Þ«","oo"],["Þ¬","e"],["Þ","ey"],["Þ®","o"],["Þ¯","oa"],["Þ°",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["Ï","p"],["Ï","r"],["Ï","s"],["Ï","t"],["Ï
","y"],["Ï","f"],["Ï","x"],["Ï","ps"],["Ï","o"],["ά","a"],["Î","e"],["ί","i"],["Ï","o"],["Ï","y"],["ή","i"],["Ï","o"],["Ï","s"],["Ï","i"],["ΰ","y"],["Ï","y"],["Î","i"],["Î","A"],["Î","B"],["Î","G"],["Î","D"],["Î","E"],["Î","Z"],["Î","I"],["Î","TH"],["Î","I"],["Î","K"],["Î","L"],["Î","M"],["Î","N"],["Î","KS"],["Î","O"],["Î ","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Î¥","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Î","A"],["Î","E"],["Î","I"],["Î","O"],["Î","Y"],["Î","I"],["Î","O"],["Ϊ","I"],["Ϋ","Y"],["Ä","a"],["Ä","e"],["Ä£","g"],["Ä«","i"],["Ä·","k"],["ļ","l"],["Å","n"],["Å«","u"],["Ä","A"],["Ä","E"],["Ä¢","G"],["Ī","I"],["Ķ","K"],["Ä»","L"],["Å
","N"],["Ū","U"],["Ä","c"],["Å¡","s"],["ž","z"],["Ä","C"],["Å ","S"],["Ž","Z"],["Ä
","a"],["Ä","c"],["Ä","e"],["Ä","e"],["į","i"],["Å¡","s"],["ų","u"],["Å«","u"],["ž","z"],["Ä","A"],["Ä","C"],["Ä","E"],["Ä","E"],["Ä®","I"],["Å ","S"],["Ų","U"],["Ū","U"],["Ð","Kj"],["Ñ","kj"],["Ð","Lj"],["Ñ","lj"],["Ð","Nj"],["Ñ","nj"],["ТÑ","Ts"],["ÑÑ","ts"],["Ä
","a"],["Ä","c"],["Ä","e"],["Å","l"],["Å","n"],["Å","s"],["ź","z"],["ż","z"],["Ä","A"],["Ä","C"],["Ä","E"],["Å","L"],["Å","N"],["Å","S"],["Ź","Z"],["Å»","Z"],["Ð","Ye"],["Ð","I"],["Ð","Yi"],["Ò","G"],["Ñ","ye"],["Ñ","i"],["Ñ","yi"],["Ò","g"],["IJ","IJ"],["ij","ij"],["¢","c"],["Â¥","Y"],["ß¿","b"],["à§³","t"],["૱","Bo"],["฿","B"],["â ","CE"],["â¡","C"],["â¢","Cr"],["â£","F"],["â¥","m"],["â¦","N"],["â§","Pt"],["â¨","Rs"],["â©","W"],["â«","s"],["â¬","E"],["â","K"],["â®","T"],["â¯","Dp"],["â°","S"],["â±","P"],["â²","G"],["â³","A"],["â´","S"],["âµ","C"],["â¶","tt"],["â·","S"],["â¸","T"],["â¹","R"],["âº","L"],["â½","P"],["â¿","B"],["﹩","$"],["ï¿ ","c"],["ï¿¥","Y"],["₩","W"],["ð","A"],["ð","B"],["ð","C"],["ð","D"],["ð","E"],["ð
","F"],["ð","G"],["ð","H"],["ð","I"],["ð","J"],["ð","K"],["ð","L"],["ð","M"],["ð","N"],["ð","O"],["ð","P"],["ð","Q"],["ð","R"],["ð","S"],["ð","T"],["ð","U"],["ð","V"],["ð","W"],["ð","X"],["ð","Y"],["ð","Z"],["ð","a"],["ð","b"],["ð","c"],["ð","d"],["ð","e"],["ð","f"],["ð ","g"],["ð¡","h"],["ð¢","i"],["ð£","j"],["ð¤","k"],["ð¥","l"],["ð¦","m"],["ð§","n"],["ð¨","o"],["ð©","p"],["ðª","q"],["ð«","r"],["ð¬","s"],["ð","t"],["ð®","u"],["ð¯","v"],["ð°","w"],["ð±","x"],["ð²","y"],["ð³","z"],["ð´","A"],["ðµ","B"],["ð¶","C"],["ð·","D"],["ð¸","E"],["ð¹","F"],["ðº","G"],["ð»","H"],["ð¼","I"],["ð½","J"],["ð¾","K"],["ð¿","L"],["ð","M"],["ð","N"],["ð","O"],["ð","P"],["ð","Q"],["ð
","R"],["ð","S"],["ð","T"],["ð","U"],["ð","V"],["ð","W"],["ð","X"],["ð","Y"],["ð","Z"],["ð","a"],["ð","b"],["ð","c"],["ð","d"],["ð","e"],["ð","f"],["ð","g"],["ð","i"],["ð","j"],["ð","k"],["ð","l"],["ð","m"],["ð","n"],["ð","o"],["ð","p"],["ð","q"],["ð","r"],["ð ","s"],["ð¡","t"],["ð¢","u"],["ð£","v"],["ð¤","w"],["ð¥","x"],["ð¦","y"],["ð§","z"],["ð¨","A"],["ð©","B"],["ðª","C"],["ð«","D"],["ð¬","E"],["ð","F"],["ð®","G"],["ð¯","H"],["ð°","I"],["ð±","J"],["ð²","K"],["ð³","L"],["ð´","M"],["ðµ","N"],["ð¶","O"],["ð·","P"],["ð¸","Q"],["ð¹","R"],["ðº","S"],["ð»","T"],["ð¼","U"],["ð½","V"],["ð¾","W"],["ð¿","X"],["ð","Y"],["ð","Z"],["ð","a"],["ð","b"],["ð","c"],["ð
","d"],["ð","e"],["ð","f"],["ð","g"],["ð","h"],["ð","i"],["ð","j"],["ð","k"],["ð","l"],["ð","m"],["ð","n"],["ð","o"],["ð","p"],["ð","q"],["ð","r"],["ð","s"],["ð","t"],["ð","u"],["ð","v"],["ð","w"],["ð","x"],["ð","y"],["ð","z"],["ð","A"],["ð","C"],["ð","D"],["ð¢","g"],["ð¥","J"],["ð¦","K"],["ð©","N"],["ðª","O"],["ð«","P"],["ð¬","Q"],["ð®","S"],["ð¯","T"],["ð°","U"],["ð±","V"],["ð²","W"],["ð³","X"],["ð´","Y"],["ðµ","Z"],["ð¶","a"],["ð·","b"],["ð¸","c"],["ð¹","d"],["ð»","f"],["ð½","h"],["ð¾","i"],["ð¿","j"],["ð","k"],["ð","l"],["ð","m"],["ð","n"],["ð
","p"],["ð","q"],["ð","r"],["ð","s"],["ð","t"],["ð","u"],["ð","v"],["ð","w"],["ð","x"],["ð","y"],["ð","z"],["ð","A"],["ð","B"],["ð","C"],["ð","D"],["ð","E"],["ð","F"],["ð","G"],["ð","H"],["ð","I"],["ð","J"],["ð","K"],["ð","L"],["ð","M"],["ð","N"],["ð","O"],["ð","P"],["ð ","Q"],["ð¡","R"],["ð¢","S"],["ð£","T"],["ð¤","U"],["ð¥","V"],["ð¦","W"],["ð§","X"],["ð¨","Y"],["ð©","Z"],["ðª","a"],["ð«","b"],["ð¬","c"],["ð","d"],["ð®","e"],["ð¯","f"],["ð°","g"],["ð±","h"],["ð²","i"],["ð³","j"],["ð´","k"],["ðµ","l"],["ð¶","m"],["ð·","n"],["ð¸","o"],["ð¹","p"],["ðº","q"],["ð»","r"],["ð¼","s"],["ð½","t"],["ð¾","u"],["ð¿","v"],["ð","
89w"],["ð","x"],["ð","y"],["ð","z"],["ð","A"],["ð
","B"],["ð","D"],["ð","E"],["ð","F"],["ð","G"],["ð","J"],["ð","K"],["ð","L"],["ð","M"],["ð","N"],["ð","O"],["ð","P"],["ð","Q"],["ð","S"],["ð","T"],["ð","U"],["ð","V"],["ð","W"],["ð","X"],["ð","Y"],["ð","a"],["ð","b"],["ð ","c"],["ð¡","d"],["ð¢","e"],["ð£","f"],["ð¤","g"],["ð¥","h"],["ð¦","i"],["ð§","j"],["ð¨","k"],["ð©","l"],["ðª","m"],["ð«","n"],["ð¬","o"],["ð","p"],["ð®","q"],["ð¯","r"],["ð°","s"],["ð±","t"],["ð²","u"],["ð³","v"],["ð´","w"],["ðµ","x"],["ð¶","y"],["ð·","z"],["ð¸","A"],["ð¹","B"],["ð»","D"],["ð¼","E"],["ð½","F"],["ð¾","G"],["ð","I"],["ð","J"],["ð","K"],["ð","L"],["ð","M"],["ð","O"],["ð","S"],["ð","T"],["ð","U"],["ð","V"],["ð","W"],["ð","X"],["ð","Y"],["ð","a"],["ð","b"],["ð","c"],["ð","d"],["ð","e"],["ð","f"],["ð","g"],["ð","h"],["ð","i"],["ð","j"],["ð","k"],["ð","l"],["ð","m"],["ð","n"],["ð ","o"],["ð¡","p"],["ð¢","q"],["ð£","r"],["ð¤","s"],["ð¥","t"],["ð¦","u"],["ð§","v"],["ð¨","w"],["ð©","x"],["ðª","y"],["ð«","z"],["ð¬","A"],["ð","B"],["ð®","C"],["ð¯","D"],["ð°","E"],["ð±","F"],["ð²","G"],["ð³","H"],["ð´","I"],["ðµ","J"],["ð¶","K"],["ð·","L"],["ð¸","M"],["ð¹","N"],["ðº","O"],["ð»","P"],["ð¼","Q"],["ð½","R"],["ð¾","S"],["ð¿","T"],["ð","U"],["ð","V"],["ð","W"],["ð","X"],["ð","Y"],["ð
","Z"],["ð","a"],["ð","b"],["ð","c"],["ð","d"],["ð","e"],["ð","f"],["ð","g"],["ð","h"],["ð","i"],["ð","j"],["ð","k"],["ð","l"],["ð","m"],["ð","n"],["ð","o"],["ð","p"],["ð","q"],["ð","r"],["ð","s"],["ð","t"],["ð","u"],["ð","v"],["ð","w"],["ð","x"],["ð","y"],["ð","z"],["ð ","A"],["ð¡","B"],["ð¢","C"],["ð£","D"],["ð¤","E"],["ð¥","F"],["ð¦","G"],["ð§","H"],["ð¨","I"],["ð©","J"],["ðª","K"],["ð«","L"],["ð¬","M"],["ð","N"],["ð®","O"],["ð¯","P"],["ð°","Q"],["ð±","R"],["ð²","S"],["ð³","T"],["ð´","U"],["ðµ","V"],["ð¶","W"],["ð·","X"],["ð¸","Y"],["ð¹","Z"],["ðº","a"],["ð»","b"],["ð¼","c"],["ð½","d"],["ð¾","e"],["ð¿","f"],["ð","g"],["ð","h"],["ð","i"],["ð","j"],["ð","k"],["ð
","l"],["ð","m"],["ð","n"],["ð","o"],["ð","p"],["ð","q"],["ð","r"],["ð","s"],["ð","t"],["ð","u"],["ð","v"],["ð","w"],["ð","x"],["ð","y"],["ð","z"],["ð","A"],["ð","B"],["ð","C"],["ð","D"],["ð","E"],["ð","F"],["ð","G"],["ð","H"],["ð","I"],["ð","J"],["ð","K"],["ð","L"],["ð ","M"],["ð¡","N"],["ð¢","O"],["ð£","P"],["ð¤","Q"],["ð¥","R"],["ð¦","S"],["ð§","T"],["ð¨","U"],["ð©","V"],["ðª","W"],["ð«","X"],["ð¬","Y"],["ð","Z"],["ð®","a"],["ð¯","b"],["ð°","c"],["ð±","d"],["ð²","e"],["ð³","f"],["ð´","g"],["ðµ","h"],["ð¶","i"],["ð·","j"],["ð¸","k"],["ð¹","l"],["ðº","m"],["ð»","n"],["ð¼","o"],["ð½","p"],["ð¾","q"],["ð¿","r"],["ð","s"],["ð","t"],["ð","u"],["ð","v"],["ð","w"],["ð
","x"],["ð","y"],["ð","z"],["ð","A"],["ð","B"],["ð","C"],["ð","D"],["ð","E"],["ð","F"],["ð","G"],["ð","H"],["ð","I"],["ð","J"],["ð","K"],["ð","L"],["ð","M"],["ð","N"],["ð","O"],["ð","P"],["ð","Q"],["ð","R"],["ð","S"],["ð","T"],["ð","U"],["ð","V"],["ð","W"],["ð","X"],["ð ","Y"],["ð¡","Z"],["ð¢","a"],["ð£","b"],["ð¤","c"],["ð¥","d"],["ð¦","e"],["ð§","f"],["ð¨","g"],["ð©","h"],["ðª","i"],["ð«","j"],["ð¬","k"],["ð","l"],["ð®","m"],["ð¯","n"],["ð°","o"],["ð±","p"],["ð²","q"],["ð³","r"],["ð´","s"],["ðµ","t"],["ð¶","u"],["ð·","v"],["ð¸","w"],["ð¹","x"],["ðº","y"],["ð»","z"],["ð¼","A"],["ð½","B"],["ð¾","C"],["ð¿","D"],["ð","E"],["ð","F"],["ð","G"],["ð","H"],["ð","I"],["ð
","J"],["ð","K"],["ð","L"],["ð","M"],["ð","N"],["ð","O"],["ð","P"],["ð","Q"],["ð","R"],["ð","S"],["ð","T"],["ð","U"],["ð","V"],["ð","W"],["ð","X"],["ð","Y"],["ð","Z"],["ð","a"],["ð","b"],["ð","c"],["ð","d"],["ð","e"],["ð","f"],["ð","g"],["ð","h"],["ð","i"],["ð","j"],["ð ","k"],["ð¡","l"],["ð¢","m"],["ð£","n"],["ð¤","o"],["ð¥","p"],["ð¦","q"],["ð§","r"],["ð¨","s"],["ð©","t"],["ðª","u"],["ð«","v"],["ð¬","w"],["ð","x"],["ð®","y"],["ð¯","z"],["ð°","A"],["ð±","B"],["ð²","C"],["ð³","D"],["ð´","E"],["ðµ","F"],["ð¶","G"],["ð·","H"],["ð¸","I"],["ð¹","J"],["ðº","K"],["ð»","L"],["ð¼","M"],["ð½","N"],["ð¾","O"],["ð¿","P"],["ð","Q"],["ð","R"],["ð","S"],["ð","T"],["ð","U"],["ð
","V"],["ð","W"],["ð","X"],["ð","Y"],["ð","Z"],["ð","a"],["ð","b"],["ð","c"],["ð","d"],["ð","e"],["ð","f"],["ð","g"],["ð","h"],["ð","i"],["ð","j"],["ð","k"],["ð","l"],["ð","m"],["ð","n"],["ð","o"],["ð","p"],["ð","q"],["ð","r"],["ð","s"],["ð","t"],["ð","u"],["ð","v"],["ð ","w"],["ð¡","x"],["ð¢","y"],["ð£","z"],["ð¤","l"],["ð¥","j"],["ð¢","A"],["ð£","B"],["ð¤","G"],["ð¥","D"],["ð¦","E"],["ð§","Z"],["ð¨","I"],["ð©","TH"],["ðª","I"],["ð«","K"],["ð¬","L"],["ð","M"],["ð®","N"],["ð¯","KS"],["ð°","O"],["ð±","P"],["ð²","R"],["ð³","TH"],["ð´","S"],["ðµ","T"],["ð¶","Y"],["ð·","F"],["ð¸","x"],["ð¹","PS"],["ðº","O"],["ð»","D"],["ð¼","a"],["ð½","b"],["ð¾","g"],["ð¿","d"],["ð","e"],["ð","z"],["ð","i"],["ð","th"],["ð","i"],["ð
","k"],["ð","l"],["ð","m"],["ð","n"],["ð","ks"],["ð","o"],["ð","p"],["ð","r"],["ð","s"],["ð","s"],["ð","t"],["ð","y"],["ð","f"],["ð","x"],["ð","ps"],["ð","o"],["ð","d"],["ð","E"],["ð","TH"],["ð","K"],["ð","f"],["ð","r"],["ð","p"],["ð","A"],["ð","V"],["ð","G"],["ð","D"],["ð ","E"],["ð¡","Z"],["ð¢","I"],["ð£","TH"],["ð¤","I"],["ð¥","K"],["ð¦","L"],["ð§","M"],["ð¨","N"],["ð©","KS"],["ðª","O"],["ð«","P"],["ð¬","S"],["ð","TH"],["ð®","S"],["ð¯","T"],["ð°","Y"],["ð±","F"],["ð²","X"],["ð³","PS"],["ð´","O"],["ðµ","D"],["ð¶","a"],["ð·","v"],["ð¸","g"],["ð¹","d"],["ðº","e"],["ð»","z"],["ð¼","i"],["ð½","th"],["ð¾","i"],["ð¿","k"],["ð","l"],["ð","m"],["ð","n"],["ð","ks"],["ð","o"],["ð
","p"],["ð","r"],["ð","s"],["ð","s"],["ð","t"],["ð","y"],["ð","f"],["ð","x"],["ð","ps"],["ð","o"],["ð","a"],["ð","e"],["ð","i"],["ð","k"],["ð","f"],["ð","r"],["ð","p"],["ð","A"],["ð","B"],["ð","G"],["ð","D"],["ð","E"],["ð","Z"],["ð","I"],["ð","TH"],["ð","I"],["ð","K"],["ð ","L"],["ð¡","M"],["ð¢","N"],["ð£","KS"],["ð¤","O"],["ð¥","P"],["ð¦","R"],["ð§","TH"],["ð¨","S"],["ð©","T"],["ðª","Y"],["ð«","F"],["ð¬","X"],["ð","PS"],["ð®","O"],["ð¯","D"],["ð°","a"],["ð±","v"],["ð²","g"],["ð³","d"],["ð´","e"],["ðµ","z"],["ð¶","i"],["ð·","th"],["ð¸","i"],["ð¹","k"],["ðº","l"],["ð»","m"],["ð¼","n"],["ð½","ks"],["ð¾","o"],["ð¿","p"],["ð","r"],["ð","s"],["ð","s"],["ð","t"],["ð","y"],["ð
","f"],["ð","x"],["ð","ps"],["ð","o"],["ð","a"],["ð","e"],["ð","i"],["ð","k"],["ð","f"],["ð","r"],["ð","p"],["ð","A"],["ð","V"],["ð","G"],["ð","D"],["ð","E"],["ð","Z"],["ð","I"],["ð","TH"],["ð","I"],["ð","K"],["ð","L"],["ð","M"],["ð","N"],["ð","KS"],["ð","O"],["ð","P"],["ð ","S"],["ð¡","TH"],["ð¢","S"],["ð£","T"],["ð¤","Y"],["ð¥","F"],["ð¦","X"],["ð§","PS"],["ð¨","O"],["ð©","D"],["ðª","av"],["ð«","g"],["ð¬","d"],["ð","e"],["ð®","z"],["ð¯","i"],["ð°","i"],["ð±","th"],["ð²","i"],["ð³","k"],["ð´","l"],["ðµ","m"],["ð¶","n"],["ð·","ks"],["ð¸","o"],["ð¹","p"],["ðº","r"],["ð»","s"],["ð¼","s"],["ð½","t"],["ð¾","y"],["ð¿","f"],["ð","x"],["ð","ps"],["ð","o"],["ð","a"],["ð","e"],["ð
","i"],["ð","k"],["ð","f"],["ð","r"],["ð","p"],["ð","F"],["ð","f"],["â","(a)"],["â","(b)"],["â","(c)"],["â","(d)"],["â ","(e)"],["â¡","(f)"],["â¢","(g)"],["â£","(h)"],["â¤","(i)"],["â¥","(j)"],["â¦","(k)"],["â§","(l)"],["â¨","(m)"],["â©","(n)"],["âª","(o)"],["â«","(p)"],["â¬","(q)"],["â","(r)"],["â®","(s)"],["â¯","(t)"],["â°","(u)"],["â±","(v)"],["â²","(w)"],["â³","(x)"],["â´","(y)"],["âµ","(z)"],["â¶","(A)"],["â·","(B)"],["â¸","(C)"],["â¹","(D)"],["âº","(E)"],["â»","(F)"],["â¼","(G)"],["â½","(H)"],["â¾","(I)"],["â¿","(J)"],["â","(K)"],["â","(L)"],["â","(N)"],["â","(O)"],["â
","(P)"],["â","(Q)"],["â","(R)"],["â","(S)"],["â","(T)"],["â","(U)"],["â","(V)"],["â","(W)"],["â","(X)"],["â","(Y)"],["â","(Z)"],["â","(a)"],["â","(b)"],["â","(c)"],["â","(d)"],["â","(e)"],["â","(f)"],["â","(g)"],["â","(h)"],["â","(i)"],["â","(j)"],["â","(k)"],["â","(l)"],["â","(m)"],["â","(n)"],["â","(o)"],["â","(p)"],["â ","(q)"],["â¡","(r)"],["â¢","(s)"],["â£","(t)"],["â¤","(u)"],["â¥","(v)"],["â¦","(w)"],["â§","(x)"],["â¨","(y)"],["â©","(z)"],["Ä","C"],["Ä","c"],["Ä ","G"],["Ä¡","g"],["Ħ","H"],["ħ","h"],["Å»","Z"],["ż","z"],["ð","0"],["ð","1"],["ð","2"],["ð","3"],["ð","4"],["ð","5"],["ð","6"],["ð","7"],["ð","8"],["ð","9"],["ð","0"],["ð","1"],["ð","2"],["ð","3"],["ð","4"],["ð","5"],["ð","6"],["ð","7"],["ð ","8"],["ð¡","9"],["ð¢","0"],["ð£","1"],["ð¤","2"],["ð¥","3"],["ð¦","4"],["ð§","5"],["ð¨","6"],["ð©","7"],["ðª","8"],["ð«","9"],["ð¬","0"],["ð","1"],["ð®","2"],["ð¯","3"],["ð°","4"],["ð±","5"],["ð²","6"],["ð³","7"],["ð´","8"],["ðµ","9"],["ð¶","0"],["ð·","1"],["ð¸","2"],["ð¹","3"],["ðº","4"],["ð»","5"],["ð¼","6"],["ð½","7"],["ð¾","8"],["ð¿","9"],["â ","1"],["â¡","2"],["â¢","3"],["â£","4"],["â¤","5"],["â¥","6"],["â¦","7"],["â§","8"],["â¨","9"],["â©","10"],["âª","11"],["â«","12"],["â¬","13"],["â","14"],["â®","15"],["â¯","16"],["â°","17"],["â±","18"],["â²","19"],["â³","20"],["â´","1"],["âµ","2"],["â¶","3"],["â·","4"],["â¸","5"],["â¹","6"],["âº","7"],["â»","8"],["â¼","9"],["â½","10"],["â¾","11"],["â¿","12"],["â","13"],["â","14"],["â","15"],["â","16"],["â","17"],["â
","18"],["â","19"],["â","20"],["â","1."],["â","2."],["â","3."],["â","4."],["â","5."],["â","6."],["â","7."],["â","8."],["â","9."],["â","10."],["â","11."],["â","12."],["â","13."],["â","14."],["â","15."],["â","16."],["â","17."],["â","18."],["â","19."],["â","20."],["âª","0"],["â«","11"],["â¬","12"],["â","13"],["â®","14"],["â¯","15"],["â°","16"],["â±","17"],["â²","18"],["â³","19"],["â´","20"],["âµ","1"],["â¶","2"],["â·","3"],["â¸","4"],["â¹","5"],["âº","6"],["â
89»","7"],["â¼","8"],["â½","9"],["â¾","10"],["â¿","0"],["ð°","&"],["ð±","&"],["ð²","&"],["ð³","&"],["ð´","&"],["ðµ","&"],["ð¶",'"'],["ð·",'"'],["ð¸",'"'],["â½","?!"],["ð¹","?!"],["ðº","?!"],["ð»","?!"],["ð¼","/"],["ð½","\\"],["ð","AR"],["ð","V"],["ð","V"],["ð","VR"],["ð
","VF"],["ð©","2"],["ðª","5"],["ð¡","f"],["ð¢","W"],["ð£","U"],["ð§","V"],["ð¨","T"],["ðª","V"],["ð«","MB"],["ð¬","VB"],["ð²","3B"],["ð³","3B"],["ð¯","100"],["ð","BACK"],["ð","END"],["ð","ON!"],["ð","SOON"],["ð","TOP"],["ð","18"],["ð¤","abc"],["ð ","ABCD"],["ð¡","abcd"],["ð¢","1234"],["ð£","T&@%"],["#ï¸â£","#"],["*ï¸â£","*"],["0ï¸â£","0"],["1ï¸â£","1"],["2ï¸â£","2"],["3ï¸â£","3"],["4ï¸â£","4"],["5ï¸â£","5"],["6ï¸â£","6"],["7ï¸â£","7"],["8ï¸â£","8"],["9ï¸â£","9"],["ð","10"],["ð
°ï¸","A"],["ð
±ï¸","B"],["ð","AB"],["ð","CL"],["ð
¾ï¸","O"],["ð
¿","P"],["ð","SOS"],["ð
²","C"],["ð
³","D"],["ð
´","E"],["ð
µ","F"],["ð
¶","G"],["ð
·","H"],["ð
¸","I"],["ð
¹","J"],["ð
º","K"],["ð
»","L"],["ð
¼","M"],["ð
½","N"],["ð","Q"],["ð","R"],["ð","S"],["ð","T"],["ð","U"],["ð
","V"],["ð","W"],["ð","X"],["ð","Y"],["ð","Z"],["â","-"],["â","-"]],Yn=new Map(gl),vr=[["æ","ae"],["Ã","Ae"],["ø","oe"],["Ã","Oe"],["Ã¥","aa"],["Ã
","Aa"]],ht={sv:[["ä","a"],["Ã","A"],["ö","o"],["Ã","O"],["Ã¥","a"],["Ã
","A"]],da:vr,nb:vr,de:[["ä","ae"],["Ã","Ae"],["ö","oe"],["Ã","Oe"],["ü","ue"],["Ã","Ue"],["Ã","ss"],["áº","Ss"]],tr:[["â","a"],["Ã","A"],["ö","o"],["Ã","O"],["ü","u"],["Ã","U"]],hu:[["ű","u"],["Ű","U"],["ö","o"],["Ã","O"],["ü","u"],["Ã","U"],["á","a"],["Ã","A"],["é","e"],["Ã","E"],["Ã","i"],["Ã","I"],["ó","o"],["Ã","O"],["ú","u"],["Ã","U"]],sr:[["Ñ","dj"],["Ð","Dj"],["Ñ","dz"],["Ð","Dz"],["Ñ","lj"],["Ð","Lj"],["Ñ","nj"],["Ð","Nj"],["Ñ","c"],["Ð","C"],["Ñ","ch"],["Ч","Ch"],["Ñ","sh"],["Ш","Sh"],["ж","zh"],["Ð","Zh"]]};for(const e of Object.keys(ht))ht[e]=new Map(ht[e]);const bl=e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),Fi=e=>{const t=[...e.keys()].sort((s,m)=>m.length-s.length);return new RegExp(t.map(s=>bl(s)).join("|"),"gu")},yl=Fi(Yn),Mi=new Map;for(const[e,t]of Object.entries(ht)){const s=new Map(Yn);for(const[m,p]of t)s.set(m,p);Mi.set(e,{replacements:s,pattern:Fi(s)})}const vl=e=>{if(!e)return;const t=e.toLowerCase().replace(/^no(-|$)/,"nb$1");if(Object.hasOwn(ht,t))return t;const s=t.split("-")[0];if(Object.hasOwn(ht,s))return s};function xl(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};const s=vl(t.locale),m=[...t.customReplacements];let p=Yn,d=yl;if(s&&({replacements:p,pattern:d}=Mi.get(s)),e=e.normalize(),m.length>0){m.sort((g,o)=>o[0].length-g[0].length);for(const[g,o]of m)e=e.replaceAll(g,o)}return e=e.replace(d,g=>p.get(g)??g),e=e.normalize("NFD").replaceAll(new RegExp("\\p{Diacritic}","gu"),"").normalize(),e=e.replaceAll(new RegExp("\\p{Dash_Punctuation}","gu"),"-"),e}const _l=[["&"," and "],["ð¦"," unicorn "],["â¥"," love "]],Al=e=>e.replaceAll(/([A-Z]{2,})(\d+)/g,"$1 $2").replaceAll(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replaceAll(/([a-z\d])([A-Z])/g,"$1 $2").replaceAll(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),El=(e,t)=>{const s=Li(t);return e.replaceAll(new RegExp(`(?:${s}){2,}`,"g"),t).replaceAll(new RegExp(`^(?:${s})|(?:${s})$`,"g"),"")},wl=e=>{let t=String.raw`a-z\d`;if(t+=e.lowercase?"":"A-Z",e.transliterate===!1&&(t+=String.raw`\p{L}\p{N}`),e.preserveCharacters.length>0)for(const m of e.preserveCharacters){if(m===e.separator)throw new Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=Li(m)}const s=e.transliterate?"g":"gu";return new RegExp(`[^${t}]+`,s)};function Cl(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],transliterate:!0,...t};const s=t.preserveLeadingUnderscore&&e.startsWith("_"),m=t.preserveTrailingDash&&e.endsWith("-");if(t.transliterate){const d=new Map([..._l,...t.customReplacements]);e=xl(e,{customReplacements:d,locale:t.locale})}else if(t.customReplacements.length>0)for(const[d,g]of t.customReplacements)e=e.replaceAll(d,g);t.decamelize&&(e=Al(e));const p=wl(t);return t.lowercase&&(e=t.locale?e.toLocaleLowerCase(t.locale):e.toLowerCase()),e=e.replaceAll(/([a-zA-Z\d]+)['\u2019]([ts])(\s|$)/g,"$1$2$3"),e=e.replace(p,t.separator),e=e.replaceAll("\\",""),t.separator&&(e=El(e,t.separator)),s&&(e=`_${e}`),m&&(e=`${e}-`),e}function Sl(e){e.core.ruler.push("curly_attributes",kl)}function kl(e){e.md.nav=[],e.md.attrs={keys:[],sections:{}},e.md.sections={};const t=e.tokens,s=[];let m;const p={len:0,contents:[],types:{}},d=[];let g=[],o=!1,n=0,b=!1,y=0;for(let v=0;v<t.length;v++){const r=t[v];if(r.tag==="p"){const{shouldContinue:l}=Ol(t[v+1]);if(l){v=v+2;
89continue}}if(($i(r.type)||xi[r.type])&&Pi(p,r),r.tag==="h1"||r.tag==="h2"){const l=Dl(v,t,g,o,n,b,y,e,p);o=l.sectionStart,b=l.sectionSteps,n=l.sectionStartIndex,y=l.sectionStepsIndex}if(r.tag==="h3"){const l=Tl(v,t,g,o,n,b,y,e,p);o=l.sectionStart,b=l.sectionSteps,n=l.sectionStartIndex,y=l.sectionStepsIndex}if(r.type==="html_block"){const l=r.content.match(vi);if(!l){r.level=r.level+1,g.push(r);continue}m=Bi(p,l[1],l[2]),m&&ft(m,l[3],e.md)&&s.unshift(v)}r.type==="inline"&&(g=Il(r,p,d,g,n,y,b,e.md)),r.level=r.level+1,g.push(r);const i=De(p.last.attrs,"as");p.last.markup==="#"&&_a.includes(i)&&(g=Rl(g,e,p),v++)}o&&(ji(g,n),Ln(g,n,e)),b&&Ln(g,y,e),Ll(g,e.md),s.forEach(v=>t.splice(v,1)),e.tokens=g,e.md.nav=d||[]}function Ke(e,t,s,m,p,d=null){const g=new e.Token(p,t,s);return g.attrs=d,g.nesting=m,g}function $i(e){return e.match(/_(open|start)$/)||e==="fence"||e==="code_block"}function Ol(e){const t=/\r\n|\r|\n/,s=/mode\s*=\s*(['"])fallback\1/g;let m=!1;if(s.test((e==null?void 0:e.content)||""))if(t.test(e.content)){const p=e.content.split(t);p.shift(),e.content=p.join(/\n/),e.children[0].type==="text"&&e.children.shift(),e.children.shift()}else m=!0;return{shouldContinue:m}}function Il(e,t,s,m,p,d,g,o){let n;const b=[];if(e.children.forEach((y,v)=>{($i(y.type)||xi[y.type]||y.type==="code_inline")&&Pi(t,y);const r=y.content.match(vi);if(r){const i=Bi(t,r[1],r[2]);i&&ft(i,r[3],o)&&(b.unshift(v),n&&Nl(n,"content"))}y.type==="text"&&(n=y)}),t.last.tag==="h3"&&g&&d!==-1){const y=m[d];y.section=m[p].id,ft(y,t.last.attrStr,o)}if(t.last.tag==="h1"||t.last.tag==="h2"){const y=n&&n.content,v=De(t.last.attrs,"id"),r=De(t.last.attrs,"as"),i=De(t.last.attrs,"mode")||"container",l=De(t.last.attrs,"position")||"left",c=Cl(y||""),a=v||c,x=`section-${a}`,h=De(t.last.attrs,"nav")!=="false";t.last.tag==="h2"&&y&&s.push({title:y,id:x,state:h});const _=m[p],w=m[m.length-1],S=`.${i} .${l}`;_.attrs.push(["id",x]),_.id=x,r&&(w.tag=r,w.type="html_open",w.as=r,w.section=x,e.type="html_inline",e.content="",e.children=null,ft(w,`${n?`title='${n.content}'`:""}${t.last.attrStr} #${a}`,o),_.mode=i,_.position=l,ft(_,`#${x} .${_.attrs[0][1]} .section-custom`,o)),ft(_,S,o)}return e.children&&b.forEach(y=>e.children.splice(y,1)),m}function Dl(e,t,s,m,p,d,g,o,n){const b=t[e];if(b.type==="heading_close"&&(b.tag=s[s.length-2].tag,b.type=s[s.length-2].type.replace("_open","_close")),b.type==="heading_open"){if(m){d&&(Ln(s,g,o),d=!1,g=-1);const y=s[p].tag;ji(s,p),s.push(Ke(o,y,-1,-1,"html_close")),m=!1,p=-1}m||(s.push(Ke(o,"div",0,1,"html_open",[["class","section-wrap"]])),m=!0,p=s.length-1,n.last.as=!!t[e+1].content.includes("as="))}return{sectionStart:m,sectionStartIndex:p,sectionSteps:d,sectionStepsIndex:g,stack:n,finalTokens:s}}function Tl(e,t,s,m,p,d,g,o,n){return t[e].type==="heading_open"&&m&&s[p].mode==="tour"&&(d&&(s.push(Ke(o,"section-step",-1,-1,"html_close")),d=!1,g=-1),d||(s.push(Ke(o,"section-step",0,1,"html_open")),d=!0,g=s.length-1,n.last.as=!!t[e+1].content.includes("as="))),{sectionStart:m,sectionStartIndex:p,sectionSteps:d,sectionStepsIndex:g,stack:n,finalTokens:s}}function Rl(e,t,s){return e.push(Ke(t,s.last.tag,1,-1,"html_close",null)),e.push(Ke(t,"h1",1,1,"html_open",null)),e.push(Ke(t,"h1",2,0,"html_inline",null)),e[e.length-1].content=De(s.last.attrs,"title"),e.push(Ke(t,"h1",1,-1,"html_close",null)),e}function ji(e,t){const s=e[t+1],m=De(s.attrs,"as"),p=De(s.attrs,"mode");m&&!p&&(e.splice(t+2,1),e.slice(t+3).forEach(d=>{d.level=1}),e.push(e[t+2]),e.splice(t+2,1))}function Ln(e,t,s){const m=e[t].tag;e.push(Ke(s,m,-1,-1,"html_close"))}function De(e,t){var s;return((s=(e||[]).find(m=>m[0]===t))==null?void 0:s[1])||null}function Bi(e,t,s){if(!t)return e.last;s==="^"?s=1:typeof s=="string"?s=+s.slice(1):s=0;const p=(va[t.toLowerCase()]||[t.toLowerCase()]).find(g=>e.types[g]),d=e.types[p];if(d)return d[d.length-1-s]}function ft(e,t="",s=null){var o,n;let m;for(e.attrStr=t;t.length>0;)if(m=t.match(/^\s*\.([a-zA-Z0-9\-_]+)/))Xe(e,"class",m[1],{append:!0}),t=t.slice(m[0].length);else if(m=t.match(/^\s*#([a-zA-Z0-9\-_]+)/))Xe(e,"id",m[1]),t=t.slice(m[0].length);else if(m=t.match(/^\s*([a-zA-Z0-9\-_]+)="([^"]*)"/))Xe(e,m[1],m[2]),t=t.slice(m[0].length);else if(m=t.match(/^\s*([a-zA-Z0-9\-_]+)='([^']*)'/))Xe(e,m[1],m[2]),t=t.slice(m[0].length);else if(m=t.match(/^\s*([a-zA-Z0-9\-_]+)=([^ ]*)/))Xe(e,m[1],m[2]),t=t.slice(m[0].length);else if(m=t.match(/^\s*([a-zA-Z0-9\-_]+)/))Xe(e,m[1],""),t=t.slice(m[0].length);else if(m=t.match(/^\s+/))t=t.slice(m[0].length);else if(m=t.match(/^\s*as="([a-zA-Z0-9\-_]+)"/))Xe(e,"as",m[1]),t=t.slice(m[0].length);else break;const p=De(e.attrs,"as"),d=De(e.attrs,"mode"),g=s?s.showMapLoadingIndicator:!1;if(p==="eox-map"&&g===!0){const b=De(e.attrs,"controls"),y=De(e.attrs,"config");if(y)try{const v=JSON.parse(y);if(!v.controls){v.controls={LoadingIndicator:{}};const r=e.attrIndex("config");e.attrs[r][1]=JSON.stringify(v)}}catch(v){console.error("Error parsing/merging config for map:",v)}else b||Xe(e,"controls",'{"LoadingIndicator":{}}')}
89return(n=(o=xa[p])==null?void 0:o[d])==null||n.forEach(b=>{De(e.attrs,b[0])||(Xe(e,b[0],b[1]),t=t.slice(b[0].length))}),!0}function Xe(e,t,s,m={}){const p=e.attrIndex(t);t==="class"&&m.append&&p!==-1?e.attrs[p][1].includes(s)||(e.attrs[p][1]+=` ${s}`):p===-1?e.attrPush([t,s]):m.append?e.attrs[p][1]+=` ${s}`:e.attrs[p][1]=s}function Pi(e,t){const s=t.type.replace(/_(open|start)$/,"");e.types[s]||(e.types[s]=[]),e.types[s].push(t),e.last=t}function Nl(e,t){e[t]=e[t].replace(/\s*$/,"")}function Ll(e,t){e.forEach(s=>{const m=s.attrs||[];let p={};if(Fl(s,t),m.forEach(d=>{t.attrs.keys.includes(d[0])||t.attrs.keys.push(d[0]),p={...p,[d[0]]:Si(d[1])},s.section&&(Ml(s,d,t),$l(s,d,t))}),m.length&&s.section){const d=s.tag==="section-step",g=d?` ${s.tag} `:"",o=s.section+g,n=Object.keys(t.attrs.sections).filter(v=>!!v.startsWith(o)).length+1,y=o+(d?n:"");t.attrs.sections={...t.attrs.sections,[y]:{...p,...d?{as:s.tag,mode:"tour"}:{}}}}})}function Fl(e,t){var s,m;e.section&&(e.tag==="section-step"&&!t.sections[e.section].steps&&(t.sections[e.section].steps=[]),(e.markup==="#"||e.markup==="##")&&(t.sections[e.section]=t.sections[e.section]||{}),(m=(s=t.sections[e.section])==null?void 0:s.steps)==null||m.push({}))}function Ml(e,t,s){e.markup==="##"&&(s.sections[e.section]={[t[0]]:Hn(t[1]),...s.sections[e.section]})}function $l(e,t,s){if(e.tag==="section-step"){const m=s.sections[e.section].steps,p=m.length-1,d=m[p];m[p]={[t[0]]:Hn(t[1]),...d}}}function jl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Se={},Mt={},tt={},xr;function Ot(){if(xr)return tt;xr=1;function e(g){return typeof g>"u"||g===null}function t(g){return typeof g=="object"&&g!==null}function s(g){return Array.isArray(g)?g:e(g)?[]:[g]}function m(g,o){if(o){const n=Object.keys(o);for(let b=0,y=n.length;b<y;b+=1){const v=n[b];g[v]=o[v]}}return g}function p(g,o){let n="";for(let b=0;b<o;b+=1)n+=g;return n}function d(g){return g===0&&Number.NEGATIVE_INFINITY===1/g}return tt.isNothing=e,tt.isObject=t,tt.toArray=s,tt.repeat=p,tt.isNegativeZero=d,tt.extend=m,tt}var ln,_r;function It(){if(_r)return ln;_r=1;function e(s,m){let p="";const d=s.reason||"(unknown reason)";return s.mark?(s.mark.name&&(p+='in "'+s.mark.name+'" '),p+="("+(s.mark.line+1)+":"+(s.mark.column+1)+")",!m&&s.mark.snippet&&(p+=` 90 91`+s.mark.snippet),d+" "+p):d}function t(s,m){Error.call(this),this.name="YAMLException",this.reason=s,this.mark=m,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=function(m){return this.name+": "+e(this,m)},ln=t,ln}var cn,Ar;function Bl(){if(Ar)return cn;Ar=1;const e=Ot();function t(p,d,g,o,n){let b="",y="";const v=Math.floor(n/2)-1;return o-d>v&&(b=" ... ",d=o-v+b.length),g-o>v&&(y=" ...",g=o+v-y.length),{str:b+p.slice(d,g).replace(/\t/g,"â")+y,pos:o-d+b.length}}function s(p,d){return e.repeat(" ",d-p.length)+p}function m(p,d){if(d=Object.create(d||null),!p.buffer)return null;d.maxLength||(d.maxLength=79),typeof d.indent!="number"&&(d.indent=1),typeof d.linesBefore!="number"&&(d.linesBefore=3),typeof d.linesAfter!="number"&&(d.linesAfter=2);const g=/\r?\n|\r|\0/g,o=[0],n=[];let b,y=-1;for(;b=g.exec(p.buffer);)n.push(b.index),o.push(b.index+b[0].length),p.position<=b.index&&y<0&&(y=o.length-2);y<0&&(y=o.length-1);let v="";const r=Math.min(p.line+d.linesAfter,n.length).toString().length,i=d.maxLength-(d.indent+r+3);for(let c=1;c<=d.linesBefore&&!(y-c<0);c++){const a=t(p.buffer,o[y-c],n[y-c],p.position-(o[y]-o[y-c]),i);v=e.repeat(" ",d.indent)+s((p.line-c+1).toString(),r)+" | "+a.str+` 92`+v}const l=t(p.buffer,o[y],n[y],p.position,i);v+=e.repeat(" ",d.indent)+s((p.line+1).toString(),r)+" | "+l.str+` 93`,v+=e.repeat("-",d.indent+r+3+l.pos)+`^ 94`;for(let c=1;c<=d.linesAfter&&!(y+c>=n.length);c++){const a=t(p.buffer,o[y+c],n[y+c],p.position-(o[y]-o[y+c]),i);v+=e.repeat(" ",d.indent)+s((p.line+c+1).toString(),r)+" | "+a.str+` 95`}return v.replace(/\n$/,"")}return cn=m,cn}var fn,Er;function Oe(){if(Er)return fn;Er=1;const e=It(),t=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],s=["scalar","sequence","mapping"];function m(d){const g={};
95return d!==null&&Object.keys(d).forEach(function(o){d[o].forEach(function(n){g[String(n)]=o})}),g}function p(d,g){if(g=g||{},Object.keys(g).forEach(function(o){if(t.indexOf(o)===-1)throw new e('Unknown option "'+o+'" is met in definition of "'+d+'" YAML type.')}),this.options=g,this.tag=d,this.kind=g.kind||null,this.resolve=g.resolve||function(){return!0},this.construct=g.construct||function(o){return o},this.instanceOf=g.instanceOf||null,this.predicate=g.predicate||null,this.represent=g.represent||null,this.representName=g.representName||null,this.defaultStyle=g.defaultStyle||null,this.multi=g.multi||!1,this.styleAliases=m(g.styleAliases||null),s.indexOf(this.kind)===-1)throw new e('Unknown kind "'+this.kind+'" is specified for "'+d+'" YAML type.')}return fn=p,fn}var dn,wr;function qi(){if(wr)return dn;wr=1;const e=It(),t=Oe();function s(d,g){const o=[];return d[g].forEach(function(n){let b=o.length;o.forEach(function(y,v){y.tag===n.tag&&y.kind===n.kind&&y.multi===n.multi&&(b=v)}),o[b]=n}),o}function m(){const d={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function g(o){o.multi?(d.multi[o.kind].push(o),d.multi.fallback.push(o)):d[o.kind][o.tag]=d.fallback[o.tag]=o}for(let o=0,n=arguments.length;o<n;o+=1)arguments[o].forEach(g);return d}function p(d){return this.extend(d)}return p.prototype.extend=function(g){let o=[],n=[];if(g instanceof t)n.push(g);else if(Array.isArray(g))n=n.concat(g);else if(g&&(Array.isArray(g.implicit)||Array.isArray(g.explicit)))g.implicit&&(o=o.concat(g.implicit)),g.explicit&&(n=n.concat(g.explicit));else throw new e("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");o.forEach(function(y){if(!(y instanceof t))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(y.loadKind&&y.loadKind!=="scalar")throw new e("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(y.multi)throw new e("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(y){if(!(y instanceof t))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.")});const b=Object.create(p.prototype);return b.implicit=(this.implicit||[]).concat(o),b.explicit=(this.explicit||[]).concat(n),b.compiledImplicit=s(b,"implicit"),b.compiledExplicit=s(b,"explicit"),b.compiledTypeMap=m(b.compiledImplicit,b.compiledExplicit),b},dn=p,dn}var hn,Cr;function zi(){if(Cr)return hn;Cr=1;const e=Oe();return hn=new e("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),hn}var pn,Sr;function Ui(){if(Sr)return pn;Sr=1;const e=Oe();return pn=new e("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),pn}var mn,kr;function Hi(){if(kr)return mn;kr=1;const e=Oe();return mn=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),mn}var gn,Or;function Gi(){if(Or)return gn;Or=1;const e=qi();return gn=new e({explicit:[zi(),Ui(),Hi()]}),gn}var bn,Ir;function Yi(){if(Ir)return bn;Ir=1;const e=Oe();function t(p){if(p===null)return!0;const d=p.length;return d===1&&p==="~"||d===4&&(p==="null"||p==="Null"||p==="NULL")}function s(){return null}function m(p){return p===null}return bn=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:t,construct:s,predicate:m,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),bn}var yn,Dr;function Xi(){if(Dr)return yn;Dr=1;const e=Oe();function t(p){if(p===null)return!1;const d=p.length;return d===4&&(p==="true"||p==="True"||p==="TRUE")||d===5&&(p==="false"||p==="False"||p==="FALSE")}function s(p){return p==="true"||p==="True"||p==="TRUE"}function m(p){return Object.prototype.toString.call(p)==="[object Boolean]"}return yn=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:t,construct:s,predicate:m,represent:{lowercase:function(p){return p?"true":"false"},uppercase:function(p){return p?"TRUE":"FALSE"},camelcase:function(p){return p?"True":"False"}},defaultStyle:"lowercase"}),yn}var vn,Tr;function Vi(){if(Tr)return vn;Tr=1;const e=Ot(),t=Oe();function s(b){return b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102}function m(b){return b>=48&&b<=55}function p(b){return b>=48&&b<=57}function d(b){if(b===null)return!1;const y=b.length;let v=0,r=!1;if(!y)return!1;let i=b[v];
95if((i==="-"||i==="+")&&(i=b[++v]),i==="0"){if(v+1===y)return!0;if(i=b[++v],i==="b"){for(v++;v<y;v++){if(i=b[v],i!=="0"&&i!=="1")return!1;r=!0}return r&&isFinite(g(b))}if(i==="x"){for(v++;v<y;v++){if(!s(b.charCodeAt(v)))return!1;r=!0}return r&&isFinite(g(b))}if(i==="o"){for(v++;v<y;v++){if(!m(b.charCodeAt(v)))return!1;r=!0}return r&&isFinite(g(b))}}for(;v<y;v++){if(!p(b.charCodeAt(v)))return!1;r=!0}return r?isFinite(g(b)):!1}function g(b){let y=b,v=1,r=y[0];if((r==="-"||r==="+")&&(r==="-"&&(v=-1),y=y.slice(1),r=y[0]),y==="0")return 0;if(r==="0"){if(y[1]==="b")return v*parseInt(y.slice(2),2);if(y[1]==="x")return v*parseInt(y.slice(2),16);if(y[1]==="o")return v*parseInt(y.slice(2),8)}return v*parseInt(y,10)}function o(b){return g(b)}function n(b){return Object.prototype.toString.call(b)==="[object Number]"&&b%1===0&&!e.isNegativeZero(b)}return vn=new t("tag:yaml.org,2002:int",{kind:"scalar",resolve:d,construct:o,predicate:n,represent:{binary:function(b){return b>=0?"0b"+b.toString(2):"-0b"+b.toString(2).slice(1)},octal:function(b){return b>=0?"0o"+b.toString(8):"-0o"+b.toString(8).slice(1)},decimal:function(b){return b.toString(10)},hexadecimal:function(b){return b>=0?"0x"+b.toString(16).toUpperCase():"-0x"+b.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),vn}var xn,Rr;function Wi(){if(Rr)return xn;Rr=1;const e=Ot(),t=Oe(),s=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function p(b){return b===null||!s.test(b)?!1:isFinite(parseFloat(b,10))?!0:m.test(b)}function d(b){let y=b.toLowerCase();const v=y[0]==="-"?-1:1;return"+-".indexOf(y[0])>=0&&(y=y.slice(1)),y===".inf"?v===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:y===".nan"?NaN:v*parseFloat(y,10)}const g=/^[-+]?[0-9]+e/;function o(b,y){if(isNaN(b))switch(y){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===b)switch(y){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===b)switch(y){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e.isNegativeZero(b))return"-0.0";const v=b.toString(10);return g.test(v)?v.replace("e",".e"):v}function n(b){return Object.prototype.toString.call(b)==="[object Number]"&&(b%1!==0||e.isNegativeZero(b))}return xn=new t("tag:yaml.org,2002:float",{kind:"scalar",resolve:p,construct:d,predicate:n,represent:o,defaultStyle:"lowercase"}),xn}var _n,Nr;function Ki(){return Nr||(Nr=1,_n=Gi().extend({implicit:[Yi(),Xi(),Vi(),Wi()]})),_n}var An,Lr;function Zi(){return Lr||(Lr=1,An=Ki()),An}var En,Fr;function Ji(){if(Fr)return En;Fr=1;const e=Oe(),t=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),s=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 m(g){return g===null?!1:t.exec(g)!==null||s.exec(g)!==null}function p(g){let o=0,n=null,b=t.exec(g);if(b===null&&(b=s.exec(g)),b===null)throw new Error("Date resolve error");const y=+b[1],v=+b[2]-1,r=+b[3];if(!b[4])return new Date(Date.UTC(y,v,r));const i=+b[4],l=+b[5],c=+b[6];if(b[7]){for(o=b[7].slice(0,3);o.length<3;)o+="0";o=+o}if(b[9]){const x=+b[10],f=+(b[11]||0);n=(x*60+f)*6e4,b[9]==="-"&&(n=-n)}const a=new Date(Date.UTC(y,v,r,i,l,c,o));return n&&a.setTime(a.getTime()-n),a}function d(g){return g.toISOString()}return En=new e("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:m,construct:p,instanceOf:Date,represent:d}),En}var wn,Mr;function Qi(){if(Mr)return wn;Mr=1;const e=Oe();function t(s){return s==="<<"||s===null}return wn=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:t}),wn}var Cn,$r;function es(){if($r)return Cn;$r=1;const e=Oe(),t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
95+/= 96\r`;function s(g){if(g===null)return!1;let o=0;const n=g.length,b=t;for(let y=0;y<n;y++){const v=b.indexOf(g.charAt(y));if(!(v>64)){if(v<0)return!1;o+=6}}return o%8===0}function m(g){const o=g.replace(/[\r\n=]/g,""),n=o.length,b=t;let y=0;const v=[];for(let i=0;i<n;i++)i%4===0&&i&&(v.push(y>>16&255),v.push(y>>8&255),v.push(y&255)),y=y<<6|b.indexOf(o.charAt(i));const r=n%4*6;return r===0?(v.push(y>>16&255),v.push(y>>8&255),v.push(y&255)):r===18?(v.push(y>>10&255),v.push(y>>2&255)):r===12&&v.push(y>>4&255),new Uint8Array(v)}function p(g){let o="",n=0;const b=g.length,y=t;for(let r=0;r<b;r++)r%3===0&&r&&(o+=y[n>>18&63],o+=y[n>>12&63],o+=y[n>>6&63],o+=y[n&63]),n=(n<<8)+g[r];const v=b%3;return v===0?(o+=y[n>>18&63],o+=y[n>>12&63],o+=y[n>>6&63],o+=y[n&63]):v===2?(o+=y[n>>10&63],o+=y[n>>4&63],o+=y[n<<2&63],o+=y[64]):v===1&&(o+=y[n>>2&63],o+=y[n<<4&63],o+=y[64],o+=y[64]),o}function d(g){return Object.prototype.toString.call(g)==="[object Uint8Array]"}return Cn=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:s,construct:m,predicate:d,represent:p}),Cn}var Sn,jr;function ts(){if(jr)return Sn;jr=1;const e=Oe(),t=Object.prototype.hasOwnProperty,s=Object.prototype.toString;function m(d){if(d===null)return!0;const g={},o=d;for(let n=0,b=o.length;n<b;n+=1){const y=o[n];let v=!1;if(s.call(y)!=="[object Object]")return!1;let r;for(r in y)if(t.call(y,r))if(!v)v=!0;else return!1;if(!v||t.call(g,r))return!1;Object.defineProperty(g,r,{value:!0})}return!0}function p(d){return d!==null?d:[]}return Sn=new e("tag:yaml.org,2002:omap",{kind:"sequence",resolve:m,construct:p}),Sn}var kn,Br;function ns(){if(Br)return kn;Br=1;const e=Oe(),t=Object.prototype.toString;function s(p){if(p===null)return!0;const d=p,g=new Array(d.length);for(let o=0,n=d.length;o<n;o+=1){const b=d[o];if(t.call(b)!=="[object Object]")return!1;const y=Object.keys(b);if(y.length!==1)return!1;g[o]=[y[0],b[y[0]]]}return!0}function m(p){if(p===null)return[];const d=p,g=new Array(d.length);for(let o=0,n=d.length;o<n;o+=1){const b=d[o],y=Object.keys(b);g[o]=[y[0],b[y[0]]]}return g}return kn=new e("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:s,construct:m}),kn}var On,Pr;function rs(){if(Pr)return On;Pr=1;const e=Oe(),t=Object.prototype.hasOwnProperty;function s(p){if(p===null)return!0;const d=p;for(const g in d)if(t.call(d,g)&&d[g]!==null)return!1;return!0}function m(p){return p!==null?p:{}}return On=new e("tag:yaml.org,2002:set",{kind:"mapping",resolve:s,construct:m}),On}var In,qr;function Xn(){return qr||(qr=1,In=Zi().extend({implicit:[Ji(),Qi()],explicit:[es(),ts(),ns(),rs()]})),In}var zr;function Pl(){if(zr)return Mt;zr=1;const e=Ot(),t=It(),s=Bl(),m=Xn(),p=Object.prototype.hasOwnProperty,d=1,g=2,o=3,n=4,b=1,y=2,v=3,r=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,l=/[,\[\]{}]/,c=/^(?:!|!!|![0-9A-Za-z-]+!)$/,a=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function x(u){return Object.prototype.toString.call(u)}function f(u){return u===10||u===13}function h(u){return u===9||u===32}function _(u){return u===9||u===32||u===10||u===13}function w(u){return u===44||u===91||u===93||u===123||u===125}function S(u){if(u>=48&&u<=57)return u-48;const R=u|32;return R>=97&&R<=102?R-97+10:-1}function D(u){return u===120?2:u===117?4:u===85?8:0}function T(u){return u>=48&&u<=57?u-48:-1}function E(u){switch(u){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return` 97`;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 k(u){return u<=65535?String.fromCharCode(u):String.fromCharCode((u-65536>>10)+55296,(u-65536&1023)+56320)}function I(u,R,B){R==="__proto__"?Object.defineProperty(u,R,{configurable:!0,enumerable:!0,writable:!0,value:B}):u[R]=B}const L=new Array(256),U=new Array(256);for(let u=0;u<256;u++)L[u]=E(u)?1:0,U[u]=E(u);function z(u,R){this.input=u,this.filename=R.filename||null,this.schema=R.schema||m,this.onWarning=R.onWarning||null,this.legacy=R.legacy||!1,this.json=R.json||!1,this.listener=R.listener||null,this.maxDepth=typeof R.maxDepth=="number"?R.maxDepth:100,this.maxTotalMergeKeys=typeof R.maxTotalMergeKeys=="number"?R.maxTotalMergeKeys:1e4,this.impl
97icitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=u.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 Z(u,R){const B={name:u.filename,buffer:u.input.slice(0,-1),position:u.position,line:u.line,column:u.position-u.lineStart};return B.snippet=s(B),new t(R,B)}function H(u,R){throw Z(u,R)}function ee(u,R){u.onWarning&&u.onWarning.call(null,Z(u,R))}function oe(u,R,B){const $=u.anchorMapTransactions;if($.length!==0){const j=$[$.length-1];p.call(j,R)||(j[R]={existed:p.call(u.anchorMap,R),value:u.anchorMap[R]})}u.anchorMap[R]=B}function he(u){u.anchorMapTransactions.push(Object.create(null))}function le(u){const R=u.anchorMapTransactions.pop(),B=u.anchorMapTransactions;if(B.length===0)return;const $=B[B.length-1],j=Object.keys(R);for(let C=0,M=j.length;C<M;C+=1){const P=j[C];p.call($,P)||($[P]=R[P])}}function V(u){const R=u.anchorMapTransactions.pop(),B=Object.keys(R);for(let $=B.length-1;$>=0;$-=1){const j=R[B[$]];j.existed?u.anchorMap[B[$]]=j.value:delete u.anchorMap[B[$]]}}function te(u){return{position:u.position,line:u.line,lineStart:u.lineStart,lineIndent:u.lineIndent,firstTabInLine:u.firstTabInLine,tag:u.tag,anchor:u.anchor,kind:u.kind,result:u.result}}function ue(u,R){u.position=R.position,u.line=R.line,u.lineStart=R.lineStart,u.lineIndent=R.lineIndent,u.firstTabInLine=R.firstTabInLine,u.tag=R.tag,u.anchor=R.anchor,u.kind=R.kind,u.result=R.result}const de={YAML:function(R,B,$){R.version!==null&&H(R,"duplication of %YAML directive"),$.length!==1&&H(R,"YAML directive accepts exactly one argument");const j=/^([0-9]+)\.([0-9]+)$/.exec($[0]);j===null&&H(R,"ill-formed argument of the YAML directive");const C=parseInt(j[1],10),M=parseInt(j[2],10);C!==1&&H(R,"unacceptable YAML version of the document"),R.version=$[0],R.checkLineBreaks=M<2,M!==1&&M!==2&&ee(R,"unsupported YAML version of the document")},TAG:function(R,B,$){let j;$.length!==2&&H(R,"TAG directive accepts exactly two arguments");const C=$[0];j=$[1],c.test(C)||H(R,"ill-formed tag handle (first argument) of the TAG directive"),p.call(R.tagMap,C)&&H(R,'there is a previously declared suffix for "'+C+'" tag handle'),a.test(j)||H(R,"ill-formed tag prefix (second argument) of the TAG directive");try{j=decodeURIComponent(j)}catch{H(R,"tag prefix is malformed: "+j)}R.tagMap[C]=j}};function ce(u,R,B,$){if(R<B){const j=u.input.slice(R,B);if($)for(let C=0,M=j.length;C<M;C+=1){const P=j.charCodeAt(C);P===9||P>=32&&P<=1114111||H(u,"expected valid JSON character")}else r.test(j)&&H(u,"the stream contains non-printable characters");u.result+=j}}function ie(u){u.totalMergeKeys++,u.maxTotalMergeKeys!==-1&&u.totalMergeKeys>u.maxTotalMergeKeys&&H(u,"merge keys exceeded maxTotalMergeKeys ("+u.maxTotalMergeKeys+")")}function me(u,R,B,$){e.isObject(B)||H(u,"cannot merge mappings; the provided source object is unacceptable"),ie(u);const j=Object.keys(B);for(let C=0,M=j.length;C<M;C+=1){const P=j[C];ie(u),p.call(R,P)||(I(R,P,B[P]),$[P]=!0)}}function be(u,R,B,$,j,C,M,P,G){if(Array.isArray(j)){j=Array.prototype.slice.call(j);for(let W=0,K=j.length;W<K;W+=1)Array.isArray(j[W])&&H(u,"nested arrays are not supported inside keys"),typeof j=="object"&&x(j[W])==="[object Object]"&&(j[W]="[object Object]")}if(typeof j=="object"&&x(j)==="[object Object]"&&(j="[object Object]"),j=String(j),R===null&&(R={}),$==="tag:yaml.org,2002:merge")if(Array.isArray(C)){C.length>100&&H(u,"abnormal merge sequence size");for(let W=0,K=C.length;W<K;W+=1)me(u,R,C[W],B)}else me(u,R,C,B);else!u.json&&!p.call(B,j)&&p.call(R,j)&&(u.line=M||u.line,u.lineStart=P||u.lineStart,u.position=G||u.position,H(u,"duplicated mapping key")),I(R,j,C),delete B[j];return R}function Ae(u){const R=u.input.charCodeAt(u.position);R===10?u.position++:R===13?(u.position++,u.input.charCodeAt(u.position)===10&&u.position++):H(u,"a line break is expected"),u.line+=1,u.lineStart=u.position,u.firstTabInLine=-1}function se(u,R,B){let $=0,j=u.input.charCodeAt(u.position);for(;j!==0;){for(;h(j);)j===9&&u.firstTabInLine===-1&&(u.firstTabInLine=u.position),j=u.input.charCodeAt(++u.position);if(R&&j===35)do j=u.input.charCodeAt(++u.position);while(j!==10&&j!==13&&j!==0);if(f(j))for(Ae(u),j=u.input.charCodeAt(u.position),$++,u.lineIndent=0;j===32;)u.lineIndent++,j=u.input.charCodeAt(++u.position);else break}return B!==-1&&$!==0&&u.lineIndent<B&&ee(u,"deficient indentation"),$}function ve(u){let R=u.position,B=u.input.charCodeAt(R);return!!((B===45||B===46)&&B===u.input.charCodeAt(R+1)&&B===u.input.charCodeAt(R+2)&&(R+=3,B=u.input.charCodeAt(R),B===0||_(B)))}function Ie(u,R){R===1?u.result+=" ":R>1&&(u.result+=e.repeat(` 98`,R-1))}function Fe(u,R,B){let $,j,C,M,P,G;const W=u.kind,K=u.result;let Y=u.input.charCodeAt(u.position);if(_(Y)||w(Y)||Y===35||Y===38||Y===42||Y===33||Y===124||Y===62||Y===39||Y===34||Y===37||Y===64||Y===96)return!1;if(Y===63||Y===45){const J=u.input.charCodeAt(u.position+1);if(_(J)||B&&w(J))return!1}
vendor: 4,203 bytes, lines 98-101
98for(u.kind="scalar",u.result="",$=j=u.position,C=!1;Y!==0;){if(Y===58){const J=u.input.charCodeAt(u.position+1);if(_(J)||B&&w(J))break}else if(Y===35){const J=u.input.charCodeAt(u.position-1);if(_(J))break}else{if(u.position===u.lineStart&&ve(u)||B&&w(Y))break;if(f(Y))if(M=u.line,P=u.lineStart,G=u.lineIndent,se(u,!1,-1),u.lineIndent>=R){C=!0,Y=u.input.charCodeAt(u.position);continue}else{u.position=j,u.line=M,u.lineStart=P,u.lineIndent=G;break}}C&&(ce(u,$,j,!1),Ie(u,u.line-M),$=j=u.position,C=!1),h(Y)||(j=u.position+1),Y=u.input.charCodeAt(++u.position)}return ce(u,$,j,!1),u.result?!0:(u.kind=W,u.result=K,!1)}function xe(u,R){let B,$,j=u.input.charCodeAt(u.position);if(j!==39)return!1;for(u.kind="scalar",u.result="",u.position++,B=$=u.position;(j=u.input.charCodeAt(u.position))!==0;)if(j===39)if(ce(u,B,u.position,!0),j=u.input.charCodeAt(++u.position),j===39)B=u.position,u.position++,$=u.position;else return!0;else f(j)?(ce(u,B,$,!0),Ie(u,se(u,!1,R)),B=$=u.position):u.position===u.lineStart&&ve(u)?H(u,"unexpected end of the document within a single quoted scalar"):(u.position++,h(j)||($=u.position));H(u,"unexpected end of the stream within a single quoted scalar")}function Ze(u,R){let B,$,j,C=u.input.charCodeAt(u.position);if(C!==34)return!1;for(u.kind="scalar",u.result="",u.position++,B=$=u.position;(C=u.input.charCodeAt(u.position))!==0;){if(C===34)return ce(u,B,u.position,!0),u.position++,!0;if(C===92){if(ce(u,B,u.position,!0),C=u.input.charCodeAt(++u.position),f(C))se(u,!1,R);else if(C<256&&L[C])u.result+=U[C],u.position++;else if((j=D(C))>0){let M=j,P=0;for(;M>0;M--)C=u.input.charCodeAt(++u.position),(j=S(C))>=0?P=(P<<4)+j:H(u,"expected hexadecimal character");u.result+=k(P),u.position++}else H(u,"unknown escape sequence");B=$=u.position}else f(C)?(ce(u,B,$,!0),Ie(u,se(u,!1,R)),B=$=u.position):u.position===u.lineStart&&ve(u)?H(u,"unexpected end of the document within a double quoted scalar"):(u.position++,h(C)||($=u.position))}H(u,"unexpected end of the stream within a double quoted scalar")}function $e(u,R){let B=!0,$,j,C;const M=u.tag;let P;const G=u.anchor;let W,K,Y,J;const Q=Object.create(null);let ne,re,ae,fe=u.input.charCodeAt(u.position);if(fe===91)W=93,J=!1,P=[];else if(fe===123)W=125,J=!0,P={};else return!1;for(u.anchor!==null&&oe(u,u.anchor,P),fe=u.input.charCodeAt(++u.position);fe!==0;){if(se(u,!0,R),fe=u.input.charCodeAt(u.position),fe===W)return u.position++,u.tag=M,u.anchor=G,u.kind=J?"mapping":"sequence",u.result=P,!0;if(B?fe===44&&H(u,"expected the node content, but found ','"):H(u,"missed comma between flow collection entries"),re=ne=ae=null,K=Y=!1,fe===63){const _e=u.input.charCodeAt(u.position+1);_(_e)&&(K=Y=!0,u.position++,se(u,!0,R))}$=u.line,j=u.lineStart,C=u.position,O(u,R,d,!1,!0),re=u.tag,ne=u.result,se(u,!0,R),fe=u.input.charCodeAt(u.position),(Y||u.line===$)&&fe===58&&(K=!0,fe=u.input.charCodeAt(++u.position),se(u,!0,R),O(u,R,d,!1,!0),ae=u.result),J?be(u,P,Q,re,ne,ae,$,j,C):K?P.push(be(u,null,Q,re,ne,ae,$,j,C)):P.push(ne),se(u,!0,R),fe=u.input.charCodeAt(u.position),fe===44?(B=!0,fe=u.input.charCodeAt(++u.position)):B=!1}H(u,"unexpected end of the stream within a flow collection")}function Ne(u,R){let B,$=b,j=!1,C=!1,M=R,P=0,G=!1,W,K=u.input.charCodeAt(u.position);if(K===124)B=!1;else if(K===62)B=!0;else return!1;for(u.kind="scalar",u.result="";K!==0;)if(K=u.input.charCodeAt(++u.position),K===43||K===45)b===$?$=K===43?v:y:H(u,"repeat of a chomping mode identifier");else if((W=T(K))>=0)W===0?H(u,"bad explicit indentation width of a block scalar; it cannot be less than one"):C?H(u,"repeat of an indentation width identifier"):(M=R+W-1,C=!0);else break;if(h(K)){do K=u.input.charCodeAt(++u.position);while(h(K));if(K===35)do K=u.input.charCodeAt(++u.position);while(!f(K)&&K!==0)}for(;K!==0;){for(Ae(u),u.lineIndent=0,K=u.input.charCodeAt(u.position);(!C||u.lineIndent<M)&&K===32;)u.lineIndent++,K=u.input.charCodeAt(++u.position);if(!C&&u.lineIndent>M&&(M=u.lineIndent),f(K)){P++;continue}if(!C&&M===0&&H(u,"missing indentation for block scalar"),u.lineIndent<M){$===v?u.result+=e.repeat(` 99`,j?1+P:P):$===b&&j&&(u.result+=` 100`);break}B?h(K)?(G=!0,u.result+=e.repeat(` 101`,j?1+P:P)):G?(G=!1,u.result+=e.repeat(`
102`,P+1)):P===0?j&&(u.result+=" "):u.result+=e.repeat(` 103`,P):u.result+=e.repeat(` 104`,j?1+P:P),j=!0,C=!0,P=0;const Y=u.position;for(;!f(K)&&K!==0;)K=u.input.charCodeAt(++u.position);ce(u,Y,u.position,!1)}return!0}function Ue(u,R){const B=u.tag,$=u.anchor,j=[];let C=!1;if(u.firstTabInLine!==-1)return!1;u.anchor!==null&&oe(u,u.anchor,j);let M=u.input.charCodeAt(u.position);for(;M!==0&&(u.firstTabInLine!==-1&&(u.position=u.firstTabInLine,H(u,"tab characters must not be used in indentation")),M===45);){const P=u.input.charCodeAt(u.position+1);if(!_(P))break;if(C=!0,u.position++,se(u,!0,-1)&&u.lineIndent<=R){j.push(null),M=u.input.charCodeAt(u.position);continue}const G=u.line;if(O(u,R,o,!1,!0),j.push(u.result),se(u,!0,-1),M=u.input.charCodeAt(u.position),(u.line===G||u.lineIndent>R)&&M!==0)H(u,"bad indentation of a sequence entry");else if(u.lineIndent<R)break}return C?(u.tag=B,u.anchor=$,u.kind="sequence",u.result=j,!0):!1}function He(u,R,B){let $,j,C,M;const P=u.tag,G=u.anchor,W={},K=Object.create(null);let Y=null,J=null,Q=null,ne=!1,re=!1;if(u.firstTabInLine!==-1)return!1;u.anchor!==null&&oe(u,u.anchor,W);let ae=u.input.charCodeAt(u.position);for(;ae!==0;){!ne&&u.firstTabInLine!==-1&&(u.position=u.firstTabInLine,H(u,"tab characters must not be used in indentation"));const fe=u.input.charCodeAt(u.position+1),_e=u.line;if((ae===63||ae===58)&&_(fe))ae===63?(ne&&(be(u,W,K,Y,J,null,j,C,M),Y=J=Q=null),re=!0,ne=!0,$=!0):ne?(ne=!1,$=!0):H(u,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),u.position+=1,ae=fe;else{if(j=u.line,C=u.lineStart,M=u.position,!O(u,B,g,!1,!0))break;if(u.line===_e){for(ae=u.input.charCodeAt(u.position);h(ae);)ae=u.input.charCodeAt(++u.position);if(ae===58)ae=u.input.charCodeAt(++u.position),_(ae)||H(u,"a whitespace character is expected after the key-value separator within a block mapping"),ne&&(be(u,W,K,Y,J,null,j,C,M),Y=J=Q=null),re=!0,ne=!1,$=!1,Y=u.tag,J=u.result;else if(re)H(u,"can not read an implicit mapping pair; a colon is missed");else return u.tag=P,u.anchor=G,!0}else if(re)H(u,"can not read a block mapping entry; a multiline key may not be an implicit key");else return u.tag=P,u.anchor=G,!0}if((u.line===_e||u.lineIndent>R)&&(ne&&(j=u.line,C=u.lineStart,M=u.position),O(u,R,n,!0,$)&&(ne?J=u.result:Q=u.result),ne||(be(u,W,K,Y,J,Q,j,C,M),Y=J=Q=null),se(u,!0,-1),ae=u.input.charCodeAt(u.position)),(u.line===_e||u.lineIndent>R)&&ae!==0)H(u,"bad indentation of a mapping entry");else if(u.lineIndent<R)break}return ne&&be(u,W,K,Y,J,null,j,C,M),re&&(u.tag=P,u.anchor=G,u.kind="mapping",u.result=W),re}function Ge(u){let R=!1,B=!1,$,j,C=u.input.charCodeAt(u.position);if(C!==33)return!1;u.tag!==null&&H(u,"duplication of a tag property"),C=u.input.charCodeAt(++u.position),C===60?(R=!0,C=u.input.charCodeAt(++u.position)):C===33?(B=!0,$="!!",C=u.input.charCodeAt(++u.position)):$="!";let M=u.position;if(R){do C=u.input.charCodeAt(++u.position);while(C!==0&&C!==62);u.position<u.length?(j=u.input.slice(M,u.position),C=u.input.charCodeAt(++u.position)):H(u,"unexpected end of the stream within a verbatim tag")}else{for(;C!==0&&!_(C);)C===33&&(B?H(u,"tag suffix cannot contain exclamation marks"):($=u.input.slice(M-1,u.position+1),c.test($)||H(u,"named tag handle cannot contain such characters"),B=!0,M=u.position+1)),C=u.input.charCodeAt(++u.position);j=u.input.slice(M,u.position),l.test(j)&&H(u,"tag suffix cannot contain flow indicator characters")}j&&!a.test(j)&&H(u,"tag name cannot contain such characters: "+j);try{j=decodeURIComponent(j)}catch{H(u,"tag name is malformed: "+j)}return R?u.tag=j:p.call(u.tagMap,$)?u.tag=u.tagMap[$]+j:$==="!"?u.tag="!"+j:$==="!!"?u.tag="tag:yaml.org,2002:"+j:H(u,'undeclared tag handle "'+$+'"'),!0}function Ye(u){let R=u.input.charCodeAt(u.position);if(R!==38)return!1;u.anchor!==null&&H(u,"duplication of an anchor property"),R=u.input.charCodeAt(++u.position);const B=u.position;for(;R!==0&&!_(R)&&!w(R);)R=u.input.charCodeAt(++u.position);return u.position===B&&H(u,"name of an anchor node must contain at least one character"),u.anchor=u.input.slice(B,u.position),!0}function ot(u){let R=u.input.charCodeAt(u.position);if(R!==42)return!1;R=u.input.charCodeAt(++u.position);const B=u.position;for(;R!==0&&!_(R)&&!w(R);)R=u.input.charCodeAt(++u.position);u.position===B&&H(u,"name of an alias node must contain at least one character");const $=u.input.slice(B,u.position);return p.call(u.anchorMap,$)||H(u,'unidentified alias "'+$+'"'),u.result=u.anchorMap[$],se(u,!0,-1),!0}function A(u,R,B,$){const j=te(u);return he(u),ue(u,R),u.tag=null,u.anchor=null,u.kind=null,u.result=null,He(u,B,$)&&u.kind==="mapping"?(le(u),!0):(V(u),ue(u,j),!1)}function O(u,R,B,$,j){let C,M,P=1,G=!1,W=!1,K=null,Y,J,Q;u.depth>=u.maxDepth&&H(u,"nesting exceeded maxDepth ("+u.maxDepth+")"),u.depth+=1,u.listener!==null&&u.listener("open",u),u.tag=null,u.anchor=null,u.kind=null,u.result=null;const ne=C=M=n===B||o===B;if($&&se(u,!0,-1)&&(G=!0,u.lineIndent>R?P=1:u.lineIndent===R?P=0:u.lineIndent<R&&(P=-1)),P===1)for(;;){const re=u.input.charCodeAt(u.position),ae=te(u);if(G&&(re===33&&u.tag!==null||re===38&&u.anchor!==null)||!Ge(u)&&!Ye(u))break;K===null&&(K=ae),se(u,!0,-1)?(G=!0,M=ne,u.lineIndent>R?P=1:u.lineIndent===R?P=0:u.lineIndent<R&&(P=-1)):M=!1}if(M&&(M=G||j),P===1||n===B)if(d===B||g===B?J=R:J=R+1,Q=u.position-u.lineStart,P===1)if(M&&(Ue(u,Q)||He(u,Q,J))||$e(u,J))W=!0;else{const re=u.input.charCodeAt(u.position);K!==null&&ne&&!M&&re!==124&&re!==62&&A(u,K,K.position-K.lineStart,J)||C&&Ne(u,J)||xe(u,J)||Ze(u,J)?W=!0:ot(u)?(W=!0,(u.tag!==null||u.anchor!==null)&&H(u,"alias node should not have any properties")):Fe(u,J,d===B)&&(W=!0,u.tag===null&&(u.tag="?")),u.anchor!==null&&oe(u,u.anchor,u.result)}else P===0&&(W=M&&Ue(u,Q));if(u.tag===null)u.anchor!==null&&oe(u,u.anchor,u.result);else if(u.tag==="?"){u.result!==null&&u.kind!=="scalar"&&H(u,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+u.kind+'"');for(let re=0,ae=u.implicitTypes.length;re<ae;re+=1)if(Y=u.implicitTypes[re],Y.resolve(u.result)){u.result=Y.construct(u.result),u.tag=Y.tag,u.anchor!==null&&oe(u,u.anchor,u.result);break}}else if(u.tag!=="!"){if(p.call(u.typeMap[u.kind||"fallback"],u.tag))Y=u.typeMap[u.kind||"fallback"][u.tag];else{Y=null;const re=u.typeMap.multi[u.kind||"fallback"];for(let ae=0,fe=re.length;ae<fe;ae+=1)if(u.tag.slice(0,re[ae].tag.length)===re[ae].tag){Y=re[ae];break}}
104Y||H(u,"unknown tag !<"+u.tag+">"),u.result!==null&&Y.kind!==u.kind&&H(u,"unacceptable node kind for !<"+u.tag+'> tag; it should be "'+Y.kind+'", not "'+u.kind+'"'),Y.resolve(u.result,u.tag)?(u.result=Y.construct(u.result,u.tag),u.anchor!==null&&oe(u,u.anchor,u.result)):H(u,"cannot resolve a node with !<"+u.tag+"> explicit tag")}return u.listener!==null&&u.listener("close",u),u.depth-=1,u.tag!==null||u.anchor!==null||W}function N(u){const R=u.position;let B=!1,$;for(u.version=null,u.checkLineBreaks=u.legacy,u.tagMap=Object.create(null),u.anchorMap=Object.create(null);($=u.input.charCodeAt(u.position))!==0&&(se(u,!0,-1),$=u.input.charCodeAt(u.position),!(u.lineIndent>0||$!==37));){B=!0,$=u.input.charCodeAt(++u.position);let j=u.position;for(;$!==0&&!_($);)$=u.input.charCodeAt(++u.position);const C=u.input.slice(j,u.position),M=[];for(C.length<1&&H(u,"directive name must not be less than one character in length");$!==0;){for(;h($);)$=u.input.charCodeAt(++u.position);if($===35){do $=u.input.charCodeAt(++u.position);while($!==0&&!f($));break}if(f($))break;for(j=u.position;$!==0&&!_($);)$=u.input.charCodeAt(++u.position);M.push(u.input.slice(j,u.position))}$!==0&&Ae(u),p.call(de,C)?de[C](u,C,M):ee(u,'unknown document directive "'+C+'"')}if(se(u,!0,-1),u.lineIndent===0&&u.input.charCodeAt(u.position)===45&&u.input.charCodeAt(u.position+1)===45&&u.input.charCodeAt(u.position+2)===45?(u.position+=3,se(u,!0,-1)):B&&H(u,"directives end mark is expected"),O(u,u.lineIndent-1,n,!1,!0),se(u,!0,-1),u.checkLineBreaks&&i.test(u.input.slice(R,u.position))&&ee(u,"non-ASCII line breaks are interpreted as content"),u.documents.push(u.result),u.position===u.lineStart&&ve(u)){u.input.charCodeAt(u.position)===46&&(u.position+=3,se(u,!0,-1));return}u.position<u.length-1&&H(u,"end of the stream or a document separator is expected")}function F(u,R){u=String(u),R=R||{},u.length!==0&&(u.charCodeAt(u.length-1)!==10&&u.charCodeAt(u.length-1)!==13&&(u+=` 105`),u.charCodeAt(0)===65279&&(u=u.slice(1)));const B=new z(u,R),$=u.indexOf("\0");for($!==-1&&(B.position=$,H(B,"null byte is not allowed in input")),B.input+="\0";B.input.charCodeAt(B.position)===32;)B.lineIndent+=1,B.position+=1;for(;B.position<B.length-1;)N(B);return B.documents}function q(u,R,B){R!==null&&typeof R=="object"&&typeof B>"u"&&(B=R,R=null);const $=F(u,B);if(typeof R!="function")return $;for(let j=0,C=$.length;j<C;j+=1)R($[j])}function X(u,R){const B=F(u,R);if(B.length!==0){if(B.length===1)return B[0];throw new t("expected a single document in the stream, but found more")}}return Mt.loadAll=q,Mt.load=X,Mt}var Dn={},Ur;function ql(){if(Ur)return Dn;Ur=1;const e=Ot(),t=It(),s=Xn(),m=Object.prototype.toString,p=Object.prototype.hasOwnProperty,d=65279,g=9,o=10,n=13,b=32,y=33,v=34,r=35,i=37,l=38,c=39,a=42,x=44,f=45,h=58,_=61,w=62,S=63,D=64,T=91,E=93,k=96,I=123,L=124,U=125,z={};z[0]="\\0",z[7]="\\a",z[8]="\\b",z[9]="\\t",z[10]="\\n",z[11]="\\v",z[12]="\\f",z[13]="\\r",z[27]="\\e",z[34]='\\"',z[92]="\\\\",z[133]="\\N",z[160]="\\_",z[8232]="\\L",z[8233]="\\P";const Z=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],H=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function ee(C,M){if(M===null)return{};const P={},G=Object.keys(M);for(let W=0,K=G.length;W<K;W+=1){let Y=G[W],J=String(M[Y]);Y.slice(0,2)==="!!"&&(Y="tag:yaml.org,2002:"+Y.slice(2));const Q=C.compiledTypeMap.fallback[Y];Q&&p.call(Q.styleAliases,J)&&(J=Q.styleAliases[J]),P[Y]=J}return P}function oe(C){let M,P;const G=C.toString(16).toUpperCase();if(C<=255)M="x",P=2;else if(C<=65535)M="u",P=4;else if(C<=4294967295)M="U",P=8;else throw new t("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+M+e.repeat("0",P-G.length)+G}const he=1,le=2;function V(C){this.schema=C.schema||s,this.indent=Math.max(1,C.indent||2),this.noArrayIndent=C.noArrayIndent||!1,this.skipInvalid=C.skipInvalid||!1,this.flowLevel=e.isNothing(C.flowLevel)?-1:C.flowLevel,this.styleMap=ee(this.schema,C.styles||null),this.sortKeys=C.sortKeys||!1,this.lineWidth=C.lineWidth||80,this.noRefs=C.noRefs||!1,this.noCompatMode=C.noCompatMode||!1,this.condenseFlow=C.condenseFlow||!1,this.quotingType=C.quotingType==='"'?le:he,this.forceQuotes=C.forceQuotes||!1,this.replacer=typeof C.replacer=="function"?C.replacer:null,this.impl
105icitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function te(C,M){const P=e.repeat(" ",M);let G=0,W="";const K=C.length;for(;G<K;){let Y;const J=C.indexOf(` 106`,G);J===-1?(Y=C.slice(G),G=K):(Y=C.slice(G,J+1),G=J+1),Y.length&&Y!==` 107`&&(W+=P),W+=Y}return W}function ue(C,M){return` 108`+e.repeat(" ",C.indent*M)}function de(C,M){for(let P=0,G=C.implicitTypes.length;P<G;P+=1)if(C.implicitTypes[P].resolve(M))return!0;return!1}function ce(C){return C===b||C===g}function ie(C){return C>=32&&C<=126||C>=161&&C<=55295&&C!==8232&&C!==8233||C>=57344&&C<=65533&&C!==d||C>=65536&&C<=1114111}function me(C){return ie(C)&&C!==d&&C!==n&&C!==o}function be(C,M,P){const G=me(C),W=G&&!ce(C);return(P?G:G&&C!==x&&C!==T&&C!==E&&C!==I&&C!==U)&&C!==r&&!(M===h&&!W)||me(M)&&!ce(M)&&C===r||M===h&&W}function Ae(C){return ie(C)&&C!==d&&!ce(C)&&C!==f&&C!==S&&C!==h&&C!==x&&C!==T&&C!==E&&C!==I&&C!==U&&C!==r&&C!==l&&C!==a&&C!==y&&C!==L&&C!==_&&C!==w&&C!==c&&C!==v&&C!==i&&C!==D&&C!==k}function se(C){return!ce(C)&&C!==h}function ve(C,M){const P=C.charCodeAt(M);let G;return P>=55296&&P<=56319&&M+1<C.length&&(G=C.charCodeAt(M+1),G>=56320&&G<=57343)?(P-55296)*1024+G-56320+65536:P}function Ie(C){return/^\n* /.test(C)}const Fe=1,xe=2,Ze=3,$e=4,Ne=5;function Ue(C,M,P,G,W,K,Y,J){let Q,ne=0,re=null,ae=!1,fe=!1;const _e=G!==-1;let Ce=-1,Je=Ae(ve(C,0))&&se(ve(C,C.length-1));if(M||Y)for(Q=0;Q<C.length;ne>=65536?Q+=2:Q++){if(ne=ve(C,Q),!ie(ne))return Ne;Je=Je&&be(ne,re,J),re=ne}else{for(Q=0;Q<C.length;ne>=65536?Q+=2:Q++){if(ne=ve(C,Q),ne===o)ae=!0,_e&&(fe=fe||Q-Ce-1>G&&C[Ce+1]!==" ",Ce=Q);else if(!ie(ne))return Ne;Je=Je&&be(ne,re,J),re=ne}fe=fe||_e&&Q-Ce-1>G&&C[Ce+1]!==" "}return!ae&&!fe?Je&&!Y&&!W(C)?Fe:K===le?Ne:xe:P>9&&Ie(C)?Ne:Y?K===le?Ne:xe:fe?$e:Ze}function He(C,M,P,G,W){C.dump=function(){if(M.length===0)return C.quotingType===le?'""':"''";if(!C.noCompatMode&&(Z.indexOf(M)!==-1||H.test(M)))return C.quotingType===le?'"'+M+'"':"'"+M+"'";const K=C.indent*Math.max(1,P),Y=C.lineWidth===-1?-1:Math.max(Math.min(C.lineWidth,40),C.lineWidth-K),J=G||C.flowLevel>-1&&P>=C.flowLevel;function Q(ne){return de(C,ne)}switch(Ue(M,J,C.indent,Y,Q,C.quotingType,C.forceQuotes&&!G,W)){case Fe:return M;case xe:return"'"+M.replace(/'/g,"''")+"'";case Ze:return"|"+Ge(M,C.indent)+Ye(te(M,K));case $e:return">"+Ge(M,C.indent)+Ye(te(ot(M,Y),K));case Ne:return'"'+O(M)+'"';default:throw new t("impossible error: invalid scalar style")}}()}function Ge(C,M){const P=Ie(C)?String(M):"",G=C[C.length-1]===` 109`,K=G&&(C[C.length-2]===` 110`||C===` 111`)?"+":G?"":"-";return P+K+` 112`}function Ye(C){return C[C.length-1]===` 113`?C.slice(0,-1):C}function ot(C,M){const P=/(\n+)([^\n]*)/g;let G=function(){let J=C.indexOf(` 114`);return J=J!==-1?J:C.length,P.lastIndex=J,A(C.slice(0,J),M)}(),W=C[0]===` 115`||C[0]===" ",K,Y;for(;Y=P.exec(C);){const J=Y[1],Q=Y[2];K=Q[0]===" ",G+=J+(!W&&!K&&Q!==""?` 116`:"")+A(Q,M),W=K}return G}function A(C,M){if(C===""||C[0]===" ")return C;const P=/ [^ ]/g;let G,W=0,K,Y=0,J=0,Q="";for(;G=P.exec(C);)J=G.index,J-W>M&&(K=Y>W?Y:J,Q+=` 117`+C.slice(W,K),W=K+1),Y=J;return Q+=` 118`,C.length-W>M&&Y>W?Q+=C.slice(W,Y)+` 119`+C.slice(Y+1):Q+=C.slice(W),Q.slice(1)}function O(C){let M="",P=0;for(let G=0;G<C.length;P>=65536?G+=2:G++){P=ve(C,G);const W=z[P];!W&&ie(P)?(M+=C[G],P>=65536&&(M+=C[G+1])):M+=W||oe(P)}return M}function N(C,M,P){let G="";const W=C.tag;
119for(let K=0,Y=P.length;K<Y;K+=1){let J=P[K];C.replacer&&(J=C.replacer.call(P,String(K),J)),(R(C,M,J,!1,!1)||typeof J>"u"&&R(C,M,null,!1,!1))&&(G!==""&&(G+=","+(C.condenseFlow?"":" ")),G+=C.dump)}C.tag=W,C.dump="["+G+"]"}function F(C,M,P,G){let W="";const K=C.tag;for(let Y=0,J=P.length;Y<J;Y+=1){let Q=P[Y];C.replacer&&(Q=C.replacer.call(P,String(Y),Q)),(R(C,M+1,Q,!0,!0,!1,!0)||typeof Q>"u"&&R(C,M+1,null,!0,!0,!1,!0))&&((!G||W!=="")&&(W+=ue(C,M)),C.dump&&o===C.dump.charCodeAt(0)?W+="-":W+="- ",W+=C.dump)}C.tag=K,C.dump=W||"[]"}function q(C,M,P){let G="";const W=C.tag,K=Object.keys(P);for(let Y=0,J=K.length;Y<J;Y+=1){let Q="";G!==""&&(Q+=", "),C.condenseFlow&&(Q+='"');const ne=K[Y];let re=P[ne];C.replacer&&(re=C.replacer.call(P,ne,re)),R(C,M,ne,!1,!1)&&(C.dump.length>1024&&(Q+="? "),Q+=C.dump+(C.condenseFlow?'"':"")+":"+(C.condenseFlow?"":" "),R(C,M,re,!1,!1)&&(Q+=C.dump,G+=Q))}C.tag=W,C.dump="{"+G+"}"}function X(C,M,P,G){let W="";const K=C.tag,Y=Object.keys(P);if(C.sortKeys===!0)Y.sort();else if(typeof C.sortKeys=="function")Y.sort(C.sortKeys);else if(C.sortKeys)throw new t("sortKeys must be a boolean or a function");for(let J=0,Q=Y.length;J<Q;J+=1){let ne="";(!G||W!=="")&&(ne+=ue(C,M));const re=Y[J];let ae=P[re];if(C.replacer&&(ae=C.replacer.call(P,re,ae)),!R(C,M+1,re,!0,!0,!0))continue;const fe=C.tag!==null&&C.tag!=="?"||C.dump&&C.dump.length>1024;fe&&(C.dump&&o===C.dump.charCodeAt(0)?ne+="?":ne+="? "),ne+=C.dump,fe&&(ne+=ue(C,M)),R(C,M+1,ae,!0,fe)&&(C.dump&&o===C.dump.charCodeAt(0)?ne+=":":ne+=": ",ne+=C.dump,W+=ne)}C.tag=K,C.dump=W||"{}"}function u(C,M,P){const G=P?C.explicitTypes:C.implicitTypes;for(let W=0,K=G.length;W<K;W+=1){const Y=G[W];if((Y.instanceOf||Y.predicate)&&(!Y.instanceOf||typeof M=="object"&&M instanceof Y.instanceOf)&&(!Y.predicate||Y.predicate(M))){if(P?Y.multi&&Y.representName?C.tag=Y.representName(M):C.tag=Y.tag:C.tag="?",Y.represent){const J=C.styleMap[Y.tag]||Y.defaultStyle;let Q;if(m.call(Y.represent)==="[object Function]")Q=Y.represent(M,J);else if(p.call(Y.represent,J))Q=Y.represent[J](M,J);else throw new t("!<"+Y.tag+'> tag resolver accepts not "'+J+'" style');C.dump=Q}return!0}}return!1}function R(C,M,P,G,W,K,Y){C.tag=null,C.dump=P,u(C,P,!1)||u(C,P,!0);const J=m.call(C.dump),Q=G;G&&(G=C.flowLevel<0||C.flowLevel>M);const ne=J==="[object Object]"||J==="[object Array]";let re,ae;if(ne&&(re=C.duplicates.indexOf(P),ae=re!==-1),(C.tag!==null&&C.tag!=="?"||ae||C.indent!==2&&M>0)&&(W=!1),ae&&C.usedDuplicates[re])C.dump="*ref_"+re;else{if(ne&&ae&&!C.usedDuplicates[re]&&(C.usedDuplicates[re]=!0),J==="[object Object]")G&&Object.keys(C.dump).length!==0?(X(C,M,C.dump,W),ae&&(C.dump="&ref_"+re+C.dump)):(q(C,M,C.dump),ae&&(C.dump="&ref_"+re+" "+C.dump));else if(J==="[object Array]")G&&C.dump.length!==0?(C.noArrayIndent&&!Y&&M>0?F(C,M-1,C.dump,W):F(C,M,C.dump,W),ae&&(C.dump="&ref_"+re+C.dump)):(N(C,M,C.dump),ae&&(C.dump="&ref_"+re+" "+C.dump));else if(J==="[object String]")C.tag!=="?"&&He(C,C.dump,M,K,Q);else{if(J==="[object Undefined]")return!1;if(C.skipInvalid)return!1;throw new t("unacceptable kind of an object to dump "+J)}if(C.tag!==null&&C.tag!=="?"){let fe=encodeURI(C.tag[0]==="!"?C.tag.slice(1):C.tag).replace(/!/g,"%21");C.tag[0]==="!"?fe="!"+fe:fe.slice(0,18)==="tag:yaml.org,2002:"?fe="!!"+fe.slice(18):fe="!<"+fe+">",C.dump=fe+" "+C.dump}}return!0}function B(C,M){const P=[],G=[];$(C,P,G);const W=G.length;for(let K=0;K<W;K+=1)M.duplicates.push(P[G[K]]);M.usedDuplicates=new Array(W)}function $(C,M,P){if(C!==null&&typeof C=="object"){const G=M.indexOf(C);if(G!==-1)P.indexOf(G)===-1&&P.push(G);else if(M.push(C),Array.isArray(C))for(let W=0,K=C.length;W<K;W+=1)$(C[W],M,P);else{const W=Object.keys(C);for(let K=0,Y=W.length;K<Y;K+=1)$(C[W[K]],M,P)}}}function j(C,M){M=M||{};const P=new V(M);P.noRefs||B(C,P);let G=C;return P.replacer&&(G=P.replacer.call({"":G},"",G)),R(P,0,G,!0,!0)?P.dump+` 120`:""}return Dn.dump=j,Dn}var Hr;function zl(){if(Hr)return Se;Hr=1;const e=Pl(),t=ql();function s(m,p){return function(){throw new Error("Function yaml."+m+" is removed in js-yaml 4. Use yaml."+p+" instead, which is now safe by default.")}}return Se.Type=Oe(),Se.Schema=qi(),Se.FAILSAFE_SCHEMA=Gi(),Se.JSON_SCHEMA=Ki(),Se.CORE_SCHEMA=Zi(),Se.DEFAULT_SCHEMA=Xn(),Se.load=e.load,Se.loadAll=e.loadAll,Se.dump=t.dump,Se.YAMLException=It(),Se.types={binary:es(),float:Wi(),map:Hi(),null:Yi(),pairs:ns(),set:rs(),timestamp:Ji(),bool:Xi(),int:Vi(),merge:Qi(),omap:ts(),seq:Ui(),str:zi()},Se.safeLoad=s("safeLoad","load"),Se.safeLoadAll=s("safeLoadAll","loadAll"),Se.safeDump=s("safeDump","dump"),Se}var Ul=zl();const is=jl(Ul),{Type:tc,Schema:nc,FAILSAFE_SCHEMA:rc,JSON_SCHEMA:ic,CORE_SCHEMA:sc,DEFAULT_SCHEMA:oc,load:uc,loadAll:ac,dump:lc,YAMLException:cc,types:fc,safeLoad:dc,safeLo
120adAll:hc,safeDump:pc}=is;function Hl(e){e.core.ruler.before("normalize","extract-config",t=>{var p;const s=/^\s*---\s*\n([\s\S]+?)\n\s*---\s*/,m=t.src.match(s);if(e.config={versionCheck:((p=e.config)==null?void 0:p.versionCheck)||!1},m)try{e.config=is.load(m[1]),t.src=t.src.replace(m[0],"")}catch(d){return console.error("Error parsing frontmatter:",d),null}e.config.versionCheck||(e.config.version=Number(il(e.config.version)),e.config.versionCheck=!0)})}vs();const Gl=` 121 ${ys} 122 123 /* Typography overrides */ 124 h1, 125 h2, 126 h3, 127 h4, 128 h5, 129 h6 { 130 --font-weight: 700; 131 } 132 h1 { 133 --font-size: 3rem; 134 --typography-spacing-vertical: 0.5rem; 135 } 136 h2 { 137 --font-size: 2rem; 138 --typography-spacing-vertical: 0.5rem; 139 } 140 h3 { 141 --font-size: 1.75rem; 142 --typography-spacing-vertical: 0.5rem; 143 } 144 h4 { 145 --font-size: 1.5rem; 146 --typography-spacing-vertical: 0.5rem; 147 } 148 h5 { 149 --font-size: 1.25rem; 150 --typography-spacing-vertical: 0.5rem; 151 } 152 .story-telling h1, 153 .story-telling h2, 154 .story-telling h3, 155 .story-telling h4, 156 .story-telling h5, 157 .story-telling h6 { 158 margin-top: 0; 159 margin-bottom: var(--typography-spacing-vertical); 160 font-weight: var(--font-weight); 161 font-size: var(--font-size); 162 font-family: var(--header-font-family); 163 } 164 165 .story-telling .hero h1 { 166 font-size:clamp(2rem, 5vw, 3rem); 167 } 168 169 pre { 170 position: relative; 171 border-radius: 4px; 172 z-index: 1; 173 margin: 0; 174 padding: 20px 0; 175 background: transparent; 176 background: var(--code-bg-color, #8e96aa24); 177 overflow: auto; 178 } 179 code { 180 display: block; 181 padding: 0 24px; 182 width: fit-content; 183 min-width: 100%; 184 line-height: var(--code-line-height, 1.7); 185 font-family: var(--code-font-family, monospace); 186 font-size: var(--code-font-size, var(--font-size)); 187 color: var(--code-color, #004170); 188 } 189 code:not(pre > code) { 190 display: inline; 191 border-radius: 4px; 192 background: var(--code-bg-color, #8e96aa24); 193 padding: var(--code-padding, 3px 6px); 194 } 195 pre > code { 196 padding-left: 1rem; 197 background: transparent; 198 } 199 :host { 200 overflow: unset !important; 201 --eox-storytelling-hero-height: 76dvh; 202 } 203 204 iframe, 205 img, 206 video { 207 max-width: 100%; 208 } 209 .navigation { 210 width: 100%; 211 background: white; 212 padding: 10px 0px; 213 color: black; 214 box-shadow: 0px 0px 13px 3px #8080802e; 215 max-height: 60px; 216 height: 60px; 217 display: flex; 218 align-items: center; 219 justify-content: center; 220 position: sticky; 221 top: 0; 222 z-index: 2; 223 } 224 .navigation .container { 225 padding: 0px !important; 226 } 227 .navigation .container ul { 228 display: flex; 229 align-items: center; 230 justify-content: center; 231 margin-bottom: 0px; 232 -ms-overflow-style: none; 233 scrollbar-width: none; 234 overflow-x: auto; 235 margin: 0; 236 padding: 0; 237 } 238 .navigation .container ul::-webkit-scrollbar { 239 display: none; 240 } 241 .navigation .container ul li { 242 list-style: none; 243 margin: 0px 10px; 244 flex: 1; 245 } 246 .navigation li a { 247 color: black; 248 font-weight: 500; 249 text-decoration: none; 250 position: relative; 251 display: inline-grid; 252 } 253 .navigation li a:after { 254 content: ""; 255 bottom: -10px; 256 width: 100%; 257 height: 2px; 258 background: transparent; 259 } 260 .navigation li a:hover:after { 261 background: black; 262 } 263 .navigation li.active a { 264 font-weight: 700; 265 } 266 .navigation li.active a:after { 267 background: black; 268 } 269 .navigation li a:hover { 270 --primary-background-hover: transparent; 271 } 272 .navigation li a small.truncate { 273 @supports (-webkit-line-clamp: 2) { 274 overflow: hidden; 275 text-overflow: ellipsis; 276 white-space: initial !important; 277 display: -webkit-box; 278 -webkit-line-clamp: 2; 279 -webkit-box-orient: vertical; 280 } 281 } 282 .hamburger-menu { 283 display: none; 284 cursor: pointer; 285 background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTUsOS41TDcuNSwxNEgyLjVMNSw5LjVNMyw0SDdWOEgzVjRNNSwyMEEyLDIgMCAwLDAgNywxOEEyLDIgMCAwLDAgNSwxNkEyLDIgMCAwLDAgMywxOEEyLDIgMCAwLDAgNSwyME05LDVWN0gyMVY1SDlNOSwxOUgyMVYxN0g5VjE5TTksMTNIMjFWMTFIOVYxM1oiIC8+PC9zdmc+"); 286 background-repeat: no-repeat; 287 background-size: contain; 288 width: 30px; 289 height: 30px; 290 } 291 .nav-list { 292 list-style: none; 293 padding: 0; 294 margin: 0; 295 } 296 .nav-overlay { 297 display: none; 298 } 299 @media (max-width: 768px) { 300 .navigation { 301 padding: 0px; 302 height: 50px; 303 } 304 .navigation .container { 305 display: flex; 306 justify-content: center; 307 align-items: center; 308 position: relative; 309 } 310 .hamburger-menu { 311 display: flex; 312 } 313 .navigation .container ul { 314 position: absolute; 315 top: 50px; 316 left: 0; 317 right: 0; 318 background: white; 319 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 320 z-index: 99999999; 321 display: none; 322 flex-direction: column; 323 } 324 .nav-overlay { 325 position: fixed; 326 top: 0; 327 left: 0; 328 width: 100%; 329 height: 100%; 330 background: rgba(0, 0, 0, 0.5); 331 z-index: 99999998; 332 cursor: pointer; 333 } 334 .navigation .container ul.show, .nav-overlay.show { 335 display: flex !important; 336 } 337 .nav-list li { 338 padding: 15px; 339 border-bottom: 1px solid #eee; 340 } 341 .hamburger-menu.active span:nth-child(1) { 342 transform: rotate(45deg) translate(8px, 8px); 343 } 344 .hamburger-menu.active span:nth-child(2) { 345 opacity: 0; 346 } 347 .hamburger-menu.active span:nth-child(3) { 348 transform: rotate(-45deg) translate(7px, -7px); 349 } 350 .navigation .container ul li { 351 width: 100%; 352 text-align: center; 353 } 354 } 355 .section-wrap { 356 scroll-margin: 0px; 357 } 358 .story-telling p, 359 .story-telling code { 360 --font-size: inherit; 361 } 362 .story-telling p { 363 display: block; 364 font-weight: 400; 365 line-height: 170%; 366 margin-top: 0.8rem; 367 margin-bottom: 1.6rem; 368 } 369 .story-telling a { 370 --color: var(--primary) !important; 371 --background-color: transparent; 372 outline: 0; 373 background-color: var(--background-color); 374 color: var(--color); 375 text-underline-offset: 4px; 376 } 377 .story-telling sup a { 378 font-size: smaller; 379 } 380 .story-telling sup a, 381 .story-telling a.footnote-backref { 382 text-decoration: none; 383 } 384 .story-telling a:hover { 385 --bg-hover-transparency: 10%; 386 background-color: color-mix( 387 in srgb, 388 var(--primary-color) var(--bg-hover-transparency), 389 transparent 390 ); 391 } 392 .story-telling li { 393 margin-bottom: 1rem; 394 } 395 .story-telling table { 396 width:100%; 397 color: var(--color); 398 font-style: normal; 399 font-weight: 400; 400 font-size: 1rem; 401 margin: 2rem 0rem; 402 } 403 .story-telling td, 404 .story-telling th { 405 padding: 1rem; 406 color: var(--color); 407 font-weight: 400; 408 font-size: 1rem; 409 text-align: left; 410 text-align: start; 411 border-bottom: 1px solid var(--color); 412 } 413 .story-telling th { 414 font-weight: 600; 415 border-bottom: 3px solid var(--color); 416 } 417 .story-telling .container { 418 width: 90%; 419 --block-spacing-vertical: 2rem; 420 --block-spacing-horizontal: 1rem; 421 --spacing: 1rem; 422 margin-right: auto; 423 margin-left: auto; 424 display: block; 425 padding: var(--block-spacing-vertical) var(--block-spacing-horizontal); 426 border-bottom: 1px solid transparent; 427 } 428 429 @media (min-width: 576px) { 430 .story-telling .container { 431 max-width: 510px; 432 padding-right: 0; 433 padding-left: 0; 434 } 435 } 436 437 @media (min-width: 768px) { 438 .story-telling .container { 439 max-width: 700px; 440 } 441 } 442 443 @media (min-width: 992px) { 444 .story-telling .container { 445 max-width: 920px; 446 } 447 } 448 449 .story-telling .section-wrap.section-item *:not(li) { 450 overflow-x: hidden; 451 } 452 453 .story-telling.editor-enabled:not(.editor-closed) .section-wrap.section-item { 454 position: relative; 455 border-bottom: 1px solid #efefef; 456 } 457 .story-telling .section-wrap.section-item.section-after-nav:not(.tour) { 458 margin-top: 2rem; 459 } 460 .story-telling.editor-enabled .section-wrap.section-item.section-end::after, 461 .story-telling.editor-enabled .section-wrap.section-item::before { 462 content: "+"; 463 background: white; 464 width: 25px; 465 height: 25px; 466 display: flex; 467 position: absolute; 468 top: -12px; 469 left: calc(50% - 12.5px); 470 z-index: 1; 471 border-radius: 100%; 472 box-shadow: 1px 1px 10px #80808094; 473 justify-content: center;
474 align-items: center; 475 font-weight: 700; 476 font-size: larger; 477 cursor: pointer; 478 line-height: 25px; 479 } 480 .story-telling.editor-enabled:not(.nav-enabled) .section-wrap.section-item.section-start::before { 481 top: 10px; 482 } 483 .story-telling.editor-enabled .section-wrap.section-item.section-start.hero::before { 484 display: none; 485 } 486 .story-telling.editor-enabled.editor-closed .section-wrap.section-item.section-end::after, 487 .story-telling.editor-enabled.editor-closed .section-wrap.section-item::before { 488 display: none; 489 } 490 .story-telling.editor-enabled .section-wrap.section-item.section-end::after { 491 bottom: -12px; 492 top: unset; 493 } 494 .story-telling .section-wrap.container.section-start:not(.hero) { 495 padding-top: 4rem; 496 } 497 .story-telling p:last-child { 498 margin-bottom: 0; 499 } 500 .story-telling .section-wrap.container:last-child { 501 padding-bottom: 4rem; 502 } 503 .story-telling .tour { 504 width: 100%; 505 justify-items: start; 506 display: grid; 507 } 508 .story-telling .hero { 509 position: relative; 510 width: 100%; 511 height: var(--eox-storytelling-hero-height); 512 padding: 10rem 2rem; 513 overflow: hidden; 514 display: flex; 515 flex-direction: column; 516 justify-content: center; 517 align-items: center; 518 } 519 .story-telling .hero .hero-scroll-indicator { 520 position: absolute; 521 bottom: 50px; 522 left: 50%; 523 width: 24px; 524 height: 24px; 525 margin-left: -12px; 526 border-left: 3px solid white; 527 border-bottom: 3px solid white; 528 transform: rotate(-45deg); 529 animation: bounce 2s infinite; 530 cursor: pointer; 531 text-decoration: none; 532 } 533 @keyframes bounce { 534 0% { 535 transform: translateY(0) rotate(-45deg); 536 } 537 25% { 538 transform: translateY(-15px) rotate(-45deg); 539 } 540 50% { 541 transform: translateY(0) rotate(-45deg); 542 } 543 75% { 544 transform: translateY(-7px) rotate(-45deg); 545 } 546 100% { 547 transform: translateY(0) rotate(-45deg); 548 } 549 } 550 .story-telling .hero * { 551 color: white; 552 margin: 0rem 0.8rem; 553 } 554 .story-telling .hero.center { 555 align-items: center; 556 text-align: center; 557 } 558 .story-telling .hero.left { 559 align-items: start; 560 text-align: left; 561 } 562 .story-telling .hero.right { 563 align-items: end; 564 text-align: right; 565 } 566 .story-telling .hero img, 567 .story-telling .hero video { 568 position: absolute; 569 top: -17.5%; 570 left: 0; 571 z-index: -1; 572 width: 100%; 573 height: 135%; 574 object-fit: cover; 575 margin: 0rem; 576 will-change: transform; 577 backface-visibility: hidden; 578 filter: brightness(60%) contrast(100%); 579 } 580 .story-telling .tour.left { 581 justify-items: start; 582 } 583 .story-telling .tour.right { 584 justify-items: end; 585 } 586 .story-telling .tour.center { 587 justify-items: center; 588 } 589 .story-telling .tour eox-map:not(section-step eox-map), 590 .story-telling .tour img:not(section-step img), 591 .story-telling .tour video:not(section-step video) { 592 width: 100%; 593 height: 100dvh; 594 position: sticky; 595 top:0; 596 z-index: 0; 597 object-fit: cover; 598 } 599 .story-telling .tour section-step { 600 background: rgb(255,255,255,0.8); 601 backdrop-filter: blur(10px); 602 padding: 1.5rem; 603 box-shadow: var(--elevate2); 604 border-radius: 0.5rem; 605 min-height: 8vh; 606 margin: 1rem 10% 120vh 10%; 607 display: block; 608 z-index: 1; 609 max-width: 25%; 610 transform: translateY(-20dvh); 611 } 612 @media screen and (max-width: 1024px) { 613 .story-telling .tour section-step { 614 max-width: 100%; 615 margin: 1rem 1rem 120vh 1rem; 616 } 617 } 618 .editor-wrapper { 619 z-index: 4; 620 width: 35%; 621 position: fixed; 622 bottom: 20px; 623 right: 20px; 624 border-radius: 10px; 625 background: #f2f2f2; 626 cursor: move; 627 box-shadow: 0px 0px 3px 2px #80808026; 628 box-sizing: border-box; 629 } 630 .resize-handle { 631 position: absolute; 632 width: 20px; 633 height: 20px; 634 bottom: 4px; 635 left: 4px; 636 background-color: black; 637 mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctitle%3Eresize-bottom-right%3C/title%3E%3Cpath d='M22,22H20V20H22V22M22,18H20V16H22V18M18,22H16V20H18V22M18,18H16V16H18V18M14,22H12V20H14V22M22,14H20V12H22V14Z' /%3E%3C/svg%3E"); 638 webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctitle%3Eresize-bottom-right%3C/title%3E%3Cpath d='M22,22H20V20H22V22M22,18H20V16H22V18M18,22H16V20H18V22M18,18H16V16H18V18M14,22H12V20H14V22M22,14H20V12H22V14Z' /%3E%3C/svg%3E"); 639 transform: rotate(90deg); 640 cursor: sw-resize; 641 z-index: 2; 642 } 643 #editor { 644 width: 100%; 645 height: 100%; 646 border: 2px solid #ebebeb; 647 cursor: auto; 648 } 649 @media screen and (max-width: 1024px) { 650 .editor-wrapper { 651 right: 2.5%; 652 width: 95%; 653 } 654 } 655 .editor-opacity-none { 656 opacity: 0; 657 } 658 .editor-hide { 659 display: none; 660 } 661 .editor-error { 662 display: none; 663 cursor: auto; 664 position: absolute; 665 bottom: 39px; 666 left: 9px; 667 width: calc(100% - 20px); 668 height: 105px; 669 background: #ffc7d3; 670 border-bottom-left-radius: 4px; 671 border-bottom-right-radius: 4px; 672 border: 2px solid #ff7b9640; 673 z-index: 1; 674 } 675 .editor-error .editor-error-wrapper { 676 padding: 0.5rem; 677 height: 85%; 678 } 679 .editor-error .editor-error-wrapper .overflow { 680 height: 100%; 681 overflow-y: auto; 682 -ms-overflow-style: none; 683 scrollbar-width: none; 684 width: 85%; 685 } 686 .editor-error .editor-error-wrapper .overflow::-webkit-scrollbar { 687 display: none; 688 } 689 .editor-error .editor-error-wrapper h6 { 690 margin: 0; 691 padding: 0; 692 font-size: 0.7rem; 693 color: #dd264c; 694 } 695 .editor-error .editor-error-wrapper ul { 696 margin-top: 0.25rem; 697 padding-inline-start: 20px; 698 } 699 .editor-error .editor-error-wrapper li { 700 color: #dd264c; 701 font-size: 0.7rem; 702 font-weight: 400; 703 margin-bottom: 0; 704 margin-left: 0.2rem; 705 } 706 .editor-saver { 707 position: absolute; 708 bottom: 18px; 709 left: 17px; 710 font-size: 12px; 711 color: #959694; 712 text-align: right; 713 } 714 @keyframes rotate { 715 100% {transform: rotate(360deg)} 716 } 717 @keyframes spin { 718 0% {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)} 719 25% {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)} 720 50% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)} 721 75% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)} 722 100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)} 723 } 724 .switch-button { 725 position: fixed; 726 bottom: 70px; 727 right: 60px; 728 z-index: 5; 729 transform: scale(1.25); 730 } 731 .switch-button i > svg { 732 padding: 0.3rem; 733 } 734 .switch .icon.editor-view { 735 opacity: 0; 736 } 737 .story-telling-custom-section-list { 738 position: fixed; 739 top: 0; 740 left: 0; 741 width: 100vw; 742 height: 100dvh; 743 background: #000000b5; 744 z-index: 6; 745 display: flex; 746 align-items: center; 747 justify-content: center; 748 } 749 .story-telling-custom-section-list .overlay-popup { 750 position: fixed; 751 top: 0; 752 left: 0; 753 width: 100vw; 754 height: 100dvh; 755 z-index: -1; 756 cursor: pointer; 757 } 758 .story-telling-custom-section-list .story-telling-popup { 759 width: 450px; 760 height: 500px; 761 background: white; 762 border-radius: 0.5rem; 763 padding: 20px; 764 position: relative; 765 } 766 .story-telling-section-fields-overlay { 767 position: absolute; 768 top: 0; 769 right: 0; 770 width: 100%; 771 background: #000000c9; 772 height: 100%; 773 border-radius: 0.5rem; 774 cursor: pointer; 775 } 776 .story-telling-section-fields-wrapper { 777 position: absolute; 778 top: 0; 779 right: 0; 780 width: 70%; 781 background: white; 782 height: 100%; 783 border-bottom-right-radius: 0.5rem; 784 border-top-right-radius: 0.5rem; 785 box-shadow: -14px 3px 20px 0px #0e0e0e26; 786 } 787 .story-telling-popup-wrapper { 788 overflow-y: auto; 789 height: 100%; 790 } 791 .story-telling-custom-section-list .story-telling-popup .header { 792 display: flex; 793 align-items: center; 794 justify-content: space-between; 795 margin-top: 20px; 796 } 797 .story-telling-custom-section-list .story-telling-popup .header:first-child { 798 margin-top:0px; 799 } 800 .story-telling-custom-section-list .story-telling-popup .header h4 { 801 font-size: 1rem; 802 font-weight: 600; 803 margin: 0; 804 } 805 .story-telling-custom-section-list .story-telling-popup .header p { 806 background: #2273EC; 807 border-radius: 20px; 808 padding: 0px 15px; 809 color: white; 810 height: 1.1rem; 811 display: flex; 812 align-items: center; 813 margin: 0; 814 font-size: 0.75rem; 815 } 816 .story-telling-custom-section-list .story-telling-popup hr { 817 border-top: 2.5px solid #e5eaf0; 818 } 819 .story-telling-custom-section-list .story-telling-popup .grid-container { 820 display: grid; 821 grid-template-columns: repeat(3, 1fr); 822 gap: 10px; 823 } 824 .story-telling-custom-section-list .story-telling-popup .grid-container .grid-item { 825 text-align: center; 826 cursor: pointer; 827 padding: 0px; 828 border: 1px solid #e1e6eb; 829 border-radius: 6px; 830 transition: all 0.2s ease-in-out; 831 } 832 .story-telling-custom-section-list .story-telling-popup .grid-container .grid-item:hover { 833 border-color: #2273EC; 834 background-color: #f7f7f7; 835 } 836 .story-telling-custom-section-list .story-telling-popup .grid-container .grid-item icon { 837 font-size: 0px; 838 } 839 .story-telling-custom-section-list .story-telling-popup .grid-container .grid-item icon::before { 840 width: 100%; 841 color: black; 842 display: inline-block; 843 border-radius: 6px; 844 } 845 .story-telling-custom-section-list .story-telling-popup .grid-container .grid-item p { 846 padding: 0px; 847 margin: 0px; 848 font-size: 0.8rem; 849 color: #555555; 850 font-weight: 500; 851 padding: 4px 0px; 852 } 853 eox-jsonform#storytelling-editor-fields { 854 padding-bottom: 80px; 855 height: auto; 856 display: block; 857 } 858 eox-jsonform#storytelling-editor-fields div { 859 height: auto; 860 } 861 .story-telling-section-fields { 862 position: absolute; 863 width: 100%; 864 height: 100%; 865 top: 0; 866 left: 0; 867 } 868 .story-telling-section-fields-overflow { 869 overflow-y: auto; 870 height: calc(100% - 60px); 871 padding: 20px; 872 } 873 .story-telling-section-submit-wrapper { 874 position: absolute; 875 width: 100%; 876 bottom: 0; 877 padding: 10px 0px; 878 background: white; 879 display: flex; 880 justify-content: center; 881 box-shadow: -2px -10px 10px #00000017; 882 border-bottom-right-radius: 0.5rem; 883 } 884 .story-telling-section-submit-wrapper button { 885 width: 92%; 886 justify-content: center; 887 } 888 eox-jsonform#storytelling-editor-fields .je-form-input-label { 889 text-transform: capitalize; 890 } 891 eox-jsonform#storytelling-editor-fields .je-object__controls { 892 display: none; 893 } 894 @media screen and (max-width: 1024px) { 895 .switch-button { 896 right: 20px; 897 } 898 } 899 .section-line-decoration { 900 background: #757575; 901 z-index: 1; 902 align-items: center; 903 justify-content: center; 904 display: flex; 905 color: #ffffff; 906 font-size: 12px; 907 font-weight: 700; 908 } 909 .margin-view-overlays { 910 background: #e6e6e6; 911 } 912 .story-telling .eox-map-overlay { 913 position: absolute; 914 color: white; 915 display: flex; 916 } 917 .story-telling .eox-map-overlay-content { 918 padding: 1.5rem; 919 width: 400px; 920 height: fit-content; 921 border-radius: 10px; 922 background: #00000075; 923 } 924 .story-telling .eox-map-overlay.overlay-bl {
925 align-items: end; 926 justify-content: flex-start; 927 bottom: 3rem; 928 left: 2rem; 929 } 930 .story-telling .eox-map-overlay.overlay-br { 931 align-items: end; 932 justify-content: flex-end; 933 bottom: 3rem; 934 right: 2rem; 935 } 936 .story-telling .eox-map-overlay.overlay-tl { 937 align-items: start; 938 justify-content: flex-start; 939 top: 5rem; 940 left: 2rem; 941 } 942 .story-telling .eox-map-overlay.overlay-tr { 943 align-items: start; 944 justify-content: flex-end; 945 top: 5rem; 946 right: 2rem; 947 } 948 .story-telling .tour .eox-map-overlay { 949 position: fixed; 950 width: auto; 951 justify-content: center; 952 display: none; 953 } 954 .story-telling .tour.show-overlay .eox-map-overlay { 955 display: flex; 956 } 957 .story-telling .tour .eox-map-overlay.overlay-tl { 958 top: 2rem; 959 left: 2rem; 960 } 961 .story-telling .tour .eox-map-overlay.overlay-tr { 962 top: 2rem; 963 right: 2rem; 964 } 965 .story-telling.nav-enabled .tour .eox-map-overlay.overlay-tl, 966 .story-telling.nav-enabled .tour .eox-map-overlay.overlay-tr { 967 top: 7rem; 968 } 969 .story-telling .tour .eox-map-overlay.overlay-bl { 970 bottom: 2rem; 971 left: 2rem; 972 } 973 .story-telling .tour .eox-map-overlay.overlay-br { 974 bottom: 2rem; 975 right: 2rem; 976 } 977 @media screen and (max-width: 768px) { 978 .story-telling .eox-map-overlay.overlay-tl, 979 .story-telling .eox-map-overlay.overlay-tr, 980 .story-telling .eox-map-overlay.overlay-bl, 981 .story-telling .eox-map-overlay.overlay-br { 982 width: calc(100% - 2rem); 983 right: unset; 984 left: unset; 985 justify-content: center; 986 align-items: end; 987 } 988 .story-telling .eox-map-overlay-content { 989 width: 80%; 990 padding: 1rem; 991 } 992 .story-telling .tour .eox-map-overlay.overlay-tr, 993 .story-telling .tour .eox-map-overlay.overlay-tl, 994 .story-telling .tour .eox-map-overlay.overlay-bl, 995 .story-telling .tour .eox-map-overlay.overlay-br { 996 top: 2rem; 997 width: 100dvw; 998 right: unset; 999 left: unset; 1000 } 1001 .story-telling.nav-enabled .tour .eox-map-overlay.overlay-tr, 1002 .story-telling.nav-enabled .tour .eox-map-overlay.overlay-tl { 1003 top: 5rem; 1004 } 1005 } 1006`;var Pt,os;class ss extends Gr{constructor(){super();lt(this,Pt);this.markdown="",this.storyId=null,this.isNavigation=!1,this.dragging=!1,this.resizing=!1,this.showEditor=void 0,this.disableAutosave=!1,this.lastX=void 0,this.lastY=void 0,this.editor=void 0,this.disableTextSelection=this.disableTextSelection.bind(this),this.enableTextSelection=this.enableTextSelection.bind(this)}disableTextSelection(){document.body.style.userSelect="none"}enableTextSelection(){document.body.style.userSelect=""}firstUpdated(){const s=this.querySelector(".editor-wrapper"),m=this.querySelector(".resize-handle");this.editor=this.renderRoot.querySelector("eox-jsonform#storytelling-editor"),this.showEditor==="closed"&&wi(this),Da(this),Ei(this),Ia(s,m,this)}updateErrors(s){const m=this.renderRoot.querySelector(".editor-error");m&&(s.length?(m.style.display="block",m.querySelector("ul").innerHTML=s.map(p=>`<li><strong>${p.ref}</strong>: ${p.message}</li>`).join("")):m.style.display="none")}createRenderRoot(){return this}render(){customElements.get("eox-jsonform")||console.error("Please import @eox/jsonform in order to use StoryTelling Editor");const s=this.isNavigation?"partial-height":"";return at` 1007 <div class="editor-wrapper ${s}"> 1008 <eox-jsonform 1009 id="storytelling-editor" 1010 no-shadow 1011 .schema=${Ma} 1012 .value=${{Story:this.markdown}} 1013 ></eox-jsonform> 1014 <div class="resize-handle"></div> 1015 <span class="editor-saver">Saved</span> 1016 <div class="editor-error"> 1017 <div class="editor-error-wrapper"> 1018 <div class="overflow"> 1019 <h6>â Error</h6> 1020 <ul></ul> 1021 </div> 1022 </div> 1023 </div> 1024 </div> 1025 <div class="switch-button"> 1026 <label class="switch icon"> 1027 <input type="checkbox" @change=${Xt(this,Pt,os)} /> 1028 <span> 1029 <i class="small"> 1030 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> 1031 <title>pencil</title> 1032 <path 1033 d="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29
1033C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z" 1034 /> 1035 </svg> 1036 </i> 1037 </span> 1038 </label> 1039 </div> 1040 <style> 1041 eox-jsonform#storytelling-editor { 1042 display: block; 1043 height: 100%; 1044 cursor: default; 1045 } 1046 .editor-wrapper { 1047 padding: 0.5rem; 1048 } 1049 .editor-toolbar:hover { 1050 opacity: 1; 1051 } 1052 form[data-theme="html"] .je-indented-panel { 1053 padding: 0 !important; 1054 margin: 0 !important; 1055 border: none !important; 1056 } 1057 .editor-wrapper .CodeMirror { 1058 height: 100%; 1059 min-height: unset; 1060 } 1061 .editor-wrapper .EasyMDEContainer { 1062 height: 100%; 1063 display: flex; 1064 flex-direction: column; 1065 } 1066 .editor-wrapper .EasyMDEContainer .CodeMirror-scroll { 1067 min-height: 1000px; 1068 } 1069 .editor-toolbar button { 1070 box-shadow: none; 1071 color: #2c3e50 !important; 1072 } 1073 .editor-toolbar button:hover:not([disabled]):not(.icon), 1074 .editor-toolbar button:hover:not([disabled]):not(.icon) { 1075 box-shadow: none; 1076 background: #fcfcfc; 1077 border-color: #95a5a6; 1078 } 1079 .editor-toolbar button i { 1080 font-size: 17px; 1081 } 1082 .editor-wrapper .cm-header-1 { 1083 font-size: 200%; 1084 } 1085 .editor-wrapper .cm-header-1 { 1086 font-size: 200%; 1087 line-height: 200%; 1088 } 1089 .editor-wrapper .cm-header-2 { 1090 font-size: 160%; 1091 line-height: 160%; 1092 } 1093 .editor-wrapper .cm-header-3 { 1094 font-size: 125%; 1095 line-height: 125%; 1096 } 1097 .editor-wrapper .cm-header-4 { 1098 font-size: 110%; 1099 line-height: 110%; 1100 } 1101 .editor-wrapper .cm-comment { 1102 background: rgba(0, 0, 0, 0.05); 1103 border-radius: 2px; 1104 } 1105 eox-jsonform form[data-theme="html"], 1106 eox-jsonform div[data-schemaid="root"], 1107 eox-jsonform div.je-indented-panel, 1108 eox-jsonform div.je-indented-panel > div, 1109 eox-jsonform div.je-indented-panel > div > div, 1110 eox-jsonform div.row, 1111 eox-jsonform div[data-schematype="string"], 1112 eox-jsonform div.form-control { 1113 height: 100%; 1114 } 1115 eox-jsonform div.form-control { 1116 display: flex; 1117 flex-direction: column; 1118 } 1119 eox-jsonform div.editor-toolbar, 1120 eox-jsonform div.editor-statusbar { 1121 flex-shrink: 1; 1122 } 1123 eox-jsonform .CodeMirror-sizer { 1124 padding-bottom: 100px !important; 1125 } 1126 eox-jsonform#storytelling-editor .je-form-input-label, 1127 eox-jsonform#storytelling-editor .je-object__controls { 1128 display: none !important; 1129 } 1130 </style> 1131 `}}Pt=new WeakSet,os=function(s){const m=this.renderRoot.querySelector(".editor-wrapper"),p=this.storyId?`#${this.storyId}`:"",d=document.querySelector(`eox-storytelling${p}`);s.target.checked?(m.classList.remove("editor-opacity-none"),m.classList.remove("editor-hide"),d.setAttribute("show-editor","open")):(m.classList.add("editor-hide"),d.setAttribute("show-editor","closed"))},Kn(ss,"properties",{markdown:{attribute:"markdown",type:String},storyId:{attribute:"story-id",type:String},showEditor:{attribute:"show-editor",type:String},isNavigation:{attribute:"markdown",type:Boolean},disableAutosave:{attribute:"disable-autosave",type:Boolean}});customElements.define("eox-storytelling-editor",ss);const Ve=Le({html:!0,linkify:!0});Ve.use(Sl).use(Hl);Ve.use(ba);var je,pt,Et,wt,us,Xl;class Yl extends Gr{constructor(){super();lt(this,wt);lt(this,je);lt(this,pt,{});lt(this,Et,null);ct(this,je,void 0),this.markdown="",this.markdownURL=null,this.unstyled=!1,this.noShadow=!1,this.disableAutosave=!1,this.showEditor=void 0,this.showNav=!1,this.showHeroScrollIndicator=!1,this.showMapLoadingIndicator=!1,this.nav=[],this.addCustomSectionIndex=-1,this.selectedCustomElement=null}static get properties(){return{markdown:{attribute:"markdown",type:String},markdownURL:{attribute:"markdown-url",type:String},nav:{state:!0,attribute:!1,type:Array},showNav:{attribute:"show-nav",type:Boolean},showEditor:{attribute:"show-editor",type:String},showHeroScrollIndicator:{attribute:"show-hero-scroll-indicator",type:Boolean},showMapLoadingIndicator:{attribute:"show-map-loading-indicator",type:Boolean},noShadow:{attribute:"no-shadow",type:Boolean},disableAutosave:{attribute:"disable-autosave",type:Boolean},unstyled:{type:Boolean},addCustomSectionIndex:{type:Number,state:!0},selectedCustomElement:{type:Object,state:!0}}}async updated(s){if(s.has("markdownURL")&&this.markdownURL&&(this.markdown=await ya(this.markdownURL)||this.markdown,this.requestUpdate()),s.has("markdown")||s.has("showMapLoadingIndicator")){this.markdown&&this.dispatchEvent(new CustomEvent("changed",{detail:this.markdown})),Ve.showMapLoadingIndicator=this.showMapLoadingIndicator;const m=Ve.render(this.markdown);ml(Ve.attrs.sections,this),ct(this,pt,Ve.config),typeof et(this,pt).nav=="boolean"&&(this.showNav=et(this,pt).nav),this.showNav&&(this.nav=Ve.nav),ct(this,je,ul(bs.sanitize(m,{CUSTOM_ELEMENT_HANDLING:nl(Ve),ADD_TAGS:Ea}),Ve.sections,Xt(this,wt,us).bind(this),this)),ct(this,je,cl(et(this,je),this.nav,this.showNav,this.showEditor,this));const p=(this.shadowRoot||this).querySelector("#story-content");
1131if(p&&fl(p,et(this,je)),this.showEditor!==void 0){const g=(this.shadowRoot||this).querySelector("eox-storytelling-editor"),o=g.querySelector("eox-jsonform");this.markdown!==(o==null?void 0:o.value.Story)&&(g.markdown=this.markdown)}this.requestUpdate()}s.has("nav")&&tl(this,".navigation a")}handleSlotChange(){const s=this.shadowRoot.querySelector("slot");if(s){const p=s.assignedNodes({flatten:!0}).map(d=>d.textContent?d.textContent:"").join("");p.trim()&&(this.markdown=p,this.requestUpdate())}}async firstUpdated(){this.showEditor!==void 0&&console.info("The built-in editor and the `show-editor` property are deprecated and will be removed in the next major version."),ct(this,Et,xs(s=>{s.detail&&(this.markdown=s.detail.Story,this.requestUpdate())},1e3)),this.disableAutosave||Fa(this),rl(),et(this,je)===void 0&&await this.waitForHtmlInitialization(),Un(this)}async waitForHtmlInitialization(){const s=m=>new Promise(p=>setTimeout(p,m));for(;et(this,je)===void 0;)await s(100)}createRenderRoot(){return this.noShadow?this:super.createRenderRoot()}render(){const s=`${this.showEditor!==void 0?"editor-enabled":""} editor-${this.showEditor}`,m=`${this.showNav&&this.nav.length?"nav-enabled":""}`;return at` 1132 <slot class="slot-hide" @slotchange=${this.handleSlotChange}></slot> 1133 <style> 1134 :host { display: block; } 1135 .slot-hide { display: none; } 1136 ${!this.unstyled&&Gl} 1137 </style> 1138 1139 <div class="story-telling ${s} ${m}"> 1140 <div id="story-content"></div> 1141 ${Vt(this.showEditor!==void 0,()=>at` 1142 <eox-storytelling-editor 1143 .isNavigation=${!!this.showNav} 1144 .storyId=${this.id} 1145 show-editor=${this.showEditor} 1146 @change=${et(this,Et)} 1147 .markdown=${this.markdown} 1148 .disableAutosave=${this.disableAutosave} 1149 ></eox-storytelling-editor> 1150 `)} 1151 </div> 1152 1153 ${Vt(this.addCustomSectionIndex>-1,()=>at` 1154 <div class="story-telling-custom-section-list"> 1155 <div 1156 class="overlay-popup" 1157 @click=${()=>{this.addCustomSectionIndex=-1,this.selectedCustomElement=null,this.requestUpdate()}} 1158 ></div> 1159 <div class="story-telling-popup"> 1160 <div class="story-telling-popup-wrapper"> 1161 ${Ka.map(p=>at` 1162 <div class="header"> 1163 <h4>${p.name}</h4> 1164 <p>${p.elements.length}</p> 1165 </div> 1166 <hr /> 1167 <div class="grid-container"> 1168 ${p.elements.map(d=>at`<div 1169 @click=${()=>gr(this.markdown,this.addCustomSectionIndex,d.markdown,d.fields,!1,this)} 1170 class="grid-item" 1171 > 1172 <icon id="${d.id}"></icon> 1173 <p>${d.name}</p> 1174 <style> 1175 icon#${d.id}::before { 1176 content: url("${d.icon}"); 1177 } 1178 </style> 1179 </div>`)} 1180 </div> 1181 `)} 1182 </div> 1183 ${Vt(this.selectedCustomElement,()=>at` 1184 <div class="story-telling-section-fields"> 1185 <div 1186 class="story-telling-section-fields-overlay" 1187 @click=${()=>{this.selectedCustomElement=null,this.requestUpdate()}} 1188 ></div> 1189 <div class="story-telling-section-fields-wrapper"> 1190 <div class="story-telling-section-fields-overflow"> 1191 <eox-jsonform 1192 id="storytelling-editor-fields" 1193 no-shadow 1194 .schema=${this.selectedCustomElement.fields} 1195 .customEditorInterfaces=${Ja} 1196 ></eox-jsonform> 1197 </div> 1198 <div class="story-telling-section-submit-wrapper"> 1199 <button 1200 @click=${()=>gr(this.markdown,this.addCustomSectionIndex,this.selectedCustomElement.markdown,this.selectedCustomElement.fields,!0,this)} 1201 > 1202 Add Section 1203 </button> 1204 </div> 1205 </div> 1206 </div> 1207 `)} 1208 </div> 1209 </div> 1210 `)} 1211 `}}je=new WeakMap,pt=new WeakMap,Et=new WeakMap,wt=new WeakSet,us=function(s){this.dispatchEvent(new CustomEvent("init",{detail:s}))},Xl=function(){this.dispatchEvent(new CustomEvent("upload:file",{detail:"dummy",bubbles:!0,composed:!0}))};customElements.define("eox-storytelling",Yl);export{Yl as EOxStoryTelling};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.