@softistx/pulsarix-widget 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{abnfDiagram-XWFEHMT6.jcqkp43e.js → abnfDiagram-XWFEHMT6.9eyf87ze.js} +1 -1
- package/dist/chunks/architecture-WOLXFQ4H.230b0n6c.js +1 -0
- package/dist/chunks/{architectureDiagram-CSQXQB3N.pk9dxdfb.js → architectureDiagram-CSQXQB3N.cy6247c8.js} +1 -1
- package/dist/chunks/{blockDiagram-BEDRHYPZ.ehefn7dt.js → blockDiagram-BEDRHYPZ.an5w7tk4.js} +1 -1
- package/dist/chunks/{c4Diagram-M2UUVUY5.knj3as6x.js → c4Diagram-M2UUVUY5.512525r3.js} +1 -1
- package/dist/chunks/{chat-markdown-DLDNLXM9.tvekh9sm.js → chat-markdown-COFhHMpe.fm39gs4e.js} +2 -2
- package/dist/chunks/{classDiagram-v2-KXABOMEV.vtb7vjzn.js → classDiagram-v2-KXABOMEV.5gw6azyv.js} +1 -1
- package/dist/chunks/{cose-bilkent-JH36ORCC.gb18dr42.js → cose-bilkent-JH36ORCC.9t42zmky.js} +1 -1
- package/dist/chunks/cynefin-EF2NZ3EQ.e9ycn4jb.js +1 -0
- package/dist/chunks/{cynefinDiagram-NJNITYFG.akmr90zk.js → cynefinDiagram-NJNITYFG.dta2tfnh.js} +1 -1
- package/dist/chunks/{dagre-KIHZ2IZ3.7n7s7vq2.js → dagre-KIHZ2IZ3.k7b2vmwy.js} +1 -1
- package/dist/chunks/{diagram-7YQZDPLS.d3sdv0py.js → diagram-7YQZDPLS.cd2t0saz.js} +1 -1
- package/dist/chunks/{diagram-QBROCOUO.2v08zs42.js → diagram-QBROCOUO.1x4d8w7m.js} +1 -1
- package/dist/chunks/{diagram-RJJCUUZO.tpnwa621.js → diagram-RJJCUUZO.jk65d82z.js} +1 -1
- package/dist/chunks/{diagram-WERXNKYE.hz7tgbtr.js → diagram-WERXNKYE.85c3en4j.js} +1 -1
- package/dist/chunks/{diagram-YHHI257C.9gge9ecb.js → diagram-YHHI257C.y494n4nm.js} +1 -1
- package/dist/chunks/{diagram-YR4HJLHV.bajpx75b.js → diagram-YR4HJLHV.z2n88j9s.js} +1 -1
- package/dist/chunks/{ebnfDiagram-N527522P.hxbbq671.js → ebnfDiagram-N527522P.cgfkzbkp.js} +1 -1
- package/dist/chunks/{editor-shortcuts-dialog-I77EAez1.0s00eh53.js → editor-shortcuts-dialog-Ch8GFC-h.n66q7eep.js} +1 -1
- package/dist/chunks/editor.yc8q5dd1.js +4 -0
- package/dist/chunks/{elk-O5DQBFGD.vy7cdqps.js → elk-O5DQBFGD.188pnf8b.js} +1 -1
- package/dist/chunks/{emoji-picker-BofyuTmK.qf287fk6.js → emoji-picker-Cv6ZOgpd.cmp5h45n.js} +1 -1
- package/dist/chunks/{erDiagram-K3K3BIDK.kzs3v0ts.js → erDiagram-K3K3BIDK.abxf5cgs.js} +1 -1
- package/dist/chunks/eventmodeling-K75KTNOO.q3y4xbmj.js +1 -0
- package/dist/chunks/{flow-diagram-OPO1ep57.5006stqg.js → flow-diagram-B6X1M34-.awp18a9v.js} +1 -1
- package/dist/chunks/flowDiagram-Z6JWZHQI.af312t1k.js +1 -0
- package/dist/chunks/{ganttDiagram-3PRQTZWP.qkcp8pvg.js → ganttDiagram-3PRQTZWP.p72ak8vx.js} +1 -1
- package/dist/chunks/gitGraph-VSP46ZUC.e4envgw8.js +1 -0
- package/dist/chunks/{gitGraphDiagram-VXDFKS5L.ry9dejxm.js → gitGraphDiagram-VXDFKS5L.vtq378bg.js} +1 -1
- package/dist/chunks/{grid-E2QIVN74.q51enfx7.js → grid-E2QIVN74.8xqrr45y.js} +1 -1
- package/dist/chunks/illustration-BpmMAKpO.brt46gkr.js +1 -0
- package/dist/chunks/{index.fvh2m60c.js → index.2jsv3483.js} +1 -1
- package/dist/chunks/index.5vcex75v.js +44 -0
- package/dist/chunks/{index.20dvswea.js → index.6tc2v7mk.js} +1 -1
- package/dist/chunks/{index.bfeafb22.js → index.8hmrz817.js} +1 -1
- package/dist/chunks/{index.eec12m3n.js → index.b0pypc3w.js} +1 -1
- package/dist/chunks/{index.yf0h5qnv.js → index.btq862bx.js} +1 -1
- package/dist/chunks/{index.fab58nn0.js → index.je7pqrtm.js} +1 -1
- package/dist/chunks/{index.51yk4ene.js → index.jgvp2nkv.js} +1 -1
- package/dist/chunks/{index.fgsp5qqn.js → index.mjfjqm0b.js} +2 -2
- package/dist/chunks/{index.vnhefjwh.js → index.nphh2dtn.js} +1 -1
- package/dist/chunks/{index.23p1k2rx.js → index.pb5tn7q8.js} +1 -1
- package/dist/chunks/{index.x163xe9c.js → index.psaka010.js} +1 -1
- package/dist/chunks/{index.153rcscj.js → index.qy1pndre.js} +1 -1
- package/dist/chunks/{index.gqa9s37g.js → index.r8wc9n4q.js} +1 -1
- package/dist/chunks/{index.x1xqs5m5.js → index.vm7ezzet.js} +1 -1
- package/dist/chunks/{index.q9dsw4bt.js → index.x22rwqsz.js} +1 -1
- package/dist/chunks/{index.h6120080.js → index.ybmxf4mt.js} +1 -1
- package/dist/chunks/{index.9zhger75.js → index.yd3167gn.js} +2 -2
- package/dist/chunks/info-OHQRW6UA.yhwzx56w.js +1 -0
- package/dist/chunks/{infoDiagram-EZ3ZOAHP.r2yygqw8.js → infoDiagram-EZ3ZOAHP.q0047zjz.js} +1 -1
- package/dist/chunks/{ishikawaDiagram-S3EKX5GW.gwqtdvb2.js → ishikawaDiagram-S3EKX5GW.41wwb1jp.js} +1 -1
- package/dist/chunks/{journeyDiagram-POQNLL5X.rp31qkq5.js → journeyDiagram-POQNLL5X.2c9swtn6.js} +1 -1
- package/dist/chunks/{kanban-definition-BH5XI6FM.ymsqx6en.js → kanban-definition-BH5XI6FM.xznh9d30.js} +1 -1
- package/dist/chunks/{markup-color-chrome-ykGNUl8y.06cy435c.js → markup-color-chrome-ykGNUl8y.955bjndb.js} +1 -1
- package/dist/chunks/{markup-custom-color-C8Xc6JxB.an2wngns.js → markup-custom-color-Dou38qUi.w8c65wn1.js} +1 -1
- package/dist/chunks/{mention-list-Dhq70jL5.1k61f24q.js → mention-list-D4eNNVs0.2k5cdtgy.js} +1 -1
- package/dist/chunks/{mermaid.core.x45crg0h.js → mermaid.core.d680cq0m.js} +2 -2
- package/dist/chunks/{mindmap-definition-WVAN44T4.5cbd4rg2.js → mindmap-definition-WVAN44T4.k41b9d4r.js} +1 -1
- package/dist/chunks/packet-JDAUHWVQ.gp9cmm94.js +1 -0
- package/dist/chunks/{panel.nm4pj2wm.js → panel.yh0jnkha.js} +1 -1
- package/dist/chunks/{pegDiagram-D4NLKWP3.fsryts4r.js → pegDiagram-D4NLKWP3.x25624w6.js} +1 -1
- package/dist/chunks/pie-XZMESJXO.fx385qqa.js +1 -0
- package/dist/chunks/{pieDiagram-36ENHN4W.k4k2gvg0.js → pieDiagram-36ENHN4W.j4fq9134.js} +1 -1
- package/dist/chunks/{plated-illustration-BzxADkoZ.wtc9psry.js → plated-illustration-0ro04oJt.0ebg0x7r.js} +1 -1
- package/dist/chunks/{quadrantDiagram-ZQUDMS73.j7nj12w0.js → quadrantDiagram-ZQUDMS73.1vgwgk90.js} +1 -1
- package/dist/chunks/radar-ABXABTNO.d58r1mqp.js +1 -0
- package/dist/chunks/railroad-I3PHUGI6.cwq84f31.js +1 -0
- package/dist/chunks/railroad-abnf-LNEFI6M7.7z7d547m.js +1 -0
- package/dist/chunks/railroad-ebnf-DWYD2UWJ.geje0ygg.js +1 -0
- package/dist/chunks/railroad-peg-JR7BVNR7.f8xnzs1y.js +1 -0
- package/dist/chunks/{railroadDiagram-JIZHGYPL.a681wt3b.js → railroadDiagram-JIZHGYPL.pbv1rqfp.js} +1 -1
- package/dist/chunks/{render-VIF2ZAQL.rn9hpsbx.js → render-VIF2ZAQL.2kz294jj.js} +1 -1
- package/dist/chunks/{requirementDiagram-AXW2TVFA.shapgy39.js → requirementDiagram-AXW2TVFA.qnxmvqx8.js} +1 -1
- package/dist/chunks/{sankeyDiagram-FBCJTAIF.2syz1e2b.js → sankeyDiagram-FBCJTAIF.whv6dy60.js} +1 -1
- package/dist/chunks/{sequenceDiagram-3LA2ROMG.jq1w12a6.js → sequenceDiagram-3LA2ROMG.w52darq5.js} +1 -1
- package/dist/chunks/{sizeCapture-2Q2CQKSF.jtv53a6j.js → sizeCapture-2Q2CQKSF.zgscrz2v.js} +1 -1
- package/dist/chunks/{stateDiagram-v2-ATKHQDJO.x0g2rngz.js → stateDiagram-v2-ATKHQDJO.zk8w1ht1.js} +1 -1
- package/dist/chunks/{swimlanes-YQL5WMAO.j7j7c6ex.js → swimlanes-YQL5WMAO.cn1pz0jc.js} +1 -1
- package/dist/chunks/swimlanesDiagram-UCCPES4V.cy9ywqbn.js +8 -0
- package/dist/chunks/{timeline-definition-7Z437IG3.s5bvn8dr.js → timeline-definition-7Z437IG3.atpqnb0j.js} +1 -1
- package/dist/chunks/treeView-D4JQ5SDB.fj76b06b.js +1 -0
- package/dist/chunks/treemap-SAJKECNS.yk7967y9.js +1 -0
- package/dist/chunks/{usecaseDiagram-RDK6N6HP.9k4r423e.js → usecaseDiagram-RDK6N6HP.ase4sfgd.js} +1 -1
- package/dist/chunks/{vennDiagram-SHRQU5PJ.82q5dzm6.js → vennDiagram-SHRQU5PJ.as8z3hh5.js} +1 -1
- package/dist/chunks/wardley-7MLQ67FV.r3k2k1ra.js +1 -0
- package/dist/chunks/{wardleyDiagram-F3OXNVQS.fm4tw2nc.js → wardleyDiagram-F3OXNVQS.8pf1xb65.js} +1 -1
- package/dist/chunks/{xychartDiagram-GDYJKCDI.57vqn2zd.js → xychartDiagram-GDYJKCDI.z35xw169.js} +1 -1
- package/dist/index.js +5 -5
- package/package.json +2 -2
- package/dist/chunks/architecture-WOLXFQ4H.6qa86taq.js +0 -1
- package/dist/chunks/cynefin-EF2NZ3EQ.e86yfa9w.js +0 -1
- package/dist/chunks/editor.h5bxwyxn.js +0 -4
- package/dist/chunks/eventmodeling-K75KTNOO.9yb5zf47.js +0 -1
- package/dist/chunks/flowDiagram-Z6JWZHQI.zf0kndsp.js +0 -1
- package/dist/chunks/gitGraph-VSP46ZUC.txpj8e6d.js +0 -1
- package/dist/chunks/illustration-BoOzuxNg.h0gnxa4s.js +0 -1
- package/dist/chunks/index.0hrfbrja.js +0 -44
- package/dist/chunks/info-OHQRW6UA.xea9bh7d.js +0 -1
- package/dist/chunks/packet-JDAUHWVQ.c7dmae11.js +0 -1
- package/dist/chunks/pie-XZMESJXO.6rv4kzjx.js +0 -1
- package/dist/chunks/radar-ABXABTNO.58dfc8ba.js +0 -1
- package/dist/chunks/railroad-I3PHUGI6.00fqbahv.js +0 -1
- package/dist/chunks/railroad-abnf-LNEFI6M7.gt1x50q5.js +0 -1
- package/dist/chunks/railroad-ebnf-DWYD2UWJ.qr5qfkga.js +0 -1
- package/dist/chunks/railroad-peg-JR7BVNR7.m61rq7hj.js +0 -1
- package/dist/chunks/swimlanesDiagram-UCCPES4V.tzqcsrmd.js +0 -8
- package/dist/chunks/treeView-D4JQ5SDB.0x1grm2t.js +0 -1
- package/dist/chunks/treemap-SAJKECNS.1te19jsm.js +0 -1
- package/dist/chunks/wardley-7MLQ67FV.zp6gykk3.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{sa}from"./index.0hrfbrja.js";var X={};sa(X,{default:()=>Ot});var J={};sa(J,{default:()=>sr});var Mr=typeof global=="object"&&global&&global.Object===Object&&global,H=Mr;var Nr=typeof self=="object"&&self&&self.Object===Object&&self,Dr=H||Nr||Function("return this")(),Le=Dr;var Rr=Le.Symbol,Ge=Rr;var Pt=Object.prototype,{hasOwnProperty:Fr,toString:Br}=Pt,G=Ge?Ge.toStringTag:void 0;function Wr(t){var e=Fr.call(t,G),r=t[G];try{t[G]=void 0;var o=!0}catch(f){}var a=Br.call(t);if(o)if(e)t[G]=r;else delete t[G];return a}var Ct=Wr;var Kr=Object.prototype,kr=Kr.toString;function Yr(t){return kr.call(t)}var Et=Yr;var Xr="[object Null]",Zr="[object Undefined]",It=Ge?Ge.toStringTag:void 0;function Jr(t){if(t==null)return t===void 0?Zr:Xr;return It&&It in Object(t)?Ct(t):Et(t)}var st=Jr;function Qr(t){return t!=null&&typeof t=="object"}var De=Qr;var to="[object Symbol]";function eo(t){return typeof t=="symbol"||De(t)&&st(t)==to}var vt=eo;function ro(t,e){var r=-1,o=t==null?0:t.length,a=Array(o);while(++r<o)a[r]=e(t[r],r,t);return a}var ir=ro;var oo=Array.isArray,te=oo;var ao=1/0,Lt=Ge?Ge.prototype:void 0,jt=Lt?Lt.toString:void 0;function Mt(t){if(typeof t=="string")return t;if(te(t))return ir(t,Mt)+"";if(vt(t))return jt?jt.call(t):"";var e=t+"";return e=="0"&&1/t==-ao?"-0":e}var Nt=Mt;function fo(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Te=fo;function io(t){return t}var pt=io;var no="[object AsyncFunction]",so="[object Function]",po="[object GeneratorFunction]",uo="[object Proxy]";function mo(t){if(!Te(t))return!1;var e=st(t);return e==so||e==po||e==no||e==uo}var or=mo;var lo=Le["__core-js_shared__"],q=lo;var Rt=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function xo(t){return!!Rt&&Rt in t}var Ft=xo;var ho=Function.prototype,co=ho.toString;function go(t){if(t!=null){try{return co.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var y=go;var yo=/[\\^$.*+?()[\]{}|]/g,_o=/^\[object .+?Constructor\]$/,bo=Function.prototype,vo=Object.prototype,Oo=bo.toString,Ao=vo.hasOwnProperty,To=RegExp("^"+Oo.call(Ao).replace(yo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wo(t){if(!Te(t)||Ft(t))return!1;var e=or(t)?To:_o;return e.test(y(t))}var Bt=wo;function So(t,e){return t==null?void 0:t[e]}var Gt=So;function Po(t,e){var r=Gt(t,e);return Bt(r)?r:void 0}var x=Po;var Co=x(Le,"WeakMap"),k=Co;function Eo(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Ut=Eo;function Io(){}var zt=Io;var Lo=800,jo=16,Mo=Date.now;function No(t){var e=0,r=0;return function(){var o=Mo(),a=jo-(o-r);if(r=o,a>0){if(++e>=Lo)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Wt=No;function Do(t){return function(){return t}}var mt=Do;var Ro=function(){try{var t=x(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Hn=Ro;var Fo=!Hn?pt:function(t,e){return Hn(t,"toString",{configurable:!0,enumerable:!1,value:mt(e),writable:!0})},Kt=Fo;var Bo=Wt(Kt),Oi=Bo;function Go(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t)===!1)break;return t}var Pi=Go;function Uo(t,e,r,o){var a=t.length,f=r+(o?1:-1);while(o?f--:++f<a)if(e(t[f],f,t))return f;return-1}var Bi=Uo;function zo(t){return t!==t}var Ht=zo;function Wo(t,e,r){var o=r-1,a=t.length;while(++o<a)if(t[o]===e)return o;return-1}var qt=Wo;function Ko(t,e,r){return e===e?qt(t,e,r):Bi(t,Ht,r)}var $t=Ko;function Ho(t,e){var r=t==null?0:t.length;return!!r&&$t(t,e,0)>-1}var kt=Ho;var qo=9007199254740991,$o=/^(?:0|[1-9]\d*)$/;function ko(t,e){var r=typeof t;return e=e==null?qo:e,!!e&&(r=="number"||r!="symbol"&&$o.test(t))&&(t>-1&&t%1==0&&t<e)}var $r=ko;function Yo(t,e){return t===e||t!==t&&e!==e}var Dt=Yo;var Xt=Math.max;function Xo(t,e,r){return e=Xt(e===void 0?t.length-1:e,0),function(){var o=arguments,a=-1,f=Xt(o.length-e,0),i=Array(f);while(++a<f)i[a]=o[e+a];a=-1;var n=Array(e+1);while(++a<e)n[a]=o[a];return n[e]=r(i),Ut(t,this,n)}}var Fi=Xo;function Zo(t,e){return Oi(Fi(t,e,pt),t+"")}var zr=Zo;var Jo=9007199254740991;function Qo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Jo}var j=Qo;function Vo(t){return t!=null&&j(t.length)&&!or(t)}var Ve=Vo;var ta=Object.prototype;function ea(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||ta;return t===r}var Hr=ea;function ra(t,e){var r=-1,o=Array(t);while(++r<t)o[r]=e(r);return o}var Zt=ra;var oa="[object Arguments]";function aa(t){return De(t)&&st(t)==oa}var ct=aa;var Jt=Object.prototype,{hasOwnProperty:fa,propertyIsEnumerable:ia}=Jt,na=ct(function(){return arguments}())?ct:function(t){return De(t)&&fa.call(t,"callee")&&!ia.call(t,"callee")},Yt=na;function pa(){return!1}var Qt=pa;var re=typeof X=="object"&&X&&!X.nodeType&&X,Vt=re&&typeof Y=="object"&&Y&&!Y.nodeType&&Y,ua=Vt&&Vt.exports===re,ee=ua?Le.Buffer:void 0,ma=ee?ee.isBuffer:void 0,la=ma||Qt,Ot=la;var da="[object Arguments]",xa="[object Array]",ha="[object Boolean]",ca="[object Date]",ga="[object Error]",ya="[object Function]",_a="[object Map]",ba="[object Number]",va="[object Object]",Oa="[object RegExp]",Aa="[object Set]",wa="[object String]",Sa="[object WeakMap]",Pa="[object ArrayBuffer]",Ca="[object DataView]",Ea="[object Float32Array]",Ia="[object Float64Array]",La="[object Int8Array]",ja="[object Int16Array]",Ma="[object Int32Array]",Na="[object Uint8Array]",Da="[object Uint8ClampedArray]",Ra="[object Uint16Array]",Fa="[object Uint32Array]",u={};u[Ea]=u[Ia]=u[La]=u[ja]=u[Ma]=u[Na]=u[Da]=u[Ra]=u[Fa]=!0;u[da]=u[xa]=u[Pa]=u[ha]=u[Ca]=u[ca]=u[ga]=u[ya]=u[_a]=u[ba]=u[va]=u[Oa]=u[Aa]=u[wa]=u[Sa]=!1;function Ba(t){return De(t)&&j(t.length)&&!!u[st(t)]}var oe=Ba;function Ga(t){return function(e){return t(e)}}var Ur=Ga;var ae=typeof J=="object"&&J&&!J.nodeType&&J,U=ae&&typeof Z=="object"&&Z&&!Z.nodeType&&Z,Ua=U&&U.exports===ae,gt=Ua&&H.process,za=function(){try{var t=U&&U.require&&U.require("util").types;if(t)return t;return gt&>.binding&>.binding("util")}catch(e){}}(),sr=za;var fe=sr&&sr.isTypedArray,Wa=fe?Ur(fe):oe,qr=Wa;var Ka=Object.prototype,Ha=Ka.hasOwnProperty;function qa(t,e){var r=te(t),o=!r&&Yt(t),a=!r&&!o&&Ot(t),f=!r&&!o&&!a&&qr(t),i=r||o||a||f,n=i?Zt(t.length,String):[],s=n.length;for(var p in t)if((e||Ha.call(t,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||$r(p,s))))n.push(p);return n}var $i=qa;function $a(t,e){return function(r){return t(e(r))}}var zi=$a;var ka=zi(Object.keys,Object),ie=ka;var Ya=Object.prototype,Xa=Ya.hasOwnProperty;function Za(t){if(!Hr(t))return ie(t);var e=[];for(var r in Object(t))if(Xa.call(t,r)&&r!="constructor")e.push(r);return e}var Un=Za;function Ja(t){return Ve(t)?$i(t):Un(t)}var Re=Ja;var Qa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Va=/^\w*$/;function tf(t,e){if(te(t))return!1;var r=typeof t;if(r=="number"||r=="symbol"||r=="boolean"||t==null||vt(t))return!0;return Va.test(t)||!Qa.test(t)||e!=null&&t in Object(e)}var M=tf;var ef=x(Object,"create"),_=ef;function rf(){this.__data__=_?_(null):{},this.size=0}var ne=rf;function of(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var se=of;var af="__lodash_hash_undefined__",ff=Object.prototype,nf=ff.hasOwnProperty;function sf(t){var e=this.__data__;if(_){var r=e[t];return r===af?void 0:r}return nf.call(e,t)?e[t]:void 0}var pe=sf;var pf=Object.prototype,uf=pf.hasOwnProperty;function mf(t){var e=this.__data__;return _?e[t]!==void 0:uf.call(e,t)}var me=mf;var lf="__lodash_hash_undefined__";function df(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=_&&e===void 0?lf:e,this}var le=df;function N(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}N.prototype.clear=ne;N.prototype.delete=se;N.prototype.get=pe;N.prototype.has=me;N.prototype.set=le;var _t=N;function xf(){this.__data__=[],this.size=0}var de=xf;function hf(t,e){var r=t.length;while(r--)if(Dt(t[r][0],e))return r;return-1}var O=hf;var cf=Array.prototype,gf=cf.splice;function yf(t){var e=this.__data__,r=O(e,t);if(r<0)return!1;var o=e.length-1;if(r==o)e.pop();else gf.call(e,r,1);return--this.size,!0}var xe=yf;function _f(t){var e=this.__data__,r=O(e,t);return r<0?void 0:e[r][1]}var he=_f;function bf(t){return O(this.__data__,t)>-1}var ce=bf;function vf(t,e){var r=this.__data__,o=O(r,t);if(o<0)++this.size,r.push([t,e]);else r[o][1]=e;return this}var ge=vf;function D(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}D.prototype.clear=de;D.prototype.delete=xe;D.prototype.get=he;D.prototype.has=ce;D.prototype.set=ge;var A=D;var Of=x(Le,"Map"),T=Of;function Af(){this.size=0,this.__data__={hash:new _t,map:new(T||A),string:new _t}}var ye=Af;function Tf(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var _e=Tf;function wf(t,e){var r=t.__data__;return _e(e)?r[typeof e=="string"?"string":"hash"]:r.map}var w=wf;function Sf(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e}var be=Sf;function Pf(t){return w(this,t).get(t)}var ve=Pf;function Cf(t){return w(this,t).has(t)}var Oe=Cf;function Ef(t,e){var r=w(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var Ae=Ef;function R(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}R.prototype.clear=ye;R.prototype.delete=be;R.prototype.get=ve;R.prototype.has=Oe;R.prototype.set=Ae;var E=R;var If="Expected a function";function bt(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw TypeError(If);var r=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=r.cache;if(f.has(a))return f.get(a);var i=t.apply(this,o);return r.cache=f.set(a,i)||f,i};return r.cache=new(bt.Cache||E),r}bt.Cache=E;var we=bt;var Lf=500;function jf(t){var e=we(t,function(o){if(r.size===Lf)r.clear();return o}),r=e.cache;return e}var Se=jf;var Mf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nf=/\\(\\)?/g,Df=Se(function(t){var e=[];if(t.charCodeAt(0)===46)e.push("");return t.replace(Mf,function(r,o,a,f){e.push(a?f.replace(Nf,"$1"):o||r)}),e}),Pe=Df;function Rf(t){return t==null?"":Nt(t)}var Hi=Rf;function Ff(t,e){if(te(t))return t;return M(t,e)?[t]:Pe(Hi(t))}var jr=Ff;var Bf=1/0;function Gf(t){if(typeof t=="string"||vt(t))return t;var e=t+"";return e=="0"&&1/t==-Bf?"-0":e}var lr=Gf;function Uf(t,e){e=jr(e,t);var r=0,o=e.length;while(t!=null&&r<o)t=t[lr(e[r++])];return r&&r==o?t:void 0}var Gr=Uf;function zf(t,e,r){var o=t==null?void 0:Gr(t,e);return o===void 0?r:o}var Ce=zf;function Wf(t,e){var r=-1,o=e.length,a=t.length;while(++r<o)t[a+r]=e[r];return t}var qn=Wf;var Ee=Ge?Ge.isConcatSpreadable:void 0;function Kf(t){return te(t)||Yt(t)||!!(Ee&&t&&t[Ee])}var je=Kf;function Me(t,e,r,o,a){var f=-1,i=t.length;r||(r=je),a||(a=[]);while(++f<i){var n=t[f];if(e>0&&r(n))if(e>1)Me(n,e-1,r,o,a);else qn(a,n);else if(!o)a[a.length]=n}return a}var jn=Me;function Hf(t,e,r,o){var a=-1,f=t==null?0:t.length;if(o&&f)r=t[++a];while(++a<f)r=e(r,t[a],a,t);return r}var Ne=Hf;function qf(){this.__data__=new A,this.size=0}var Fe=qf;function $f(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Be=$f;function kf(t){return this.__data__.get(t)}var Ue=kf;function Yf(t){return this.__data__.has(t)}var ze=Yf;var Xf=200;function Zf(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!T||o.length<Xf-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new E(o)}return r.set(t,e),this.size=r.size,this}var We=Zf;function F(t){var e=this.__data__=new A(t);this.size=e.size}F.prototype.clear=Fe;F.prototype.delete=Be;F.prototype.get=Ue;F.prototype.has=ze;F.prototype.set=We;var cr=F;function Jf(t,e){var r=-1,o=t==null?0:t.length,a=0,f=[];while(++r<o){var i=t[r];if(e(i,r,t))f[a++]=i}return f}var Q=Jf;function Qf(){return[]}var Ui=Qf;var Vf=Object.prototype,ti=Vf.propertyIsEnumerable,Ke=Object.getOwnPropertySymbols,ei=!Ke?Ui:function(t){if(t==null)return[];return t=Object(t),Q(Ke(t),function(e){return ti.call(t,e)})},Gn=ei;function ri(t,e,r){var o=e(t);return te(t)?o:qn(o,r(t))}var qi=ri;function oi(t){return qi(t,Re,Gn)}var Ta=oi;var ai=x(Le,"DataView"),V=ai;var fi=x(Le,"Promise"),tt=fi;var ii=x(Le,"Set"),S=ii;var He="[object Map]",ni="[object Object]",qe="[object Promise]",$e="[object Set]",ke="[object WeakMap]",Ye="[object DataView]",si=y(V),pi=y(T),ui=y(tt),mi=y(S),li=y(k),I=st;if(V&&I(new V(new ArrayBuffer(1)))!=Ye||T&&I(new T)!=He||tt&&I(tt.resolve())!=qe||S&&I(new S)!=$e||k&&I(new k)!=ke)I=function(t){var e=st(t),r=e==ni?t.constructor:void 0,o=r?y(r):"";if(o)switch(o){case si:return Ye;case pi:return He;case ui:return qe;case mi:return $e;case li:return ke}return e};var yt=I;var di=Le.Uint8Array,Vn=di;var xi="__lodash_hash_undefined__";function hi(t){return this.__data__.set(t,xi),this}var Xe=hi;function ci(t){return this.__data__.has(t)}var Ze=ci;function rt(t){var e=-1,r=t==null?0:t.length;this.__data__=new E;while(++e<r)this.add(t[e])}rt.prototype.add=rt.prototype.push=Xe;rt.prototype.has=Ze;var ot=rt;function gi(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t))return!0;return!1}var Je=gi;function yi(t,e){return t.has(e)}var at=yi;var _i=1,bi=2;function vi(t,e,r,o,a,f){var i=r&_i,n=t.length,s=e.length;if(n!=s&&!(i&&s>n))return!1;var p=f.get(t),d=f.get(e);if(p&&d)return p==e&&d==t;var l=-1,m=!0,g=r&bi?new ot:void 0;f.set(t,e),f.set(e,t);while(++l<n){var h=t[l],c=e[l];if(o)var v=i?o(c,h,l,e,t,f):o(h,c,l,t,e,f);if(v!==void 0){if(v)continue;m=!1;break}if(g){if(!Je(e,function(P,C){if(!at(g,C)&&(h===P||a(h,P,r,o,f)))return g.push(C)})){m=!1;break}}else if(!(h===c||a(h,c,r,o,f))){m=!1;break}}return f.delete(t),f.delete(e),m}var ft=vi;function Ai(t){var e=-1,r=Array(t.size);return t.forEach(function(o,a){r[++e]=[a,o]}),r}var Qe=Ai;function Ti(t){var e=-1,r=Array(t.size);return t.forEach(function(o){r[++e]=o}),r}var B=Ti;var wi=1,Si=2,Ci="[object Boolean]",Ei="[object Date]",Ii="[object Error]",Li="[object Map]",Mi="[object Number]",Ni="[object RegExp]",Di="[object Set]",Ri="[object String]",Ki="[object Symbol]",ki="[object ArrayBuffer]",Yi="[object DataView]",tr=Ge?Ge.prototype:void 0,At=tr?tr.valueOf:void 0;function Xi(t,e,r,o,a,f,i){switch(r){case Yi:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ki:if(t.byteLength!=e.byteLength||!f(new Vn(t),new Vn(e)))return!1;return!0;case Ci:case Ei:case Mi:return Dt(+t,+e);case Ii:return t.name==e.name&&t.message==e.message;case Ni:case Ri:return t==e+"";case Li:var n=Qe;case Di:var s=o&wi;if(n||(n=B),t.size!=e.size&&!s)return!1;var p=i.get(t);if(p)return p==e;o|=Si,i.set(t,e);var d=ft(n(t),n(e),o,a,f,i);return i.delete(t),d;case Ki:if(At)return At.call(t)==At.call(e)}return!1}var er=Xi;var Zi=1,Ji=Object.prototype,Qi=Ji.hasOwnProperty;function tn(t,e,r,o,a,f){var i=r&Zi,n=Ta(t),s=n.length,p=Ta(e),d=p.length;if(s!=d&&!i)return!1;var l=s;while(l--){var m=n[l];if(!(i?m in e:Qi.call(e,m)))return!1}var g=f.get(t),h=f.get(e);if(g&&h)return g==e&&h==t;var c=!0;f.set(t,e),f.set(e,t);var v=i;while(++l<s){m=n[l];var P=t[m],C=e[m];if(o)var St=i?o(C,P,m,e,t,f):o(P,C,m,t,e,f);if(!(St===void 0?P===C||a(P,C,r,o,f):St)){c=!1;break}v||(v=m=="constructor")}if(c&&!v){var W=t.constructor,K=e.constructor;if(W!=K&&(("constructor"in t)&&("constructor"in e))&&!(typeof W=="function"&&W instanceof W&&typeof K=="function"&&K instanceof K))c=!1}return f.delete(t),f.delete(e),c}var rr=tn;var en=1,ar="[object Arguments]",fr="[object Array]",it="[object Object]",rn=Object.prototype,nr=rn.hasOwnProperty;function on(t,e,r,o,a,f){var i=te(t),n=te(e),s=i?fr:yt(t),p=n?fr:yt(e);s=s==ar?it:s,p=p==ar?it:p;var d=s==it,l=p==it,m=s==p;if(m&&Ot(t)){if(!Ot(e))return!1;i=!0,d=!1}if(m&&!d)return f||(f=new cr),i||qr(t)?ft(t,e,r,o,a,f):er(t,e,s,r,o,a,f);if(!(r&en)){var g=d&&nr.call(t,"__wrapped__"),h=l&&nr.call(e,"__wrapped__");if(g||h){var c=g?t.value():t,v=h?e.value():e;return f||(f=new cr),a(c,v,r,o,f)}}if(!m)return!1;return f||(f=new cr),rr(t,e,r,o,a,f)}var pr=on;function mr(t,e,r,o,a){if(t===e)return!0;if(t==null||e==null||!De(t)&&!De(e))return t!==t&&e!==e;return pr(t,e,r,o,mr,a)}var nt=mr;var an=1,fn=2;function nn(t,e,r,o){var a=r.length,f=a,i=!o;if(t==null)return!f;t=Object(t);while(a--){var n=r[a];if(i&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}while(++a<f){n=r[a];var s=n[0],p=t[s],d=n[1];if(i&&n[2]){if(p===void 0&&!(s in t))return!1}else{var l=new cr;if(o)var m=o(p,d,s,t,e,l);if(!(m===void 0?nt(d,p,an|fn,o,l):m))return!1}}return!0}var dr=nn;function sn(t){return t===t&&!Te(t)}var ut=sn;function pn(t){var e=Re(t),r=e.length;while(r--){var o=e[r],a=t[o];e[r]=[o,a,ut(a)]}return e}var xr=pn;function un(t,e){return function(r){if(r==null)return!1;return r[t]===e&&(e!==void 0||(t in Object(r)))}}var dt=un;function mn(t){var e=xr(t);if(e.length==1&&e[0][2])return dt(e[0][0],e[0][1]);return function(r){return r===t||dr(r,t,e)}}var hr=mn;function ln(t,e){return t!=null&&e in Object(t)}var gr=ln;function dn(t,e,r){e=jr(e,t);var o=-1,a=e.length,f=!1;while(++o<a){var i=lr(e[o]);if(!(f=t!=null&&r(t,i)))break;t=t[i]}if(f||++o!=a)return f;return a=t==null?0:t.length,!!a&&j(a)&&$r(i,a)&&(te(t)||Yt(t))}var ji=dn;function xn(t,e){return t!=null&&ji(t,e,gr)}var Gi=xn;var hn=1,cn=2;function gn(t,e){if(M(t)&&ut(e))return dt(lr(t),e);return function(r){var o=Ce(r,t);return o===void 0&&o===e?Gi(r,t):nt(e,o,hn|cn)}}var yr=gn;function yn(t){return function(e){return e==null?void 0:e[t]}}var Vi=yn;function _n(t){return function(e){return Gr(e,t)}}var _r=_n;function bn(t){return M(t)?Vi(lr(t)):_r(t)}var br=bn;function vn(t){if(typeof t=="function")return t;if(t==null)return pt;if(typeof t=="object")return te(t)?yr(t[0],t[1]):hr(t);return br(t)}var et=vn;function On(t){return function(e,r,o){var a=-1,f=Object(e),i=o(e),n=i.length;while(n--){var s=i[t?n:++a];if(r(f[s],s,f)===!1)break}return e}}var vr=On;var An=vr(),Wn=An;function Tn(t,e){return t&&Wn(t,e,Re)}var Kn=Tn;function wn(t,e){return function(r,o){if(r==null)return r;if(!Ve(r))return t(r,o);var a=r.length,f=e?a:-1,i=Object(r);while(e?f--:++f<a)if(o(i[f],f,i)===!1)break;return r}}var Or=wn;var Sn=Or(Kn),Vr=Sn;function Pn(t){return De(t)&&Ve(t)}var Wi=Pn;function Cn(t,e,r){var o=-1,a=t==null?0:t.length;while(++o<a)if(r(e,t[o]))return!0;return!1}var Ar=Cn;function En(t){return typeof t=="function"?t:pt}var Yn=En;function In(t,e){var r=te(t)?Pi:Vr;return r(t,Yn(e))}var b=In;function Ln(t,e){var r=[];return Vr(t,function(o,a,f){if(e(o,a,f))r.push(o)}),r}var Tr=Ln;function Mn(t,e){var r=te(t)?Q:Tr;return r(t,et(e,3))}var lt=Mn;function Nn(t,e){return ir(e,function(r){return t[r]})}var wr=Nn;function Dn(t){return t==null?[]:wr(t,Re(t))}var xt=Dn;var Rn="[object Map]",Fn="[object Set]",Bn=Object.prototype,zn=Bn.hasOwnProperty;function $n(t){if(t==null)return!0;if(Ve(t)&&(te(t)||typeof t=="string"||typeof t.splice=="function"||Ot(t)||qr(t)||Yt(t)))return!t.length;var e=yt(t);if(e==Rn||e==Fn)return!t.size;if(Hr(t))return!Un(t).length;for(var r in t)if(zn.call(t,r))return!1;return!0}var ht=$n;function kn(t){return t===void 0}var Ie=kn;function Xn(t,e,r,o,a){return a(t,function(f,i,n){r=o?(o=!1,f):e(r,f,i,n)}),r}var Sr=Xn;function Zn(t,e,r){var o=te(t)?Ne:Sr,a=arguments.length<3;return o(t,et(e,4),r,a,Vr)}var ur=Zn;var Jn=1/0,Qn=!(S&&1/B(new S([,-0]))[1]==Jn)?zt:function(t){return new S(t)},Pr=Qn;var ts=200;function es(t,e,r){var o=-1,a=kt,f=t.length,i=!0,n=[],s=n;if(r)i=!1,a=Ar;else if(f>=ts){var p=e?null:Pr(t);if(p)return B(p);i=!1,a=at,s=new ot}else s=e?[]:n;t:while(++o<f){var d=t[o],l=e?e(d):d;if(d=r||d!==0?d:0,i&&l===l){var m=s.length;while(m--)if(s[m]===l)continue t;if(e)s.push(l);n.push(d)}else if(!a(s,l,r)){if(s!==n)s.push(l);n.push(d)}}return n}var Cr=es;var rs=zr(function(t){return Cr(jn(t,1,Wi,!0))}),Tt=rs;var as="\x00",L="\x00",Er="\x01";class ue{constructor(t={}){if(this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=mt(void 0),this._defaultEdgeLabelFn=mt(void 0),this._nodes={},this._isCompound)this._parent={},this._children={},this._children[L]={};this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){if(!or(t))t=mt(t);return this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return Re(this._nodes)}sources(){var t=this;return lt(this.nodes(),function(e){return ht(t._in[e])})}sinks(){var t=this;return lt(this.nodes(),function(e){return ht(t._out[e])})}setNodes(t,e){var r=arguments,o=this;return b(t,function(a){if(r.length>1)o.setNode(a,e);else o.setNode(a)}),this}setNode(t,e){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){if(arguments.length>1)this._nodes[t]=e;return this}if(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound)this._parent[t]=L,this._children[t]={},this._children[L][t]=!0;return this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=(r)=>this.removeEdge(this._edgeObjs[r]);if(delete this._nodes[t],this._isCompound)this._removeFromParentsChildList(t),delete this._parent[t],b(this.children(t),(r)=>{this.setParent(r)}),delete this._children[t];b(Re(this._in[t]),e),delete this._in[t],delete this._preds[t],b(Re(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(Ie(e))e=L;else{e+="";for(var r=e;!Ie(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==L)return e}}children(t){if(Ie(t))t=L;if(this._isCompound){var e=this._children[t];if(e)return Re(e)}else if(t===L)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return Re(e)}successors(t){var e=this._sucs[t];if(e)return Re(e)}neighbors(t){var e=this.predecessors(t);if(e)return Tt(e,this.successors(t))}isLeaf(t){var e;if(this.isDirected())e=this.successors(t);else e=this.neighbors(t);return e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;b(this._nodes,function(f,i){if(t(i))e.setNode(i,f)}),b(this._edgeObjs,function(f){if(e.hasNode(f.v)&&e.hasNode(f.w))e.setEdge(f,r.edge(f))});var o={};function a(f){var i=r.parent(f);if(i===void 0||e.hasNode(i))return o[f]=i,i;else if(i in o)return o[i];else return a(i)}if(this._isCompound)b(e.nodes(),function(f){e.setParent(f,a(f))});return e}setDefaultEdgeLabel(t){if(!or(t))t=mt(t);return this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return xt(this._edgeObjs)}setPath(t,e){var r=this,o=arguments;return ur(t,function(a,f){if(o.length>1)r.setEdge(a,f,e);else r.setEdge(a,f);return f}),this}setEdge(){var t,e,r,o,a=!1,f=arguments[0];if(typeof f==="object"&&f!==null&&"v"in f){if(t=f.v,e=f.w,r=f.name,arguments.length===2)o=arguments[1],a=!0}else if(t=f,e=arguments[1],r=arguments[3],arguments.length>2)o=arguments[2],a=!0;if(t=""+t,e=""+e,!Ie(r))r=""+r;var i=z(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,i)){if(a)this._edgeLabels[i]=o;return this}if(!Ie(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[i]=a?o:this._defaultEdgeLabelFn(t,e,r);var n=fs(this._isDirected,t,e,r);return t=n.v,e=n.w,Object.freeze(n),this._edgeObjs[i]=n,Ir(this._preds[e],t),Ir(this._sucs[t],e),this._in[e][i]=n,this._out[t][i]=n,this._edgeCount++,this}edge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return this._edgeLabels[o]}hasEdge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,o)}removeEdge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r),a=this._edgeObjs[o];if(a)t=a.v,e=a.w,delete this._edgeLabels[o],delete this._edgeObjs[o],Lr(this._preds[e],t),Lr(this._sucs[t],e),delete this._in[e][o],delete this._out[t][o],this._edgeCount--;return this}inEdges(t,e){var r=this._in[t];if(r){var o=xt(r);if(!e)return o;return lt(o,function(a){return a.v===e})}}outEdges(t,e){var r=this._out[t];if(r){var o=xt(r);if(!e)return o;return lt(o,function(a){return a.w===e})}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}ue.prototype._nodeCount=0;ue.prototype._edgeCount=0;function Ir(t,e){if(t[e])t[e]++;else t[e]=1}function Lr(t,e){if(!--t[e])delete t[e]}function z(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}return a+Er+f+Er+(Ie(o)?as:o)}function fs(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}var n={v:a,w:f};if(o)n.name=o;return n}function wt(t,e){return z(t,e.v,e.w,e.name)}
|
|
1
|
+
import{sa}from"./index.5vcex75v.js";var X={};sa(X,{default:()=>Ot});var J={};sa(J,{default:()=>sr});var Mr=typeof global=="object"&&global&&global.Object===Object&&global,H=Mr;var Nr=typeof self=="object"&&self&&self.Object===Object&&self,Dr=H||Nr||Function("return this")(),Le=Dr;var Rr=Le.Symbol,Ge=Rr;var Pt=Object.prototype,{hasOwnProperty:Fr,toString:Br}=Pt,G=Ge?Ge.toStringTag:void 0;function Wr(t){var e=Fr.call(t,G),r=t[G];try{t[G]=void 0;var o=!0}catch(f){}var a=Br.call(t);if(o)if(e)t[G]=r;else delete t[G];return a}var Ct=Wr;var Kr=Object.prototype,kr=Kr.toString;function Yr(t){return kr.call(t)}var Et=Yr;var Xr="[object Null]",Zr="[object Undefined]",It=Ge?Ge.toStringTag:void 0;function Jr(t){if(t==null)return t===void 0?Zr:Xr;return It&&It in Object(t)?Ct(t):Et(t)}var st=Jr;function Qr(t){return t!=null&&typeof t=="object"}var De=Qr;var to="[object Symbol]";function eo(t){return typeof t=="symbol"||De(t)&&st(t)==to}var vt=eo;function ro(t,e){var r=-1,o=t==null?0:t.length,a=Array(o);while(++r<o)a[r]=e(t[r],r,t);return a}var ir=ro;var oo=Array.isArray,te=oo;var ao=1/0,Lt=Ge?Ge.prototype:void 0,jt=Lt?Lt.toString:void 0;function Mt(t){if(typeof t=="string")return t;if(te(t))return ir(t,Mt)+"";if(vt(t))return jt?jt.call(t):"";var e=t+"";return e=="0"&&1/t==-ao?"-0":e}var Nt=Mt;function fo(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Te=fo;function io(t){return t}var pt=io;var no="[object AsyncFunction]",so="[object Function]",po="[object GeneratorFunction]",uo="[object Proxy]";function mo(t){if(!Te(t))return!1;var e=st(t);return e==so||e==po||e==no||e==uo}var or=mo;var lo=Le["__core-js_shared__"],q=lo;var Rt=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function xo(t){return!!Rt&&Rt in t}var Ft=xo;var ho=Function.prototype,co=ho.toString;function go(t){if(t!=null){try{return co.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var y=go;var yo=/[\\^$.*+?()[\]{}|]/g,_o=/^\[object .+?Constructor\]$/,bo=Function.prototype,vo=Object.prototype,Oo=bo.toString,Ao=vo.hasOwnProperty,To=RegExp("^"+Oo.call(Ao).replace(yo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wo(t){if(!Te(t)||Ft(t))return!1;var e=or(t)?To:_o;return e.test(y(t))}var Bt=wo;function So(t,e){return t==null?void 0:t[e]}var Gt=So;function Po(t,e){var r=Gt(t,e);return Bt(r)?r:void 0}var x=Po;var Co=x(Le,"WeakMap"),k=Co;function Eo(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Ut=Eo;function Io(){}var zt=Io;var Lo=800,jo=16,Mo=Date.now;function No(t){var e=0,r=0;return function(){var o=Mo(),a=jo-(o-r);if(r=o,a>0){if(++e>=Lo)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Wt=No;function Do(t){return function(){return t}}var mt=Do;var Ro=function(){try{var t=x(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Hn=Ro;var Fo=!Hn?pt:function(t,e){return Hn(t,"toString",{configurable:!0,enumerable:!1,value:mt(e),writable:!0})},Kt=Fo;var Bo=Wt(Kt),Oi=Bo;function Go(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t)===!1)break;return t}var Pi=Go;function Uo(t,e,r,o){var a=t.length,f=r+(o?1:-1);while(o?f--:++f<a)if(e(t[f],f,t))return f;return-1}var Bi=Uo;function zo(t){return t!==t}var Ht=zo;function Wo(t,e,r){var o=r-1,a=t.length;while(++o<a)if(t[o]===e)return o;return-1}var qt=Wo;function Ko(t,e,r){return e===e?qt(t,e,r):Bi(t,Ht,r)}var $t=Ko;function Ho(t,e){var r=t==null?0:t.length;return!!r&&$t(t,e,0)>-1}var kt=Ho;var qo=9007199254740991,$o=/^(?:0|[1-9]\d*)$/;function ko(t,e){var r=typeof t;return e=e==null?qo:e,!!e&&(r=="number"||r!="symbol"&&$o.test(t))&&(t>-1&&t%1==0&&t<e)}var $r=ko;function Yo(t,e){return t===e||t!==t&&e!==e}var Dt=Yo;var Xt=Math.max;function Xo(t,e,r){return e=Xt(e===void 0?t.length-1:e,0),function(){var o=arguments,a=-1,f=Xt(o.length-e,0),i=Array(f);while(++a<f)i[a]=o[e+a];a=-1;var n=Array(e+1);while(++a<e)n[a]=o[a];return n[e]=r(i),Ut(t,this,n)}}var Fi=Xo;function Zo(t,e){return Oi(Fi(t,e,pt),t+"")}var zr=Zo;var Jo=9007199254740991;function Qo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Jo}var j=Qo;function Vo(t){return t!=null&&j(t.length)&&!or(t)}var Ve=Vo;var ta=Object.prototype;function ea(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||ta;return t===r}var Hr=ea;function ra(t,e){var r=-1,o=Array(t);while(++r<t)o[r]=e(r);return o}var Zt=ra;var oa="[object Arguments]";function aa(t){return De(t)&&st(t)==oa}var ct=aa;var Jt=Object.prototype,{hasOwnProperty:fa,propertyIsEnumerable:ia}=Jt,na=ct(function(){return arguments}())?ct:function(t){return De(t)&&fa.call(t,"callee")&&!ia.call(t,"callee")},Yt=na;function pa(){return!1}var Qt=pa;var re=typeof X=="object"&&X&&!X.nodeType&&X,Vt=re&&typeof Y=="object"&&Y&&!Y.nodeType&&Y,ua=Vt&&Vt.exports===re,ee=ua?Le.Buffer:void 0,ma=ee?ee.isBuffer:void 0,la=ma||Qt,Ot=la;var da="[object Arguments]",xa="[object Array]",ha="[object Boolean]",ca="[object Date]",ga="[object Error]",ya="[object Function]",_a="[object Map]",ba="[object Number]",va="[object Object]",Oa="[object RegExp]",Aa="[object Set]",wa="[object String]",Sa="[object WeakMap]",Pa="[object ArrayBuffer]",Ca="[object DataView]",Ea="[object Float32Array]",Ia="[object Float64Array]",La="[object Int8Array]",ja="[object Int16Array]",Ma="[object Int32Array]",Na="[object Uint8Array]",Da="[object Uint8ClampedArray]",Ra="[object Uint16Array]",Fa="[object Uint32Array]",u={};u[Ea]=u[Ia]=u[La]=u[ja]=u[Ma]=u[Na]=u[Da]=u[Ra]=u[Fa]=!0;u[da]=u[xa]=u[Pa]=u[ha]=u[Ca]=u[ca]=u[ga]=u[ya]=u[_a]=u[ba]=u[va]=u[Oa]=u[Aa]=u[wa]=u[Sa]=!1;function Ba(t){return De(t)&&j(t.length)&&!!u[st(t)]}var oe=Ba;function Ga(t){return function(e){return t(e)}}var Ur=Ga;var ae=typeof J=="object"&&J&&!J.nodeType&&J,U=ae&&typeof Z=="object"&&Z&&!Z.nodeType&&Z,Ua=U&&U.exports===ae,gt=Ua&&H.process,za=function(){try{var t=U&&U.require&&U.require("util").types;if(t)return t;return gt&>.binding&>.binding("util")}catch(e){}}(),sr=za;var fe=sr&&sr.isTypedArray,Wa=fe?Ur(fe):oe,qr=Wa;var Ka=Object.prototype,Ha=Ka.hasOwnProperty;function qa(t,e){var r=te(t),o=!r&&Yt(t),a=!r&&!o&&Ot(t),f=!r&&!o&&!a&&qr(t),i=r||o||a||f,n=i?Zt(t.length,String):[],s=n.length;for(var p in t)if((e||Ha.call(t,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||$r(p,s))))n.push(p);return n}var $i=qa;function $a(t,e){return function(r){return t(e(r))}}var zi=$a;var ka=zi(Object.keys,Object),ie=ka;var Ya=Object.prototype,Xa=Ya.hasOwnProperty;function Za(t){if(!Hr(t))return ie(t);var e=[];for(var r in Object(t))if(Xa.call(t,r)&&r!="constructor")e.push(r);return e}var Un=Za;function Ja(t){return Ve(t)?$i(t):Un(t)}var Re=Ja;var Qa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Va=/^\w*$/;function tf(t,e){if(te(t))return!1;var r=typeof t;if(r=="number"||r=="symbol"||r=="boolean"||t==null||vt(t))return!0;return Va.test(t)||!Qa.test(t)||e!=null&&t in Object(e)}var M=tf;var ef=x(Object,"create"),_=ef;function rf(){this.__data__=_?_(null):{},this.size=0}var ne=rf;function of(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var se=of;var af="__lodash_hash_undefined__",ff=Object.prototype,nf=ff.hasOwnProperty;function sf(t){var e=this.__data__;if(_){var r=e[t];return r===af?void 0:r}return nf.call(e,t)?e[t]:void 0}var pe=sf;var pf=Object.prototype,uf=pf.hasOwnProperty;function mf(t){var e=this.__data__;return _?e[t]!==void 0:uf.call(e,t)}var me=mf;var lf="__lodash_hash_undefined__";function df(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=_&&e===void 0?lf:e,this}var le=df;function N(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}N.prototype.clear=ne;N.prototype.delete=se;N.prototype.get=pe;N.prototype.has=me;N.prototype.set=le;var _t=N;function xf(){this.__data__=[],this.size=0}var de=xf;function hf(t,e){var r=t.length;while(r--)if(Dt(t[r][0],e))return r;return-1}var O=hf;var cf=Array.prototype,gf=cf.splice;function yf(t){var e=this.__data__,r=O(e,t);if(r<0)return!1;var o=e.length-1;if(r==o)e.pop();else gf.call(e,r,1);return--this.size,!0}var xe=yf;function _f(t){var e=this.__data__,r=O(e,t);return r<0?void 0:e[r][1]}var he=_f;function bf(t){return O(this.__data__,t)>-1}var ce=bf;function vf(t,e){var r=this.__data__,o=O(r,t);if(o<0)++this.size,r.push([t,e]);else r[o][1]=e;return this}var ge=vf;function D(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}D.prototype.clear=de;D.prototype.delete=xe;D.prototype.get=he;D.prototype.has=ce;D.prototype.set=ge;var A=D;var Of=x(Le,"Map"),T=Of;function Af(){this.size=0,this.__data__={hash:new _t,map:new(T||A),string:new _t}}var ye=Af;function Tf(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var _e=Tf;function wf(t,e){var r=t.__data__;return _e(e)?r[typeof e=="string"?"string":"hash"]:r.map}var w=wf;function Sf(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e}var be=Sf;function Pf(t){return w(this,t).get(t)}var ve=Pf;function Cf(t){return w(this,t).has(t)}var Oe=Cf;function Ef(t,e){var r=w(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var Ae=Ef;function R(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}R.prototype.clear=ye;R.prototype.delete=be;R.prototype.get=ve;R.prototype.has=Oe;R.prototype.set=Ae;var E=R;var If="Expected a function";function bt(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw TypeError(If);var r=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=r.cache;if(f.has(a))return f.get(a);var i=t.apply(this,o);return r.cache=f.set(a,i)||f,i};return r.cache=new(bt.Cache||E),r}bt.Cache=E;var we=bt;var Lf=500;function jf(t){var e=we(t,function(o){if(r.size===Lf)r.clear();return o}),r=e.cache;return e}var Se=jf;var Mf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nf=/\\(\\)?/g,Df=Se(function(t){var e=[];if(t.charCodeAt(0)===46)e.push("");return t.replace(Mf,function(r,o,a,f){e.push(a?f.replace(Nf,"$1"):o||r)}),e}),Pe=Df;function Rf(t){return t==null?"":Nt(t)}var Hi=Rf;function Ff(t,e){if(te(t))return t;return M(t,e)?[t]:Pe(Hi(t))}var jr=Ff;var Bf=1/0;function Gf(t){if(typeof t=="string"||vt(t))return t;var e=t+"";return e=="0"&&1/t==-Bf?"-0":e}var lr=Gf;function Uf(t,e){e=jr(e,t);var r=0,o=e.length;while(t!=null&&r<o)t=t[lr(e[r++])];return r&&r==o?t:void 0}var Gr=Uf;function zf(t,e,r){var o=t==null?void 0:Gr(t,e);return o===void 0?r:o}var Ce=zf;function Wf(t,e){var r=-1,o=e.length,a=t.length;while(++r<o)t[a+r]=e[r];return t}var qn=Wf;var Ee=Ge?Ge.isConcatSpreadable:void 0;function Kf(t){return te(t)||Yt(t)||!!(Ee&&t&&t[Ee])}var je=Kf;function Me(t,e,r,o,a){var f=-1,i=t.length;r||(r=je),a||(a=[]);while(++f<i){var n=t[f];if(e>0&&r(n))if(e>1)Me(n,e-1,r,o,a);else qn(a,n);else if(!o)a[a.length]=n}return a}var jn=Me;function Hf(t,e,r,o){var a=-1,f=t==null?0:t.length;if(o&&f)r=t[++a];while(++a<f)r=e(r,t[a],a,t);return r}var Ne=Hf;function qf(){this.__data__=new A,this.size=0}var Fe=qf;function $f(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Be=$f;function kf(t){return this.__data__.get(t)}var Ue=kf;function Yf(t){return this.__data__.has(t)}var ze=Yf;var Xf=200;function Zf(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!T||o.length<Xf-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new E(o)}return r.set(t,e),this.size=r.size,this}var We=Zf;function F(t){var e=this.__data__=new A(t);this.size=e.size}F.prototype.clear=Fe;F.prototype.delete=Be;F.prototype.get=Ue;F.prototype.has=ze;F.prototype.set=We;var cr=F;function Jf(t,e){var r=-1,o=t==null?0:t.length,a=0,f=[];while(++r<o){var i=t[r];if(e(i,r,t))f[a++]=i}return f}var Q=Jf;function Qf(){return[]}var Ui=Qf;var Vf=Object.prototype,ti=Vf.propertyIsEnumerable,Ke=Object.getOwnPropertySymbols,ei=!Ke?Ui:function(t){if(t==null)return[];return t=Object(t),Q(Ke(t),function(e){return ti.call(t,e)})},Gn=ei;function ri(t,e,r){var o=e(t);return te(t)?o:qn(o,r(t))}var qi=ri;function oi(t){return qi(t,Re,Gn)}var Ta=oi;var ai=x(Le,"DataView"),V=ai;var fi=x(Le,"Promise"),tt=fi;var ii=x(Le,"Set"),S=ii;var He="[object Map]",ni="[object Object]",qe="[object Promise]",$e="[object Set]",ke="[object WeakMap]",Ye="[object DataView]",si=y(V),pi=y(T),ui=y(tt),mi=y(S),li=y(k),I=st;if(V&&I(new V(new ArrayBuffer(1)))!=Ye||T&&I(new T)!=He||tt&&I(tt.resolve())!=qe||S&&I(new S)!=$e||k&&I(new k)!=ke)I=function(t){var e=st(t),r=e==ni?t.constructor:void 0,o=r?y(r):"";if(o)switch(o){case si:return Ye;case pi:return He;case ui:return qe;case mi:return $e;case li:return ke}return e};var yt=I;var di=Le.Uint8Array,Vn=di;var xi="__lodash_hash_undefined__";function hi(t){return this.__data__.set(t,xi),this}var Xe=hi;function ci(t){return this.__data__.has(t)}var Ze=ci;function rt(t){var e=-1,r=t==null?0:t.length;this.__data__=new E;while(++e<r)this.add(t[e])}rt.prototype.add=rt.prototype.push=Xe;rt.prototype.has=Ze;var ot=rt;function gi(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t))return!0;return!1}var Je=gi;function yi(t,e){return t.has(e)}var at=yi;var _i=1,bi=2;function vi(t,e,r,o,a,f){var i=r&_i,n=t.length,s=e.length;if(n!=s&&!(i&&s>n))return!1;var p=f.get(t),d=f.get(e);if(p&&d)return p==e&&d==t;var l=-1,m=!0,g=r&bi?new ot:void 0;f.set(t,e),f.set(e,t);while(++l<n){var h=t[l],c=e[l];if(o)var v=i?o(c,h,l,e,t,f):o(h,c,l,t,e,f);if(v!==void 0){if(v)continue;m=!1;break}if(g){if(!Je(e,function(P,C){if(!at(g,C)&&(h===P||a(h,P,r,o,f)))return g.push(C)})){m=!1;break}}else if(!(h===c||a(h,c,r,o,f))){m=!1;break}}return f.delete(t),f.delete(e),m}var ft=vi;function Ai(t){var e=-1,r=Array(t.size);return t.forEach(function(o,a){r[++e]=[a,o]}),r}var Qe=Ai;function Ti(t){var e=-1,r=Array(t.size);return t.forEach(function(o){r[++e]=o}),r}var B=Ti;var wi=1,Si=2,Ci="[object Boolean]",Ei="[object Date]",Ii="[object Error]",Li="[object Map]",Mi="[object Number]",Ni="[object RegExp]",Di="[object Set]",Ri="[object String]",Ki="[object Symbol]",ki="[object ArrayBuffer]",Yi="[object DataView]",tr=Ge?Ge.prototype:void 0,At=tr?tr.valueOf:void 0;function Xi(t,e,r,o,a,f,i){switch(r){case Yi:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ki:if(t.byteLength!=e.byteLength||!f(new Vn(t),new Vn(e)))return!1;return!0;case Ci:case Ei:case Mi:return Dt(+t,+e);case Ii:return t.name==e.name&&t.message==e.message;case Ni:case Ri:return t==e+"";case Li:var n=Qe;case Di:var s=o&wi;if(n||(n=B),t.size!=e.size&&!s)return!1;var p=i.get(t);if(p)return p==e;o|=Si,i.set(t,e);var d=ft(n(t),n(e),o,a,f,i);return i.delete(t),d;case Ki:if(At)return At.call(t)==At.call(e)}return!1}var er=Xi;var Zi=1,Ji=Object.prototype,Qi=Ji.hasOwnProperty;function tn(t,e,r,o,a,f){var i=r&Zi,n=Ta(t),s=n.length,p=Ta(e),d=p.length;if(s!=d&&!i)return!1;var l=s;while(l--){var m=n[l];if(!(i?m in e:Qi.call(e,m)))return!1}var g=f.get(t),h=f.get(e);if(g&&h)return g==e&&h==t;var c=!0;f.set(t,e),f.set(e,t);var v=i;while(++l<s){m=n[l];var P=t[m],C=e[m];if(o)var St=i?o(C,P,m,e,t,f):o(P,C,m,t,e,f);if(!(St===void 0?P===C||a(P,C,r,o,f):St)){c=!1;break}v||(v=m=="constructor")}if(c&&!v){var W=t.constructor,K=e.constructor;if(W!=K&&(("constructor"in t)&&("constructor"in e))&&!(typeof W=="function"&&W instanceof W&&typeof K=="function"&&K instanceof K))c=!1}return f.delete(t),f.delete(e),c}var rr=tn;var en=1,ar="[object Arguments]",fr="[object Array]",it="[object Object]",rn=Object.prototype,nr=rn.hasOwnProperty;function on(t,e,r,o,a,f){var i=te(t),n=te(e),s=i?fr:yt(t),p=n?fr:yt(e);s=s==ar?it:s,p=p==ar?it:p;var d=s==it,l=p==it,m=s==p;if(m&&Ot(t)){if(!Ot(e))return!1;i=!0,d=!1}if(m&&!d)return f||(f=new cr),i||qr(t)?ft(t,e,r,o,a,f):er(t,e,s,r,o,a,f);if(!(r&en)){var g=d&&nr.call(t,"__wrapped__"),h=l&&nr.call(e,"__wrapped__");if(g||h){var c=g?t.value():t,v=h?e.value():e;return f||(f=new cr),a(c,v,r,o,f)}}if(!m)return!1;return f||(f=new cr),rr(t,e,r,o,a,f)}var pr=on;function mr(t,e,r,o,a){if(t===e)return!0;if(t==null||e==null||!De(t)&&!De(e))return t!==t&&e!==e;return pr(t,e,r,o,mr,a)}var nt=mr;var an=1,fn=2;function nn(t,e,r,o){var a=r.length,f=a,i=!o;if(t==null)return!f;t=Object(t);while(a--){var n=r[a];if(i&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}while(++a<f){n=r[a];var s=n[0],p=t[s],d=n[1];if(i&&n[2]){if(p===void 0&&!(s in t))return!1}else{var l=new cr;if(o)var m=o(p,d,s,t,e,l);if(!(m===void 0?nt(d,p,an|fn,o,l):m))return!1}}return!0}var dr=nn;function sn(t){return t===t&&!Te(t)}var ut=sn;function pn(t){var e=Re(t),r=e.length;while(r--){var o=e[r],a=t[o];e[r]=[o,a,ut(a)]}return e}var xr=pn;function un(t,e){return function(r){if(r==null)return!1;return r[t]===e&&(e!==void 0||(t in Object(r)))}}var dt=un;function mn(t){var e=xr(t);if(e.length==1&&e[0][2])return dt(e[0][0],e[0][1]);return function(r){return r===t||dr(r,t,e)}}var hr=mn;function ln(t,e){return t!=null&&e in Object(t)}var gr=ln;function dn(t,e,r){e=jr(e,t);var o=-1,a=e.length,f=!1;while(++o<a){var i=lr(e[o]);if(!(f=t!=null&&r(t,i)))break;t=t[i]}if(f||++o!=a)return f;return a=t==null?0:t.length,!!a&&j(a)&&$r(i,a)&&(te(t)||Yt(t))}var ji=dn;function xn(t,e){return t!=null&&ji(t,e,gr)}var Gi=xn;var hn=1,cn=2;function gn(t,e){if(M(t)&&ut(e))return dt(lr(t),e);return function(r){var o=Ce(r,t);return o===void 0&&o===e?Gi(r,t):nt(e,o,hn|cn)}}var yr=gn;function yn(t){return function(e){return e==null?void 0:e[t]}}var Vi=yn;function _n(t){return function(e){return Gr(e,t)}}var _r=_n;function bn(t){return M(t)?Vi(lr(t)):_r(t)}var br=bn;function vn(t){if(typeof t=="function")return t;if(t==null)return pt;if(typeof t=="object")return te(t)?yr(t[0],t[1]):hr(t);return br(t)}var et=vn;function On(t){return function(e,r,o){var a=-1,f=Object(e),i=o(e),n=i.length;while(n--){var s=i[t?n:++a];if(r(f[s],s,f)===!1)break}return e}}var vr=On;var An=vr(),Wn=An;function Tn(t,e){return t&&Wn(t,e,Re)}var Kn=Tn;function wn(t,e){return function(r,o){if(r==null)return r;if(!Ve(r))return t(r,o);var a=r.length,f=e?a:-1,i=Object(r);while(e?f--:++f<a)if(o(i[f],f,i)===!1)break;return r}}var Or=wn;var Sn=Or(Kn),Vr=Sn;function Pn(t){return De(t)&&Ve(t)}var Wi=Pn;function Cn(t,e,r){var o=-1,a=t==null?0:t.length;while(++o<a)if(r(e,t[o]))return!0;return!1}var Ar=Cn;function En(t){return typeof t=="function"?t:pt}var Yn=En;function In(t,e){var r=te(t)?Pi:Vr;return r(t,Yn(e))}var b=In;function Ln(t,e){var r=[];return Vr(t,function(o,a,f){if(e(o,a,f))r.push(o)}),r}var Tr=Ln;function Mn(t,e){var r=te(t)?Q:Tr;return r(t,et(e,3))}var lt=Mn;function Nn(t,e){return ir(e,function(r){return t[r]})}var wr=Nn;function Dn(t){return t==null?[]:wr(t,Re(t))}var xt=Dn;var Rn="[object Map]",Fn="[object Set]",Bn=Object.prototype,zn=Bn.hasOwnProperty;function $n(t){if(t==null)return!0;if(Ve(t)&&(te(t)||typeof t=="string"||typeof t.splice=="function"||Ot(t)||qr(t)||Yt(t)))return!t.length;var e=yt(t);if(e==Rn||e==Fn)return!t.size;if(Hr(t))return!Un(t).length;for(var r in t)if(zn.call(t,r))return!1;return!0}var ht=$n;function kn(t){return t===void 0}var Ie=kn;function Xn(t,e,r,o,a){return a(t,function(f,i,n){r=o?(o=!1,f):e(r,f,i,n)}),r}var Sr=Xn;function Zn(t,e,r){var o=te(t)?Ne:Sr,a=arguments.length<3;return o(t,et(e,4),r,a,Vr)}var ur=Zn;var Jn=1/0,Qn=!(S&&1/B(new S([,-0]))[1]==Jn)?zt:function(t){return new S(t)},Pr=Qn;var ts=200;function es(t,e,r){var o=-1,a=kt,f=t.length,i=!0,n=[],s=n;if(r)i=!1,a=Ar;else if(f>=ts){var p=e?null:Pr(t);if(p)return B(p);i=!1,a=at,s=new ot}else s=e?[]:n;t:while(++o<f){var d=t[o],l=e?e(d):d;if(d=r||d!==0?d:0,i&&l===l){var m=s.length;while(m--)if(s[m]===l)continue t;if(e)s.push(l);n.push(d)}else if(!a(s,l,r)){if(s!==n)s.push(l);n.push(d)}}return n}var Cr=es;var rs=zr(function(t){return Cr(jn(t,1,Wi,!0))}),Tt=rs;var as="\x00",L="\x00",Er="\x01";class ue{constructor(t={}){if(this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=mt(void 0),this._defaultEdgeLabelFn=mt(void 0),this._nodes={},this._isCompound)this._parent={},this._children={},this._children[L]={};this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){if(!or(t))t=mt(t);return this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return Re(this._nodes)}sources(){var t=this;return lt(this.nodes(),function(e){return ht(t._in[e])})}sinks(){var t=this;return lt(this.nodes(),function(e){return ht(t._out[e])})}setNodes(t,e){var r=arguments,o=this;return b(t,function(a){if(r.length>1)o.setNode(a,e);else o.setNode(a)}),this}setNode(t,e){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){if(arguments.length>1)this._nodes[t]=e;return this}if(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound)this._parent[t]=L,this._children[t]={},this._children[L][t]=!0;return this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=(r)=>this.removeEdge(this._edgeObjs[r]);if(delete this._nodes[t],this._isCompound)this._removeFromParentsChildList(t),delete this._parent[t],b(this.children(t),(r)=>{this.setParent(r)}),delete this._children[t];b(Re(this._in[t]),e),delete this._in[t],delete this._preds[t],b(Re(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(Ie(e))e=L;else{e+="";for(var r=e;!Ie(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==L)return e}}children(t){if(Ie(t))t=L;if(this._isCompound){var e=this._children[t];if(e)return Re(e)}else if(t===L)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return Re(e)}successors(t){var e=this._sucs[t];if(e)return Re(e)}neighbors(t){var e=this.predecessors(t);if(e)return Tt(e,this.successors(t))}isLeaf(t){var e;if(this.isDirected())e=this.successors(t);else e=this.neighbors(t);return e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;b(this._nodes,function(f,i){if(t(i))e.setNode(i,f)}),b(this._edgeObjs,function(f){if(e.hasNode(f.v)&&e.hasNode(f.w))e.setEdge(f,r.edge(f))});var o={};function a(f){var i=r.parent(f);if(i===void 0||e.hasNode(i))return o[f]=i,i;else if(i in o)return o[i];else return a(i)}if(this._isCompound)b(e.nodes(),function(f){e.setParent(f,a(f))});return e}setDefaultEdgeLabel(t){if(!or(t))t=mt(t);return this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return xt(this._edgeObjs)}setPath(t,e){var r=this,o=arguments;return ur(t,function(a,f){if(o.length>1)r.setEdge(a,f,e);else r.setEdge(a,f);return f}),this}setEdge(){var t,e,r,o,a=!1,f=arguments[0];if(typeof f==="object"&&f!==null&&"v"in f){if(t=f.v,e=f.w,r=f.name,arguments.length===2)o=arguments[1],a=!0}else if(t=f,e=arguments[1],r=arguments[3],arguments.length>2)o=arguments[2],a=!0;if(t=""+t,e=""+e,!Ie(r))r=""+r;var i=z(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,i)){if(a)this._edgeLabels[i]=o;return this}if(!Ie(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[i]=a?o:this._defaultEdgeLabelFn(t,e,r);var n=fs(this._isDirected,t,e,r);return t=n.v,e=n.w,Object.freeze(n),this._edgeObjs[i]=n,Ir(this._preds[e],t),Ir(this._sucs[t],e),this._in[e][i]=n,this._out[t][i]=n,this._edgeCount++,this}edge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return this._edgeLabels[o]}hasEdge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,o)}removeEdge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r),a=this._edgeObjs[o];if(a)t=a.v,e=a.w,delete this._edgeLabels[o],delete this._edgeObjs[o],Lr(this._preds[e],t),Lr(this._sucs[t],e),delete this._in[e][o],delete this._out[t][o],this._edgeCount--;return this}inEdges(t,e){var r=this._in[t];if(r){var o=xt(r);if(!e)return o;return lt(o,function(a){return a.v===e})}}outEdges(t,e){var r=this._out[t];if(r){var o=xt(r);if(!e)return o;return lt(o,function(a){return a.w===e})}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}ue.prototype._nodeCount=0;ue.prototype._edgeCount=0;function Ir(t,e){if(t[e])t[e]++;else t[e]=1}function Lr(t,e){if(!--t[e])delete t[e]}function z(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}return a+Er+f+Er+(Ie(o)?as:o)}function fs(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}var n={v:a,w:f};if(o)n.name=o;return n}function wt(t,e){return z(t,e.v,e.w,e.name)}
|
|
2
2
|
export{Le,Ge,st,De,vt,ir,te,Te,pt,or,mt,Hn,Oi,Pi,Bi,$r,Dt,Fi,zr,Ve,Hr,Yt,Ot,Ur,sr,qr,$i,zi,Un,Re,Hi,jr,lr,Gr,qn,jn,cr,Ui,Gn,qi,Ta,yt,Vn,ji,Gi,Vi,et,Wn,Kn,Vr,Wi,Yn,b,lt,xt,Ie,ur,ue};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_,me,oe,Ha,H,w,r,xe,la,si,ca,Zr,Jr,Hs,Us,Ho,Ci,$l,Si,Uo,qo,ba}from"./index.
|
|
1
|
+
import{_,me,oe,Ha,H,w,r,xe,la,si,ca,Zr,Jr,Hs,Us,Ho,Ci,$l,Si,Uo,qo,ba}from"./index.5vcex75v.js";var I=Symbol("glyphs");function x(e){let t=Math.trunc(e)*2654435761>>>0||1;return()=>{t=t+1831565813|0;let a=Math.imul(t^t>>>15,1|t);return a=a+Math.imul(a^a>>>7,61|a)^a,((a^a>>>14)>>>0)/4294967296}}var P={2:[[[40,42,30],[204,50,26]],[[206,48,32],[36,138,28]],[[44,48,28],[200,104,32]]],3:[[[40,42,30],[204,50,26],[202,138,28]],[[198,38,30],[40,76,26],[192,146,26]],[[44,148,28],[198,44,30],[208,142,24]],[[38,130,30],[122,22,24],[208,104,28]],[[202,36,28],[34,100,28],[122,154,22]],[[34,56,28],[208,60,28],[120,156,22]]],4:[[[40,42,30],[204,50,26],[202,138,28],[38,140,24]],[[36,44,26],[122,24,22],[206,64,26],[204,142,26]]]},C=[7,6,4.5,4],R=[[[88,26],[172,160],[214,96],[24,92]],[[170,24],[60,160],[26,100],[220,120]],[[30,26],[210,24],[150,162],[100,164]],[[120,170],[70,26],[222,74],[18,70]]],G=(e,t,a)=>`M${e} ${t-a}Q${e} ${t} ${e+a} ${t}Q${e} ${t} ${e} ${t+a}Q${e} ${t} ${e-a} ${t}Q${e} ${t} ${e} ${t-a}Z`;function D(e){let t=e.satellites??[];if(t.length>4)throw new xe("count",`${t.length} satellites: at most 4 are drawn.`);let a=e.sparkles??4;if(!(a>=0&&a<=4))throw new xe("count",`${a} sparkles: use 0 to 4.`);let n=e.layout??0;if(!(Number.isInteger(n)&&n>=0))throw new xe("count","The layout is a whole number, 0 or more.");let s=P[Math.min(4,Math.max(2,t.length))];return{sats:t,sparkles:a,places:s[(n>>2)%s.length],sparks:R[n&3]}}var Q=64,i=(e,t,a)=>a?{tag:e,attrs:t,children:a}:{tag:e,attrs:t};function U(e,t,a,n,s,o,{styles:c,rand:d,spriteBase:m,mapIcon:p,glyphs:l}){let u=typeof e==="string"?{name:e}:e;if(!ca(u.name))throw new xe("name",`${JSON.stringify(u.name)} is not an icon name: use lowercase words joined by dashes ("graduation-cap").`);let g=l&&Object.hasOwn(l,u.name)?l[u.name]:void 0;if(g){let v=n-o/2,S=s-o/2,{d:O,detail:M}=g,L=Math.round(o/Q*1000)/1000;return i("g",{id:t,class:a},[i("rect",{class:"ic-box",fill:"none",x:v,y:S,width:o,height:o}),i("g",{transform:`translate(${v} ${S}) scale(${L})`},[i("path",{d:M,fill:"currentColor","fill-opacity":0.4}),i("path",{d:O,fill:"currentColor"})])])}let y=c[c.length>1?Math.floor(d()*c.length):0],[b]=ba({family:u.family??y.family,type:u.type??y.type}),k={name:u.name,...b},h=n-o/2,f=s-o/2;return i("g",{id:t,class:a},[i("rect",{class:"ic-box",fill:"none",x:h,y:f,width:o,height:o}),i("use",{href:si(p?p(k):k,m),x:h,y:f,width:o,height:o})])}function q(e,t){let a=(typeof e==="string"?t?.(e):e?.d)??"M124 62A62 62 0 1 1 0 62A62 62 0 1 1 124 62Z";if(!/^[\d\sMLHVCSQTAZmlhvcsqtaz.,+eE-]*$/.test(a))throw new xe("name","A plate path holds path commands and numbers only.");return a}var E={empty:["cookie-9","primary",0,"box-open","inbox","folder-open"],"no-results":["soft-burst","secondary",0,"magnifying-glass","file-circle-question","sparkles"],"not-found":["flower","tertiary",0,"compass","map","location-dot","ghost"],error:["gem","error",0,"triangle-exclamation","server","bug","gear"],offline:["clover-4","warning",0,"wifi-slash","cloud-slash","plug-circle-xmark"],success:["sunny","success",0,"circle-check","party-horn","trophy"],welcome:["squircle","primary",0,"hand-wave","rocket","lightbulb","star"],forbidden:["gem","error",2,"lock-keyhole","ban","shield-halved","key"],maintenance:["triangle","warning",20,"screwdriver-wrench","gear","helmet-safety","traffic-cone"],invitation:["flower","primary",17,"envelope-open-text","user-plus","paper-plane","handshake"],"sign-in":["squircle","tertiary",15,"door-open","key","user","lock"],"empty-inbox":["oval","secondary",4,"envelope-open","inbox","circle-check","bell"]},N=Object.keys(E);function Io(e,{idPrefix:t,spriteBase:a=la,plates:n,mapIcon:s}){if(!/^[A-Za-z][\w-]*$/.test(t))throw new xe("name",`The id prefix ${JSON.stringify(t)} is not safe: letters, digits, "_" and "-", a letter first.`);let{sats:o,sparkles:c,places:d,sparks:m}=D(e),p=ba(e.iconStyle),l=x(e.seed??0),u=(h)=>`${t}-${h}`,g=(h,f,v,S,O,M)=>U(h,u(f),v,S,O,M,{styles:p,rand:l,spriteBase:a,mapIcon:s,glyphs:e.glyphs}),y=B(u("plate"),q(e.plate,n)),b=o.flatMap((h,f)=>{let[v,S,O]=d[f];return[i("circle",{class:`ill-satbg ill-s${f}`,cx:v,cy:S,r:Math.round(O*78)/100}),g(h,`sat${f}`,`ill-sat ill-s${f}`,v,S,O)]}),k=g(e.hero,"hero","ill-hero",120,90,76);return i("svg",{id:u("root"),class:`ill ill-${e.tone??"primary"} ill-duo-${e.duotone??"opacity"}`,viewBox:"0 0 240 180",preserveAspectRatio:"xMidYMid meet","aria-hidden":"true",focusable:"false"},[...y,...b,k,...J(m,c)])}var B=(e,t)=>[i("g",{transform:"translate(58 28)"},[i("path",{id:e,class:"ill-plate",d:t})]),i("circle",{class:"ill-ring",cx:120,cy:90,r:74,fill:"none","stroke-dasharray":"2 5"})],J=(e,t)=>Array.from({length:t},(a,n)=>{let[s,o]=e[n];return i("path",{class:`ill-spark ill-k${n%2}`,d:G(s,o,C[n])})});function A(e,t={},a=E){if(!Object.hasOwn(a,e))throw new xe("name",`${JSON.stringify(e)} is not a scene of the table: use one of its ids.`);let[n,s,o,c,...d]=a[e],m=a[I];return{hero:c,satellites:d,plate:n,tone:s,layout:o,...m?{glyphs:m}:{},...t}}var Y=/^(aria|data)-/,Z=(e)=>e==="class"?"className":Y.test(e)?e:e.replace(/-([a-z])/g,(t,a)=>a.toUpperCase()),Mo=Ha(function e({node:t}){let a=Object.fromEntries(Object.entries(t.attrs).map(([n,s])=>[Z(n),s]));return oe(t.tag,a,...(t.children??[]).map((n,s)=>r(e,{node:n},s)))});function K(e,t,a){let n=Ho(),s=a??(V(e)?void 0:$l(n,e)),o=Hs(),c=Us(),d=`ill${H().replace(/[^\w-]/g,"-")}`,m=JSON.stringify([t,Ci(n,e),n?.iconStyle]);return{built:w(()=>{let p=Object.fromEntries(Object.entries(t).filter(([,l])=>l!==void 0));try{let l=A(e,{...n?.iconStyle===void 0?{}:{iconStyle:n.iconStyle},...Ci(n,e),...p},s);return{spec:l,flat:Io(l,{idPrefix:d,spriteBase:o,...c==="free"?{mapIcon:Zr}:{}})}}catch(l){if(!(l instanceof xe))throw l;return F(`Illustration: ${l.message} Drawing the built-in art instead.`),null}},[e,s,m,d,o,c]),idPrefix:d,base:o,edition:c}}var j=new Set;function F(e){Jr()||j.has(e)||(j.add(e),console.warn(e))}var V=(e)=>N.includes(e);function T({kind:e}){return r(Si,{kind:e,"data-fallback":"",className:"h-full w-full"})}var X=Uo("plated-illustration",async()=>(await (_("0ebg0x7r"),import("./plated-illustration-0ro04oJt.0ebg0x7r.js"))).default,T);function yc({scene:e,scenes:t,size:a="md",title:n,animated:s,monochrome:o,hero:c,satellites:d,iconStyle:m,tone:p,duotone:l,className:u,...g}){let y=qo[e]??"empty",{built:b,idPrefix:k,base:h,edition:f}=K(e,{hero:c,satellites:d,iconStyle:m,tone:p,duotone:l},t);return r("div",{"data-slot":"illustration",...g,...n?{role:"img","aria-label":n}:{"aria-hidden":!0},"data-scene":e,"data-size":a,"data-animated":s?"":void 0,"data-monochrome":o?"":void 0,className:u,children:b?r(me,{fallback:r(Mo,{node:b.flat}),children:r(X,{spec:b.spec,idPrefix:k,base:h,edition:f,kind:y})}):r(T,{kind:y})})}export{Io,Mo,yc};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e}from"./index.
|
|
1
|
+
import{e}from"./index.mjfjqm0b.js";function ee(c,i){if(c.accDescr)i.setAccDescription?.(c.accDescr);if(c.accTitle)i.setAccTitle?.(c.accTitle);if(c.title)i.setDiagramTitle?.(c.title)}e(ee,"populateCommonDb");
|
|
2
2
|
export{ee};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{E,d,P,o,r,Se}from"./index.
|
|
1
|
+
import{E,d,P,o,r,Se}from"./index.5vcex75v.js";var w=/^rgb\(\s*(\d+)[\s,]+(\d+)[\s,]+(\d+)\s*\)$/;function b(e,n){e.clearRect(0,0,1,1),e.fillStyle="#000",e.fillStyle=n,e.fillRect(0,0,1,1);let[l=0,t=0,a=0,i=255]=e.getImageData(0,0,1,1).data;return[l,t,a,i]}function x(e,n){let l=e.ownerDocument,t,a=l.createElement("span");a.setAttribute("aria-hidden","true"),a.style.setProperty("display","none"),e.append(a);try{return n.map(({css:i,tone:s})=>{s?a.setAttribute("data-tone",s):a.removeAttribute("data-tone"),a.style.setProperty("color",""),a.style.setProperty("color",i);let u=l.defaultView?.getComputedStyle(a).color??"",f=w.exec(u);if(f)return[Number(f[1]),Number(f[2]),Number(f[3]),255];if(!u)return null;if(t===void 0){let m=l.createElement("canvas");m.width=m.height=1,t=m.getContext("2d",{willReadFrequently:!0})}return t?b(t,u):null})}finally{a.remove()}}var S=/^#([0-9a-fA-F]{3})$/,R=/^#([0-9a-fA-F]{6})$/;function Dn(e){let n=e.trim();if(!n)return null;let l=n.startsWith("#")?n:`#${n}`,t=S.exec(l);if(t?.[1]){let[a,i,s]=t[1];return`#${a}${a}${i}${i}${s}${s}`.toLowerCase()}return R.test(l)?l.toLowerCase():null}var k=/^var\(\s*(--[\w-]+)\s*(,[\s\S]*)?\)$/,c=(e,n)=>({key:`material.image-editor.markup.color-names.${e}`,en:n}),A=c("white","White"),g=c("black","Black"),I={"#ffffff":A,"#111827":g,"#000000":g,"#f97316":c("orange","Orange"),"#8b5cf6":c("violet","Violet"),"var(--primary)":c("primary","Primary"),"var(--destructive)":c("danger","Danger"),"var(--warning)":c("warning","Warning"),"var(--success)":c("success","Success"),"var(--info)":c("info","Info")},Js=(e)=>I[Dn(e)??e.trim().toLowerCase()],p=(e)=>e.toString(16).padStart(2,"0");function el(e,n){let l=Dn(e);if(l)return l;let t=k.exec(e.trim()),[a]=x(n,[{css:t&&!t[2]?`var(${t[1]}, transparent)`:e}]);return a?.[3]?`#${p(a[0])}${p(a[1])}${p(a[2])}`:null}function L(e,n,l){let t=Dn(n);return!t||l.includes(t)?[...e]:[t,...e.filter((a)=>a!==t)].slice(0,6)}function D(e){let n=[];for(let l of e){let t=Dn(l);t&&!n.includes(t)&&n.push(t)}return n.slice(0,6)}function N({recentColors:e,onRecentColorsChange:n}){let[l,t]=o([]),a=e===void 0?l:D(e),i=Se(a),s=Se(n),u=Se(e!==void 0);return{colors:a,add:d((f,m)=>{let v=L(i.current,f,m);v.join()!==i.current.join()&&(u.current||t(v),s.current?.(v))},[i,u,s])}}var C=E(null),h=E(null);function tl({value:e,recentColors:n,onRecentColorsChange:l,children:t}){let a=N({recentColors:n,onRecentColorsChange:l});return r(C.Provider,{value:e,children:r(h.Provider,{value:a,children:t})})}var y=()=>Error("ImageEditor parts must be used inside <ImageEditor>");function V(){let e=P(C);if(!e)throw y();return e}function rl(){let e=P(h);if(!e)throw y();return e}function nl(e){let n=e.trim().replace("#",""),l=n.length===3?n.replace(/./g,(u)=>u+u):n;if(!/^[0-9a-f]{6}/i.test(l))return!1;let t=Number.parseInt(l.slice(0,6),16),a=t>>16&255,i=t>>8&255,s=t&255;return 0.299*a+0.587*i+0.114*s>160}function Wo(e){return e.label??e.value}function On(e,n){return!!(e&&n&&e.toLowerCase()===n.toLowerCase())}function wa(e){return e&&/^#[0-9a-f]{6}$/i.test(e)?e:"#000000"}
|
|
2
2
|
export{Dn,Js,el,tl,V,rl,nl,Wo,On,wa};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e,we,Qr}from"./index.
|
|
1
|
+
import{e,we,Qr}from"./index.mjfjqm0b.js";var O=0.00001,X=2,Y=0.6;function Mt(t){if(t===!1)return!1;return t==="gap"?"gap":"arc"}e(Mt,"normalizeLineHops");var w=0.000001;function P(t){let n=[];for(let c=0;c<t.length-1;c++)n.push({a:t[c],b:t[c+1]});return n}e(P,"buildSegmentList");function v(t,n,c,a){let i=n.x-t.x,r=n.y-t.y,d=a.x-c.x,l=a.y-c.y,p=i*l-r*d;if(p===0)return null;let s=c.x-t.x,o=c.y-t.y,u=(s*l-o*d)/p,f=(s*r-o*i)/p;if(u<=w||u>=1-w||f<=w||f>=1-w)return null;return{point:{x:t.x+u*i,y:t.y+u*r},tA:u,tB:f}}e(v,"segmentIntersection");function N(t){return Math.abs(t.b.x-t.a.x)>=Math.abs(t.b.y-t.a.y)}e(N,"isHorizontalSeg");function B(t,n,c){if(t.curve!=="rounded")return!1;let a=t.points,i=a[n],r=a[n+1];if(!i||!r)return!1;let d=Math.hypot(r.x-i.x,r.y-i.y),l=c*d,p=Qr(t.cornerRadius),s=n>0?R(a[n-1],i,r,p):null;if(s&&l<s.cutLen)return!0;let o=n+2<a.length?R(i,r,a[n+2],p):null;return o!==null&&d-l<o.cutLen}e(B,"crossingSitsInRoundedCorner");function C(t){let n=[];for(let c=0;c<t.length;c++){let a=t[c],i=P(a.points);for(let r=c+1;r<t.length;r++){let d=t[r],l=P(d.points);for(let[p,s]of i.entries())for(let[o,u]of l.entries()){let f=v(s.a,s.b,u.a,u.b);if(!f)continue;if(B(a,p,f.tA)||B(d,o,f.tB))continue;let y=N(s),E=N(u);if(y!==E?y:!1)n.push({jumpEdgeId:a.id,otherEdgeId:d.id,segIndex:p,t:f.tA,point:f.point});else n.push({jumpEdgeId:d.id,otherEdgeId:a.id,segIndex:o,t:f.tB,point:f.point})}}}return n}e(C,"findEdgeIntersections");function b(t){let n=Math.round(t*1000)/1000;return Number.isInteger(n)?`${n}`:`${n}`}e(b,"fmt");function I(t){return`${b(t.x)},${b(t.y)}`}e(I,"pointToString");function H(t){let n=t.b.x-t.a.x,c=t.b.y-t.a.y;if(Math.abs(n)>=Math.abs(c))return n>=0?1:0;return c>=0?1:0}e(H,"getArcSweepFlag");function _(t,n){if(t.length<2)return t.map((r)=>({...r}));let c=t.map((r)=>({...r})),a=n.arrowTypeStart&&we[n.arrowTypeStart];if(a){let r=t[0],d=t[1],l=Math.atan2(d.y-r.y,d.x-r.x);c[0].x=r.x+a*Math.cos(l),c[0].y=r.y+a*Math.sin(l)}let i=n.arrowTypeEnd&&we[n.arrowTypeEnd];if(i){let r=t.length,d=t[r-2],l=t[r-1],p=Math.atan2(l.y-d.y,l.x-d.x);c[r-1].x=l.x-i*Math.cos(p),c[r-1].y=l.y-i*Math.sin(p)}return c}e(_,"applyMarkerOffsets");function D(t,n,c,a,i){let r=t.point.x,d=t.point.y,l={x:r-n*t.r,y:d-c*t.r},p={x:r+n*t.r,y:d+c*t.r},s=[`L${I(l)}`];if(i==="arc")s.push(`A${b(t.r)},${b(t.r)} 0 0 ${a} ${I(p)}`);else s.push(`M${I(p)}`);return s}e(D,"emitJump");function R(t,n,c,a){let i=n.x-t.x,r=n.y-t.y,d=c.x-n.x,l=c.y-n.y,p=Math.hypot(i,r),s=Math.hypot(d,l);if(p<O||s<O)return null;let o=i/p,u=r/p,f=d/s,y=l/s,E=o*f+u*y,S=Math.max(-1,Math.min(1,E)),M=Math.acos(S);if(M<O||Math.abs(Math.PI-M)<O)return null;let g=Math.min(a/Math.sin(M/2),p/2,s/2);return{startX:n.x-o*g,startY:n.y-u*g,endX:n.x+f*g,endY:n.y+y*g,ctrlX:n.x,ctrlY:n.y,cutLen:g}}e(R,"computeRoundedCorner");function k(t,n,c){let a=t.points;if(a.length<2)return"";let i=_(a,t),r=t.curve==="rounded",d=Qr(t.cornerRadius),l=P(i),p=new Map;for(let o of n){let u=l[o.segIndex];if(!u)continue;let f=Math.hypot(u.b.x-u.a.x,u.b.y-u.a.y),y=p.get(o.segIndex)??[];y.push({t:o.t,point:o.point,d:o.t*f,r:c.jumpRadius}),p.set(o.segIndex,y)}let s=[`M${I(i[0])}`];for(let o=0;o<l.length;o++){let u=l[o],f=Math.hypot(u.b.x-u.a.x,u.b.y-u.a.y),y=f===0?0:(u.b.x-u.a.x)/f,E=f===0?0:(u.b.y-u.a.y)/f,S=H(u),M=0;if(r&&o>0){let h=R(i[o-1],i[o],i[o+1]??i[o],d);if(h)M=h.cutLen}let g=f,m=null;if(r&&o<l.length-1){if(m=R(i[o],i[o+1],i[o+2]??i[o+1],d),m)g=f-m.cutLen}let A=c.jumpRadius*Y,x=[...p.get(o)??[]].sort((h,L)=>h.t-L.t).filter((h)=>{let L=Math.min(h.d-M,g-h.d)-X;return h.r=Math.min(h.r,L),h.r>=A});for(let h=0;h<x.length-1;h++){let L=x[h+1].d-x[h].d;if(x[h].r+x[h+1].r>L){let T=L/2;x[h].r=Math.min(x[h].r,T),x[h+1].r=Math.min(x[h+1].r,T)}}for(let h of x){if(h.r<A)continue;s.push(...D(h,y,E,S,c.jumpStyle))}if(r&&m)s.push(`L${b(m.startX)},${b(m.startY)}`),s.push(`Q${b(m.ctrlX)},${b(m.ctrlY)} ${b(m.endX)},${b(m.endY)}`);else s.push(`L${I(u.b)}`)}return s.join(" ")}e(k,"rewriteEdgePath");function J(t){return/^[\d\s+,.LMelm-]*$/.test(t)}e(J,"isStraightPath");function j(t){if(!t)return!0;return t==="linear"||t==="rounded"||t==="step"||t==="stepBefore"||t==="stepAfter"}e(j,"curveSupportsLineHops");function z(t){if(!t)return null;try{let n=typeof atob==="function"?atob(t):Buffer.from(t,"base64").toString(),c=JSON.parse(n);if(!Array.isArray(c))return null;let a=[];for(let i of c)if(i&&typeof i.x==="number"&&typeof i.y==="number")a.push({x:i.x,y:i.y});return a.length>=2?a:null}catch{return null}}e(z,"decodeDataPoints");function Nt(t,n,c){if(!c.enabled)return;let a=t.node();if(!a)return;let i=new Map;for(let s of n)i.set(s.id,s);let r=new Map;for(let s of a.querySelectorAll("path[data-id]")){let o=s.getAttribute("data-id");if(o!==null&&!r.has(o))r.set(o,s)}let d=[];for(let s of n){let o=r.get(s.id);if(!o)continue;let f=z(o.getAttribute("data-points"))??s.points;d.push({...s,points:f})}let l=C(d);if(l.length===0)return;let p=new Map;for(let s of l){let o=p.get(s.jumpEdgeId)??[];o.push(s),p.set(s.jumpEdgeId,o)}for(let s of d){let o=p.get(s.id);if(!o||o.length===0)continue;let f=i.get(s.id)?.curve;if(f!==void 0&&!j(f))continue;let y=r.get(s.id);if(!y)continue;if(f===void 0){let A=y.getAttribute("d")??"";if(!J(A))continue}let E=y.getAttribute("style")??"",S=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(E),M=S?Number.parseFloat(S[1]):null,g=S?Number.parseFloat(S[2]):null,m=k(s,o,c);if(y.setAttribute("d",m),M!==null&&g!==null&&typeof y.getTotalLength==="function"){let A=y.getTotalLength(),x=Math.max(0,A-M-g),h=`0 ${M} ${x} ${g}`,L=E.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${h};`).replace(/;\s*;+/g,";");y.setAttribute("style",L)}}}e(Nt,"applyLineJumpsToSvg");
|
|
2
2
|
export{Mt,Nt};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Fe,Ke,_}from"./index.0hrfbrja.js";var Qi=Ke(function($l,Dl){(function(r,t){typeof $l=="object"&&typeof Dl<"u"?Dl.exports=t():typeof define=="function"&&define.amd?define(t):(r=typeof globalThis<"u"?globalThis:r||self).dayjs=t()})($l,function(){var r=1000,t=60000,i=3600000,s="millisecond",o="second",a="minute",c="hour",l="day",d="week",x="month",f="quarter",b="year",T="date",w="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,E=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,P={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(xt){var et=["th","st","nd","rd"],ot=xt%100;return"["+xt+(et[(ot-20)%10]||et[ot]||et[0])+"]"}},W=function(xt,et,ot){var bt=String(xt);return!bt||bt.length>=et?xt:""+Array(et+1-bt.length).join(ot)+xt},H={s:W,z:function(xt){var et=-xt.utcOffset(),ot=Math.abs(et),bt=Math.floor(ot/60),it=ot%60;return(et<=0?"+":"-")+W(bt,2,"0")+":"+W(it,2,"0")},m:function xt(et,ot){if(et.date()<ot.date())return-xt(ot,et);var bt=12*(ot.year()-et.year())+(ot.month()-et.month()),it=et.clone().add(bt,x),Lt=ot-it<0,Et=et.clone().add(bt+(Lt?-1:1),x);return+(-(bt+(ot-it)/(Lt?it-Et:Et-it))||0)},a:function(xt){return xt<0?Math.ceil(xt)||0:Math.floor(xt)},p:function(xt){return{M:x,y:b,w:d,d:l,D:T,h:c,m:a,s:o,ms:s,Q:f}[xt]||String(xt||"").toLowerCase().replace(/s$/,"")},u:function(xt){return xt===void 0}},V="en",Q={};Q[V]=P;var J="$isDayjsObject",st=function(xt){return xt instanceof wt||!(!xt||!xt[J])},lt=function xt(et,ot,bt){var it;if(!et)return V;if(typeof et=="string"){var Lt=et.toLowerCase();Q[Lt]&&(it=Lt),ot&&(Q[Lt]=ot,it=Lt);var Et=et.split("-");if(!it&&Et.length>1)return xt(Et[0])}else{var yt=et.name;Q[yt]=et,it=yt}return!bt&&it&&(V=it),it||!bt&&V},pt=function(xt,et){if(st(xt))return xt.clone();var ot=typeof et=="object"?et:{};return ot.date=xt,ot.args=arguments,new wt(ot)},ft=H;ft.l=lt,ft.i=st,ft.w=function(xt,et){return pt(xt,{locale:et.$L,utc:et.$u,x:et.$x,$offset:et.$offset})};var wt=function(){function xt(ot){this.$L=lt(ot.locale,null,!0),this.parse(ot),this.$x=this.$x||ot.x||{},this[J]=!0}var et=xt.prototype;return et.parse=function(ot){this.$d=function(bt){var{date:it,utc:Lt}=bt;if(it===null)return new Date(NaN);if(ft.u(it))return new Date;if(it instanceof Date)return new Date(it);if(typeof it=="string"&&!/Z$/i.test(it)){var Et=it.match(v);if(Et){var yt=Et[2]-1||0,qt=(Et[7]||"0").substring(0,3);return Lt?new Date(Date.UTC(Et[1],yt,Et[3]||1,Et[4]||0,Et[5]||0,Et[6]||0,qt)):new Date(Et[1],yt,Et[3]||1,Et[4]||0,Et[5]||0,Et[6]||0,qt)}}return new Date(it)}(ot),this.init()},et.init=function(){var ot=this.$d;this.$y=ot.getFullYear(),this.$M=ot.getMonth(),this.$D=ot.getDate(),this.$W=ot.getDay(),this.$H=ot.getHours(),this.$m=ot.getMinutes(),this.$s=ot.getSeconds(),this.$ms=ot.getMilliseconds()},et.$utils=function(){return ft},et.isValid=function(){return this.$d.toString()!==w},et.isSame=function(ot,bt){var it=pt(ot);return this.startOf(bt)<=it&&it<=this.endOf(bt)},et.isAfter=function(ot,bt){return pt(ot)<this.startOf(bt)},et.isBefore=function(ot,bt){return this.endOf(bt)<pt(ot)},et.$g=function(ot,bt,it){return ft.u(ot)?this[bt]:this.set(it,ot)},et.unix=function(){return Math.floor(this.valueOf()/1000)},et.valueOf=function(){return this.$d.getTime()},et.startOf=function(ot,bt){var it=this,Lt=!!ft.u(bt)||bt,Et=ft.p(ot),yt=function(te,ee){var de=ft.w(it.$u?Date.UTC(it.$y,ee,te):new Date(it.$y,ee,te),it);return Lt?de:de.endOf(l)},qt=function(te,ee){return ft.w(it.toDate()[te].apply(it.toDate("s"),(Lt?[0,0,0,0]:[23,59,59,999]).slice(ee)),it)},Wt=this.$W,Xt=this.$M,oe=this.$D,ne="set"+(this.$u?"UTC":"");switch(Et){case b:return Lt?yt(1,0):yt(31,11);case x:return Lt?yt(1,Xt):yt(0,Xt+1);case d:var Kt=this.$locale().weekStart||0,zt=(Wt<Kt?Wt+7:Wt)-Kt;return yt(Lt?oe-zt:oe+(6-zt),Xt);case l:case T:return qt(ne+"Hours",0);case c:return qt(ne+"Minutes",1);case a:return qt(ne+"Seconds",2);case o:return qt(ne+"Milliseconds",3);default:return this.clone()}},et.endOf=function(ot){return this.startOf(ot,!1)},et.$set=function(ot,bt){var it,Lt=ft.p(ot),Et="set"+(this.$u?"UTC":""),yt=(it={},it[l]=Et+"Date",it[T]=Et+"Date",it[x]=Et+"Month",it[b]=Et+"FullYear",it[c]=Et+"Hours",it[a]=Et+"Minutes",it[o]=Et+"Seconds",it[s]=Et+"Milliseconds",it)[Lt],qt=Lt===l?this.$D+(bt-this.$W):bt;if(Lt===x||Lt===b){var Wt=this.clone().set(T,1);Wt.$d[yt](qt),Wt.init(),this.$d=Wt.set(T,Math.min(this.$D,Wt.daysInMonth())).$d}else yt&&this.$d[yt](qt);return this.init(),this},et.set=function(ot,bt){return this.clone().$set(ot,bt)},et.get=function(ot){return this[ft.p(ot)]()},et.add=function(ot,bt){var it,Lt=this;ot=Number(ot);var Et=ft.p(bt),yt=function(Xt){var oe=pt(Lt);return ft.w(oe.date(oe.date()+Math.round(Xt*ot)),Lt)};if(Et===x)return this.set(x,this.$M+ot);if(Et===b)return this.set(b,this.$y+ot);if(Et===l)return yt(1);if(Et===d)return yt(7);var qt=(it={},it[a]=t,it[c]=i,it[o]=r,it)[Et]||1,Wt=this.$d.getTime()+ot*qt;return ft.w(Wt,this)},et.subtract=function(ot,bt){return this.add(-1*ot,bt)},et.format=function(ot){var bt=this,it=this.$locale();if(!this.isValid())return it.invalidDate||w;var Lt=ot||"YYYY-MM-DDTHH:mm:ssZ",Et=ft.z(this),yt=this.$H,qt=this.$m,Wt=this.$M,{weekdays:Xt,months:oe,meridiem:ne}=it,Kt=function(ee,de,me,Te){return ee&&(ee[de]||ee(bt,Lt))||me[de].slice(0,Te)},zt=function(ee){return ft.s(yt%12||12,ee,"0")},te=ne||function(ee,de,me){var Te=ee<12?"AM":"PM";return me?Te.toLowerCase():Te};return Lt.replace(E,function(ee,de){return de||function(me){switch(me){case"YY":return String(bt.$y).slice(-2);case"YYYY":return ft.s(bt.$y,4,"0");case"M":return Wt+1;case"MM":return ft.s(Wt+1,2,"0");case"MMM":return Kt(it.monthsShort,Wt,oe,3);case"MMMM":return Kt(oe,Wt);case"D":return bt.$D;case"DD":return ft.s(bt.$D,2,"0");case"d":return String(bt.$W);case"dd":return Kt(it.weekdaysMin,bt.$W,Xt,2);case"ddd":return Kt(it.weekdaysShort,bt.$W,Xt,3);case"dddd":return Xt[bt.$W];case"H":return String(yt);case"HH":return ft.s(yt,2,"0");case"h":return zt(1);case"hh":return zt(2);case"a":return te(yt,qt,!0);case"A":return te(yt,qt,!1);case"m":return String(qt);case"mm":return ft.s(qt,2,"0");case"s":return String(bt.$s);case"ss":return ft.s(bt.$s,2,"0");case"SSS":return ft.s(bt.$ms,3,"0");case"Z":return Et}return null}(ee)||Et.replace(":","")})},et.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},et.diff=function(ot,bt,it){var Lt,Et=this,yt=ft.p(bt),qt=pt(ot),Wt=(qt.utcOffset()-this.utcOffset())*t,Xt=this-qt,oe=function(){return ft.m(Et,qt)};switch(yt){case b:Lt=oe()/12;break;case x:Lt=oe();break;case f:Lt=oe()/3;break;case d:Lt=(Xt-Wt)/604800000;break;case l:Lt=(Xt-Wt)/86400000;break;case c:Lt=Xt/i;break;case a:Lt=Xt/t;break;case o:Lt=Xt/r;break;default:Lt=Xt}return it?Lt:ft.a(Lt)},et.daysInMonth=function(){return this.endOf(x).$D},et.$locale=function(){return Q[this.$L]},et.locale=function(ot,bt){if(!ot)return this.$L;var it=this.clone(),Lt=lt(ot,bt,!0);return Lt&&(it.$L=Lt),it},et.clone=function(){return ft.w(this.$d,this)},et.toDate=function(){return new Date(this.valueOf())},et.toJSON=function(){return this.isValid()?this.toISOString():null},et.toISOString=function(){return this.$d.toISOString()},et.toString=function(){return this.$d.toUTCString()},xt}(),_t=wt.prototype;return pt.prototype=_t,[["$ms",s],["$s",o],["$m",a],["$H",c],["$W",l],["$M",x],["$y",b],["$D",T]].forEach(function(xt){_t[xt[1]]=function(et){return this.$g(et,xt[0],xt[1])}}),pt.extend=function(xt,et){return xt.$i||(xt(et,wt,pt),xt.$i=!0),pt},pt.locale=lt,pt.isDayjs=st,pt.unix=function(xt){return pt(1000*xt)},pt.en=Q[V],pt.Ls=Q,pt.p={},pt})});var tf=Ke(function(Qp){Object.defineProperty(Qp,"__esModule",{value:!0});Qp.BLANK_URL=Qp.relativeFirstCharacters=Qp.whitespaceEscapeCharsRegex=Qp.urlSchemeRegex=Qp.ctrlCharactersRegex=Qp.htmlCtrlEntityRegex=Qp.htmlEntitiesRegex=Qp.invalidProtocolRegex=void 0;Qp.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;Qp.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;Qp.htmlCtrlEntityRegex=/&(newline|tab);/gi;Qp.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;Qp.urlSchemeRegex=/^.+(:|:)/gim;Qp.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;Qp.relativeFirstCharacters=[".","/"];Qp.BLANK_URL="about:blank"});var pn=Ke(function(rf){Object.defineProperty(rf,"__esModule",{value:!0});rf.sanitizeUrl=m1;var xr=tf();function p1(r){return xr.relativeFirstCharacters.indexOf(r[0])>-1}function f1(r){var t=r.replace(xr.ctrlCharactersRegex,"");return t.replace(xr.htmlEntitiesRegex,function(i,s){return String.fromCharCode(s)})}function g1(r){return URL.canParse(r)}function ef(r){try{return decodeURIComponent(r)}catch(t){return r}}function m1(r){if(!r)return xr.BLANK_URL;var t,i=ef(r.trim());do i=f1(i).replace(xr.htmlCtrlEntityRegex,"").replace(xr.ctrlCharactersRegex,"").replace(xr.whitespaceEscapeCharsRegex,"").trim(),i=ef(i),t=i.match(xr.ctrlCharactersRegex)||i.match(xr.htmlEntitiesRegex)||i.match(xr.htmlCtrlEntityRegex)||i.match(xr.whitespaceEscapeCharsRegex);while(t&&t.length>0);var s=i;if(!s)return xr.BLANK_URL;if(p1(s))return s;var o=s.trimStart(),a=o.match(xr.urlSchemeRegex);if(!a)return s;var c=a[0].toLowerCase().trim();if(xr.invalidProtocolRegex.test(c))return xr.BLANK_URL;var l=o.replace(/\\/g,"/");if(c==="mailto:"||c.includes("://"))return l;if(c==="http:"||c==="https:"){if(!g1(l))return xr.BLANK_URL;var d=new URL(l);return d.protocol=d.protocol.toLowerCase(),d.hostname=d.hostname.toLowerCase(),d.toString()}return l}});var Bu=Object.defineProperty,e=(r,t)=>Bu(r,"name",{value:t,configurable:!0}),dr=(r,t)=>{for(var i in t)Bu(r,i,{get:t[i],enumerable:!0})};var _u=Fe(Qi(),1),xi={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},n={trace:e((...r)=>{},"trace"),debug:e((...r)=>{},"debug"),info:e((...r)=>{},"info"),warn:e((...r)=>{},"warn"),error:e((...r)=>{},"error"),fatal:e((...r)=>{},"fatal")},Sa=e(function(r="fatal"){let t=xi.fatal;if(typeof r==="string"){if(r.toLowerCase()in xi)t=xi[r]}else if(typeof r==="number")t=r;if(n.trace=()=>{},n.debug=()=>{},n.info=()=>{},n.warn=()=>{},n.error=()=>{},n.fatal=()=>{},t<=xi.fatal)n.fatal=console.error?console.error.bind(console,Hr("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Hr("FATAL"));if(t<=xi.error)n.error=console.error?console.error.bind(console,Hr("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Hr("ERROR"));if(t<=xi.warn)n.warn=console.warn?console.warn.bind(console,Hr("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Hr("WARN"));if(t<=xi.info)n.info=console.info?console.info.bind(console,Hr("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Hr("INFO"));if(t<=xi.debug)n.debug=console.debug?console.debug.bind(console,Hr("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Hr("DEBUG"));if(t<=xi.trace)n.trace=console.debug?console.debug.bind(console,Hr("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Hr("TRACE"))},"setLogLevel"),Hr=e((r)=>`%c${_u.default().format("ss.SSS")} : ${r} : `,"format");var xa={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:(r)=>r>=255?255:r<0?0:r,g:(r)=>r>=255?255:r<0?0:r,b:(r)=>r>=255?255:r<0?0:r,h:(r)=>r%360,s:(r)=>r>=100?100:r<0?0:r,l:(r)=>r>=100?100:r<0?0:r,a:(r)=>r>=1?1:r<0?0:r},toLinear:(r)=>{let t=r/255;return r>0.03928?Math.pow((t+0.055)/1.055,2.4):t/12.92},hue2rgb:(r,t,i)=>{if(i<0)i+=1;if(i>1)i-=1;if(i<0.16666666666666666)return r+(t-r)*6*i;if(i<0.5)return t;if(i<0.6666666666666666)return r+(t-r)*(0.6666666666666666-i)*6;return r},hsl2rgb:({h:r,s:t,l:i},s)=>{if(!t)return i*2.55;r/=360,t/=100,i/=100;let o=i<0.5?i*(1+t):i+t-i*t,a=2*i-o;switch(s){case"r":return xa.hue2rgb(a,o,r+0.3333333333333333)*255;case"g":return xa.hue2rgb(a,o,r)*255;case"b":return xa.hue2rgb(a,o,r-0.3333333333333333)*255}},rgb2hsl:({r,g:t,b:i},s)=>{r/=255,t/=255,i/=255;let o=Math.max(r,t,i),a=Math.min(r,t,i),c=(o+a)/2;if(s==="l")return c*100;if(o===a)return 0;let l=o-a,d=c>0.5?l/(2-o-a):l/(o+a);if(s==="s")return d*100;switch(o){case r:return((t-i)/l+(t<i?6:0))*60;case t:return((i-r)/l+2)*60;case i:return((r-t)/l+4)*60;default:return-1}}},vu=xa;var zx={clamp:(r,t,i)=>{if(t>i)return Math.min(t,Math.max(i,r));return Math.min(i,Math.max(t,r))},round:(r)=>Math.round(r*10000000000)/10000000000},Lu=zx;var Hx={dec2hex:(r)=>{let t=Math.round(r).toString(16);return t.length>1?t:`0${t}`}},Au=Hx;var Yx={channel:vu,lang:Lu,unit:Au},ce=Yx;var Ci={};for(let r=0;r<=255;r++)Ci[r]=ce.unit.dec2hex(r);var er={ALL:0,RGB:1,HSL:2};class Fu{constructor(){this.type=er.ALL}get(){return this.type}set(r){if(this.type&&this.type!==r)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=r}reset(){this.type=er.ALL}is(r){return this.type===r}}var Mu=Fu;class Eu{constructor(r,t){this.color=t,this.changed=!1,this.data=r,this.type=new Mu}set(r,t){return this.color=t,this.changed=!1,this.data=r,this.type.type=er.ALL,this}_ensureHSL(){let r=this.data,{h:t,s:i,l:s}=r;if(t===void 0)r.h=ce.channel.rgb2hsl(r,"h");if(i===void 0)r.s=ce.channel.rgb2hsl(r,"s");if(s===void 0)r.l=ce.channel.rgb2hsl(r,"l")}_ensureRGB(){let r=this.data,{r:t,g:i,b:s}=r;if(t===void 0)r.r=ce.channel.hsl2rgb(r,"r");if(i===void 0)r.g=ce.channel.hsl2rgb(r,"g");if(s===void 0)r.b=ce.channel.hsl2rgb(r,"b")}get r(){let r=this.data,t=r.r;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"r")}get g(){let r=this.data,t=r.g;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"g")}get b(){let r=this.data,t=r.b;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"b")}get h(){let r=this.data,t=r.h;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"h")}get s(){let r=this.data,t=r.s;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"s")}get l(){let r=this.data,t=r.l;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"l")}get a(){return this.data.a}set r(r){this.type.set(er.RGB),this.changed=!0,this.data.r=r}set g(r){this.type.set(er.RGB),this.changed=!0,this.data.g=r}set b(r){this.type.set(er.RGB),this.changed=!0,this.data.b=r}set h(r){this.type.set(er.HSL),this.changed=!0,this.data.h=r}set s(r){this.type.set(er.HSL),this.changed=!0,this.data.s=r}set l(r){this.type.set(er.HSL),this.changed=!0,this.data.l=r}set a(r){this.changed=!0,this.data.a=r}}var Ou=Eu;var Ux=new Ou({r:0,g:0,b:0,a:0},"transparent"),$i=Ux;var Iu={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:(r)=>{if(r.charCodeAt(0)!==35)return;let t=r.match(Iu.re);if(!t)return;let i=t[1],s=parseInt(i,16),o=i.length,a=o%4===0,c=o>4,l=c?1:17,d=c?8:4,x=a?0:-1,f=c?255:15;return $i.set({r:(s>>d*(x+3)&f)*l,g:(s>>d*(x+2)&f)*l,b:(s>>d*(x+1)&f)*l,a:a?(s&f)*l/255:1},r)},stringify:(r)=>{let{r:t,g:i,b:s,a:o}=r;if(o<1)return`#${Ci[Math.round(t)]}${Ci[Math.round(i)]}${Ci[Math.round(s)]}${Ci[Math.round(o*255)]}`;else return`#${Ci[Math.round(t)]}${Ci[Math.round(i)]}${Ci[Math.round(s)]}`}},Hi=Iu;var Ca={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:(r)=>{let t=r.match(Ca.hueRe);if(t){let[,i,s]=t;switch(s){case"grad":return ce.channel.clamp.h(parseFloat(i)*0.9);case"rad":return ce.channel.clamp.h(parseFloat(i)*180/Math.PI);case"turn":return ce.channel.clamp.h(parseFloat(i)*360)}}return ce.channel.clamp.h(parseFloat(r))},parse:(r)=>{let t=r.charCodeAt(0);if(t!==104&&t!==72)return;let i=r.match(Ca.re);if(!i)return;let[,s,o,a,c,l]=i;return $i.set({h:Ca._hue2deg(s),s:ce.channel.clamp.s(parseFloat(o)),l:ce.channel.clamp.l(parseFloat(a)),a:c?ce.channel.clamp.a(l?parseFloat(c)/100:parseFloat(c)):1},r)},stringify:(r)=>{let{h:t,s:i,l:s,a:o}=r;if(o<1)return`hsla(${ce.lang.round(t)}, ${ce.lang.round(i)}%, ${ce.lang.round(s)}%, ${o})`;else return`hsl(${ce.lang.round(t)}, ${ce.lang.round(i)}%, ${ce.lang.round(s)}%)`}},ls=Ca;var ba={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:(r)=>{r=r.toLowerCase();let t=ba.colors[r];if(!t)return;return Hi.parse(t)},stringify:(r)=>{let t=Hi.stringify(r);for(let i in ba.colors)if(ba.colors[i]===t)return i;return}},Pl=ba;var $u={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:(r)=>{let t=r.charCodeAt(0);if(t!==114&&t!==82)return;let i=r.match($u.re);if(!i)return;let[,s,o,a,c,l,d,x,f]=i;return $i.set({r:ce.channel.clamp.r(o?parseFloat(s)*2.55:parseFloat(s)),g:ce.channel.clamp.g(c?parseFloat(a)*2.55:parseFloat(a)),b:ce.channel.clamp.b(d?parseFloat(l)*2.55:parseFloat(l)),a:x?ce.channel.clamp.a(f?parseFloat(x)/100:parseFloat(x)):1},r)},stringify:(r)=>{let{r:t,g:i,b:s,a:o}=r;if(o<1)return`rgba(${ce.lang.round(t)}, ${ce.lang.round(i)}, ${ce.lang.round(s)}, ${ce.lang.round(o)})`;else return`rgb(${ce.lang.round(t)}, ${ce.lang.round(i)}, ${ce.lang.round(s)})`}},cs=$u;var jx={format:{keyword:Pl,hex:Hi,rgb:cs,rgba:cs,hsl:ls,hsla:ls},parse:(r)=>{if(typeof r!=="string")return r;let t=Hi.parse(r)||cs.parse(r)||ls.parse(r)||Pl.parse(r);if(t)return t;throw Error(`Unsupported color format: "${r}"`)},stringify:(r)=>{if(!r.changed&&r.color)return r.color;if(r.type.is(er.HSL)||r.data.r===void 0)return ls.stringify(r);else if(r.a<1||!Number.isInteger(r.r)||!Number.isInteger(r.g)||!Number.isInteger(r.b))return cs.stringify(r);else return Hi.stringify(r)}},rr=jx;var Gx=(r,t)=>{let i=rr.parse(r);for(let s in t)i[s]=ce.channel.clamp[s](t[s]);return rr.stringify(i)},ka=Gx;var Xx=(r,t,i=0,s=1)=>{if(typeof r!=="number")return ka(r,{a:t});let o=$i.set({r:ce.channel.clamp.r(r),g:ce.channel.clamp.g(t),b:ce.channel.clamp.b(i),a:ce.channel.clamp.a(s)});return rr.stringify(o)},be=Xx;var Vx=(r,t)=>ce.lang.round(rr.parse(r)[t]),gt=Vx;var Kx=(r)=>{let{r:t,g:i,b:s}=rr.parse(r),o=0.2126*ce.channel.toLinear(t)+0.7152*ce.channel.toLinear(i)+0.0722*ce.channel.toLinear(s);return ce.lang.round(o)},Du=Kx;var Zx=(r)=>Du(r)>=0.5,Pu=Zx;var Qx=(r)=>!Pu(r),ae=Qx;var Jx=(r,t,i)=>{let s=rr.parse(r),o=s[t],a=ce.channel.clamp[t](o+i);if(o!==a)s[t]=a;return rr.stringify(s)},Qn=Jx;var t0=(r,t)=>Qn(r,"l",t),h=t0;var e0=(r,t)=>Qn(r,"l",-t),p=e0;var r0=(r,t)=>{let i=rr.parse(r),s={};for(let o in t){if(!t[o])continue;s[o]=i[o]+t[o]}return ka(r,s)},X=r0;var i0=(r,t,i=50)=>{let{r:s,g:o,b:a,a:c}=rr.parse(r),{r:l,g:d,b:x,a:f}=rr.parse(t),b=i/100,T=b*2-1,w=c-f,E=((T*w===-1?T:(T+w)/(1+T*w))+1)/2,P=1-E,W=s*E+l*P,H=o*E+d*P,V=a*E+x*P,Q=c*b+f*(1-b);return be(W,H,V,Q)},Ru=i0;var o0=(r,t=100)=>{let i=rr.parse(r);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,Ru(i,r,t)},ht=o0;/*! @license DOMPurify 3.4.17 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.17/LICENSE */function s0(r,t){this.v=r,this.k=t}function Nu(r,t){(t==null||t>r.length)&&(t=r.length);for(var i=0,s=Array(t);i<t;i++)s[i]=r[i];return s}function a0(r){if(Array.isArray(r))return r}function n0(r,t){var i=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(i!=null){var s,o,a,c,l=[],d=!0,x=!1;try{if(a=(i=i.call(r)).next,t===0){if(Object(i)!==i)return;d=!1}else for(;!(d=(s=a.call(i)).done)&&(l.push(s.value),l.length!==t);d=!0);}catch(f){x=!0,o=f}finally{try{if(!d&&i.return!=null&&(c=i.return(),Object(c)!==c))return}finally{if(x)throw o}}return l}}function l0(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1
|
+
import{Fe,Ke,_}from"./index.5vcex75v.js";var Qi=Ke(function($l,Dl){(function(r,t){typeof $l=="object"&&typeof Dl<"u"?Dl.exports=t():typeof define=="function"&&define.amd?define(t):(r=typeof globalThis<"u"?globalThis:r||self).dayjs=t()})($l,function(){var r=1000,t=60000,i=3600000,s="millisecond",o="second",a="minute",c="hour",l="day",d="week",x="month",f="quarter",b="year",T="date",w="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,E=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,P={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(xt){var et=["th","st","nd","rd"],ot=xt%100;return"["+xt+(et[(ot-20)%10]||et[ot]||et[0])+"]"}},W=function(xt,et,ot){var bt=String(xt);return!bt||bt.length>=et?xt:""+Array(et+1-bt.length).join(ot)+xt},H={s:W,z:function(xt){var et=-xt.utcOffset(),ot=Math.abs(et),bt=Math.floor(ot/60),it=ot%60;return(et<=0?"+":"-")+W(bt,2,"0")+":"+W(it,2,"0")},m:function xt(et,ot){if(et.date()<ot.date())return-xt(ot,et);var bt=12*(ot.year()-et.year())+(ot.month()-et.month()),it=et.clone().add(bt,x),Lt=ot-it<0,Et=et.clone().add(bt+(Lt?-1:1),x);return+(-(bt+(ot-it)/(Lt?it-Et:Et-it))||0)},a:function(xt){return xt<0?Math.ceil(xt)||0:Math.floor(xt)},p:function(xt){return{M:x,y:b,w:d,d:l,D:T,h:c,m:a,s:o,ms:s,Q:f}[xt]||String(xt||"").toLowerCase().replace(/s$/,"")},u:function(xt){return xt===void 0}},V="en",Q={};Q[V]=P;var J="$isDayjsObject",st=function(xt){return xt instanceof wt||!(!xt||!xt[J])},lt=function xt(et,ot,bt){var it;if(!et)return V;if(typeof et=="string"){var Lt=et.toLowerCase();Q[Lt]&&(it=Lt),ot&&(Q[Lt]=ot,it=Lt);var Et=et.split("-");if(!it&&Et.length>1)return xt(Et[0])}else{var yt=et.name;Q[yt]=et,it=yt}return!bt&&it&&(V=it),it||!bt&&V},pt=function(xt,et){if(st(xt))return xt.clone();var ot=typeof et=="object"?et:{};return ot.date=xt,ot.args=arguments,new wt(ot)},ft=H;ft.l=lt,ft.i=st,ft.w=function(xt,et){return pt(xt,{locale:et.$L,utc:et.$u,x:et.$x,$offset:et.$offset})};var wt=function(){function xt(ot){this.$L=lt(ot.locale,null,!0),this.parse(ot),this.$x=this.$x||ot.x||{},this[J]=!0}var et=xt.prototype;return et.parse=function(ot){this.$d=function(bt){var{date:it,utc:Lt}=bt;if(it===null)return new Date(NaN);if(ft.u(it))return new Date;if(it instanceof Date)return new Date(it);if(typeof it=="string"&&!/Z$/i.test(it)){var Et=it.match(v);if(Et){var yt=Et[2]-1||0,qt=(Et[7]||"0").substring(0,3);return Lt?new Date(Date.UTC(Et[1],yt,Et[3]||1,Et[4]||0,Et[5]||0,Et[6]||0,qt)):new Date(Et[1],yt,Et[3]||1,Et[4]||0,Et[5]||0,Et[6]||0,qt)}}return new Date(it)}(ot),this.init()},et.init=function(){var ot=this.$d;this.$y=ot.getFullYear(),this.$M=ot.getMonth(),this.$D=ot.getDate(),this.$W=ot.getDay(),this.$H=ot.getHours(),this.$m=ot.getMinutes(),this.$s=ot.getSeconds(),this.$ms=ot.getMilliseconds()},et.$utils=function(){return ft},et.isValid=function(){return this.$d.toString()!==w},et.isSame=function(ot,bt){var it=pt(ot);return this.startOf(bt)<=it&&it<=this.endOf(bt)},et.isAfter=function(ot,bt){return pt(ot)<this.startOf(bt)},et.isBefore=function(ot,bt){return this.endOf(bt)<pt(ot)},et.$g=function(ot,bt,it){return ft.u(ot)?this[bt]:this.set(it,ot)},et.unix=function(){return Math.floor(this.valueOf()/1000)},et.valueOf=function(){return this.$d.getTime()},et.startOf=function(ot,bt){var it=this,Lt=!!ft.u(bt)||bt,Et=ft.p(ot),yt=function(te,ee){var de=ft.w(it.$u?Date.UTC(it.$y,ee,te):new Date(it.$y,ee,te),it);return Lt?de:de.endOf(l)},qt=function(te,ee){return ft.w(it.toDate()[te].apply(it.toDate("s"),(Lt?[0,0,0,0]:[23,59,59,999]).slice(ee)),it)},Wt=this.$W,Xt=this.$M,oe=this.$D,ne="set"+(this.$u?"UTC":"");switch(Et){case b:return Lt?yt(1,0):yt(31,11);case x:return Lt?yt(1,Xt):yt(0,Xt+1);case d:var Kt=this.$locale().weekStart||0,zt=(Wt<Kt?Wt+7:Wt)-Kt;return yt(Lt?oe-zt:oe+(6-zt),Xt);case l:case T:return qt(ne+"Hours",0);case c:return qt(ne+"Minutes",1);case a:return qt(ne+"Seconds",2);case o:return qt(ne+"Milliseconds",3);default:return this.clone()}},et.endOf=function(ot){return this.startOf(ot,!1)},et.$set=function(ot,bt){var it,Lt=ft.p(ot),Et="set"+(this.$u?"UTC":""),yt=(it={},it[l]=Et+"Date",it[T]=Et+"Date",it[x]=Et+"Month",it[b]=Et+"FullYear",it[c]=Et+"Hours",it[a]=Et+"Minutes",it[o]=Et+"Seconds",it[s]=Et+"Milliseconds",it)[Lt],qt=Lt===l?this.$D+(bt-this.$W):bt;if(Lt===x||Lt===b){var Wt=this.clone().set(T,1);Wt.$d[yt](qt),Wt.init(),this.$d=Wt.set(T,Math.min(this.$D,Wt.daysInMonth())).$d}else yt&&this.$d[yt](qt);return this.init(),this},et.set=function(ot,bt){return this.clone().$set(ot,bt)},et.get=function(ot){return this[ft.p(ot)]()},et.add=function(ot,bt){var it,Lt=this;ot=Number(ot);var Et=ft.p(bt),yt=function(Xt){var oe=pt(Lt);return ft.w(oe.date(oe.date()+Math.round(Xt*ot)),Lt)};if(Et===x)return this.set(x,this.$M+ot);if(Et===b)return this.set(b,this.$y+ot);if(Et===l)return yt(1);if(Et===d)return yt(7);var qt=(it={},it[a]=t,it[c]=i,it[o]=r,it)[Et]||1,Wt=this.$d.getTime()+ot*qt;return ft.w(Wt,this)},et.subtract=function(ot,bt){return this.add(-1*ot,bt)},et.format=function(ot){var bt=this,it=this.$locale();if(!this.isValid())return it.invalidDate||w;var Lt=ot||"YYYY-MM-DDTHH:mm:ssZ",Et=ft.z(this),yt=this.$H,qt=this.$m,Wt=this.$M,{weekdays:Xt,months:oe,meridiem:ne}=it,Kt=function(ee,de,me,Te){return ee&&(ee[de]||ee(bt,Lt))||me[de].slice(0,Te)},zt=function(ee){return ft.s(yt%12||12,ee,"0")},te=ne||function(ee,de,me){var Te=ee<12?"AM":"PM";return me?Te.toLowerCase():Te};return Lt.replace(E,function(ee,de){return de||function(me){switch(me){case"YY":return String(bt.$y).slice(-2);case"YYYY":return ft.s(bt.$y,4,"0");case"M":return Wt+1;case"MM":return ft.s(Wt+1,2,"0");case"MMM":return Kt(it.monthsShort,Wt,oe,3);case"MMMM":return Kt(oe,Wt);case"D":return bt.$D;case"DD":return ft.s(bt.$D,2,"0");case"d":return String(bt.$W);case"dd":return Kt(it.weekdaysMin,bt.$W,Xt,2);case"ddd":return Kt(it.weekdaysShort,bt.$W,Xt,3);case"dddd":return Xt[bt.$W];case"H":return String(yt);case"HH":return ft.s(yt,2,"0");case"h":return zt(1);case"hh":return zt(2);case"a":return te(yt,qt,!0);case"A":return te(yt,qt,!1);case"m":return String(qt);case"mm":return ft.s(qt,2,"0");case"s":return String(bt.$s);case"ss":return ft.s(bt.$s,2,"0");case"SSS":return ft.s(bt.$ms,3,"0");case"Z":return Et}return null}(ee)||Et.replace(":","")})},et.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},et.diff=function(ot,bt,it){var Lt,Et=this,yt=ft.p(bt),qt=pt(ot),Wt=(qt.utcOffset()-this.utcOffset())*t,Xt=this-qt,oe=function(){return ft.m(Et,qt)};switch(yt){case b:Lt=oe()/12;break;case x:Lt=oe();break;case f:Lt=oe()/3;break;case d:Lt=(Xt-Wt)/604800000;break;case l:Lt=(Xt-Wt)/86400000;break;case c:Lt=Xt/i;break;case a:Lt=Xt/t;break;case o:Lt=Xt/r;break;default:Lt=Xt}return it?Lt:ft.a(Lt)},et.daysInMonth=function(){return this.endOf(x).$D},et.$locale=function(){return Q[this.$L]},et.locale=function(ot,bt){if(!ot)return this.$L;var it=this.clone(),Lt=lt(ot,bt,!0);return Lt&&(it.$L=Lt),it},et.clone=function(){return ft.w(this.$d,this)},et.toDate=function(){return new Date(this.valueOf())},et.toJSON=function(){return this.isValid()?this.toISOString():null},et.toISOString=function(){return this.$d.toISOString()},et.toString=function(){return this.$d.toUTCString()},xt}(),_t=wt.prototype;return pt.prototype=_t,[["$ms",s],["$s",o],["$m",a],["$H",c],["$W",l],["$M",x],["$y",b],["$D",T]].forEach(function(xt){_t[xt[1]]=function(et){return this.$g(et,xt[0],xt[1])}}),pt.extend=function(xt,et){return xt.$i||(xt(et,wt,pt),xt.$i=!0),pt},pt.locale=lt,pt.isDayjs=st,pt.unix=function(xt){return pt(1000*xt)},pt.en=Q[V],pt.Ls=Q,pt.p={},pt})});var tf=Ke(function(Qp){Object.defineProperty(Qp,"__esModule",{value:!0});Qp.BLANK_URL=Qp.relativeFirstCharacters=Qp.whitespaceEscapeCharsRegex=Qp.urlSchemeRegex=Qp.ctrlCharactersRegex=Qp.htmlCtrlEntityRegex=Qp.htmlEntitiesRegex=Qp.invalidProtocolRegex=void 0;Qp.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;Qp.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;Qp.htmlCtrlEntityRegex=/&(newline|tab);/gi;Qp.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;Qp.urlSchemeRegex=/^.+(:|:)/gim;Qp.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;Qp.relativeFirstCharacters=[".","/"];Qp.BLANK_URL="about:blank"});var pn=Ke(function(rf){Object.defineProperty(rf,"__esModule",{value:!0});rf.sanitizeUrl=m1;var xr=tf();function p1(r){return xr.relativeFirstCharacters.indexOf(r[0])>-1}function f1(r){var t=r.replace(xr.ctrlCharactersRegex,"");return t.replace(xr.htmlEntitiesRegex,function(i,s){return String.fromCharCode(s)})}function g1(r){return URL.canParse(r)}function ef(r){try{return decodeURIComponent(r)}catch(t){return r}}function m1(r){if(!r)return xr.BLANK_URL;var t,i=ef(r.trim());do i=f1(i).replace(xr.htmlCtrlEntityRegex,"").replace(xr.ctrlCharactersRegex,"").replace(xr.whitespaceEscapeCharsRegex,"").trim(),i=ef(i),t=i.match(xr.ctrlCharactersRegex)||i.match(xr.htmlEntitiesRegex)||i.match(xr.htmlCtrlEntityRegex)||i.match(xr.whitespaceEscapeCharsRegex);while(t&&t.length>0);var s=i;if(!s)return xr.BLANK_URL;if(p1(s))return s;var o=s.trimStart(),a=o.match(xr.urlSchemeRegex);if(!a)return s;var c=a[0].toLowerCase().trim();if(xr.invalidProtocolRegex.test(c))return xr.BLANK_URL;var l=o.replace(/\\/g,"/");if(c==="mailto:"||c.includes("://"))return l;if(c==="http:"||c==="https:"){if(!g1(l))return xr.BLANK_URL;var d=new URL(l);return d.protocol=d.protocol.toLowerCase(),d.hostname=d.hostname.toLowerCase(),d.toString()}return l}});var Bu=Object.defineProperty,e=(r,t)=>Bu(r,"name",{value:t,configurable:!0}),dr=(r,t)=>{for(var i in t)Bu(r,i,{get:t[i],enumerable:!0})};var _u=Fe(Qi(),1),xi={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},n={trace:e((...r)=>{},"trace"),debug:e((...r)=>{},"debug"),info:e((...r)=>{},"info"),warn:e((...r)=>{},"warn"),error:e((...r)=>{},"error"),fatal:e((...r)=>{},"fatal")},Sa=e(function(r="fatal"){let t=xi.fatal;if(typeof r==="string"){if(r.toLowerCase()in xi)t=xi[r]}else if(typeof r==="number")t=r;if(n.trace=()=>{},n.debug=()=>{},n.info=()=>{},n.warn=()=>{},n.error=()=>{},n.fatal=()=>{},t<=xi.fatal)n.fatal=console.error?console.error.bind(console,Hr("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Hr("FATAL"));if(t<=xi.error)n.error=console.error?console.error.bind(console,Hr("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Hr("ERROR"));if(t<=xi.warn)n.warn=console.warn?console.warn.bind(console,Hr("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Hr("WARN"));if(t<=xi.info)n.info=console.info?console.info.bind(console,Hr("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Hr("INFO"));if(t<=xi.debug)n.debug=console.debug?console.debug.bind(console,Hr("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Hr("DEBUG"));if(t<=xi.trace)n.trace=console.debug?console.debug.bind(console,Hr("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Hr("TRACE"))},"setLogLevel"),Hr=e((r)=>`%c${_u.default().format("ss.SSS")} : ${r} : `,"format");var xa={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:(r)=>r>=255?255:r<0?0:r,g:(r)=>r>=255?255:r<0?0:r,b:(r)=>r>=255?255:r<0?0:r,h:(r)=>r%360,s:(r)=>r>=100?100:r<0?0:r,l:(r)=>r>=100?100:r<0?0:r,a:(r)=>r>=1?1:r<0?0:r},toLinear:(r)=>{let t=r/255;return r>0.03928?Math.pow((t+0.055)/1.055,2.4):t/12.92},hue2rgb:(r,t,i)=>{if(i<0)i+=1;if(i>1)i-=1;if(i<0.16666666666666666)return r+(t-r)*6*i;if(i<0.5)return t;if(i<0.6666666666666666)return r+(t-r)*(0.6666666666666666-i)*6;return r},hsl2rgb:({h:r,s:t,l:i},s)=>{if(!t)return i*2.55;r/=360,t/=100,i/=100;let o=i<0.5?i*(1+t):i+t-i*t,a=2*i-o;switch(s){case"r":return xa.hue2rgb(a,o,r+0.3333333333333333)*255;case"g":return xa.hue2rgb(a,o,r)*255;case"b":return xa.hue2rgb(a,o,r-0.3333333333333333)*255}},rgb2hsl:({r,g:t,b:i},s)=>{r/=255,t/=255,i/=255;let o=Math.max(r,t,i),a=Math.min(r,t,i),c=(o+a)/2;if(s==="l")return c*100;if(o===a)return 0;let l=o-a,d=c>0.5?l/(2-o-a):l/(o+a);if(s==="s")return d*100;switch(o){case r:return((t-i)/l+(t<i?6:0))*60;case t:return((i-r)/l+2)*60;case i:return((r-t)/l+4)*60;default:return-1}}},vu=xa;var zx={clamp:(r,t,i)=>{if(t>i)return Math.min(t,Math.max(i,r));return Math.min(i,Math.max(t,r))},round:(r)=>Math.round(r*10000000000)/10000000000},Lu=zx;var Hx={dec2hex:(r)=>{let t=Math.round(r).toString(16);return t.length>1?t:`0${t}`}},Au=Hx;var Yx={channel:vu,lang:Lu,unit:Au},ce=Yx;var Ci={};for(let r=0;r<=255;r++)Ci[r]=ce.unit.dec2hex(r);var er={ALL:0,RGB:1,HSL:2};class Fu{constructor(){this.type=er.ALL}get(){return this.type}set(r){if(this.type&&this.type!==r)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=r}reset(){this.type=er.ALL}is(r){return this.type===r}}var Mu=Fu;class Eu{constructor(r,t){this.color=t,this.changed=!1,this.data=r,this.type=new Mu}set(r,t){return this.color=t,this.changed=!1,this.data=r,this.type.type=er.ALL,this}_ensureHSL(){let r=this.data,{h:t,s:i,l:s}=r;if(t===void 0)r.h=ce.channel.rgb2hsl(r,"h");if(i===void 0)r.s=ce.channel.rgb2hsl(r,"s");if(s===void 0)r.l=ce.channel.rgb2hsl(r,"l")}_ensureRGB(){let r=this.data,{r:t,g:i,b:s}=r;if(t===void 0)r.r=ce.channel.hsl2rgb(r,"r");if(i===void 0)r.g=ce.channel.hsl2rgb(r,"g");if(s===void 0)r.b=ce.channel.hsl2rgb(r,"b")}get r(){let r=this.data,t=r.r;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"r")}get g(){let r=this.data,t=r.g;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"g")}get b(){let r=this.data,t=r.b;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"b")}get h(){let r=this.data,t=r.h;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"h")}get s(){let r=this.data,t=r.s;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"s")}get l(){let r=this.data,t=r.l;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"l")}get a(){return this.data.a}set r(r){this.type.set(er.RGB),this.changed=!0,this.data.r=r}set g(r){this.type.set(er.RGB),this.changed=!0,this.data.g=r}set b(r){this.type.set(er.RGB),this.changed=!0,this.data.b=r}set h(r){this.type.set(er.HSL),this.changed=!0,this.data.h=r}set s(r){this.type.set(er.HSL),this.changed=!0,this.data.s=r}set l(r){this.type.set(er.HSL),this.changed=!0,this.data.l=r}set a(r){this.changed=!0,this.data.a=r}}var Ou=Eu;var Ux=new Ou({r:0,g:0,b:0,a:0},"transparent"),$i=Ux;var Iu={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:(r)=>{if(r.charCodeAt(0)!==35)return;let t=r.match(Iu.re);if(!t)return;let i=t[1],s=parseInt(i,16),o=i.length,a=o%4===0,c=o>4,l=c?1:17,d=c?8:4,x=a?0:-1,f=c?255:15;return $i.set({r:(s>>d*(x+3)&f)*l,g:(s>>d*(x+2)&f)*l,b:(s>>d*(x+1)&f)*l,a:a?(s&f)*l/255:1},r)},stringify:(r)=>{let{r:t,g:i,b:s,a:o}=r;if(o<1)return`#${Ci[Math.round(t)]}${Ci[Math.round(i)]}${Ci[Math.round(s)]}${Ci[Math.round(o*255)]}`;else return`#${Ci[Math.round(t)]}${Ci[Math.round(i)]}${Ci[Math.round(s)]}`}},Hi=Iu;var Ca={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:(r)=>{let t=r.match(Ca.hueRe);if(t){let[,i,s]=t;switch(s){case"grad":return ce.channel.clamp.h(parseFloat(i)*0.9);case"rad":return ce.channel.clamp.h(parseFloat(i)*180/Math.PI);case"turn":return ce.channel.clamp.h(parseFloat(i)*360)}}return ce.channel.clamp.h(parseFloat(r))},parse:(r)=>{let t=r.charCodeAt(0);if(t!==104&&t!==72)return;let i=r.match(Ca.re);if(!i)return;let[,s,o,a,c,l]=i;return $i.set({h:Ca._hue2deg(s),s:ce.channel.clamp.s(parseFloat(o)),l:ce.channel.clamp.l(parseFloat(a)),a:c?ce.channel.clamp.a(l?parseFloat(c)/100:parseFloat(c)):1},r)},stringify:(r)=>{let{h:t,s:i,l:s,a:o}=r;if(o<1)return`hsla(${ce.lang.round(t)}, ${ce.lang.round(i)}%, ${ce.lang.round(s)}%, ${o})`;else return`hsl(${ce.lang.round(t)}, ${ce.lang.round(i)}%, ${ce.lang.round(s)}%)`}},ls=Ca;var ba={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:(r)=>{r=r.toLowerCase();let t=ba.colors[r];if(!t)return;return Hi.parse(t)},stringify:(r)=>{let t=Hi.stringify(r);for(let i in ba.colors)if(ba.colors[i]===t)return i;return}},Pl=ba;var $u={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:(r)=>{let t=r.charCodeAt(0);if(t!==114&&t!==82)return;let i=r.match($u.re);if(!i)return;let[,s,o,a,c,l,d,x,f]=i;return $i.set({r:ce.channel.clamp.r(o?parseFloat(s)*2.55:parseFloat(s)),g:ce.channel.clamp.g(c?parseFloat(a)*2.55:parseFloat(a)),b:ce.channel.clamp.b(d?parseFloat(l)*2.55:parseFloat(l)),a:x?ce.channel.clamp.a(f?parseFloat(x)/100:parseFloat(x)):1},r)},stringify:(r)=>{let{r:t,g:i,b:s,a:o}=r;if(o<1)return`rgba(${ce.lang.round(t)}, ${ce.lang.round(i)}, ${ce.lang.round(s)}, ${ce.lang.round(o)})`;else return`rgb(${ce.lang.round(t)}, ${ce.lang.round(i)}, ${ce.lang.round(s)})`}},cs=$u;var jx={format:{keyword:Pl,hex:Hi,rgb:cs,rgba:cs,hsl:ls,hsla:ls},parse:(r)=>{if(typeof r!=="string")return r;let t=Hi.parse(r)||cs.parse(r)||ls.parse(r)||Pl.parse(r);if(t)return t;throw Error(`Unsupported color format: "${r}"`)},stringify:(r)=>{if(!r.changed&&r.color)return r.color;if(r.type.is(er.HSL)||r.data.r===void 0)return ls.stringify(r);else if(r.a<1||!Number.isInteger(r.r)||!Number.isInteger(r.g)||!Number.isInteger(r.b))return cs.stringify(r);else return Hi.stringify(r)}},rr=jx;var Gx=(r,t)=>{let i=rr.parse(r);for(let s in t)i[s]=ce.channel.clamp[s](t[s]);return rr.stringify(i)},ka=Gx;var Xx=(r,t,i=0,s=1)=>{if(typeof r!=="number")return ka(r,{a:t});let o=$i.set({r:ce.channel.clamp.r(r),g:ce.channel.clamp.g(t),b:ce.channel.clamp.b(i),a:ce.channel.clamp.a(s)});return rr.stringify(o)},be=Xx;var Vx=(r,t)=>ce.lang.round(rr.parse(r)[t]),gt=Vx;var Kx=(r)=>{let{r:t,g:i,b:s}=rr.parse(r),o=0.2126*ce.channel.toLinear(t)+0.7152*ce.channel.toLinear(i)+0.0722*ce.channel.toLinear(s);return ce.lang.round(o)},Du=Kx;var Zx=(r)=>Du(r)>=0.5,Pu=Zx;var Qx=(r)=>!Pu(r),ae=Qx;var Jx=(r,t,i)=>{let s=rr.parse(r),o=s[t],a=ce.channel.clamp[t](o+i);if(o!==a)s[t]=a;return rr.stringify(s)},Qn=Jx;var t0=(r,t)=>Qn(r,"l",t),h=t0;var e0=(r,t)=>Qn(r,"l",-t),p=e0;var r0=(r,t)=>{let i=rr.parse(r),s={};for(let o in t){if(!t[o])continue;s[o]=i[o]+t[o]}return ka(r,s)},X=r0;var i0=(r,t,i=50)=>{let{r:s,g:o,b:a,a:c}=rr.parse(r),{r:l,g:d,b:x,a:f}=rr.parse(t),b=i/100,T=b*2-1,w=c-f,E=((T*w===-1?T:(T+w)/(1+T*w))+1)/2,P=1-E,W=s*E+l*P,H=o*E+d*P,V=a*E+x*P,Q=c*b+f*(1-b);return be(W,H,V,Q)},Ru=i0;var o0=(r,t=100)=>{let i=rr.parse(r);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,Ru(i,r,t)},ht=o0;/*! @license DOMPurify 3.4.17 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.17/LICENSE */function s0(r,t){this.v=r,this.k=t}function Nu(r,t){(t==null||t>r.length)&&(t=r.length);for(var i=0,s=Array(t);i<t;i++)s[i]=r[i];return s}function a0(r){if(Array.isArray(r))return r}function n0(r,t){var i=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(i!=null){var s,o,a,c,l=[],d=!0,x=!1;try{if(a=(i=i.call(r)).next,t===0){if(Object(i)!==i)return;d=!1}else for(;!(d=(s=a.call(i)).done)&&(l.push(s.value),l.length!==t);d=!0);}catch(f){x=!0,o=f}finally{try{if(!d&&i.return!=null&&(c=i.return(),Object(c)!==c))return}finally{if(x)throw o}}return l}}function l0(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */function h0(r,t){return a0(r)||n0(r,t)||c0(r,t)||l0()}function c0(r,t){if(r){if(typeof r=="string")return Nu(r,t);var i={}.toString.call(r).slice(8,-1);return i==="Object"&&r.constructor&&(i=r.constructor.name),i==="Map"||i==="Set"?Array.from(r):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Nu(r,t):void 0}}function Ta(r){var t,i;function s(a,c){try{var l=r[a](c),d=l.value,x=d instanceof s0;Promise.resolve(x?d.v:d).then(function(f){if(x){var b=a==="return"&&d.k?a:"next";if(!d.k||f.done)return s(b,f);f=r[b](f).value}o(!!l.done,f)},function(f){s("throw",f)})}catch(f){o(2,f)}}function o(a,c){a===2?t.reject(c):t.resolve({value:c,done:a}),(t=t.next)?s(t.key,t.arg):i=null}this._invoke=function(a,c){return new Promise(function(l,d){var x={key:a,arg:c,resolve:l,reject:d,next:null};i?i=i.next=x:(t=i=x,s(a,c))})},typeof r.return!="function"&&(this.return=void 0)}Ta.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},Ta.prototype.next=function(r){return this._invoke("next",r)},Ta.prototype.throw=function(r){return this._invoke("throw",r)},Ta.prototype.return=function(r){return this._invoke("return",r)};var{entries:td,setPrototypeOf:qu,isFrozen:u0,getPrototypeOf:ed,getOwnPropertyDescriptor:rd,freeze:ir,seal:ar,create:Po}=Object,id=typeof Reflect<"u"&&Reflect,{apply:Gl,construct:Xl}=id;if(!ir)ir=function(t){return t};if(!ar)ar=function(t){return t};if(!Gl)Gl=function(t,i){for(var s=arguments.length,o=Array(s>2?s-2:0),a=2;a<s;a++)o[a-2]=arguments[a];return t.apply(i,o)};if(!Xl)Xl=function(t){for(var i=arguments.length,s=Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];return new t(...s)};var bi=qe(Array.prototype.forEach);Array.prototype.indexOf;var d0=qe(Array.prototype.lastIndexOf),Wu=qe(Array.prototype.pop),us=qe(Array.prototype.push),p0=qe(Array.prototype.slice),f0=qe(Array.prototype.splice),No=Array.isArray,Rl=od(Set),Nl=qe(Set.prototype.add),Bs=qe(Set.prototype.has),Yi=qe(String.prototype.toLowerCase),ql=qe(String.prototype.toString),zu=qe(String.prototype.match),Fs=qe(String.prototype.replace),Hu=qe(String.prototype.indexOf),g0=qe(String.prototype.trim),m0=qe(Number.prototype.toString),y0=qe(Boolean.prototype.toString),Yu=typeof BigInt>"u"?null:qe(BigInt.prototype.toString),Uu=typeof Symbol>"u"?null:qe(Symbol.prototype.toString),vr=qe(Object.prototype.hasOwnProperty),Ms=qe(Object.prototype.toString),sr=qe(RegExp.prototype.test),ki=od(TypeError);function qe(r){return function(t){if(t instanceof RegExp)t.lastIndex=0;for(var i=arguments.length,s=Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];return Gl(r,t,s)}}function od(r){return function(){for(var t=arguments.length,i=Array(t),s=0;s<t;s++)i[s]=arguments[s];return Xl(r,i)}}function Oe(r,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yi;if(qu)qu(r,null);if(!No(t))return r;let s=t.length;while(s--){let o=t[s];if(typeof o==="string"){let a=i(o);if(a!==o){if(!u0(t))t[s]=a;o=a}}r[o]=!0}return r}function x0(r){for(let t=0;t<r.length;t++)if(!vr(r,t))r[t]=null;return r}function Or(r){let t=Po(null);for(let s of td(r)){var i=h0(s,2);let o=i[0],a=i[1];if(vr(r,o))if(No(a))t[o]=x0(a);else if(a&&typeof a==="object"&&a.constructor===Object)t[o]=Or(a);else t[o]=a}return t}function C0(r){switch(typeof r){case"string":return r;case"number":return m0(r);case"boolean":return y0(r);case"bigint":return Yu?Yu(r):"0";case"symbol":return Uu?Uu(r):"Symbol()";case"undefined":return Ms(r);case"function":case"object":{if(r===null)return Ms(r);let t=r,i=Ur(t,"toString");if(typeof i==="function"){let s=i(t);return typeof s==="string"?s:Ms(s)}return Ms(r)}default:return Ms(r)}}function Ur(r,t){while(r!==null){let s=rd(r,t);if(s){if(s.get)return qe(s.get);if(typeof s.value==="function")return qe(s.value)}r=ed(r)}function i(){return null}return i}function b0(r,t){while(r!==null){let i=rd(r,t);if(i)return i.get?qe(i.get):null;r=ed(r)}return null}function k0(r){try{return sr(r,""),!0}catch(t){return!1}}var ju=ir(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Wl=ir(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),zl=ir(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),S0=ir(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Hl=ir(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),T0=ir(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Gu=ir(["#text"]),Xu=ir(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Yl=ir(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Vu=ir(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),wa=ir(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),w0=ar(/{{[\w\W]*|^[\w\W]*}}/g),B0=ar(/<%[\w\W]*|^[\w\W]*%>/g),_0=ar(/\${[\w\W]*/g),v0=ar(/^data-[\-\w.\u00B7-\uFFFF]+$/),L0=ar(/^aria-[\-\w]+$/),Ku=ar(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),A0=ar(/^(?:\w+script|data):/i),F0=ar(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),M0=ar(/^html$/i),E0=ar(/^[a-z][.\w]*(-[.\w]+)+$/i),Ul=ar(/<[/\w!]/g),Zu=ar(/<[/\w]/g),O0=ar(/<\/no(script|embed|frames)/i),Qu=ar(/\/>/i),Ze={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},I0=ir(Oe({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),$0=function(){return typeof window>"u"?null:window},D0=function(t,i){if(typeof t!=="object"||typeof t.createPolicy!=="function")return null;let s=null,o="data-tt-policy-suffix";if(i&&i.hasAttribute(o))s=i.getAttribute(o);let a="dompurify"+(s?"#"+s:"");try{return t.createPolicy(a,{createHTML(c){return c},createScriptURL(c){return c}})}catch(c){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},Ju=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Di=function(t,i,s,o){return vr(t,i)&&No(t[i])?Oe(o.base?Or(o.base):{},t[i],o.transform):s},jl=function(t,i,s){let o=vr(t,i)?t[i]:void 0;return o&&typeof o==="object"?Or(o):s()};function sd(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$0(),t=(Yt)=>sd(Yt);if(t.version="3.4.17",t.removed=[],!r||!r.document||r.document.nodeType!==Ze.document||!r.Element)return t.isSupported=!1,t;let i=r.document,s=i,o=s.currentScript;r.DocumentFragment;let{HTMLTemplateElement:a,Node:c,Element:l,NodeFilter:d}=r;r.NamedNodeMap===void 0&&(r.NamedNodeMap||r.MozNamedAttrMap),r.HTMLFormElement;let{DOMParser:x,trustedTypes:f}=r,b=l.prototype,T=Ur(b,"cloneNode"),w=Ur(b,"remove"),v=Ur(b,"removeAttributeNode"),E=Ur(b,"nextSibling"),P=Ur(b,"childNodes"),W=Ur(b,"parentNode"),H=Ur(b,"shadowRoot"),V=Ur(b,"attributes"),Q=c&&c.prototype?Ur(c.prototype,"nodeType"):null,J=c&&c.prototype?Ur(c.prototype,"nodeName"):null,st=c&&c.prototype?Ur(c.prototype,"ownerDocument"):null,lt=function(Z){return Q?Q(Z):Z.nodeType},pt=function(Z){return J?J(Z):Z.nodeName},ft=b0(b,"namespaceURI"),wt=function(Z){return ft?ft(Z):Z.namespaceURI};if(typeof a==="function"){let Yt=i.createElement("template");if(Yt.content&&Yt.content.ownerDocument)i=Yt.content.ownerDocument}let _t,xt="",et,ot=!1,bt=0,it=function(){if(bt>0)throw ki('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Lt=function(Z){it(),bt++;try{return _t.createHTML(Z)}finally{bt--}},Et=function(Z){it(),bt++;try{return _t.createScriptURL(Z)}finally{bt--}},yt=function(){if(!ot)et=D0(f,o),ot=!0;return et},qt=i,{implementation:Wt,createNodeIterator:Xt,createDocumentFragment:oe,getElementsByTagName:ne}=qt,Kt=s.importNode,zt=Ju();t.isSupported=typeof td==="function"&&typeof W==="function"&&Wt&&Wt.createHTMLDocument!==void 0;let te=w0,ee=B0,de=_0,me=v0,Te=L0,Ve=A0,gi=F0,qr=E0,Ai=Ku,Re=null,Mr=Oe({},[...ju,...Wl,...zl,...Hl,...Gu]),$e=null,ri=Oe({},[...Xu,...Yl,...Vu,...wa]),or=Object.seal(Po(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),zr=null,Fi=null,Cr=Object.seal(Po(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Er=!0,mi=!0,ii=!1,yi=!0,kr=!1,B=!0,mt=!1,It=!1,Dt=null,Mt=null,G=!1,vt=!1,At=!1,Ht=!1,Ut=!0,jt=!1,Ot="user-content-",Gt=!0,ie=!1,se=null,le={},ge=null,Se=Oe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),Gr=null,Mi=Oe({},["audio","video","img","source","image","track"]),Ei=null,lu=Oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pa="http://www.w3.org/1998/Math/MathML",fa="http://www.w3.org/2000/svg",oi="http://www.w3.org/1999/xhtml",Mo=oi,nl=!1,ll=null,Sx=Oe({},[pa,fa,oi],ql),hu=ir(["mi","mo","mn","ms","mtext"]),cl=Oe({},hu),cu=ir(["annotation-xml"]),ul=Oe({},cu),Tx=Oe({},["title","style","font","a","script"]),ss=null,wx=["application/xhtml+xml","text/html"],Bx="text/html",je=null,Oo=null,_x=i.createElement("form"),uu=function(Z){return Z instanceof RegExp||Z instanceof Function},Sl=function(){let Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Oo&&Oo===Z)return;if(!Z||typeof Z!=="object")Z={};Z=Or(Z),ss=wx.indexOf(Z.PARSER_MEDIA_TYPE)===-1?Bx:Z.PARSER_MEDIA_TYPE,je=ss==="application/xhtml+xml"?ql:Yi,Re=Di(Z,"ALLOWED_TAGS",Mr,{transform:je}),$e=Di(Z,"ALLOWED_ATTR",ri,{transform:je}),ll=Di(Z,"ALLOWED_NAMESPACES",Sx,{transform:ql}),Ei=Di(Z,"ADD_URI_SAFE_ATTR",lu,{transform:je,base:lu}),Gr=Di(Z,"ADD_DATA_URI_TAGS",Mi,{transform:je,base:Mi}),ge=Di(Z,"FORBID_CONTENTS",Se,{transform:je}),zr=Di(Z,"FORBID_TAGS",Or({}),{transform:je}),Fi=Di(Z,"FORBID_ATTR",Or({}),{transform:je}),le=vr(Z,"USE_PROFILES")?Z.USE_PROFILES&&typeof Z.USE_PROFILES==="object"?Or(Z.USE_PROFILES):Z.USE_PROFILES:!1,Er=Z.ALLOW_ARIA_ATTR!==!1,mi=Z.ALLOW_DATA_ATTR!==!1,ii=Z.ALLOW_UNKNOWN_PROTOCOLS||!1,yi=Z.ALLOW_SELF_CLOSE_IN_ATTR!==!1,kr=Z.SAFE_FOR_TEMPLATES||!1,B=Z.SAFE_FOR_XML!==!1,mt=Z.WHOLE_DOCUMENT||!1,vt=Z.RETURN_DOM||!1,At=Z.RETURN_DOM_FRAGMENT||!1,Ht=Z.RETURN_TRUSTED_TYPE||!1,G=Z.FORCE_BODY||!1,Ut=Z.SANITIZE_DOM!==!1,jt=Z.SANITIZE_NAMED_PROPS||!1,Gt=Z.KEEP_CONTENT!==!1,ie=Z.IN_PLACE||!1,Ai=k0(Z.ALLOWED_URI_REGEXP)?Z.ALLOWED_URI_REGEXP:Ku,Mo=typeof Z.NAMESPACE==="string"?Z.NAMESPACE:oi,cl=jl(Z,"MATHML_TEXT_INTEGRATION_POINTS",()=>Oe({},hu)),ul=jl(Z,"HTML_INTEGRATION_POINTS",()=>Oe({},cu));let ct=jl(Z,"CUSTOM_ELEMENT_HANDLING",()=>Po(null));if(or=Po(null),vr(ct,"tagNameCheck")&&uu(ct.tagNameCheck))or.tagNameCheck=ct.tagNameCheck;if(vr(ct,"attributeNameCheck")&&uu(ct.attributeNameCheck))or.attributeNameCheck=ct.attributeNameCheck;if(vr(ct,"allowCustomizedBuiltInElements")&&typeof ct.allowCustomizedBuiltInElements==="boolean")or.allowCustomizedBuiltInElements=ct.allowCustomizedBuiltInElements;if(ar(or),kr)mi=!1;if(At)vt=!0;if(le){if(Re=Oe({},Gu),$e=Po(null),le.html===!0)Oe(Re,ju),Oe($e,Xu);if(le.svg===!0)Oe(Re,Wl),Oe($e,Yl),Oe($e,wa);if(le.svgFilters===!0)Oe(Re,zl),Oe($e,Yl),Oe($e,wa);if(le.mathMl===!0)Oe(Re,Hl),Oe($e,Vu),Oe($e,wa)}if(Cr.tagCheck=null,Cr.attributeCheck=null,vr(Z,"ADD_TAGS")){if(typeof Z.ADD_TAGS==="function")Cr.tagCheck=Z.ADD_TAGS;else if(No(Z.ADD_TAGS)){if(Re===Mr)Re=Or(Re);Oe(Re,Z.ADD_TAGS,je)}}if(vr(Z,"ADD_ATTR")){if(typeof Z.ADD_ATTR==="function")Cr.attributeCheck=Z.ADD_ATTR;else if(No(Z.ADD_ATTR)){if($e===ri)$e=Or($e);Oe($e,Z.ADD_ATTR,je)}}if(vr(Z,"ADD_FORBID_CONTENTS")&&No(Z.ADD_FORBID_CONTENTS)){if(ge===Se)ge=Or(ge);Oe(ge,Z.ADD_FORBID_CONTENTS,je)}if(Gt)Re["#text"]=!0;if(mt)Oe(Re,["html","head","body"]);if(Re.table)Oe(Re,["tbody"]),delete zr.tbody;if(Z.TRUSTED_TYPES_POLICY){if(typeof Z.TRUSTED_TYPES_POLICY.createHTML!=="function")throw ki('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Z.TRUSTED_TYPES_POLICY.createScriptURL!=="function")throw ki('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let Rt=_t;_t=Z.TRUSTED_TYPES_POLICY;try{xt=Lt("")}catch(Nt){throw _t=Rt,Nt}}else if(Z.TRUSTED_TYPES_POLICY===null)_t=void 0,xt="";else{if(_t===void 0)_t=yt();if(_t&&typeof xt==="string")xt=Lt("")}if(ir)ir(Z);Oo=Z},du=Oe({},[...Wl,...zl,...S0]),pu=Oe({},[...Hl,...T0]),vx=function(Z,ct,Rt){if(ct.namespaceURI===oi)return Z==="svg";if(ct.namespaceURI===pa)return Z==="svg"&&(Rt==="annotation-xml"||cl[Rt]);return Boolean(du[Z])},Lx=function(Z,ct,Rt){if(ct.namespaceURI===oi)return Z==="math";if(ct.namespaceURI===fa)return Z==="math"&&ul[Rt];return Boolean(pu[Z])},Ax=function(Z,ct,Rt){if(ct.namespaceURI===fa&&!ul[Rt])return!1;if(ct.namespaceURI===pa&&!cl[Rt])return!1;return!pu[Z]&&(Tx[Z]||!du[Z])},Fx=function(Z){let ct=wt(Z),Rt=Yi(pt(Z)),Nt=W(Z),ue,ke;if(Nt&<(Nt)===Ze.element)ue={namespaceURI:wt(Nt)},ke=Yi(pt(Nt));else ue={namespaceURI:Mo},ke="template";if(!ll[ct])return!1;if(ct===fa)return vx(Rt,ue,ke);if(ct===pa)return Lx(Rt,ue,ke);if(ct===oi)return Ax(Rt,ue,ke);if(ss==="application/xhtml+xml"&&ll[ct])return!0;return!1},Oi=function(Z){us(t.removed,{element:Z});try{W(Z).removeChild(Z)}catch(ct){if(w(Z),!W(Z))throw ki("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},fu=function(Z,ct,Rt){try{v(Z,ct)}catch(Nt){try{Z.removeAttribute(Rt)}catch(ue){}}},Bl=function(Z){Ll(Z);let ct=P(Z);if(ct)bi(p0(ct),(Nt)=>{try{w(Nt)}catch(ue){}});let Rt=lt(Z)===Ze.element?V(Z):null;if(Rt)for(let Nt=Rt.length-1;Nt>=0;--Nt){let ue=Rt[Nt],ke=ue&&ue.name;if(typeof ke==="string")fu(Z,ue,ke)}},Io=function(Z,ct,Rt){if(!Rt)try{Rt=ct.getAttributeNode(Z)}catch(Nt){Rt=null}us(t.removed,{attribute:Rt||null,from:ct});try{if(Rt)v(ct,Rt);else ct.removeAttribute(Z)}catch(Nt){try{ct.removeAttribute(Z)}catch(ue){}}if(Z==="is")if(vt||At)try{Oi(ct)}catch(Nt){}else try{ct.setAttribute(Z,"")}catch(Nt){}},gu=function(Z){let ct=V(Z);if(!ct)return;for(let Rt=ct.length-1;Rt>=0;--Rt){let Nt=ct[Rt],ue=Nt&&Nt.name;if(typeof ue!=="string"||$e[je(ue)])continue;fu(Z,Nt,ue)}},_l=function(Z,ct){let Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Nt=[Z];while(Nt.length>0){let ue=Nt.pop();if(ct(ue)===!1)continue;if(Rt&<(ue)===Ze.element){let Le=H(ue);if(Ii(Le))Nt.push(Le)}let ke=P(ue);if(ke)for(let Le=ke.length-1;Le>=0;--Le)Nt.push(ke[Le])}},Ll=function(Z){_l(Z,(ct)=>{if(lt(ct)===Ze.element)gu(ct)})},Al=function(Z){let ct=[];return _l(Z,(Rt)=>{ct.push(Rt)},!0),ct},Mx=function(Z,ct){let Rt=Rl();bi(Al(Z),(Nt)=>{if(lt(Nt)===Ze.element)Nl(Rt,Nt)}),bi(ct,(Nt)=>{if(lt(Nt)===Ze.element&&!Bs(Rt,Nt))gu(Nt)})},mu=function(Z,ct){let Rt=!1;return bi(t.removed,(Nt)=>{if(Nt.element)Rt=Rt||Nt.element===Z,Ll(Nt.element)}),Mx(Z,ct),Rt},Ex=8,Ox=function(Z,ct){let Rt=se,Nt=null,ue=()=>{if(!Nt)Nt=Rl(),bi(ct,(ke)=>{Nl(Nt,ke)});return Nt};for(let ke=0;;ke++){let Le=Al(Z),tr=[Z],si=!1;if(bi(Le,(Sr)=>{if(lt(Sr)===Ze.documentFragment)us(tr,Sr);else if(!si&&!Bs(Rt,Sr))si=Bs(ue(),Sr)}),!si)return;if(ke>=Ex)throw ki("the tree kept changing during in-place sanitization; refusing to return it");bi(tr,(Sr,Br)=>{Ix(Sr,Br>0,Z,ue())})}},Ix=function(Z,ct,Rt,Nt){let ue=Fl(Z),ke;while(ke=ue.nextNode()){if(!Bs(Nt,ke)||Bs(se,ke))continue;if(ct)Vr(zt.uponSanitizeShadowNode,ke,null);if(El(ke,Rt),Ol(ke,Rt),Ii(ke.content))ns(ke.content)}},$x=function(Z){if(se)Nl(se,Z)},yu=function(Z,ct){if(!B)return!1;if(Z==="patchsrc")return!0;return Z==="for"&&ct!=="label"&&ct!=="output"},Dx=function(Z){if(!B)return;_l(Z,(ct)=>{let Rt=lt(ct);if(Rt===Ze.processingInstruction||Rt===Ze.comment&&sr(Zu,ct.data)){try{w(ct)}catch(Nt){}return!1}if(Rt===Ze.element){let Nt=ct,ue=je(pt(ct));try{if(Nt.hasAttribute&&Nt.hasAttribute("patchsrc"))Nt.removeAttribute("patchsrc");if(Nt.hasAttribute&&Nt.hasAttribute("for")&&yu("for",ue))Nt.removeAttribute("for")}catch(ke){}}return!0})},xu=function(Z){let ct=null,Rt=null;if(G)Z="<remove></remove>"+Z;else{let ke=zu(Z,/^[\r\n\t ]+/);Rt=ke&&ke[0]}if(ss==="application/xhtml+xml"&&Mo===oi)Z='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Z+"</body></html>";let Nt=_t?Lt(Z):Z;if(Mo===oi)try{ct=new x().parseFromString(Nt,ss)}catch(ke){}if(!ct||!ct.documentElement){ct=Wt.createDocument(Mo,"template",null);try{ct.documentElement.innerHTML=nl?xt:Nt}catch(ke){}}let ue=ct.body||ct.documentElement;if(Z&&Rt)ue.insertBefore(i.createTextNode(Rt),ue.childNodes[0]||null);if(Mo===oi)return ne.call(ct,mt?"html":"body")[0];return mt?ct.documentElement:ue},Fl=function(Z){let ct=st?st(Z):Z.ownerDocument;return Xt.call(ct||Z,Z,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},ga=function(Z){return Z=Fs(Z,te," "),Z=Fs(Z,ee," "),Z=Fs(Z,de," "),Z},Ml=function(Z){var ct;Cu(Z);let Rt=(ct=Z.querySelectorAll)===null||ct===void 0?void 0:ct.call(Z,"template");if(Rt)bi(Rt,(Nt)=>{if(Ii(Nt.content))Ml(Nt.content)})},Cu=function(Z){Z.normalize();let ct=st?st(Z):Z.ownerDocument,Rt=Xt.call(ct||Z,Z,d.SHOW_TEXT|d.SHOW_COMMENT|d.SHOW_CDATA_SECTION|d.SHOW_PROCESSING_INSTRUCTION,null),Nt=Rt.nextNode();while(Nt)Nt.data=ga(Nt.data),Nt=Rt.nextNode()},ma=function(Z){let ct=J?J(Z):null;if(typeof ct!=="string")return!1;if(je(ct)!=="form")return!1;return typeof Z.nodeName!=="string"||typeof Z.textContent!=="string"||typeof Z.removeChild!=="function"||Z.attributes!==V(Z)||typeof Z.removeAttribute!=="function"||typeof Z.removeAttributeNode!=="function"||typeof Z.getAttributeNode!=="function"||typeof Z.setAttribute!=="function"||typeof Z.namespaceURI!=="string"||typeof Z.insertBefore!=="function"||typeof Z.hasChildNodes!=="function"||Z.nodeType!==Q(Z)||Z.childNodes!==P(Z)},Ii=function(Z){if(!Q||typeof Z!=="object"||Z===null)return!1;try{return Q(Z)===Ze.documentFragment}catch(ct){return!1}},as=function(Z){if(!Q||typeof Z!=="object"||Z===null)return!1;try{return typeof Q(Z)==="number"}catch(ct){return!1}};function Vr(Yt,Z,ct){if(Yt.length===0)return;bi(Yt,(Rt)=>{Rt.call(t,Z,ct,Oo)})}let Px=function(Z,ct){if(B&&Z.hasChildNodes()&&!as(Z.firstElementChild)&&sr(Ul,Z.textContent)&&sr(Ul,Z.innerHTML))return!0;if(B&&I0[ct]&<(Z)===Ze.element&&wt(Z)===oi&&(as(Z.firstElementChild)||typeof Z.textContent==="string"&&sr(Ul,Z.textContent)))return!0;if(Z.nodeType===Ze.processingInstruction)return!0;if(B&&Z.nodeType===Ze.comment&&sr(Zu,Z.data))return!0;return!1},ya=function(Z,ct){if(Z instanceof RegExp)return sr(Z,ct);if(Z instanceof Function){for(var Rt=arguments.length,Nt=Array(Rt>2?Rt-2:0),ue=2;ue<Rt;ue++)Nt[ue-2]=arguments[ue];return Boolean(Z(ct,...Nt))}return!1},Rx=function(Z,ct,Rt){if(!zr[ct]&&Su(ct)&&ya(or.tagNameCheck,ct))return!1;if(Gt&&!ge[ct]&&!ge[Yi(ct)]){let Nt=W(Z),ue=P(Z);if(ue&&Nt){let ke=ue.length;for(let Le=ke-1;Le>=0;--Le){let tr=Z===Rt?T(ue[Le],!0):ue[Le];Nt.insertBefore(tr,E(Z))}}}return Oi(Z),!0},bu=function(Z,ct,Rt,Nt){if(Z.length===0)return ct;return ct===Rt||ct===Nt?Or(ct):ct},$o=function(Z,ct){if(Z===ct||W(Z)!==null)return!1;if(ie)Ll(Z);return!0},El=function(Z,ct){if($x(Z),Vr(zt.beforeSanitizeElements,Z,null),$o(Z,ct))return!0;if(ma(Z))return Oi(Z),!0;let Rt=je(pt(Z));if(Re=bu(zt.uponSanitizeElement,Re,Mr,Dt),Vr(zt.uponSanitizeElement,Z,{tagName:Rt,allowedTags:Re}),$o(Z,ct))return!0;if(Px(Z,Rt))return Oi(Z),!0;if(zr[Rt]||!(Cr.tagCheck instanceof Function&&Cr.tagCheck(Rt))&&!Re[Rt]){let Nt=Rx(Z,Rt,ct);if(Nt===!1){if(Vr(zt.afterSanitizeElements,Z,null),$o(Z,ct))return!0}return Nt}if(lt(Z)===Ze.element&&!Fx(Z))return Oi(Z),!0;if((Rt==="noscript"||Rt==="noembed"||Rt==="noframes")&&sr(O0,Z.innerHTML))return Oi(Z),!0;if(kr&&Z.nodeType===Ze.text){let Nt=ga(Z.textContent);if(Z.textContent!==Nt)us(t.removed,{element:Z.cloneNode()}),Z.textContent=Nt}return Vr(zt.afterSanitizeElements,Z,null),$o(Z,ct)},ku=function(Z,ct,Rt){if(Fi[ct])return!1;if(yu(ct,Z))return!1;if(Ut&&(ct==="id"||ct==="name")&&((Rt in i)||(Rt in _x)))return!1;let Nt=$e[ct]||Cr.attributeCheck instanceof Function&&Cr.attributeCheck(ct,Z);if(mi&&sr(me,ct))return!0;if(Er&&sr(Te,ct))return!0;if(!Nt)return Su(Z)&&ya(or.tagNameCheck,Z)&&ya(or.attributeNameCheck,ct,Z)||ct==="is"&&or.allowCustomizedBuiltInElements&&ya(or.tagNameCheck,Rt);if(Ei[ct])return!0;if(sr(Ai,Fs(Rt,gi,"")))return!0;if((ct==="src"||ct==="xlink:href"||ct==="href")&&Z!=="script"&&Hu(Rt,"data:")===0&&Gr[Z])return!0;if(ii&&!sr(Ve,Fs(Rt,gi,"")))return!0;return!Rt},Nx=Oe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Su=function(Z){return!Nx[Yi(Z)]&&sr(qr,Z)},qx=function(Z,ct,Rt,Nt){if(_t&&typeof f==="object"&&typeof f.getAttributeType==="function"&&!Rt)switch(f.getAttributeType(Z,ct)){case"TrustedHTML":return Lt(Nt);case"TrustedScriptURL":return Et(Nt)}return Nt},Wx=function(Z,ct,Rt,Nt){try{if(Rt)Z.setAttributeNS(Rt,ct,Nt);else Z.setAttribute(ct,Nt);if(ma(Z))return Oi(Z),!1;return!0}catch(ue){return Io(ct,Z),!1}},Tu=function(Z,ct){if(B&&sr(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,ct))return!0;return Yi(Z)==="attributename"&&zu(ct,"href")!==null},Ol=function(Z,ct){if(Vr(zt.beforeSanitizeAttributes,Z,null),$o(Z,ct))return;let Rt=Z.attributes;if(!Rt||ma(Z))return;$e=bu(zt.uponSanitizeAttribute,$e,ri,Mt);let Nt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:$e,forceKeepAttr:void 0},ue=Rt.length,ke=je(Z.nodeName);while(ue--){let Le=Rt[ue],{name:tr,namespaceURI:si,value:Sr}=Le,Br=je(tr),Do=Sr,_r=tr==="value"?Do:g0(Do),wu=!1;if(Nt.attrName=Br,Nt.attrValue=_r,Nt.keepAttr=!0,Nt.forceKeepAttr=void 0,Vr(zt.uponSanitizeAttribute,Z,Nt),_r=Nt.attrValue,jt&&(Br==="id"||Br==="name")&&Hu(_r,Ot)!==0)Io(tr,Z,Le),_r=Ot+_r,wu=!0;if(Tu(tr,_r)){Io(tr,Z,Le);continue}if(Nt.forceKeepAttr)continue;if(!Nt.keepAttr){Io(tr,Z,Le);continue}if(!yi&&sr(Qu,_r)){Io(tr,Z,Le);continue}if(kr)_r=ga(_r);if(!ku(ke,Br,_r)){Io(tr,Z,Le);continue}if(_r=qx(ke,Br,si,_r),_r!==Do){if(Wx(Z,tr,si,_r)&&wu)Wu(t.removed)}}Vr(zt.afterSanitizeAttributes,Z,null),$o(Z,ct)},ns=function(Z){let ct=null,Rt=Fl(Z);Vr(zt.beforeSanitizeShadowDOM,Z,null);while(ct=Rt.nextNode()){if(Vr(zt.uponSanitizeShadowNode,ct,null),El(ct,Z),Ol(ct,Z),Ii(ct.content))ns(ct.content);if(lt(ct)===Ze.element){let Nt=H(ct);if(Ii(Nt))Il(Nt),ns(Nt)}}if(kr)Cu(Z);Vr(zt.afterSanitizeShadowDOM,Z,null)},Il=function(Z){let ct=[{node:Z,shadow:null}];while(ct.length>0){let Rt=ct.pop();if(Rt.shadow){ns(Rt.shadow);continue}let Nt=Rt.node,ue=lt(Nt)===Ze.element,ke=P(Nt);if(ke)for(let Le=ke.length-1;Le>=0;--Le)ct.push({node:ke[Le],shadow:null});if(ue){let Le=J?J(Nt):null;if(typeof Le==="string"&&je(Le)==="template"){let tr=Nt.content;if(Ii(tr))ct.push({node:tr,shadow:null})}}if(ue){let Le=H(Nt);if(Ii(Le))ct.push({node:null,shadow:Le},{node:Le,shadow:null})}}};return t.sanitize=function(Yt){let Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ct=null,Rt=null,Nt=null,ue=null;if(nl=!Yt,nl)Yt="<!-->";if(typeof Yt!=="string"&&!as(Yt)){if(Yt=C0(Yt),typeof Yt!=="string")throw ki("dirty is not a string, aborting")}if(!t.isSupported)return Yt;if(It)Re=Dt,$e=Mt;else Sl(Z);if(zt.uponSanitizeElement.length>0||zt.uponSanitizeAttribute.length>0)Re=Or(Re);if(zt.uponSanitizeAttribute.length>0)$e=Or($e);t.removed=[];let ke=ie&&typeof Yt!=="string"&&as(Yt),Le=[],tr=se;if(ke){Dx(Yt);let Br=pt(Yt);if(typeof Br==="string"){let Do=je(Br);if(!Re[Do]||zr[Do])throw Bl(Yt),ki("root node is forbidden and cannot be sanitized in-place")}if(ma(Yt))throw Bl(Yt),ki("root node is clobbered and cannot be sanitized in-place");Le=Al(Yt),se=Rl()}else if(as(Yt)){if(ct=xu("<!---->"),Rt=ct.ownerDocument.importNode(Yt,!0),Rt.nodeType===Ze.element&&Rt.nodeName==="BODY")ct=Rt;else if(Rt.nodeName==="HTML")ct=Rt;else ct.appendChild(Rt);Il(ct)}else{if(!vt&&!kr&&!mt&&Yt.indexOf("<")===-1)return _t&&Ht?Lt(Yt):Yt;if(ct=xu(Yt),!ct)return vt?null:Ht?xt:""}if(ct&&G)Oi(ct.firstChild);let si=ke?Yt:ct;try{if(ke)Il(Yt);let Br=Fl(si);while(Nt=Br.nextNode())if(El(Nt,si),Ol(Nt,si),Ii(Nt.content))ns(Nt.content);if(ke)Ox(Yt,Le)}catch(Br){if(ke)Bl(Yt),mu(Yt,Le);throw Br}finally{se=tr}if(ke){if(mu(Yt,Le))throw ki("a node selected for removal could not be safely returned; refusing to sanitize in place");if(kr)Ml(Yt);return Yt}if(vt){if(kr)Ml(ct);if(At){ue=oe.call(ct.ownerDocument);while(ct.firstChild)ue.appendChild(ct.firstChild)}else ue=ct;if($e.shadowroot||$e.shadowrootmode)ue=Kt.call(s,ue,!0);return ue}let Sr=mt?ct.outerHTML:ct.innerHTML;if(mt&&Re["!doctype"]&&ct.ownerDocument&&ct.ownerDocument.doctype&&ct.ownerDocument.doctype.name&&sr(M0,ct.ownerDocument.doctype.name))Sr="<!DOCTYPE "+ct.ownerDocument.doctype.name+`>
|
|
3
3
|
`+Sr;if(kr)Sr=ga(Sr);return _t&&Ht?Lt(Sr):Sr},t.setConfig=function(){let Yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Sl(Yt),It=!0,Dt=Re,Mt=$e},t.clearConfig=function(){Oo=null,It=!1,Dt=null,Mt=null,_t=et,xt=""},t.isValidAttribute=function(Yt,Z,ct){if(!Oo)Sl({});let Rt=je(Yt),Nt=je(Z);if(typeof ct==="string"&&(Tu(Z,ct)||!yi&&sr(Qu,ct)))return!1;return ku(Rt,Nt,ct)},t.addHook=function(Yt,Z){if(typeof Z!=="function")return;if(!vr(zt,Yt))return;us(zt[Yt],Z)},t.removeHook=function(Yt,Z){if(!vr(zt,Yt))return;if(Z!==void 0){let ct=d0(zt[Yt],Z);return ct===-1?void 0:f0(zt[Yt],ct,1)[0]}return Wu(zt[Yt])},t.removeHooks=function(Yt){if(!vr(zt,Yt))return;zt[Yt]=[]},t.removeAllHooks=function(){zt=Ju()},t}var Pe=sd();var qo=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,za=/\s/,P0=e((r)=>{let t="",i=0,s=0;while(s<r.length){let o=r.indexOf("%%",s);if(o===-1)break;let a=r.indexOf(`
|
|
4
4
|
`,o);if(a===-1)break;let c=o;while(c>i&&za.test(r[c-1]))c--;t+=r.slice(i,c)+`
|
|
@@ -299,5 +299,5 @@ ${o.join(`
|
|
|
299
299
|
L0,20`)},"requirement_arrow"),VT=e((r,t,i)=>{let s=k(),{themeVariables:o}=s,{strokeWidth:a}=o;r.append("defs").append("marker").attr("id",i+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${a}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
|
|
300
300
|
L20,10
|
|
301
301
|
M20,10
|
|
302
|
-
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),KT=e((r,t,i)=>{let s=r.append("defs").append("marker").attr("id",i+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),ZT=e((r,t,i)=>{let s=k(),{themeVariables:o}=s,{strokeWidth:a}=o,c=r.append("defs").append("marker").attr("id",i+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");c.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),c.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),c.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),c.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),QT=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),JT=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),tw=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),ew={extension:FT,composition:MT,aggregation:ET,dependency:OT,lollipop:IT,point:$T,circle:DT,cross:PT,barb:RT,barbNeo:NT,hierarchy:QT,only_one:qT,zero_or_one:WT,one_or_more:zT,zero_or_more:HT,only_one_neo:YT,zero_or_one_neo:UT,one_or_more_neo:jT,zero_or_more_neo:GT,requirement_arrow:XT,requirement_contains:KT,requirement_arrow_neo:VT,requirement_contains_neo:ZT,openArrow:JT,hollowCircle:tw},xn=AT;var rw={common:y,getConfig:k,insertCluster:gr,insertEdge:br,insertEdgeLabel:$t,insertMarkers:xn,insertNode:Ft,interpolateToCurve:Fn,labelHelper:U,log:n,positionEdgeLabel:yn},iw=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],da=Object.create(null),Rs=e((r)=>{for(let t of r)da[t.name]=t},"registerLayoutLoaders"),ow=e(()=>{let r=e(async()=>await (_("
|
|
302
|
+
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),KT=e((r,t,i)=>{let s=r.append("defs").append("marker").attr("id",i+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),ZT=e((r,t,i)=>{let s=k(),{themeVariables:o}=s,{strokeWidth:a}=o,c=r.append("defs").append("marker").attr("id",i+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");c.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),c.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),c.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),c.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),QT=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),JT=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),tw=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),ew={extension:FT,composition:MT,aggregation:ET,dependency:OT,lollipop:IT,point:$T,circle:DT,cross:PT,barb:RT,barbNeo:NT,hierarchy:QT,only_one:qT,zero_or_one:WT,one_or_more:zT,zero_or_more:HT,only_one_neo:YT,zero_or_one_neo:UT,one_or_more_neo:jT,zero_or_more_neo:GT,requirement_arrow:XT,requirement_contains:KT,requirement_arrow_neo:VT,requirement_contains_neo:ZT,openArrow:JT,hollowCircle:tw},xn=AT;var rw={common:y,getConfig:k,insertCluster:gr,insertEdge:br,insertEdgeLabel:$t,insertMarkers:xn,insertNode:Ft,interpolateToCurve:Fn,labelHelper:U,log:n,positionEdgeLabel:yn},iw=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],da=Object.create(null),Rs=e((r)=>{for(let t of r)da[t.name]=t},"registerLayoutLoaders"),ow=e(()=>{let r=e(async()=>await (_("188pnf8b"),import("./elk-O5DQBFGD.188pnf8b.js")),"loader");return[{name:"elk",loader:r,algorithm:"elk.layered"},...iw.map((t)=>({name:t,loader:r,algorithm:t}))]},"elkLayoutLoaders"),sw=e(()=>{Rs([{name:"dagre",loader:e(async()=>await (_("k7b2vmwy"),import("./dagre-KIHZ2IZ3.k7b2vmwy.js")),"loader")},{name:"swimlane",loader:e(async()=>await (_("cn1pz0jc"),import("./swimlanes-YQL5WMAO.cn1pz0jc.js")),"loader")},{name:"grid",loader:e(async()=>await (_("8xqrr45y"),import("./grid-E2QIVN74.8xqrr45y.js")),"loader")},{name:"layered",loader:e(async()=>await (_("2kz294jj"),import("./render-VIF2ZAQL.2kz294jj.js")),"loader")},{name:"cose-bilkent",loader:e(async()=>await (_("9t42zmky"),import("./cose-bilkent-JH36ORCC.9t42zmky.js")),"loader")},...ow()])},"registerDefaultLayoutLoaders");sw();var Ae=e(async(r,t)=>{if(!Object.hasOwn(da,r.layoutAlgorithm))throw Error(`Unknown layout algorithm: ${r.layoutAlgorithm}`);if(r.diagramId)for(let a of r.nodes){let c=a.domId||a.id;a.domId=`${r.diagramId}-${c}`}let i=da[r.layoutAlgorithm],s=await i.loader();no(t,r.config);let o=await s.render(r,t,rw,{algorithm:i.algorithm});return sx(t.node()),o},"render"),nu="dagre",_e=e((r="",{fallback:t=nu}={})=>{if(Object.hasOwn(da,r))return r;for(let i of[t,nu])if(Object.hasOwn(da,i))return n.warn(`Layout algorithm ${r} is not registered. Using ${i} as fallback.`),i;throw Error(`Neither layout algorithm ${r}, ${t}, nor ${nu} is registered.`)},"getRegisteredLayoutAlgorithm");
|
|
303
303
|
export{e,dr,Qi,n,Sa,be,gt,ae,Qn,h,p,Pe,ds,fs,Wr,Zn,Zi,dl,fe,Me,fr,F,Ea,Aa,Lr,Rr,hs,Ir,kt,Ji,fl,hl,pl,ps,ms,k,ml,Jn,gl,Ne,hn,q,gs,hr,Ce,ea,ta,y,j,Tt,eo,bl,to,A,L,I,R,M,O,D,u,Pt,Kr,ra,_a,ro,m,Qt,pr,La,vl,Y,ut,dt,no,Ra,C,Ia,ve,he,pe,Ct,tt,rt,bs,mr,nt,pn,Yr,mn,ao,Ma,Na,Da,Oa,io,oo,so,lo,co,uo,fo,ho,po,mo,go,bo,vo,yo,xo,wo,ko,gn,Zt,na,Pa,To,vs,yl,Co,ys,xs,Xr,Ba,at,Fa,So,ws,Qe,K,z,xl,Jt,We,Eo,Ao,ks,Be,g,U,N,_o,S,$a,aa,Bt,Ft,wl,kl,St,Ts,gr,Tl,we,Lo,Cs,bn,Ss,Es,Qr,As,Ro,ia,vn,Ue,Cl,_s,$t,Ls,yn,br,xn,Rs,Ae,_e};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e}from"./index.
|
|
1
|
+
import{e}from"./index.mjfjqm0b.js";var Br=class{constructor(t){this.init=t,this.records=this.init()}static{e(this,"ImperativeState")}reset(){this.records=this.init()}};
|
|
2
2
|
export{Br};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e,hn,m,pn}from"./index.
|
|
1
|
+
import{e,hn,m,pn}from"./index.mjfjqm0b.js";import{Fe}from"./index.5vcex75v.js";var o=Fe(pn(),1);var _r=e((s,t)=>{let r=s.append("rect");if(r.attr("x",t.x),r.attr("y",t.y),r.attr("fill",t.fill),r.attr("stroke",t.stroke),r.attr("width",t.width),r.attr("height",t.height),t.name)r.attr("name",t.name);if(t.rx)r.attr("rx",t.rx);if(t.ry)r.attr("ry",t.ry);if(t.attrs!==void 0)for(let a in t.attrs)r.attr(a,t.attrs[a]);if(t.class)r.attr("class",t.class);return r},"drawRect"),Ca=e((s,t)=>{let r={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};_r(s,r).lower()},"drawBackgroundRect"),ul=e((s,t)=>{let r=t.text.replace(hn," "),a=s.append("text");if(a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class)a.attr("class",t.class);let i=a.append("tspan");return i.attr("x",t.x+t.textMargin*2),i.text(r),a},"drawText"),Ki=e((s,t,r,a)=>{let i=s.append("image");i.attr("x",t),i.attr("y",r);let n=o.sanitizeUrl(a);i.attr("xlink:href",n)},"drawImage"),Yi=e((s,t,r,a)=>{let i=s.append("use");i.attr("x",t),i.attr("y",r);let n=o.sanitizeUrl(a);i.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),ct=e(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),Xi=e(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),Xt=e(()=>{let s=m(".mermaidTooltip");if(s.empty())s=m("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100");return s},"createTooltip");
|
|
2
2
|
export{_r,Ca,ul,Ki,Yi,ct,Xi,Xt};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e,n,Me,k,q,j,A,u,Y}from"./index.
|
|
1
|
+
import{e,n,Me,k,q,j,A,u,Y}from"./index.mjfjqm0b.js";var M="",O="",D="",E=[],b=new Map,S=e((t)=>q(t,u()),"sanitizeText"),R=e((t)=>{switch(t.type){case"terminal":return{...t,value:S(t.value)};case"nonterminal":return{...t,name:S(t.name)};case"sequence":return{...t,elements:t.elements.map(R)};case"choice":return{...t,alternatives:t.alternatives.map(R)};case"optional":return{...t,element:R(t.element)};case"repetition":return{...t,element:R(t.element),separator:t.separator?R(t.separator):void 0};case"special":return{...t,text:S(t.text)}}},"sanitizeAstNode"),G=e(()=>{M="",O="",D="",E.length=0,b.clear(),A(),n.debug("[Railroad] Database cleared")},"clear"),P=e((t)=>{M=S(t),n.debug("[Railroad] Title set:",t)},"setTitle"),L=e(()=>M,"getTitle"),U=e((t)=>{let a={...t,name:S(t.name),definition:R(t.definition),comment:t.comment?S(t.comment):void 0};if(n.debug("[Railroad] Adding rule:",a.name),b.has(a.name))n.warn(`[Railroad] Rule '${a.name}' is already defined. Overwriting.`);E.push(a),b.set(a.name,a)},"addRule"),K=e(()=>E,"getRules"),J=e((t)=>b.get(t),"getRule"),Q=e((t)=>{O=S(t).replace(/^\s+/g,""),n.debug("[Railroad] Accessibility title set:",t)},"setAccTitle"),Z=e(()=>O,"getAccTitle"),V=e((t)=>{D=S(t).replace(/\n\s+/g,`
|
|
2
2
|
`),n.debug("[Railroad] Accessibility description set:",t)},"setAccDescription"),ee=e(()=>D,"getAccDescription"),te=P,re=L,ce={clear:G,setTitle:P,getTitle:L,addRule:U,getRules:K,getRule:J,setAccTitle:Q,getAccTitle:Z,setAccDescription:V,getAccDescription:ee,setDiagramTitle:te,getDiagramTitle:re},T={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},ie=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,ne=/^[\w "',.-]+$/,ae=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),I=e((t)=>{if(!t)return!1;return Object.keys(t).every((a)=>a==="railroad"||ae.has(a))},"isRailroadStyleOptions"),oe=e((t)=>{if(!t)return{};if("railroad"in t&&t.railroad)return t.railroad;return I(t)?t:{}},"extractRailroadOverrides"),le=e((t)=>{if(!t||I(t))return{};let{railroad:a,svgId:l,theme:i,look:r,...o}=t;return o},"extractThemeOverrides"),p=e((t,a)=>{if(typeof t!=="string")return a;let l=t.trim();return ie.test(l)?l:a},"sanitizeColorValue"),X=e((t,a)=>{if(typeof t!=="string")return a;let l=t.trim();return ne.test(l)?l:a},"sanitizeFontFamilyValue"),y=e((t,a)=>{let l=typeof t==="number"?t:typeof t==="string"?Number.parseFloat(t):Number.NaN;return Number.isFinite(l)&&l>=0?l:a},"sanitizeNumberValue"),se=e((t)=>{let a=typeof t==="number"?t:typeof t==="string"?Number.parseFloat(t):Number.NaN;return Number.isFinite(a)&&a>0?a:void 0},"parseThemeFontSize"),de=e((t)=>{let a=X(t.fontFamily,T.fontFamily),l=se(t.fontSize)??T.fontSize;return{...T,fontFamily:a,fontSize:l,terminalFill:p(t.secondBkg??t.secondaryColor,T.terminalFill),terminalStroke:p(t.secondaryBorderColor??t.lineColor,T.terminalStroke),terminalTextColor:p(t.secondaryTextColor??t.textColor,T.terminalTextColor),nonTerminalFill:p(t.mainBkg??t.background,T.nonTerminalFill),nonTerminalStroke:p(t.primaryBorderColor??t.lineColor,T.nonTerminalStroke),nonTerminalTextColor:p(t.primaryTextColor??t.textColor,T.nonTerminalTextColor),lineColor:p(t.lineColor,T.lineColor),markerFill:p(t.lineColor,T.markerFill),commentFill:p(t.labelBackground??t.tertiaryColor,T.commentFill),commentStroke:p(t.tertiaryBorderColor??t.lineColor,T.commentStroke),commentTextColor:p(t.tertiaryTextColor??t.textColor,T.commentTextColor),specialFill:p(t.tertiaryColor??t.secondaryColor,T.specialFill),specialStroke:p(t.tertiaryBorderColor??t.secondaryBorderColor,T.specialStroke),ruleNameColor:p(t.titleColor??t.textColor,T.ruleNameColor)}},"buildThemeDefaults"),W=e((t)=>{let a=k(),l={...Me(),...a.themeVariables??{},...le(t)},i=de(l),r={...a.railroad??{},...oe(t)};return{compactMode:r.compactMode??i.compactMode,padding:y(r.padding,i.padding),verticalSeparation:y(r.verticalSeparation,i.verticalSeparation),horizontalSeparation:y(r.horizontalSeparation,i.horizontalSeparation),arcRadius:y(r.arcRadius,i.arcRadius),fontSize:y(r.fontSize,i.fontSize),fontFamily:X(r.fontFamily,i.fontFamily),terminalFill:p(r.terminalFill,i.terminalFill),terminalStroke:p(r.terminalStroke,i.terminalStroke),terminalTextColor:p(r.terminalTextColor,i.terminalTextColor),nonTerminalFill:p(r.nonTerminalFill,i.nonTerminalFill),nonTerminalStroke:p(r.nonTerminalStroke,i.nonTerminalStroke),nonTerminalTextColor:p(r.nonTerminalTextColor,i.nonTerminalTextColor),lineColor:p(r.lineColor,i.lineColor),strokeWidth:y(r.strokeWidth,i.strokeWidth),markerFill:p(r.markerFill,i.markerFill),commentFill:p(r.commentFill,i.commentFill),commentStroke:p(r.commentStroke,i.commentStroke),commentTextColor:p(r.commentTextColor,i.commentTextColor),specialFill:p(r.specialFill,i.specialFill),specialStroke:p(r.specialStroke,i.specialStroke),ruleNameColor:p(r.ruleNameColor,i.ruleNameColor),showMarkers:r.showMarkers??i.showMarkers,markerRadius:y(r.markerRadius,i.markerRadius)}},"buildRailroadStyleOptions"),Gt=e((t)=>{let{fontFamily:a,fontSize:l,terminalFill:i,terminalStroke:r,terminalTextColor:o,nonTerminalFill:g,nonTerminalStroke:c,nonTerminalTextColor:s,lineColor:f,strokeWidth:h,markerFill:m,commentFill:C,commentStroke:d,commentTextColor:x,specialFill:z,specialStroke:F,ruleNameColor:v}=W(t);return`
|
|
3
3
|
.railroad-diagram {
|
|
4
4
|
font-family: ${a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e}from"./index.
|
|
1
|
+
import{e}from"./index.mjfjqm0b.js";function Xn(c){let n=new WeakMap;function o(t){if(t===null||typeof t!=="object")return t;let s=n.get(t);if(s!==void 0)return s;if(Array.isArray(t)){let r=Array(t.length);return n.set(t,r),t.forEach((p,f)=>{r[f]=o(p)}),r}let i={};n.set(t,i);for(let r of Object.keys(t)){if(r==="__proto__"||r==="constructor"||r==="prototype")continue;i[r]=o(t[r])}return i}return e(o,"sanitize"),o(c)}e(Xn,"stripPrototypeKeys");
|
|
2
2
|
export{Xn};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e,m}from"./index.
|
|
1
|
+
import{e,m}from"./index.mjfjqm0b.js";var Ee=e((o,t)=>{let n;if(t==="sandbox")n=m("#i"+o);return(t==="sandbox"?m(n.nodes()[0].contentDocument.body):m("body")).select(`[id="${o}"]`)},"getDiagramElement");
|
|
2
2
|
export{Ee};
|