archsight 0.2.2 → 0.2.4
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.
- checksums.yaml +4 -4
- data/chart/archsight/Chart.yaml +2 -2
- data/chart/archsight/templates/deployment.yaml +11 -0
- data/chart/archsight/templates/restart-secret.yaml +11 -0
- data/chart/archsight/values.yaml +14 -0
- data/docs/kubernetes.md +13 -10
- data/lib/archsight/analysis/sandbox.rb +1 -1
- data/lib/archsight/cli.rb +5 -2
- data/lib/archsight/resources/technology_artifact.rb +1 -1
- data/lib/archsight/version.rb +1 -1
- data/lib/archsight/web/public/vue/{ApiDocsPage-Cwn04X61.js → ApiDocsPage-DHOFUCYc.js} +1 -1
- data/lib/archsight/web/public/vue/{DocPage-Y83PCbYi.js → DocPage-CV66qgTr.js} +1 -1
- data/lib/archsight/web/public/vue/{EditorPage-DqRMOBE6.js → EditorPage-KqBivY-B.js} +1 -1
- data/lib/archsight/web/public/vue/{ErrorPage-D0lKMCXA.js → ErrorPage-DcbC8Kf1.js} +1 -1
- data/lib/archsight/web/public/vue/{GraphView-Byq-Nfd9.js → GraphView-Bg_l-F-Q.js} +1 -1
- data/lib/archsight/web/public/vue/{InstanceRouter-BJkDRXZY.css → InstanceRouter-4VEtZM7n.css} +1 -1
- data/lib/archsight/web/public/vue/{InstanceRouter-B3Q2fH0X.js → InstanceRouter-D-twdyZY.js} +1 -1
- data/lib/archsight/web/public/vue/{KindList-DlDrvJDd.js → KindList-CPImTKNb.js} +1 -1
- data/lib/archsight/web/public/vue/{ResourceList-DwsfI85-.js → ResourceList-DMxm0cGh.js} +1 -1
- data/lib/archsight/web/public/vue/{SearchResults-DlWGROho.js → SearchResults-BqUHEWHE.js} +1 -1
- data/lib/archsight/web/public/vue/_baseUniq-BjkdEi26.js +1 -0
- data/lib/archsight/web/public/vue/architectureDiagram-VXUJARFQ-JN7CxdtP.js +36 -0
- data/lib/archsight/web/public/vue/{blockDiagram-VD42YOAC-C8HXvtNT.js → blockDiagram-VD42YOAC-teziPFHX.js} +1 -1
- data/lib/archsight/web/public/vue/{c4Diagram-YG6GDRKO-QzXboDJ8.js → c4Diagram-YG6GDRKO-CVNrzCCc.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-4BX2VUAB-DSPzEX5F.js → chunk-4BX2VUAB-BQUARyyA.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-55IACEB6-Dd5Z8Bov.js → chunk-55IACEB6-BgJn0Waa.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-B4BG7PRW-B_hXD1nI.js → chunk-B4BG7PRW-0ghAfB1t.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-DI55MBZ5-C-2DUMJY.js → chunk-DI55MBZ5-HJo1DW2B.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-FMBD7UC4-BlBtfKnL.js → chunk-FMBD7UC4-C1GwGKgX.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-QN33PNHL-Db3REDIz.js → chunk-QN33PNHL-BOoA1KfJ.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-QZHKN3VN-BqVqGMTy.js → chunk-QZHKN3VN-BcTNH3IX.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-TZMSLE5B-DfX4VDWu.js → chunk-TZMSLE5B-58bQF3J5.js} +1 -1
- data/lib/archsight/web/public/vue/classDiagram-2ON5EDUG-DAA8tpbN.js +1 -0
- data/lib/archsight/web/public/vue/classDiagram-v2-WZHVMYZB-DAA8tpbN.js +1 -0
- data/lib/archsight/web/public/vue/clone-BPcOyh7U.js +1 -0
- data/lib/archsight/web/public/vue/{cose-bilkent-S5V4N54A-CfkQxn-a.js → cose-bilkent-S5V4N54A-Bv8iR4rF.js} +1 -1
- data/lib/archsight/web/public/vue/dagre-6UL2VRFP-B8ZPRhgU.js +4 -0
- data/lib/archsight/web/public/vue/diagram-PSM6KHXK-Dp1bZnNq.js +24 -0
- data/lib/archsight/web/public/vue/diagram-QEK2KX5R-DZBsDWP6.js +43 -0
- data/lib/archsight/web/public/vue/diagram-S2PKOQOG-BKOnLWNk.js +24 -0
- data/lib/archsight/web/public/vue/{erDiagram-Q2GNP2WA-D1mxJWSp.js → erDiagram-Q2GNP2WA-V6FqHPc9.js} +1 -1
- data/lib/archsight/web/public/vue/{flowDiagram-NV44I4VS-DpRd5cPP.js → flowDiagram-NV44I4VS-BipXjPVT.js} +1 -1
- data/lib/archsight/web/public/vue/{ganttDiagram-JELNMOA3-D04Sdd3Q.js → ganttDiagram-JELNMOA3-DUdVPVK1.js} +1 -1
- data/lib/archsight/web/public/vue/gitGraphDiagram-V2S2FVAM-Bcf_apTG.js +65 -0
- data/lib/archsight/web/public/vue/graph-C4e9XILZ.js +1 -0
- data/lib/archsight/web/public/vue/{index-Zr9MoxJi.js → index-BUI400cn.js} +2 -2
- data/lib/archsight/web/public/vue/infoDiagram-HS3SLOUP-DBwnExXO.js +2 -0
- data/lib/archsight/web/public/vue/{journeyDiagram-XKPGCS4Q-D-SRalYk.js → journeyDiagram-XKPGCS4Q-D4b8PEzB.js} +1 -1
- data/lib/archsight/web/public/vue/{kanban-definition-3W4ZIXB7-CuOjHa3p.js → kanban-definition-3W4ZIXB7-R6r4NPxJ.js} +1 -1
- data/lib/archsight/web/public/vue/layout-CXL8NrCi.js +1 -0
- data/lib/archsight/web/public/vue/{mermaid-DUllW9QE.js → mermaid-MmHzOPPB.js} +4 -4
- data/lib/archsight/web/public/vue/min-B4MPxNTL.js +1 -0
- data/lib/archsight/web/public/vue/{mindmap-definition-VGOIOE7T-BfbYXGBk.js → mindmap-definition-VGOIOE7T-BypPT67y.js} +1 -1
- data/lib/archsight/web/public/vue/{pieDiagram-ADFJNKIX-mb757Gpq.js → pieDiagram-ADFJNKIX-BJ4nb15u.js} +2 -2
- data/lib/archsight/web/public/vue/{quadrantDiagram-AYHSOK5B-DMtvHJQW.js → quadrantDiagram-AYHSOK5B-D4Ee5XRs.js} +1 -1
- data/lib/archsight/web/public/vue/{requirementDiagram-UZGBJVZJ-CHguirsB.js → requirementDiagram-UZGBJVZJ-DuxpUmt2.js} +1 -1
- data/lib/archsight/web/public/vue/{sankeyDiagram-TZEHDZUN-nblWMNF6.js → sankeyDiagram-TZEHDZUN-CgWlWmza.js} +5 -5
- data/lib/archsight/web/public/vue/{sequenceDiagram-WL72ISMW-B83ZoXls.js → sequenceDiagram-WL72ISMW-v2l2CbI0.js} +1 -1
- data/lib/archsight/web/public/vue/stateDiagram-FKZM4ZOC-B5ROi2_1.js +1 -0
- data/lib/archsight/web/public/vue/stateDiagram-v2-4FDKWEC3-CQhha5H7.js +1 -0
- data/lib/archsight/web/public/vue/{timeline-definition-IT6M3QCI-D1Wd-DLb.js → timeline-definition-IT6M3QCI-Bnx2HvxP.js} +1 -1
- data/lib/archsight/web/public/vue/treemap-GDKQZRPO-BVho_qBy.js +162 -0
- data/lib/archsight/web/public/vue/{useGraphviz-BN4iwLLN.js → useGraphviz-C5lv_BWF.js} +1 -1
- data/lib/archsight/web/public/vue/{useHighlight-DmGaxZxx.js → useHighlight-yg_u-WUA.js} +1 -1
- data/lib/archsight/web/public/vue/{useMermaid-DSo5f1Jc.js → useMermaid-BPBwn39g.js} +1 -1
- data/lib/archsight/web/public/vue/{usePanZoom-BEXq_r0S.js → usePanZoom-CgSmFLId.js} +1 -1
- data/lib/archsight/web/public/vue/{xychartDiagram-PRI3JC2R-i_eB4HAQ.js → xychartDiagram-PRI3JC2R-CDkeZXF1.js} +1 -1
- data/lib/archsight/web/public/vue.html +2 -2
- metadata +59 -58
- data/lib/archsight/web/public/vue/_basePickBy-DXGWsL9H.js +0 -1
- data/lib/archsight/web/public/vue/_baseUniq-C8pAAASt.js +0 -1
- data/lib/archsight/web/public/vue/architectureDiagram-VXUJARFQ-Dg_wTk4u.js +0 -36
- data/lib/archsight/web/public/vue/classDiagram-2ON5EDUG-C9Kk58xl.js +0 -1
- data/lib/archsight/web/public/vue/classDiagram-v2-WZHVMYZB-C9Kk58xl.js +0 -1
- data/lib/archsight/web/public/vue/clone-B6uzD5eH.js +0 -1
- data/lib/archsight/web/public/vue/dagre-6UL2VRFP-D13da1qu.js +0 -4
- data/lib/archsight/web/public/vue/diagram-PSM6KHXK-BwzbeHPK.js +0 -24
- data/lib/archsight/web/public/vue/diagram-QEK2KX5R-COjSoDC8.js +0 -43
- data/lib/archsight/web/public/vue/diagram-S2PKOQOG-FH65FafS.js +0 -24
- data/lib/archsight/web/public/vue/gitGraphDiagram-V2S2FVAM-DgNNP2nj.js +0 -65
- data/lib/archsight/web/public/vue/graph-Cnoy0p_X.js +0 -1
- data/lib/archsight/web/public/vue/infoDiagram-HS3SLOUP-D5asL_9P.js +0 -2
- data/lib/archsight/web/public/vue/layout-CD8FBujT.js +0 -1
- data/lib/archsight/web/public/vue/stateDiagram-FKZM4ZOC-Ct0OgmPh.js +0 -1
- data/lib/archsight/web/public/vue/stateDiagram-v2-4FDKWEC3-CJZXQ6xd.js +0 -1
- data/lib/archsight/web/public/vue/treemap-GDKQZRPO-DFPZrNlp.js +0 -162
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as u}from"./mermaid-
|
|
1
|
+
import{_ as u}from"./mermaid-MmHzOPPB.js";import{i as l}from"./usePanZoom-CgSmFLId.js";let r=null,m=!1;function d(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"default"}async function s(){return r||(r=(await u(()=>import("./mermaid-MmHzOPPB.js").then(t=>t.bE),[])).default,r.initialize({startOnLoad:!1,theme:d()}),f(),r)}function c(e){e.querySelectorAll(".mermaid svg").forEach(t=>{if(t.hasAttribute("data-panzoom-init"))return;t.setAttribute("data-panzoom-init","true");const n=t.parentElement;l(t,n)})}function f(){m||(m=!0,window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",async()=>{r&&(r.initialize({startOnLoad:!1,theme:d()}),document.querySelectorAll(".mermaid[data-mermaid-source]").forEach(e=>{e.removeAttribute("data-processed"),e.innerHTML=e.getAttribute("data-mermaid-source")}),await r.run(),document.querySelectorAll(".mermaid").forEach(e=>{e.querySelectorAll("svg").forEach(t=>t.removeAttribute("data-panzoom-init")),c(e.parentElement||e)}))}))}async function A(e){const t=e.querySelectorAll("pre > code.language-mermaid");if(t.length===0)return;const n=await s();t.forEach(i=>{const o=i.parentElement,a=document.createElement("div");a.className="mermaid",a.setAttribute("data-mermaid-source",i.textContent),a.textContent=i.textContent,o.parentElement.replaceChild(a,o)}),await n.run(),c(e)}export{A as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aC as D}from"./mermaid-DUllW9QE.js";var y,C;function T(){return C||(C=1,y=(function(){var u="",i,o,e,s=[],r={passive:!0},c={passive:!1};window.addEventListener?(i="addEventListener",o="removeEventListener"):(i="attachEvent",o="detachEvent",u="on"),e="onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll";function d(h,a){var m=function(v){!v&&(v=window.event);var b={originalEvent:v,target:v.target||v.srcElement,type:"wheel",deltaMode:v.type=="MozMousePixelScroll"?0:1,deltaX:0,delatZ:0,preventDefault:function(){v.preventDefault?v.preventDefault():v.returnValue=!1}};return e=="mousewheel"?(b.deltaY=-.025*v.wheelDelta,v.wheelDeltaX&&(b.deltaX=-.025*v.wheelDeltaX)):b.deltaY=v.detail,a(b)};return s.push({element:h,fn:m}),m}function f(h){for(var a=0;a<s.length;a++)if(s[a].element===h)return s[a].fn;return function(){}}function g(h){for(var a=0;a<s.length;a++)if(s[a].element===h)return s.splice(a,1)}function t(h,a,m,v){var b;e==="wheel"?b=m:b=d(h,m),h[i](u+a,b,v?r:c)}function n(h,a,m,v){var b;e==="wheel"?b=m:b=f(h),h[o](u+a,b,v?r:c),g(h)}function l(h,a,m){t(h,e,a,m),e=="DOMMouseScroll"&&t(h,"MozMousePixelScroll",a,m)}function p(h,a,m){n(h,e,a,m),e=="DOMMouseScroll"&&n(h,"MozMousePixelScroll",a,m)}return{on:l,off:p}})()),y}var x,P;function Z(){if(P)return x;P=1,x={extend:function(i,o){i=i||{};for(var e in o)this.isObject(o[e])?i[e]=this.extend(i[e],o[e]):i[e]=o[e];return i},isElement:function(i){return i instanceof HTMLElement||i instanceof SVGElement||i instanceof SVGSVGElement||i&&typeof i=="object"&&i!==null&&i.nodeType===1&&typeof i.nodeName=="string"},isObject:function(i){return Object.prototype.toString.call(i)==="[object Object]"},isNumber:function(i){return!isNaN(parseFloat(i))&&isFinite(i)},getSvg:function(i){var o,e;if(this.isElement(i))o=i;else if(typeof i=="string"||i instanceof String){if(o=document.querySelector(i),!o)throw new Error("Provided selector did not find any elements. Selector: "+i)}else throw new Error("Provided selector is not an HTML object nor String");if(o.tagName.toLowerCase()==="svg")e=o;else if(o.tagName.toLowerCase()==="object")e=o.contentDocument.documentElement;else if(o.tagName.toLowerCase()==="embed")e=o.getSVGDocument().documentElement;else throw o.tagName.toLowerCase()==="img"?new Error('Cannot script an SVG in an "img" element. Please use an "object" element or an in-line SVG.'):new Error("Cannot get SVG.");return e},proxy:function(i,o){return function(){return i.apply(o,arguments)}},getType:function(i){return Object.prototype.toString.apply(i).replace(/^\[object\s/,"").replace(/\]$/,"")},mouseAndTouchNormalize:function(i,o){if(i.clientX===void 0||i.clientX===null)if(i.clientX=0,i.clientY=0,i.touches!==void 0&&i.touches.length){if(i.touches[0].clientX!==void 0)i.clientX=i.touches[0].clientX,i.clientY=i.touches[0].clientY;else if(i.touches[0].pageX!==void 0){var e=o.getBoundingClientRect();i.clientX=i.touches[0].pageX-e.left,i.clientY=i.touches[0].pageY-e.top}}else i.originalEvent!==void 0&&i.originalEvent.clientX!==void 0&&(i.clientX=i.originalEvent.clientX,i.clientY=i.originalEvent.clientY)},isDblClick:function(i,o){if(i.detail===2)return!0;if(o!=null){var e=i.timeStamp-o.timeStamp,s=Math.sqrt(Math.pow(i.clientX-o.clientX,2)+Math.pow(i.clientY-o.clientY,2));return e<250&&s<10}return!1},now:Date.now||function(){return new Date().getTime()},throttle:function(i,o,e){var s=this,r,c,d,f=null,g=0;e||(e={});var t=function(){g=e.leading===!1?0:s.now(),f=null,d=i.apply(r,c),f||(r=c=null)};return function(){var n=s.now();!g&&e.leading===!1&&(g=n);var l=o-(n-g);return r=this,c=arguments,l<=0||l>o?(clearTimeout(f),f=null,g=n,d=i.apply(r,c),f||(r=c=null)):!f&&e.trailing!==!1&&(f=setTimeout(t,l)),d}},createRequestAnimationFrame:function(i){var o=null;return i!=="auto"&&i<60&&i>1&&(o=Math.floor(1e3/i)),o===null?window.requestAnimationFrame||u(33):u(o)}};function u(i){return function(o){window.setTimeout(o,i)}}return x}var w,A;function E(){if(A)return w;A=1;var u=Z(),i="unknown";return document.documentMode&&(i="ie"),w={svgNS:"http://www.w3.org/2000/svg",xmlNS:"http://www.w3.org/XML/1998/namespace",xmlnsNS:"http://www.w3.org/2000/xmlns/",xlinkNS:"http://www.w3.org/1999/xlink",evNS:"http://www.w3.org/2001/xml-events",getBoundingClientRectNormalized:function(o){if(o.clientWidth&&o.clientHeight)return{width:o.clientWidth,height:o.clientHeight};if(o.getBoundingClientRect())return o.getBoundingClientRect();throw new Error("Cannot get BoundingClientRect for SVG.")},getOrCreateViewport:function(o,e){var s=null;if(u.isElement(e)?s=e:s=o.querySelector(e),!s){var r=Array.prototype.slice.call(o.childNodes||o.children).filter(function(t){return t.nodeName!=="defs"&&t.nodeName!=="#text"});r.length===1&&r[0].nodeName==="g"&&r[0].getAttribute("transform")===null&&(s=r[0])}if(!s){var c="viewport-"+new Date().toISOString().replace(/\D/g,"");s=document.createElementNS(this.svgNS,"g"),s.setAttribute("id",c);var d=o.childNodes||o.children;if(d&&d.length>0)for(var f=d.length;f>0;f--)d[d.length-f].nodeName!=="defs"&&s.appendChild(d[d.length-f]);o.appendChild(s)}var g=[];return s.getAttribute("class")&&(g=s.getAttribute("class").split(" ")),~g.indexOf("svg-pan-zoom_viewport")||(g.push("svg-pan-zoom_viewport"),s.setAttribute("class",g.join(" "))),s},setupSvgAttributes:function(o){if(o.setAttribute("xmlns",this.svgNS),o.setAttributeNS(this.xmlnsNS,"xmlns:xlink",this.xlinkNS),o.setAttributeNS(this.xmlnsNS,"xmlns:ev",this.evNS),o.parentNode!==null){var e=o.getAttribute("style")||"";e.toLowerCase().indexOf("overflow")===-1&&o.setAttribute("style","overflow: hidden; "+e)}},internetExplorerRedisplayInterval:300,refreshDefsGlobal:u.throttle(function(){for(var o=document.querySelectorAll("defs"),e=o.length,s=0;s<e;s++){var r=o[s];r.parentNode.insertBefore(r,r)}},w?w.internetExplorerRedisplayInterval:null),setCTM:function(o,e,s){var r=this,c="matrix("+e.a+","+e.b+","+e.c+","+e.d+","+e.e+","+e.f+")";o.setAttributeNS(null,"transform",c),"transform"in o.style?o.style.transform=c:"-ms-transform"in o.style?o.style["-ms-transform"]=c:"-webkit-transform"in o.style&&(o.style["-webkit-transform"]=c),i==="ie"&&s&&(s.parentNode.insertBefore(s,s),window.setTimeout(function(){r.refreshDefsGlobal()},r.internetExplorerRedisplayInterval))},getEventPoint:function(o,e){var s=e.createSVGPoint();return u.mouseAndTouchNormalize(o,e),s.x=o.clientX,s.y=o.clientY,s},getSvgCenterPoint:function(o,e,s){return this.createSVGPoint(o,e/2,s/2)},createSVGPoint:function(o,e,s){var r=o.createSVGPoint();return r.x=e,r.y=s,r}},w}var S,B;function q(){if(B)return S;B=1;var u=E();return S={enable:function(i){var o=i.svg.querySelector("defs");o||(o=document.createElementNS(u.svgNS,"defs"),i.svg.appendChild(o));var e=o.querySelector("style#svg-pan-zoom-controls-styles");if(!e){var s=document.createElementNS(u.svgNS,"style");s.setAttribute("id","svg-pan-zoom-controls-styles"),s.setAttribute("type","text/css"),s.textContent=".svg-pan-zoom-control { cursor: pointer; fill: black; fill-opacity: 0.333; } .svg-pan-zoom-control:hover { fill-opacity: 0.8; } .svg-pan-zoom-control-background { fill: white; fill-opacity: 0.5; } .svg-pan-zoom-control-background { fill-opacity: 0.8; }",o.appendChild(s)}var r=document.createElementNS(u.svgNS,"g");r.setAttribute("id","svg-pan-zoom-controls"),r.setAttribute("transform","translate("+(i.width-70)+" "+(i.height-76)+") scale(0.75)"),r.setAttribute("class","svg-pan-zoom-control"),r.appendChild(this._createZoomIn(i)),r.appendChild(this._createZoomReset(i)),r.appendChild(this._createZoomOut(i)),i.svg.appendChild(r),i.controlIcons=r},_createZoomIn:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-zoom-in"),o.setAttribute("transform","translate(30.5 5) scale(0.015)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().zoomIn()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().zoomIn()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("width","1500"),e.setAttribute("height","1400"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");return s.setAttribute("d","M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s),o},_createZoomReset:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-reset-pan-zoom"),o.setAttribute("transform","translate(5 35) scale(0.4)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().reset()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().reset()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","2"),e.setAttribute("y","2"),e.setAttribute("width","182"),e.setAttribute("height","58"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");s.setAttribute("d","M33.051,20.632c-0.742-0.406-1.854-0.609-3.338-0.609h-7.969v9.281h7.769c1.543,0,2.701-0.188,3.473-0.562c1.365-0.656,2.048-1.953,2.048-3.891C35.032,22.757,34.372,21.351,33.051,20.632z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s);var r=document.createElementNS(u.svgNS,"path");return r.setAttribute("d","M170.231,0.5H15.847C7.102,0.5,0.5,5.708,0.5,11.84v38.861C0.5,56.833,7.102,61.5,15.847,61.5h154.384c8.745,0,15.269-4.667,15.269-10.798V11.84C185.5,5.708,178.976,0.5,170.231,0.5z M42.837,48.569h-7.969c-0.219-0.766-0.375-1.383-0.469-1.852c-0.188-0.969-0.289-1.961-0.305-2.977l-0.047-3.211c-0.03-2.203-0.41-3.672-1.142-4.406c-0.732-0.734-2.103-1.102-4.113-1.102h-7.05v13.547h-7.055V14.022h16.524c2.361,0.047,4.178,0.344,5.45,0.891c1.272,0.547,2.351,1.352,3.234,2.414c0.731,0.875,1.31,1.844,1.737,2.906s0.64,2.273,0.64,3.633c0,1.641-0.414,3.254-1.242,4.84s-2.195,2.707-4.102,3.363c1.594,0.641,2.723,1.551,3.387,2.73s0.996,2.98,0.996,5.402v2.32c0,1.578,0.063,2.648,0.19,3.211c0.19,0.891,0.635,1.547,1.333,1.969V48.569z M75.579,48.569h-26.18V14.022h25.336v6.117H56.454v7.336h16.781v6H56.454v8.883h19.125V48.569z M104.497,46.331c-2.44,2.086-5.887,3.129-10.34,3.129c-4.548,0-8.125-1.027-10.731-3.082s-3.909-4.879-3.909-8.473h6.891c0.224,1.578,0.662,2.758,1.316,3.539c1.196,1.422,3.246,2.133,6.15,2.133c1.739,0,3.151-0.188,4.236-0.562c2.058-0.719,3.087-2.055,3.087-4.008c0-1.141-0.504-2.023-1.512-2.648c-1.008-0.609-2.607-1.148-4.796-1.617l-3.74-0.82c-3.676-0.812-6.201-1.695-7.576-2.648c-2.328-1.594-3.492-4.086-3.492-7.477c0-3.094,1.139-5.664,3.417-7.711s5.623-3.07,10.036-3.07c3.685,0,6.829,0.965,9.431,2.895c2.602,1.93,3.966,4.73,4.093,8.402h-6.938c-0.128-2.078-1.057-3.555-2.787-4.43c-1.154-0.578-2.587-0.867-4.301-0.867c-1.907,0-3.428,0.375-4.565,1.125c-1.138,0.75-1.706,1.797-1.706,3.141c0,1.234,0.561,2.156,1.682,2.766c0.721,0.406,2.25,0.883,4.589,1.43l6.063,1.43c2.657,0.625,4.648,1.461,5.975,2.508c2.059,1.625,3.089,3.977,3.089,7.055C108.157,41.624,106.937,44.245,104.497,46.331z M139.61,48.569h-26.18V14.022h25.336v6.117h-18.281v7.336h16.781v6h-16.781v8.883h19.125V48.569z M170.337,20.14h-10.336v28.43h-7.266V20.14h-10.383v-6.117h27.984V20.14z"),r.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(r),o},_createZoomOut:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-zoom-out"),o.setAttribute("transform","translate(30.5 70) scale(0.015)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().zoomOut()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().zoomOut()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("width","1500"),e.setAttribute("height","1400"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");return s.setAttribute("d","M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s),o},disable:function(i){i.controlIcons&&(i.controlIcons.parentNode.removeChild(i.controlIcons),i.controlIcons=null)}},S}var M,N;function L(){if(N)return M;N=1;var u=E(),i=Z(),o=function(e,s){this.init(e,s)};return o.prototype.init=function(e,s){this.viewport=e,this.options=s,this.originalState={zoom:1,x:0,y:0},this.activeState={zoom:1,x:0,y:0},this.updateCTMCached=i.proxy(this.updateCTM,this),this.requestAnimationFrame=i.createRequestAnimationFrame(this.options.refreshRate),this.viewBox={x:0,y:0,width:0,height:0},this.cacheViewBox();var r=this.processCTM();this.setCTM(r),this.updateCTM()},o.prototype.cacheViewBox=function(){var e=this.options.svg.getAttribute("viewBox");if(e){var s=e.split(/[\s\,]/).filter(function(c){return c}).map(parseFloat);this.viewBox.x=s[0],this.viewBox.y=s[1],this.viewBox.width=s[2],this.viewBox.height=s[3];var r=Math.min(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height);this.activeState.zoom=r,this.activeState.x=(this.options.width-this.viewBox.width*r)/2,this.activeState.y=(this.options.height-this.viewBox.height*r)/2,this.updateCTMOnNextFrame(),this.options.svg.removeAttribute("viewBox")}else this.simpleViewBoxCache()},o.prototype.simpleViewBoxCache=function(){var e=this.viewport.getBBox();this.viewBox.x=e.x,this.viewBox.y=e.y,this.viewBox.width=e.width,this.viewBox.height=e.height},o.prototype.getViewBox=function(){return i.extend({},this.viewBox)},o.prototype.processCTM=function(){var e=this.getCTM();if(this.options.fit||this.options.contain){var s;this.options.fit?s=Math.min(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height):s=Math.max(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height),e.a=s,e.d=s,e.e=-this.viewBox.x*s,e.f=-this.viewBox.y*s}if(this.options.center){var r=(this.options.width-(this.viewBox.width+this.viewBox.x*2)*e.a)*.5,c=(this.options.height-(this.viewBox.height+this.viewBox.y*2)*e.a)*.5;e.e=r,e.f=c}return this.originalState.zoom=e.a,this.originalState.x=e.e,this.originalState.y=e.f,e},o.prototype.getOriginalState=function(){return i.extend({},this.originalState)},o.prototype.getState=function(){return i.extend({},this.activeState)},o.prototype.getZoom=function(){return this.activeState.zoom},o.prototype.getRelativeZoom=function(){return this.activeState.zoom/this.originalState.zoom},o.prototype.computeRelativeZoom=function(e){return e/this.originalState.zoom},o.prototype.getPan=function(){return{x:this.activeState.x,y:this.activeState.y}},o.prototype.getCTM=function(){var e=this.options.svg.createSVGMatrix();return e.a=this.activeState.zoom,e.b=0,e.c=0,e.d=this.activeState.zoom,e.e=this.activeState.x,e.f=this.activeState.y,e},o.prototype.setCTM=function(e){var s=this.isZoomDifferent(e),r=this.isPanDifferent(e);if(s||r){if(s&&(this.options.beforeZoom(this.getRelativeZoom(),this.computeRelativeZoom(e.a))===!1?(e.a=e.d=this.activeState.zoom,s=!1):(this.updateCache(e),this.options.onZoom(this.getRelativeZoom()))),r){var c=this.options.beforePan(this.getPan(),{x:e.e,y:e.f}),d=!1,f=!1;c===!1?(e.e=this.getPan().x,e.f=this.getPan().y,d=f=!0):i.isObject(c)&&(c.x===!1?(e.e=this.getPan().x,d=!0):i.isNumber(c.x)&&(e.e=c.x),c.y===!1?(e.f=this.getPan().y,f=!0):i.isNumber(c.y)&&(e.f=c.y)),d&&f||!this.isPanDifferent(e)?r=!1:(this.updateCache(e),this.options.onPan(this.getPan()))}(s||r)&&this.updateCTMOnNextFrame()}},o.prototype.isZoomDifferent=function(e){return this.activeState.zoom!==e.a},o.prototype.isPanDifferent=function(e){return this.activeState.x!==e.e||this.activeState.y!==e.f},o.prototype.updateCache=function(e){this.activeState.zoom=e.a,this.activeState.x=e.e,this.activeState.y=e.f},o.prototype.pendingUpdate=!1,o.prototype.updateCTMOnNextFrame=function(){this.pendingUpdate||(this.pendingUpdate=!0,this.requestAnimationFrame.call(window,this.updateCTMCached))},o.prototype.updateCTM=function(){var e=this.getCTM();u.setCTM(this.viewport,e,this.defs),this.pendingUpdate=!1,this.options.onUpdatedCTM&&this.options.onUpdatedCTM(e)},M=function(e,s){return new o(e,s)},M}var z,I;function V(){if(I)return z;I=1;var u=T(),i=q(),o=Z(),e=E(),s=L(),r=function(t,n){this.init(t,n)},c={viewportSelector:".svg-pan-zoom_viewport",panEnabled:!0,controlIconsEnabled:!1,zoomEnabled:!0,dblClickZoomEnabled:!0,mouseWheelZoomEnabled:!0,preventMouseEventsDefault:!0,zoomScaleSensitivity:.1,minZoom:.5,maxZoom:10,fit:!0,contain:!1,center:!0,refreshRate:"auto",beforeZoom:null,onZoom:null,beforePan:null,onPan:null,customEventsHandler:null,eventsListenerElement:null,onUpdatedCTM:null},d={passive:!0};r.prototype.init=function(t,n){var l=this;this.svg=t,this.defs=t.querySelector("defs"),e.setupSvgAttributes(this.svg),this.options=o.extend(o.extend({},c),n),this.state="none";var p=e.getBoundingClientRectNormalized(t);this.width=p.width,this.height=p.height,this.viewport=s(e.getOrCreateViewport(this.svg,this.options.viewportSelector),{svg:this.svg,width:this.width,height:this.height,fit:this.options.fit,contain:this.options.contain,center:this.options.center,refreshRate:this.options.refreshRate,beforeZoom:function(a,m){if(l.viewport&&l.options.beforeZoom)return l.options.beforeZoom(a,m)},onZoom:function(a){if(l.viewport&&l.options.onZoom)return l.options.onZoom(a)},beforePan:function(a,m){if(l.viewport&&l.options.beforePan)return l.options.beforePan(a,m)},onPan:function(a){if(l.viewport&&l.options.onPan)return l.options.onPan(a)},onUpdatedCTM:function(a){if(l.viewport&&l.options.onUpdatedCTM)return l.options.onUpdatedCTM(a)}});var h=this.getPublicInstance();h.setBeforeZoom(this.options.beforeZoom),h.setOnZoom(this.options.onZoom),h.setBeforePan(this.options.beforePan),h.setOnPan(this.options.onPan),h.setOnUpdatedCTM(this.options.onUpdatedCTM),this.options.controlIconsEnabled&&i.enable(this),this.lastMouseWheelEventTime=Date.now(),this.setupHandlers()},r.prototype.setupHandlers=function(){var t=this,n=null;if(this.eventListeners={mousedown:function(a){var m=t.handleMouseDown(a,n);return n=a,m},touchstart:function(a){var m=t.handleMouseDown(a,n);return n=a,m},mouseup:function(a){return t.handleMouseUp(a)},touchend:function(a){return t.handleMouseUp(a)},mousemove:function(a){return t.handleMouseMove(a)},touchmove:function(a){return t.handleMouseMove(a)},mouseleave:function(a){return t.handleMouseUp(a)},touchleave:function(a){return t.handleMouseUp(a)},touchcancel:function(a){return t.handleMouseUp(a)}},this.options.customEventsHandler!=null){this.options.customEventsHandler.init({svgElement:this.svg,eventsListenerElement:this.options.eventsListenerElement,instance:this.getPublicInstance()});var l=this.options.customEventsHandler.haltEventListeners;if(l&&l.length)for(var p=l.length-1;p>=0;p--)this.eventListeners.hasOwnProperty(l[p])&&delete this.eventListeners[l[p]]}for(var h in this.eventListeners)(this.options.eventsListenerElement||this.svg).addEventListener(h,this.eventListeners[h],this.options.preventMouseEventsDefault?!1:d);this.options.mouseWheelZoomEnabled&&(this.options.mouseWheelZoomEnabled=!1,this.enableMouseWheelZoom())},r.prototype.enableMouseWheelZoom=function(){if(!this.options.mouseWheelZoomEnabled){var t=this;this.wheelListener=function(l){return t.handleMouseWheel(l)};var n=!this.options.preventMouseEventsDefault;u.on(this.options.eventsListenerElement||this.svg,this.wheelListener,n),this.options.mouseWheelZoomEnabled=!0}},r.prototype.disableMouseWheelZoom=function(){if(this.options.mouseWheelZoomEnabled){var t=!this.options.preventMouseEventsDefault;u.off(this.options.eventsListenerElement||this.svg,this.wheelListener,t),this.options.mouseWheelZoomEnabled=!1}},r.prototype.handleMouseWheel=function(t){if(!(!this.options.zoomEnabled||this.state!=="none")){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1);var n=t.deltaY||1,l=Date.now()-this.lastMouseWheelEventTime,p=3+Math.max(0,30-l);this.lastMouseWheelEventTime=Date.now(),"deltaMode"in t&&t.deltaMode===0&&t.wheelDelta&&(n=t.deltaY===0?0:Math.abs(t.wheelDelta)/t.deltaY),n=-.3<n&&n<.3?n:(n>0?1:-1)*Math.log(Math.abs(n)+10)/p;var h=this.svg.getScreenCTM().inverse(),a=e.getEventPoint(t,this.svg).matrixTransform(h),m=Math.pow(1+this.options.zoomScaleSensitivity,-1*n);this.zoomAtPoint(m,a)}},r.prototype.zoomAtPoint=function(t,n,l){var p=this.viewport.getOriginalState();l?(t=Math.max(this.options.minZoom*p.zoom,Math.min(this.options.maxZoom*p.zoom,t)),t=t/this.getZoom()):this.getZoom()*t<this.options.minZoom*p.zoom?t=this.options.minZoom*p.zoom/this.getZoom():this.getZoom()*t>this.options.maxZoom*p.zoom&&(t=this.options.maxZoom*p.zoom/this.getZoom());var h=this.viewport.getCTM(),a=n.matrixTransform(h.inverse()),m=this.svg.createSVGMatrix().translate(a.x,a.y).scale(t).translate(-a.x,-a.y),v=h.multiply(m);v.a!==h.a&&this.viewport.setCTM(v)},r.prototype.zoom=function(t,n){this.zoomAtPoint(t,e.getSvgCenterPoint(this.svg,this.width,this.height),n)},r.prototype.publicZoom=function(t,n){n&&(t=this.computeFromRelativeZoom(t)),this.zoom(t,n)},r.prototype.publicZoomAtPoint=function(t,n,l){if(l&&(t=this.computeFromRelativeZoom(t)),o.getType(n)!=="SVGPoint")if("x"in n&&"y"in n)n=e.createSVGPoint(this.svg,n.x,n.y);else throw new Error("Given point is invalid");this.zoomAtPoint(t,n,l)},r.prototype.getZoom=function(){return this.viewport.getZoom()},r.prototype.getRelativeZoom=function(){return this.viewport.getRelativeZoom()},r.prototype.computeFromRelativeZoom=function(t){return t*this.viewport.getOriginalState().zoom},r.prototype.resetZoom=function(){var t=this.viewport.getOriginalState();this.zoom(t.zoom,!0)},r.prototype.resetPan=function(){this.pan(this.viewport.getOriginalState())},r.prototype.reset=function(){this.resetZoom(),this.resetPan()},r.prototype.handleDblClick=function(t){if(this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.options.controlIconsEnabled){var n=t.target.getAttribute("class")||"";if(n.indexOf("svg-pan-zoom-control")>-1)return!1}var l;t.shiftKey?l=1/((1+this.options.zoomScaleSensitivity)*2):l=(1+this.options.zoomScaleSensitivity)*2;var p=e.getEventPoint(t,this.svg).matrixTransform(this.svg.getScreenCTM().inverse());this.zoomAtPoint(l,p)},r.prototype.handleMouseDown=function(t,n){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),o.mouseAndTouchNormalize(t,this.svg),this.options.dblClickZoomEnabled&&o.isDblClick(t,n)?this.handleDblClick(t):(this.state="pan",this.firstEventCTM=this.viewport.getCTM(),this.stateOrigin=e.getEventPoint(t,this.svg).matrixTransform(this.firstEventCTM.inverse()))},r.prototype.handleMouseMove=function(t){if(this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.state==="pan"&&this.options.panEnabled){var n=e.getEventPoint(t,this.svg).matrixTransform(this.firstEventCTM.inverse()),l=this.firstEventCTM.translate(n.x-this.stateOrigin.x,n.y-this.stateOrigin.y);this.viewport.setCTM(l)}},r.prototype.handleMouseUp=function(t){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.state==="pan"&&(this.state="none")},r.prototype.fit=function(){var t=this.viewport.getViewBox(),n=Math.min(this.width/t.width,this.height/t.height);this.zoom(n,!0)},r.prototype.contain=function(){var t=this.viewport.getViewBox(),n=Math.max(this.width/t.width,this.height/t.height);this.zoom(n,!0)},r.prototype.center=function(){var t=this.viewport.getViewBox(),n=(this.width-(t.width+t.x*2)*this.getZoom())*.5,l=(this.height-(t.height+t.y*2)*this.getZoom())*.5;this.getPublicInstance().pan({x:n,y:l})},r.prototype.updateBBox=function(){this.viewport.simpleViewBoxCache()},r.prototype.pan=function(t){var n=this.viewport.getCTM();n.e=t.x,n.f=t.y,this.viewport.setCTM(n)},r.prototype.panBy=function(t){var n=this.viewport.getCTM();n.e+=t.x,n.f+=t.y,this.viewport.setCTM(n)},r.prototype.getPan=function(){var t=this.viewport.getState();return{x:t.x,y:t.y}},r.prototype.resize=function(){var t=e.getBoundingClientRectNormalized(this.svg);this.width=t.width,this.height=t.height;var n=this.viewport;n.options.width=this.width,n.options.height=this.height,n.processCTM(),this.options.controlIconsEnabled&&(this.getPublicInstance().disableControlIcons(),this.getPublicInstance().enableControlIcons())},r.prototype.destroy=function(){var t=this;this.beforeZoom=null,this.onZoom=null,this.beforePan=null,this.onPan=null,this.onUpdatedCTM=null,this.options.customEventsHandler!=null&&this.options.customEventsHandler.destroy({svgElement:this.svg,eventsListenerElement:this.options.eventsListenerElement,instance:this.getPublicInstance()});for(var n in this.eventListeners)(this.options.eventsListenerElement||this.svg).removeEventListener(n,this.eventListeners[n],this.options.preventMouseEventsDefault?!1:d);this.disableMouseWheelZoom(),this.getPublicInstance().disableControlIcons(),this.reset(),f=f.filter(function(l){return l.svg!==t.svg}),delete this.options,delete this.viewport,delete this.publicInstance,delete this.pi,this.getPublicInstance=function(){return null}},r.prototype.getPublicInstance=function(){var t=this;return this.publicInstance||(this.publicInstance=this.pi={enablePan:function(){return t.options.panEnabled=!0,t.pi},disablePan:function(){return t.options.panEnabled=!1,t.pi},isPanEnabled:function(){return!!t.options.panEnabled},pan:function(n){return t.pan(n),t.pi},panBy:function(n){return t.panBy(n),t.pi},getPan:function(){return t.getPan()},setBeforePan:function(n){return t.options.beforePan=n===null?null:o.proxy(n,t.publicInstance),t.pi},setOnPan:function(n){return t.options.onPan=n===null?null:o.proxy(n,t.publicInstance),t.pi},enableZoom:function(){return t.options.zoomEnabled=!0,t.pi},disableZoom:function(){return t.options.zoomEnabled=!1,t.pi},isZoomEnabled:function(){return!!t.options.zoomEnabled},enableControlIcons:function(){return t.options.controlIconsEnabled||(t.options.controlIconsEnabled=!0,i.enable(t)),t.pi},disableControlIcons:function(){return t.options.controlIconsEnabled&&(t.options.controlIconsEnabled=!1,i.disable(t)),t.pi},isControlIconsEnabled:function(){return!!t.options.controlIconsEnabled},enableDblClickZoom:function(){return t.options.dblClickZoomEnabled=!0,t.pi},disableDblClickZoom:function(){return t.options.dblClickZoomEnabled=!1,t.pi},isDblClickZoomEnabled:function(){return!!t.options.dblClickZoomEnabled},enableMouseWheelZoom:function(){return t.enableMouseWheelZoom(),t.pi},disableMouseWheelZoom:function(){return t.disableMouseWheelZoom(),t.pi},isMouseWheelZoomEnabled:function(){return!!t.options.mouseWheelZoomEnabled},setZoomScaleSensitivity:function(n){return t.options.zoomScaleSensitivity=n,t.pi},setMinZoom:function(n){return t.options.minZoom=n,t.pi},setMaxZoom:function(n){return t.options.maxZoom=n,t.pi},setBeforeZoom:function(n){return t.options.beforeZoom=n===null?null:o.proxy(n,t.publicInstance),t.pi},setOnZoom:function(n){return t.options.onZoom=n===null?null:o.proxy(n,t.publicInstance),t.pi},zoom:function(n){return t.publicZoom(n,!0),t.pi},zoomBy:function(n){return t.publicZoom(n,!1),t.pi},zoomAtPoint:function(n,l){return t.publicZoomAtPoint(n,l,!0),t.pi},zoomAtPointBy:function(n,l){return t.publicZoomAtPoint(n,l,!1),t.pi},zoomIn:function(){return this.zoomBy(1+t.options.zoomScaleSensitivity),t.pi},zoomOut:function(){return this.zoomBy(1/(1+t.options.zoomScaleSensitivity)),t.pi},getZoom:function(){return t.getRelativeZoom()},setOnUpdatedCTM:function(n){return t.options.onUpdatedCTM=n===null?null:o.proxy(n,t.publicInstance),t.pi},resetZoom:function(){return t.resetZoom(),t.pi},resetPan:function(){return t.resetPan(),t.pi},reset:function(){return t.reset(),t.pi},fit:function(){return t.fit(),t.pi},contain:function(){return t.contain(),t.pi},center:function(){return t.center(),t.pi},updateBBox:function(){return t.updateBBox(),t.pi},resize:function(){return t.resize(),t.pi},getSizes:function(){return{width:t.width,height:t.height,realZoom:t.getZoom(),viewBox:t.viewport.getViewBox()}},destroy:function(){return t.destroy(),t.pi}}),this.publicInstance};var f=[],g=function(t,n){var l=o.getSvg(t);if(l===null)return null;for(var p=f.length-1;p>=0;p--)if(f[p].svg===l)return f[p].instance.getPublicInstance();return f.push({svg:l,instance:new r(l,n)}),f[f.length-1].instance.getPublicInstance()};return z=g,z}var O=V();const R=D(O);function k(u,i){if(u.querySelector(".svg-zoom-controls"))return;const o=document.createElement("div");o.className="svg-zoom-controls",o.innerHTML=`
|
|
1
|
+
import{aA as D}from"./mermaid-MmHzOPPB.js";var y,C;function T(){return C||(C=1,y=(function(){var u="",i,o,e,s=[],r={passive:!0},c={passive:!1};window.addEventListener?(i="addEventListener",o="removeEventListener"):(i="attachEvent",o="detachEvent",u="on"),e="onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll";function d(h,a){var m=function(v){!v&&(v=window.event);var b={originalEvent:v,target:v.target||v.srcElement,type:"wheel",deltaMode:v.type=="MozMousePixelScroll"?0:1,deltaX:0,delatZ:0,preventDefault:function(){v.preventDefault?v.preventDefault():v.returnValue=!1}};return e=="mousewheel"?(b.deltaY=-.025*v.wheelDelta,v.wheelDeltaX&&(b.deltaX=-.025*v.wheelDeltaX)):b.deltaY=v.detail,a(b)};return s.push({element:h,fn:m}),m}function f(h){for(var a=0;a<s.length;a++)if(s[a].element===h)return s[a].fn;return function(){}}function g(h){for(var a=0;a<s.length;a++)if(s[a].element===h)return s.splice(a,1)}function t(h,a,m,v){var b;e==="wheel"?b=m:b=d(h,m),h[i](u+a,b,v?r:c)}function n(h,a,m,v){var b;e==="wheel"?b=m:b=f(h),h[o](u+a,b,v?r:c),g(h)}function l(h,a,m){t(h,e,a,m),e=="DOMMouseScroll"&&t(h,"MozMousePixelScroll",a,m)}function p(h,a,m){n(h,e,a,m),e=="DOMMouseScroll"&&n(h,"MozMousePixelScroll",a,m)}return{on:l,off:p}})()),y}var x,P;function Z(){if(P)return x;P=1,x={extend:function(i,o){i=i||{};for(var e in o)this.isObject(o[e])?i[e]=this.extend(i[e],o[e]):i[e]=o[e];return i},isElement:function(i){return i instanceof HTMLElement||i instanceof SVGElement||i instanceof SVGSVGElement||i&&typeof i=="object"&&i!==null&&i.nodeType===1&&typeof i.nodeName=="string"},isObject:function(i){return Object.prototype.toString.call(i)==="[object Object]"},isNumber:function(i){return!isNaN(parseFloat(i))&&isFinite(i)},getSvg:function(i){var o,e;if(this.isElement(i))o=i;else if(typeof i=="string"||i instanceof String){if(o=document.querySelector(i),!o)throw new Error("Provided selector did not find any elements. Selector: "+i)}else throw new Error("Provided selector is not an HTML object nor String");if(o.tagName.toLowerCase()==="svg")e=o;else if(o.tagName.toLowerCase()==="object")e=o.contentDocument.documentElement;else if(o.tagName.toLowerCase()==="embed")e=o.getSVGDocument().documentElement;else throw o.tagName.toLowerCase()==="img"?new Error('Cannot script an SVG in an "img" element. Please use an "object" element or an in-line SVG.'):new Error("Cannot get SVG.");return e},proxy:function(i,o){return function(){return i.apply(o,arguments)}},getType:function(i){return Object.prototype.toString.apply(i).replace(/^\[object\s/,"").replace(/\]$/,"")},mouseAndTouchNormalize:function(i,o){if(i.clientX===void 0||i.clientX===null)if(i.clientX=0,i.clientY=0,i.touches!==void 0&&i.touches.length){if(i.touches[0].clientX!==void 0)i.clientX=i.touches[0].clientX,i.clientY=i.touches[0].clientY;else if(i.touches[0].pageX!==void 0){var e=o.getBoundingClientRect();i.clientX=i.touches[0].pageX-e.left,i.clientY=i.touches[0].pageY-e.top}}else i.originalEvent!==void 0&&i.originalEvent.clientX!==void 0&&(i.clientX=i.originalEvent.clientX,i.clientY=i.originalEvent.clientY)},isDblClick:function(i,o){if(i.detail===2)return!0;if(o!=null){var e=i.timeStamp-o.timeStamp,s=Math.sqrt(Math.pow(i.clientX-o.clientX,2)+Math.pow(i.clientY-o.clientY,2));return e<250&&s<10}return!1},now:Date.now||function(){return new Date().getTime()},throttle:function(i,o,e){var s=this,r,c,d,f=null,g=0;e||(e={});var t=function(){g=e.leading===!1?0:s.now(),f=null,d=i.apply(r,c),f||(r=c=null)};return function(){var n=s.now();!g&&e.leading===!1&&(g=n);var l=o-(n-g);return r=this,c=arguments,l<=0||l>o?(clearTimeout(f),f=null,g=n,d=i.apply(r,c),f||(r=c=null)):!f&&e.trailing!==!1&&(f=setTimeout(t,l)),d}},createRequestAnimationFrame:function(i){var o=null;return i!=="auto"&&i<60&&i>1&&(o=Math.floor(1e3/i)),o===null?window.requestAnimationFrame||u(33):u(o)}};function u(i){return function(o){window.setTimeout(o,i)}}return x}var w,A;function E(){if(A)return w;A=1;var u=Z(),i="unknown";return document.documentMode&&(i="ie"),w={svgNS:"http://www.w3.org/2000/svg",xmlNS:"http://www.w3.org/XML/1998/namespace",xmlnsNS:"http://www.w3.org/2000/xmlns/",xlinkNS:"http://www.w3.org/1999/xlink",evNS:"http://www.w3.org/2001/xml-events",getBoundingClientRectNormalized:function(o){if(o.clientWidth&&o.clientHeight)return{width:o.clientWidth,height:o.clientHeight};if(o.getBoundingClientRect())return o.getBoundingClientRect();throw new Error("Cannot get BoundingClientRect for SVG.")},getOrCreateViewport:function(o,e){var s=null;if(u.isElement(e)?s=e:s=o.querySelector(e),!s){var r=Array.prototype.slice.call(o.childNodes||o.children).filter(function(t){return t.nodeName!=="defs"&&t.nodeName!=="#text"});r.length===1&&r[0].nodeName==="g"&&r[0].getAttribute("transform")===null&&(s=r[0])}if(!s){var c="viewport-"+new Date().toISOString().replace(/\D/g,"");s=document.createElementNS(this.svgNS,"g"),s.setAttribute("id",c);var d=o.childNodes||o.children;if(d&&d.length>0)for(var f=d.length;f>0;f--)d[d.length-f].nodeName!=="defs"&&s.appendChild(d[d.length-f]);o.appendChild(s)}var g=[];return s.getAttribute("class")&&(g=s.getAttribute("class").split(" ")),~g.indexOf("svg-pan-zoom_viewport")||(g.push("svg-pan-zoom_viewport"),s.setAttribute("class",g.join(" "))),s},setupSvgAttributes:function(o){if(o.setAttribute("xmlns",this.svgNS),o.setAttributeNS(this.xmlnsNS,"xmlns:xlink",this.xlinkNS),o.setAttributeNS(this.xmlnsNS,"xmlns:ev",this.evNS),o.parentNode!==null){var e=o.getAttribute("style")||"";e.toLowerCase().indexOf("overflow")===-1&&o.setAttribute("style","overflow: hidden; "+e)}},internetExplorerRedisplayInterval:300,refreshDefsGlobal:u.throttle(function(){for(var o=document.querySelectorAll("defs"),e=o.length,s=0;s<e;s++){var r=o[s];r.parentNode.insertBefore(r,r)}},w?w.internetExplorerRedisplayInterval:null),setCTM:function(o,e,s){var r=this,c="matrix("+e.a+","+e.b+","+e.c+","+e.d+","+e.e+","+e.f+")";o.setAttributeNS(null,"transform",c),"transform"in o.style?o.style.transform=c:"-ms-transform"in o.style?o.style["-ms-transform"]=c:"-webkit-transform"in o.style&&(o.style["-webkit-transform"]=c),i==="ie"&&s&&(s.parentNode.insertBefore(s,s),window.setTimeout(function(){r.refreshDefsGlobal()},r.internetExplorerRedisplayInterval))},getEventPoint:function(o,e){var s=e.createSVGPoint();return u.mouseAndTouchNormalize(o,e),s.x=o.clientX,s.y=o.clientY,s},getSvgCenterPoint:function(o,e,s){return this.createSVGPoint(o,e/2,s/2)},createSVGPoint:function(o,e,s){var r=o.createSVGPoint();return r.x=e,r.y=s,r}},w}var S,B;function q(){if(B)return S;B=1;var u=E();return S={enable:function(i){var o=i.svg.querySelector("defs");o||(o=document.createElementNS(u.svgNS,"defs"),i.svg.appendChild(o));var e=o.querySelector("style#svg-pan-zoom-controls-styles");if(!e){var s=document.createElementNS(u.svgNS,"style");s.setAttribute("id","svg-pan-zoom-controls-styles"),s.setAttribute("type","text/css"),s.textContent=".svg-pan-zoom-control { cursor: pointer; fill: black; fill-opacity: 0.333; } .svg-pan-zoom-control:hover { fill-opacity: 0.8; } .svg-pan-zoom-control-background { fill: white; fill-opacity: 0.5; } .svg-pan-zoom-control-background { fill-opacity: 0.8; }",o.appendChild(s)}var r=document.createElementNS(u.svgNS,"g");r.setAttribute("id","svg-pan-zoom-controls"),r.setAttribute("transform","translate("+(i.width-70)+" "+(i.height-76)+") scale(0.75)"),r.setAttribute("class","svg-pan-zoom-control"),r.appendChild(this._createZoomIn(i)),r.appendChild(this._createZoomReset(i)),r.appendChild(this._createZoomOut(i)),i.svg.appendChild(r),i.controlIcons=r},_createZoomIn:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-zoom-in"),o.setAttribute("transform","translate(30.5 5) scale(0.015)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().zoomIn()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().zoomIn()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("width","1500"),e.setAttribute("height","1400"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");return s.setAttribute("d","M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s),o},_createZoomReset:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-reset-pan-zoom"),o.setAttribute("transform","translate(5 35) scale(0.4)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().reset()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().reset()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","2"),e.setAttribute("y","2"),e.setAttribute("width","182"),e.setAttribute("height","58"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");s.setAttribute("d","M33.051,20.632c-0.742-0.406-1.854-0.609-3.338-0.609h-7.969v9.281h7.769c1.543,0,2.701-0.188,3.473-0.562c1.365-0.656,2.048-1.953,2.048-3.891C35.032,22.757,34.372,21.351,33.051,20.632z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s);var r=document.createElementNS(u.svgNS,"path");return r.setAttribute("d","M170.231,0.5H15.847C7.102,0.5,0.5,5.708,0.5,11.84v38.861C0.5,56.833,7.102,61.5,15.847,61.5h154.384c8.745,0,15.269-4.667,15.269-10.798V11.84C185.5,5.708,178.976,0.5,170.231,0.5z M42.837,48.569h-7.969c-0.219-0.766-0.375-1.383-0.469-1.852c-0.188-0.969-0.289-1.961-0.305-2.977l-0.047-3.211c-0.03-2.203-0.41-3.672-1.142-4.406c-0.732-0.734-2.103-1.102-4.113-1.102h-7.05v13.547h-7.055V14.022h16.524c2.361,0.047,4.178,0.344,5.45,0.891c1.272,0.547,2.351,1.352,3.234,2.414c0.731,0.875,1.31,1.844,1.737,2.906s0.64,2.273,0.64,3.633c0,1.641-0.414,3.254-1.242,4.84s-2.195,2.707-4.102,3.363c1.594,0.641,2.723,1.551,3.387,2.73s0.996,2.98,0.996,5.402v2.32c0,1.578,0.063,2.648,0.19,3.211c0.19,0.891,0.635,1.547,1.333,1.969V48.569z M75.579,48.569h-26.18V14.022h25.336v6.117H56.454v7.336h16.781v6H56.454v8.883h19.125V48.569z M104.497,46.331c-2.44,2.086-5.887,3.129-10.34,3.129c-4.548,0-8.125-1.027-10.731-3.082s-3.909-4.879-3.909-8.473h6.891c0.224,1.578,0.662,2.758,1.316,3.539c1.196,1.422,3.246,2.133,6.15,2.133c1.739,0,3.151-0.188,4.236-0.562c2.058-0.719,3.087-2.055,3.087-4.008c0-1.141-0.504-2.023-1.512-2.648c-1.008-0.609-2.607-1.148-4.796-1.617l-3.74-0.82c-3.676-0.812-6.201-1.695-7.576-2.648c-2.328-1.594-3.492-4.086-3.492-7.477c0-3.094,1.139-5.664,3.417-7.711s5.623-3.07,10.036-3.07c3.685,0,6.829,0.965,9.431,2.895c2.602,1.93,3.966,4.73,4.093,8.402h-6.938c-0.128-2.078-1.057-3.555-2.787-4.43c-1.154-0.578-2.587-0.867-4.301-0.867c-1.907,0-3.428,0.375-4.565,1.125c-1.138,0.75-1.706,1.797-1.706,3.141c0,1.234,0.561,2.156,1.682,2.766c0.721,0.406,2.25,0.883,4.589,1.43l6.063,1.43c2.657,0.625,4.648,1.461,5.975,2.508c2.059,1.625,3.089,3.977,3.089,7.055C108.157,41.624,106.937,44.245,104.497,46.331z M139.61,48.569h-26.18V14.022h25.336v6.117h-18.281v7.336h16.781v6h-16.781v8.883h19.125V48.569z M170.337,20.14h-10.336v28.43h-7.266V20.14h-10.383v-6.117h27.984V20.14z"),r.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(r),o},_createZoomOut:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-zoom-out"),o.setAttribute("transform","translate(30.5 70) scale(0.015)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().zoomOut()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().zoomOut()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("width","1500"),e.setAttribute("height","1400"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");return s.setAttribute("d","M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s),o},disable:function(i){i.controlIcons&&(i.controlIcons.parentNode.removeChild(i.controlIcons),i.controlIcons=null)}},S}var M,N;function L(){if(N)return M;N=1;var u=E(),i=Z(),o=function(e,s){this.init(e,s)};return o.prototype.init=function(e,s){this.viewport=e,this.options=s,this.originalState={zoom:1,x:0,y:0},this.activeState={zoom:1,x:0,y:0},this.updateCTMCached=i.proxy(this.updateCTM,this),this.requestAnimationFrame=i.createRequestAnimationFrame(this.options.refreshRate),this.viewBox={x:0,y:0,width:0,height:0},this.cacheViewBox();var r=this.processCTM();this.setCTM(r),this.updateCTM()},o.prototype.cacheViewBox=function(){var e=this.options.svg.getAttribute("viewBox");if(e){var s=e.split(/[\s\,]/).filter(function(c){return c}).map(parseFloat);this.viewBox.x=s[0],this.viewBox.y=s[1],this.viewBox.width=s[2],this.viewBox.height=s[3];var r=Math.min(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height);this.activeState.zoom=r,this.activeState.x=(this.options.width-this.viewBox.width*r)/2,this.activeState.y=(this.options.height-this.viewBox.height*r)/2,this.updateCTMOnNextFrame(),this.options.svg.removeAttribute("viewBox")}else this.simpleViewBoxCache()},o.prototype.simpleViewBoxCache=function(){var e=this.viewport.getBBox();this.viewBox.x=e.x,this.viewBox.y=e.y,this.viewBox.width=e.width,this.viewBox.height=e.height},o.prototype.getViewBox=function(){return i.extend({},this.viewBox)},o.prototype.processCTM=function(){var e=this.getCTM();if(this.options.fit||this.options.contain){var s;this.options.fit?s=Math.min(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height):s=Math.max(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height),e.a=s,e.d=s,e.e=-this.viewBox.x*s,e.f=-this.viewBox.y*s}if(this.options.center){var r=(this.options.width-(this.viewBox.width+this.viewBox.x*2)*e.a)*.5,c=(this.options.height-(this.viewBox.height+this.viewBox.y*2)*e.a)*.5;e.e=r,e.f=c}return this.originalState.zoom=e.a,this.originalState.x=e.e,this.originalState.y=e.f,e},o.prototype.getOriginalState=function(){return i.extend({},this.originalState)},o.prototype.getState=function(){return i.extend({},this.activeState)},o.prototype.getZoom=function(){return this.activeState.zoom},o.prototype.getRelativeZoom=function(){return this.activeState.zoom/this.originalState.zoom},o.prototype.computeRelativeZoom=function(e){return e/this.originalState.zoom},o.prototype.getPan=function(){return{x:this.activeState.x,y:this.activeState.y}},o.prototype.getCTM=function(){var e=this.options.svg.createSVGMatrix();return e.a=this.activeState.zoom,e.b=0,e.c=0,e.d=this.activeState.zoom,e.e=this.activeState.x,e.f=this.activeState.y,e},o.prototype.setCTM=function(e){var s=this.isZoomDifferent(e),r=this.isPanDifferent(e);if(s||r){if(s&&(this.options.beforeZoom(this.getRelativeZoom(),this.computeRelativeZoom(e.a))===!1?(e.a=e.d=this.activeState.zoom,s=!1):(this.updateCache(e),this.options.onZoom(this.getRelativeZoom()))),r){var c=this.options.beforePan(this.getPan(),{x:e.e,y:e.f}),d=!1,f=!1;c===!1?(e.e=this.getPan().x,e.f=this.getPan().y,d=f=!0):i.isObject(c)&&(c.x===!1?(e.e=this.getPan().x,d=!0):i.isNumber(c.x)&&(e.e=c.x),c.y===!1?(e.f=this.getPan().y,f=!0):i.isNumber(c.y)&&(e.f=c.y)),d&&f||!this.isPanDifferent(e)?r=!1:(this.updateCache(e),this.options.onPan(this.getPan()))}(s||r)&&this.updateCTMOnNextFrame()}},o.prototype.isZoomDifferent=function(e){return this.activeState.zoom!==e.a},o.prototype.isPanDifferent=function(e){return this.activeState.x!==e.e||this.activeState.y!==e.f},o.prototype.updateCache=function(e){this.activeState.zoom=e.a,this.activeState.x=e.e,this.activeState.y=e.f},o.prototype.pendingUpdate=!1,o.prototype.updateCTMOnNextFrame=function(){this.pendingUpdate||(this.pendingUpdate=!0,this.requestAnimationFrame.call(window,this.updateCTMCached))},o.prototype.updateCTM=function(){var e=this.getCTM();u.setCTM(this.viewport,e,this.defs),this.pendingUpdate=!1,this.options.onUpdatedCTM&&this.options.onUpdatedCTM(e)},M=function(e,s){return new o(e,s)},M}var z,I;function V(){if(I)return z;I=1;var u=T(),i=q(),o=Z(),e=E(),s=L(),r=function(t,n){this.init(t,n)},c={viewportSelector:".svg-pan-zoom_viewport",panEnabled:!0,controlIconsEnabled:!1,zoomEnabled:!0,dblClickZoomEnabled:!0,mouseWheelZoomEnabled:!0,preventMouseEventsDefault:!0,zoomScaleSensitivity:.1,minZoom:.5,maxZoom:10,fit:!0,contain:!1,center:!0,refreshRate:"auto",beforeZoom:null,onZoom:null,beforePan:null,onPan:null,customEventsHandler:null,eventsListenerElement:null,onUpdatedCTM:null},d={passive:!0};r.prototype.init=function(t,n){var l=this;this.svg=t,this.defs=t.querySelector("defs"),e.setupSvgAttributes(this.svg),this.options=o.extend(o.extend({},c),n),this.state="none";var p=e.getBoundingClientRectNormalized(t);this.width=p.width,this.height=p.height,this.viewport=s(e.getOrCreateViewport(this.svg,this.options.viewportSelector),{svg:this.svg,width:this.width,height:this.height,fit:this.options.fit,contain:this.options.contain,center:this.options.center,refreshRate:this.options.refreshRate,beforeZoom:function(a,m){if(l.viewport&&l.options.beforeZoom)return l.options.beforeZoom(a,m)},onZoom:function(a){if(l.viewport&&l.options.onZoom)return l.options.onZoom(a)},beforePan:function(a,m){if(l.viewport&&l.options.beforePan)return l.options.beforePan(a,m)},onPan:function(a){if(l.viewport&&l.options.onPan)return l.options.onPan(a)},onUpdatedCTM:function(a){if(l.viewport&&l.options.onUpdatedCTM)return l.options.onUpdatedCTM(a)}});var h=this.getPublicInstance();h.setBeforeZoom(this.options.beforeZoom),h.setOnZoom(this.options.onZoom),h.setBeforePan(this.options.beforePan),h.setOnPan(this.options.onPan),h.setOnUpdatedCTM(this.options.onUpdatedCTM),this.options.controlIconsEnabled&&i.enable(this),this.lastMouseWheelEventTime=Date.now(),this.setupHandlers()},r.prototype.setupHandlers=function(){var t=this,n=null;if(this.eventListeners={mousedown:function(a){var m=t.handleMouseDown(a,n);return n=a,m},touchstart:function(a){var m=t.handleMouseDown(a,n);return n=a,m},mouseup:function(a){return t.handleMouseUp(a)},touchend:function(a){return t.handleMouseUp(a)},mousemove:function(a){return t.handleMouseMove(a)},touchmove:function(a){return t.handleMouseMove(a)},mouseleave:function(a){return t.handleMouseUp(a)},touchleave:function(a){return t.handleMouseUp(a)},touchcancel:function(a){return t.handleMouseUp(a)}},this.options.customEventsHandler!=null){this.options.customEventsHandler.init({svgElement:this.svg,eventsListenerElement:this.options.eventsListenerElement,instance:this.getPublicInstance()});var l=this.options.customEventsHandler.haltEventListeners;if(l&&l.length)for(var p=l.length-1;p>=0;p--)this.eventListeners.hasOwnProperty(l[p])&&delete this.eventListeners[l[p]]}for(var h in this.eventListeners)(this.options.eventsListenerElement||this.svg).addEventListener(h,this.eventListeners[h],this.options.preventMouseEventsDefault?!1:d);this.options.mouseWheelZoomEnabled&&(this.options.mouseWheelZoomEnabled=!1,this.enableMouseWheelZoom())},r.prototype.enableMouseWheelZoom=function(){if(!this.options.mouseWheelZoomEnabled){var t=this;this.wheelListener=function(l){return t.handleMouseWheel(l)};var n=!this.options.preventMouseEventsDefault;u.on(this.options.eventsListenerElement||this.svg,this.wheelListener,n),this.options.mouseWheelZoomEnabled=!0}},r.prototype.disableMouseWheelZoom=function(){if(this.options.mouseWheelZoomEnabled){var t=!this.options.preventMouseEventsDefault;u.off(this.options.eventsListenerElement||this.svg,this.wheelListener,t),this.options.mouseWheelZoomEnabled=!1}},r.prototype.handleMouseWheel=function(t){if(!(!this.options.zoomEnabled||this.state!=="none")){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1);var n=t.deltaY||1,l=Date.now()-this.lastMouseWheelEventTime,p=3+Math.max(0,30-l);this.lastMouseWheelEventTime=Date.now(),"deltaMode"in t&&t.deltaMode===0&&t.wheelDelta&&(n=t.deltaY===0?0:Math.abs(t.wheelDelta)/t.deltaY),n=-.3<n&&n<.3?n:(n>0?1:-1)*Math.log(Math.abs(n)+10)/p;var h=this.svg.getScreenCTM().inverse(),a=e.getEventPoint(t,this.svg).matrixTransform(h),m=Math.pow(1+this.options.zoomScaleSensitivity,-1*n);this.zoomAtPoint(m,a)}},r.prototype.zoomAtPoint=function(t,n,l){var p=this.viewport.getOriginalState();l?(t=Math.max(this.options.minZoom*p.zoom,Math.min(this.options.maxZoom*p.zoom,t)),t=t/this.getZoom()):this.getZoom()*t<this.options.minZoom*p.zoom?t=this.options.minZoom*p.zoom/this.getZoom():this.getZoom()*t>this.options.maxZoom*p.zoom&&(t=this.options.maxZoom*p.zoom/this.getZoom());var h=this.viewport.getCTM(),a=n.matrixTransform(h.inverse()),m=this.svg.createSVGMatrix().translate(a.x,a.y).scale(t).translate(-a.x,-a.y),v=h.multiply(m);v.a!==h.a&&this.viewport.setCTM(v)},r.prototype.zoom=function(t,n){this.zoomAtPoint(t,e.getSvgCenterPoint(this.svg,this.width,this.height),n)},r.prototype.publicZoom=function(t,n){n&&(t=this.computeFromRelativeZoom(t)),this.zoom(t,n)},r.prototype.publicZoomAtPoint=function(t,n,l){if(l&&(t=this.computeFromRelativeZoom(t)),o.getType(n)!=="SVGPoint")if("x"in n&&"y"in n)n=e.createSVGPoint(this.svg,n.x,n.y);else throw new Error("Given point is invalid");this.zoomAtPoint(t,n,l)},r.prototype.getZoom=function(){return this.viewport.getZoom()},r.prototype.getRelativeZoom=function(){return this.viewport.getRelativeZoom()},r.prototype.computeFromRelativeZoom=function(t){return t*this.viewport.getOriginalState().zoom},r.prototype.resetZoom=function(){var t=this.viewport.getOriginalState();this.zoom(t.zoom,!0)},r.prototype.resetPan=function(){this.pan(this.viewport.getOriginalState())},r.prototype.reset=function(){this.resetZoom(),this.resetPan()},r.prototype.handleDblClick=function(t){if(this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.options.controlIconsEnabled){var n=t.target.getAttribute("class")||"";if(n.indexOf("svg-pan-zoom-control")>-1)return!1}var l;t.shiftKey?l=1/((1+this.options.zoomScaleSensitivity)*2):l=(1+this.options.zoomScaleSensitivity)*2;var p=e.getEventPoint(t,this.svg).matrixTransform(this.svg.getScreenCTM().inverse());this.zoomAtPoint(l,p)},r.prototype.handleMouseDown=function(t,n){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),o.mouseAndTouchNormalize(t,this.svg),this.options.dblClickZoomEnabled&&o.isDblClick(t,n)?this.handleDblClick(t):(this.state="pan",this.firstEventCTM=this.viewport.getCTM(),this.stateOrigin=e.getEventPoint(t,this.svg).matrixTransform(this.firstEventCTM.inverse()))},r.prototype.handleMouseMove=function(t){if(this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.state==="pan"&&this.options.panEnabled){var n=e.getEventPoint(t,this.svg).matrixTransform(this.firstEventCTM.inverse()),l=this.firstEventCTM.translate(n.x-this.stateOrigin.x,n.y-this.stateOrigin.y);this.viewport.setCTM(l)}},r.prototype.handleMouseUp=function(t){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.state==="pan"&&(this.state="none")},r.prototype.fit=function(){var t=this.viewport.getViewBox(),n=Math.min(this.width/t.width,this.height/t.height);this.zoom(n,!0)},r.prototype.contain=function(){var t=this.viewport.getViewBox(),n=Math.max(this.width/t.width,this.height/t.height);this.zoom(n,!0)},r.prototype.center=function(){var t=this.viewport.getViewBox(),n=(this.width-(t.width+t.x*2)*this.getZoom())*.5,l=(this.height-(t.height+t.y*2)*this.getZoom())*.5;this.getPublicInstance().pan({x:n,y:l})},r.prototype.updateBBox=function(){this.viewport.simpleViewBoxCache()},r.prototype.pan=function(t){var n=this.viewport.getCTM();n.e=t.x,n.f=t.y,this.viewport.setCTM(n)},r.prototype.panBy=function(t){var n=this.viewport.getCTM();n.e+=t.x,n.f+=t.y,this.viewport.setCTM(n)},r.prototype.getPan=function(){var t=this.viewport.getState();return{x:t.x,y:t.y}},r.prototype.resize=function(){var t=e.getBoundingClientRectNormalized(this.svg);this.width=t.width,this.height=t.height;var n=this.viewport;n.options.width=this.width,n.options.height=this.height,n.processCTM(),this.options.controlIconsEnabled&&(this.getPublicInstance().disableControlIcons(),this.getPublicInstance().enableControlIcons())},r.prototype.destroy=function(){var t=this;this.beforeZoom=null,this.onZoom=null,this.beforePan=null,this.onPan=null,this.onUpdatedCTM=null,this.options.customEventsHandler!=null&&this.options.customEventsHandler.destroy({svgElement:this.svg,eventsListenerElement:this.options.eventsListenerElement,instance:this.getPublicInstance()});for(var n in this.eventListeners)(this.options.eventsListenerElement||this.svg).removeEventListener(n,this.eventListeners[n],this.options.preventMouseEventsDefault?!1:d);this.disableMouseWheelZoom(),this.getPublicInstance().disableControlIcons(),this.reset(),f=f.filter(function(l){return l.svg!==t.svg}),delete this.options,delete this.viewport,delete this.publicInstance,delete this.pi,this.getPublicInstance=function(){return null}},r.prototype.getPublicInstance=function(){var t=this;return this.publicInstance||(this.publicInstance=this.pi={enablePan:function(){return t.options.panEnabled=!0,t.pi},disablePan:function(){return t.options.panEnabled=!1,t.pi},isPanEnabled:function(){return!!t.options.panEnabled},pan:function(n){return t.pan(n),t.pi},panBy:function(n){return t.panBy(n),t.pi},getPan:function(){return t.getPan()},setBeforePan:function(n){return t.options.beforePan=n===null?null:o.proxy(n,t.publicInstance),t.pi},setOnPan:function(n){return t.options.onPan=n===null?null:o.proxy(n,t.publicInstance),t.pi},enableZoom:function(){return t.options.zoomEnabled=!0,t.pi},disableZoom:function(){return t.options.zoomEnabled=!1,t.pi},isZoomEnabled:function(){return!!t.options.zoomEnabled},enableControlIcons:function(){return t.options.controlIconsEnabled||(t.options.controlIconsEnabled=!0,i.enable(t)),t.pi},disableControlIcons:function(){return t.options.controlIconsEnabled&&(t.options.controlIconsEnabled=!1,i.disable(t)),t.pi},isControlIconsEnabled:function(){return!!t.options.controlIconsEnabled},enableDblClickZoom:function(){return t.options.dblClickZoomEnabled=!0,t.pi},disableDblClickZoom:function(){return t.options.dblClickZoomEnabled=!1,t.pi},isDblClickZoomEnabled:function(){return!!t.options.dblClickZoomEnabled},enableMouseWheelZoom:function(){return t.enableMouseWheelZoom(),t.pi},disableMouseWheelZoom:function(){return t.disableMouseWheelZoom(),t.pi},isMouseWheelZoomEnabled:function(){return!!t.options.mouseWheelZoomEnabled},setZoomScaleSensitivity:function(n){return t.options.zoomScaleSensitivity=n,t.pi},setMinZoom:function(n){return t.options.minZoom=n,t.pi},setMaxZoom:function(n){return t.options.maxZoom=n,t.pi},setBeforeZoom:function(n){return t.options.beforeZoom=n===null?null:o.proxy(n,t.publicInstance),t.pi},setOnZoom:function(n){return t.options.onZoom=n===null?null:o.proxy(n,t.publicInstance),t.pi},zoom:function(n){return t.publicZoom(n,!0),t.pi},zoomBy:function(n){return t.publicZoom(n,!1),t.pi},zoomAtPoint:function(n,l){return t.publicZoomAtPoint(n,l,!0),t.pi},zoomAtPointBy:function(n,l){return t.publicZoomAtPoint(n,l,!1),t.pi},zoomIn:function(){return this.zoomBy(1+t.options.zoomScaleSensitivity),t.pi},zoomOut:function(){return this.zoomBy(1/(1+t.options.zoomScaleSensitivity)),t.pi},getZoom:function(){return t.getRelativeZoom()},setOnUpdatedCTM:function(n){return t.options.onUpdatedCTM=n===null?null:o.proxy(n,t.publicInstance),t.pi},resetZoom:function(){return t.resetZoom(),t.pi},resetPan:function(){return t.resetPan(),t.pi},reset:function(){return t.reset(),t.pi},fit:function(){return t.fit(),t.pi},contain:function(){return t.contain(),t.pi},center:function(){return t.center(),t.pi},updateBBox:function(){return t.updateBBox(),t.pi},resize:function(){return t.resize(),t.pi},getSizes:function(){return{width:t.width,height:t.height,realZoom:t.getZoom(),viewBox:t.viewport.getViewBox()}},destroy:function(){return t.destroy(),t.pi}}),this.publicInstance};var f=[],g=function(t,n){var l=o.getSvg(t);if(l===null)return null;for(var p=f.length-1;p>=0;p--)if(f[p].svg===l)return f[p].instance.getPublicInstance();return f.push({svg:l,instance:new r(l,n)}),f[f.length-1].instance.getPublicInstance()};return z=g,z}var O=V();const R=D(O);function k(u,i){if(u.querySelector(".svg-zoom-controls"))return;const o=document.createElement("div");o.className="svg-zoom-controls",o.innerHTML=`
|
|
2
2
|
<button class="svg-zoom-btn" data-action="zoom-out" title="Zoom out">
|
|
3
3
|
<svg viewBox="0 0 24 24" width="20" height="20"><path fill="currentColor" d="M19 13H5v-2h14v2z"/></svg>
|
|
4
4
|
</button>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as gi,g as xi,t as Xt,q as di,a as pi,b as fi,c as n,l as Nt,K as yi,f as mi,z as bi,H as Ct,j as Ai,F as Yt,G as wi,R as Ci,S as Bt,T as Si,Q as Wt,U as zt}from"./mermaid-
|
|
1
|
+
import{s as gi,g as xi,t as Xt,q as di,a as pi,b as fi,c as n,l as Nt,K as yi,f as mi,z as bi,H as Ct,j as Ai,F as Yt,G as wi,R as Ci,S as Bt,T as Si,Q as Wt,U as zt}from"./mermaid-MmHzOPPB.js";var mt=(function(){var s=n(function(W,r,u,g){for(u=u||{},g=W.length;g--;u[W[g]]=r);return u},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],e=[1,3],a=[1,5],c=[1,6],d=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],b=[1,25],P=[1,26],I=[1,28],R=[1,29],L=[1,30],z=[1,31],F=[1,32],D=[1,33],V=[1,34],f=[1,35],C=[1,36],l=[1,37],M=[1,43],B=[1,42],U=[1,47],X=[1,50],h=[1,10,12,14,16,18,19,21,23,34,35,36],k=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],w=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],S=[1,64],$={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:n(function(r,u,g,x,A,o,nt){var p=o.length-1;switch(A){case 5:x.setOrientation(o[p]);break;case 9:x.setDiagramTitle(o[p].text.trim());break;case 12:x.setLineData({text:"",type:"text"},o[p]);break;case 13:x.setLineData(o[p-1],o[p]);break;case 14:x.setBarData({text:"",type:"text"},o[p]);break;case 15:x.setBarData(o[p-1],o[p]);break;case 16:this.$=o[p].trim(),x.setAccTitle(this.$);break;case 17:case 18:this.$=o[p].trim(),x.setAccDescription(this.$);break;case 19:this.$=o[p-1];break;case 20:this.$=[Number(o[p-2]),...o[p]];break;case 21:this.$=[Number(o[p])];break;case 22:x.setXAxisTitle(o[p]);break;case 23:x.setXAxisTitle(o[p-1]);break;case 24:x.setXAxisTitle({type:"text",text:""});break;case 25:x.setXAxisBand(o[p]);break;case 26:x.setXAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 27:this.$=o[p-1];break;case 28:this.$=[o[p-2],...o[p]];break;case 29:this.$=[o[p]];break;case 30:x.setYAxisTitle(o[p]);break;case 31:x.setYAxisTitle(o[p-1]);break;case 32:x.setYAxisTitle({type:"text",text:""});break;case 33:x.setYAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 37:this.$={text:o[p],type:"text"};break;case 38:this.$={text:o[p],type:"text"};break;case 39:this.$={text:o[p],type:"markdown"};break;case 40:this.$=o[p];break;case 41:this.$=o[p-1]+""+o[p];break}},"anonymous"),table:[s(t,i,{3:1,4:2,7:4,5:e,34:a,35:c,36:d}),{1:[3]},s(t,i,{4:2,7:4,3:8,5:e,34:a,35:c,36:d}),s(t,i,{4:2,7:4,6:9,3:10,5:e,8:[1,11],34:a,35:c,36:d}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},s(m,[2,34]),s(m,[2,35]),s(m,[2,36]),{1:[2,1]},s(t,i,{4:2,7:4,3:21,5:e,34:a,35:c,36:d}),{1:[2,3]},s(m,[2,5]),s(t,[2,7],{4:22,34:a,35:c,36:d}),{11:23,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:39,13:38,24:M,27:B,29:40,30:41,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:45,15:44,27:U,33:46,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:49,17:48,24:X,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:52,17:51,24:X,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{20:[1,53]},{22:[1,54]},s(h,[2,18]),{1:[2,2]},s(h,[2,8]),s(h,[2,9]),s(k,[2,37],{40:55,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l}),s(k,[2,38]),s(k,[2,39]),s(w,[2,40]),s(w,[2,42]),s(w,[2,43]),s(w,[2,44]),s(w,[2,45]),s(w,[2,46]),s(w,[2,47]),s(w,[2,48]),s(w,[2,49]),s(w,[2,50]),s(w,[2,51]),s(h,[2,10]),s(h,[2,22],{30:41,29:56,24:M,27:B}),s(h,[2,24]),s(h,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},s(h,[2,11]),s(h,[2,30],{33:60,27:U}),s(h,[2,32]),{31:[1,61]},s(h,[2,12]),{17:62,24:X},{25:63,27:S},s(h,[2,14]),{17:65,24:X},s(h,[2,16]),s(h,[2,17]),s(w,[2,41]),s(h,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},s(h,[2,31]),{27:[1,69]},s(h,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},s(h,[2,15]),s(h,[2,26]),s(h,[2,27]),{11:59,32:72,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},s(h,[2,33]),s(h,[2,19]),{25:73,27:S},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:n(function(r,u){if(u.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=u,g}},"parseError"),parse:n(function(r){var u=this,g=[0],x=[],A=[null],o=[],nt=this.table,p="",lt=0,Et=0,hi=2,It=1,li=o.slice.call(arguments,1),_=Object.create(this.lexer),Y={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Y.yy[dt]=this.yy[dt]);_.setInput(r,Y.yy),Y.yy.lexer=_,Y.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var pt=_.yylloc;o.push(pt);var ci=_.options&&_.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ui(v){g.length=g.length-2*v,A.length=A.length-v,o.length=o.length-v}n(ui,"popStack");function Vt(){var v;return v=x.pop()||_.lex()||It,typeof v!="number"&&(v instanceof Array&&(x=v,v=x.pop()),v=u.symbols_[v]||v),v}n(Vt,"lex");for(var T,H,E,ft,q={},ct,O,Mt,ut;;){if(H=g[g.length-1],this.defaultActions[H]?E=this.defaultActions[H]:((T===null||typeof T>"u")&&(T=Vt()),E=nt[H]&&nt[H][T]),typeof E>"u"||!E.length||!E[0]){var yt="";ut=[];for(ct in nt[H])this.terminals_[ct]&&ct>hi&&ut.push("'"+this.terminals_[ct]+"'");_.showPosition?yt="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[T]||T)+"'":yt="Parse error on line "+(lt+1)+": Unexpected "+(T==It?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(yt,{text:_.match,token:this.terminals_[T]||T,line:_.yylineno,loc:pt,expected:ut})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+T);switch(E[0]){case 1:g.push(T),A.push(_.yytext),o.push(_.yylloc),g.push(E[1]),T=null,Et=_.yyleng,p=_.yytext,lt=_.yylineno,pt=_.yylloc;break;case 2:if(O=this.productions_[E[1]][1],q.$=A[A.length-O],q._$={first_line:o[o.length-(O||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(O||1)].first_column,last_column:o[o.length-1].last_column},ci&&(q._$.range=[o[o.length-(O||1)].range[0],o[o.length-1].range[1]]),ft=this.performAction.apply(q,[p,Et,lt,Y.yy,E[1],A,o].concat(li)),typeof ft<"u")return ft;O&&(g=g.slice(0,-1*O*2),A=A.slice(0,-1*O),o=o.slice(0,-1*O)),g.push(this.productions_[E[1]][0]),A.push(q.$),o.push(q._$),Mt=nt[g[g.length-2]][g[g.length-1]],g.push(Mt);break;case 3:return!0}}return!0},"parse")},Lt=(function(){var W={EOF:1,parseError:n(function(u,g){if(this.yy.parser)this.yy.parser.parseError(u,g);else throw new Error(u)},"parseError"),setInput:n(function(r,u){return this.yy=u||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var u=r.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var u=r.length,g=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===x.length?this.yylloc.first_column:0)+x[x.length-g.length].length-g[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),u=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>IONOS Architecture</title>
|
|
7
7
|
<link rel="icon" href="/favicon.ico" />
|
|
8
|
-
<script type="module" crossorigin src="/vue/index-
|
|
9
|
-
<link rel="modulepreload" crossorigin href="/vue/mermaid-
|
|
8
|
+
<script type="module" crossorigin src="/vue/index-BUI400cn.js"></script>
|
|
9
|
+
<link rel="modulepreload" crossorigin href="/vue/mermaid-MmHzOPPB.js">
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/vue/index-Tiu4C-Sb.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: archsight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vincent Landgraf
|
|
@@ -215,6 +215,7 @@ files:
|
|
|
215
215
|
- chart/archsight/templates/ingress.yaml
|
|
216
216
|
- chart/archsight/templates/resources-configmap.yaml
|
|
217
217
|
- chart/archsight/templates/resources-pvc.yaml
|
|
218
|
+
- chart/archsight/templates/restart-secret.yaml
|
|
218
219
|
- chart/archsight/templates/service.yaml
|
|
219
220
|
- chart/archsight/templates/serviceaccount.yaml
|
|
220
221
|
- chart/archsight/values.yaml
|
|
@@ -327,73 +328,73 @@ files:
|
|
|
327
328
|
- lib/archsight/web/editor/routes.rb
|
|
328
329
|
- lib/archsight/web/public/favicon.ico
|
|
329
330
|
- lib/archsight/web/public/vue.html
|
|
330
|
-
- lib/archsight/web/public/vue/ApiDocsPage-
|
|
331
|
+
- lib/archsight/web/public/vue/ApiDocsPage-DHOFUCYc.js
|
|
331
332
|
- lib/archsight/web/public/vue/ApiDocsPage-DhNTOH4o.css
|
|
332
|
-
- lib/archsight/web/public/vue/DocPage-
|
|
333
|
+
- lib/archsight/web/public/vue/DocPage-CV66qgTr.js
|
|
333
334
|
- lib/archsight/web/public/vue/EditorPage-Dq0MuTnp.css
|
|
334
|
-
- lib/archsight/web/public/vue/EditorPage-
|
|
335
|
+
- lib/archsight/web/public/vue/EditorPage-KqBivY-B.js
|
|
335
336
|
- lib/archsight/web/public/vue/ErrorPage-CwPT3JUr.css
|
|
336
|
-
- lib/archsight/web/public/vue/ErrorPage-
|
|
337
|
-
- lib/archsight/web/public/vue/GraphView-
|
|
337
|
+
- lib/archsight/web/public/vue/ErrorPage-DcbC8Kf1.js
|
|
338
|
+
- lib/archsight/web/public/vue/GraphView-Bg_l-F-Q.js
|
|
338
339
|
- lib/archsight/web/public/vue/GraphView-DRcIqAiR.css
|
|
339
|
-
- lib/archsight/web/public/vue/InstanceRouter-
|
|
340
|
-
- lib/archsight/web/public/vue/InstanceRouter-
|
|
341
|
-
- lib/archsight/web/public/vue/KindList-
|
|
340
|
+
- lib/archsight/web/public/vue/InstanceRouter-4VEtZM7n.css
|
|
341
|
+
- lib/archsight/web/public/vue/InstanceRouter-D-twdyZY.js
|
|
342
|
+
- lib/archsight/web/public/vue/KindList-CPImTKNb.js
|
|
343
|
+
- lib/archsight/web/public/vue/ResourceList-DMxm0cGh.js
|
|
342
344
|
- lib/archsight/web/public/vue/ResourceList-DP-z-j71.css
|
|
343
|
-
- lib/archsight/web/public/vue/ResourceList-DwsfI85-.js
|
|
344
345
|
- lib/archsight/web/public/vue/SearchResults-BGHbg48-.css
|
|
345
|
-
- lib/archsight/web/public/vue/SearchResults-
|
|
346
|
-
- lib/archsight/web/public/vue/
|
|
347
|
-
- lib/archsight/web/public/vue/
|
|
348
|
-
- lib/archsight/web/public/vue/
|
|
349
|
-
- lib/archsight/web/public/vue/
|
|
350
|
-
- lib/archsight/web/public/vue/
|
|
351
|
-
- lib/archsight/web/public/vue/chunk-
|
|
352
|
-
- lib/archsight/web/public/vue/chunk-
|
|
353
|
-
- lib/archsight/web/public/vue/chunk-
|
|
354
|
-
- lib/archsight/web/public/vue/chunk-
|
|
355
|
-
- lib/archsight/web/public/vue/chunk-
|
|
356
|
-
- lib/archsight/web/public/vue/chunk-
|
|
357
|
-
- lib/archsight/web/public/vue/chunk-
|
|
358
|
-
- lib/archsight/web/public/vue/
|
|
359
|
-
- lib/archsight/web/public/vue/classDiagram-
|
|
360
|
-
- lib/archsight/web/public/vue/
|
|
361
|
-
- lib/archsight/web/public/vue/
|
|
362
|
-
- lib/archsight/web/public/vue/cose-bilkent-S5V4N54A-CfkQxn-a.js
|
|
346
|
+
- lib/archsight/web/public/vue/SearchResults-BqUHEWHE.js
|
|
347
|
+
- lib/archsight/web/public/vue/_baseUniq-BjkdEi26.js
|
|
348
|
+
- lib/archsight/web/public/vue/architectureDiagram-VXUJARFQ-JN7CxdtP.js
|
|
349
|
+
- lib/archsight/web/public/vue/blockDiagram-VD42YOAC-teziPFHX.js
|
|
350
|
+
- lib/archsight/web/public/vue/c4Diagram-YG6GDRKO-CVNrzCCc.js
|
|
351
|
+
- lib/archsight/web/public/vue/chunk-4BX2VUAB-BQUARyyA.js
|
|
352
|
+
- lib/archsight/web/public/vue/chunk-55IACEB6-BgJn0Waa.js
|
|
353
|
+
- lib/archsight/web/public/vue/chunk-B4BG7PRW-0ghAfB1t.js
|
|
354
|
+
- lib/archsight/web/public/vue/chunk-DI55MBZ5-HJo1DW2B.js
|
|
355
|
+
- lib/archsight/web/public/vue/chunk-FMBD7UC4-C1GwGKgX.js
|
|
356
|
+
- lib/archsight/web/public/vue/chunk-QN33PNHL-BOoA1KfJ.js
|
|
357
|
+
- lib/archsight/web/public/vue/chunk-QZHKN3VN-BcTNH3IX.js
|
|
358
|
+
- lib/archsight/web/public/vue/chunk-TZMSLE5B-58bQF3J5.js
|
|
359
|
+
- lib/archsight/web/public/vue/classDiagram-2ON5EDUG-DAA8tpbN.js
|
|
360
|
+
- lib/archsight/web/public/vue/classDiagram-v2-WZHVMYZB-DAA8tpbN.js
|
|
361
|
+
- lib/archsight/web/public/vue/clone-BPcOyh7U.js
|
|
362
|
+
- lib/archsight/web/public/vue/cose-bilkent-S5V4N54A-Bv8iR4rF.js
|
|
363
363
|
- lib/archsight/web/public/vue/cytoscape.esm-5J0xJHOV.js
|
|
364
|
-
- lib/archsight/web/public/vue/dagre-6UL2VRFP-
|
|
365
|
-
- lib/archsight/web/public/vue/diagram-PSM6KHXK-
|
|
366
|
-
- lib/archsight/web/public/vue/diagram-QEK2KX5R-
|
|
367
|
-
- lib/archsight/web/public/vue/diagram-S2PKOQOG-
|
|
368
|
-
- lib/archsight/web/public/vue/erDiagram-Q2GNP2WA-
|
|
369
|
-
- lib/archsight/web/public/vue/flowDiagram-NV44I4VS-
|
|
370
|
-
- lib/archsight/web/public/vue/ganttDiagram-JELNMOA3-
|
|
371
|
-
- lib/archsight/web/public/vue/gitGraphDiagram-V2S2FVAM-
|
|
372
|
-
- lib/archsight/web/public/vue/graph-
|
|
364
|
+
- lib/archsight/web/public/vue/dagre-6UL2VRFP-B8ZPRhgU.js
|
|
365
|
+
- lib/archsight/web/public/vue/diagram-PSM6KHXK-Dp1bZnNq.js
|
|
366
|
+
- lib/archsight/web/public/vue/diagram-QEK2KX5R-DZBsDWP6.js
|
|
367
|
+
- lib/archsight/web/public/vue/diagram-S2PKOQOG-BKOnLWNk.js
|
|
368
|
+
- lib/archsight/web/public/vue/erDiagram-Q2GNP2WA-V6FqHPc9.js
|
|
369
|
+
- lib/archsight/web/public/vue/flowDiagram-NV44I4VS-BipXjPVT.js
|
|
370
|
+
- lib/archsight/web/public/vue/ganttDiagram-JELNMOA3-DUdVPVK1.js
|
|
371
|
+
- lib/archsight/web/public/vue/gitGraphDiagram-V2S2FVAM-Bcf_apTG.js
|
|
372
|
+
- lib/archsight/web/public/vue/graph-C4e9XILZ.js
|
|
373
373
|
- lib/archsight/web/public/vue/graphviz-CJms5bxZ.js
|
|
374
|
+
- lib/archsight/web/public/vue/index-BUI400cn.js
|
|
374
375
|
- lib/archsight/web/public/vue/index-Tiu4C-Sb.css
|
|
375
|
-
- lib/archsight/web/public/vue/
|
|
376
|
-
- lib/archsight/web/public/vue/
|
|
377
|
-
- lib/archsight/web/public/vue/
|
|
378
|
-
- lib/archsight/web/public/vue/kanban-definition-3W4ZIXB7-CuOjHa3p.js
|
|
376
|
+
- lib/archsight/web/public/vue/infoDiagram-HS3SLOUP-DBwnExXO.js
|
|
377
|
+
- lib/archsight/web/public/vue/journeyDiagram-XKPGCS4Q-D4b8PEzB.js
|
|
378
|
+
- lib/archsight/web/public/vue/kanban-definition-3W4ZIXB7-R6r4NPxJ.js
|
|
379
379
|
- lib/archsight/web/public/vue/katex-C-M49wc6.js
|
|
380
|
-
- lib/archsight/web/public/vue/layout-
|
|
381
|
-
- lib/archsight/web/public/vue/mermaid-
|
|
382
|
-
- lib/archsight/web/public/vue/
|
|
383
|
-
- lib/archsight/web/public/vue/
|
|
384
|
-
- lib/archsight/web/public/vue/
|
|
385
|
-
- lib/archsight/web/public/vue/
|
|
386
|
-
- lib/archsight/web/public/vue/
|
|
387
|
-
- lib/archsight/web/public/vue/
|
|
388
|
-
- lib/archsight/web/public/vue/
|
|
389
|
-
- lib/archsight/web/public/vue/stateDiagram-
|
|
390
|
-
- lib/archsight/web/public/vue/
|
|
391
|
-
- lib/archsight/web/public/vue/
|
|
392
|
-
- lib/archsight/web/public/vue/
|
|
393
|
-
- lib/archsight/web/public/vue/
|
|
394
|
-
- lib/archsight/web/public/vue/
|
|
395
|
-
- lib/archsight/web/public/vue/
|
|
396
|
-
- lib/archsight/web/public/vue/
|
|
380
|
+
- lib/archsight/web/public/vue/layout-CXL8NrCi.js
|
|
381
|
+
- lib/archsight/web/public/vue/mermaid-MmHzOPPB.js
|
|
382
|
+
- lib/archsight/web/public/vue/min-B4MPxNTL.js
|
|
383
|
+
- lib/archsight/web/public/vue/mindmap-definition-VGOIOE7T-BypPT67y.js
|
|
384
|
+
- lib/archsight/web/public/vue/pieDiagram-ADFJNKIX-BJ4nb15u.js
|
|
385
|
+
- lib/archsight/web/public/vue/quadrantDiagram-AYHSOK5B-D4Ee5XRs.js
|
|
386
|
+
- lib/archsight/web/public/vue/requirementDiagram-UZGBJVZJ-DuxpUmt2.js
|
|
387
|
+
- lib/archsight/web/public/vue/sankeyDiagram-TZEHDZUN-CgWlWmza.js
|
|
388
|
+
- lib/archsight/web/public/vue/sequenceDiagram-WL72ISMW-v2l2CbI0.js
|
|
389
|
+
- lib/archsight/web/public/vue/stateDiagram-FKZM4ZOC-B5ROi2_1.js
|
|
390
|
+
- lib/archsight/web/public/vue/stateDiagram-v2-4FDKWEC3-CQhha5H7.js
|
|
391
|
+
- lib/archsight/web/public/vue/timeline-definition-IT6M3QCI-Bnx2HvxP.js
|
|
392
|
+
- lib/archsight/web/public/vue/treemap-GDKQZRPO-BVho_qBy.js
|
|
393
|
+
- lib/archsight/web/public/vue/useGraphviz-C5lv_BWF.js
|
|
394
|
+
- lib/archsight/web/public/vue/useHighlight-yg_u-WUA.js
|
|
395
|
+
- lib/archsight/web/public/vue/useMermaid-BPBwn39g.js
|
|
396
|
+
- lib/archsight/web/public/vue/usePanZoom-CgSmFLId.js
|
|
397
|
+
- lib/archsight/web/public/vue/xychartDiagram-PRI3JC2R-CDkeZXF1.js
|
|
397
398
|
- media/artifact.jpg
|
|
398
399
|
- media/service.jpg
|
|
399
400
|
homepage: https://github.com/ionos-cloud/archsight
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as v,c as O,g,k as P,h as p,j as w,l as c,m as A,n as x,t as N,o as E}from"./_baseUniq-C8pAAASt.js";import{b0 as b,an as F,b1 as M,b2 as _,b3 as $,b4 as I,b5 as B,b6 as T,b7 as y,b8 as S}from"./mermaid-DUllW9QE.js";var G=/\s/;function H(n){for(var r=n.length;r--&&G.test(n.charAt(r)););return r}var L=/^\s+/;function R(n){return n&&n.slice(0,H(n)+1).replace(L,"")}var m=NaN,q=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,C=/^0o[0-7]+$/i,K=parseInt;function W(n){if(typeof n=="number")return n;if(v(n))return m;if(b(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=b(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=R(n);var t=z.test(n);return t||C.test(n)?K(n.slice(2),t?2:8):q.test(n)?m:+n}var o=1/0,X=17976931348623157e292;function Y(n){if(!n)return n===0?n:0;if(n=W(n),n===o||n===-o){var r=n<0?-1:1;return r*X}return n===n?n:0}function D(n){var r=Y(n),t=r%1;return r===r?t?r-t:r:0}function fn(n){var r=n==null?0:n.length;return r?O(n):[]}var l=Object.prototype,J=l.hasOwnProperty,dn=F(function(n,r){n=Object(n);var t=-1,a=r.length,e=a>2?r[2]:void 0;for(e&&M(r[0],r[1],e)&&(a=1);++t<a;)for(var f=r[t],i=_(f),s=-1,d=i.length;++s<d;){var u=i[s],h=n[u];(h===void 0||$(h,l[u])&&!J.call(n,u))&&(n[u]=f[u])}return n});function un(n){var r=n==null?0:n.length;return r?n[r-1]:void 0}function Q(n){return function(r,t,a){var e=Object(r);if(!I(r)){var f=g(t);r=P(r),t=function(s){return f(e[s],s,e)}}var i=n(r,t,a);return i>-1?e[f?r[i]:i]:void 0}}var U=Math.max;function Z(n,r,t){var a=n==null?0:n.length;if(!a)return-1;var e=t==null?0:D(t);return e<0&&(e=U(a+e,0)),p(n,g(r),e)}var hn=Q(Z);function V(n,r){var t=-1,a=I(n)?Array(n.length):[];return w(n,function(e,f,i){a[++t]=r(e,f,i)}),a}function bn(n,r){var t=B(n)?c:V;return t(n,g(r))}var j=Object.prototype,k=j.hasOwnProperty;function nn(n,r){return n!=null&&k.call(n,r)}function gn(n,r){return n!=null&&A(n,r,nn)}function rn(n,r){return n<r}function tn(n,r,t){for(var a=-1,e=n.length;++a<e;){var f=n[a],i=r(f);if(i!=null&&(s===void 0?i===i&&!v(i):t(i,s)))var s=i,d=f}return d}function mn(n){return n&&n.length?tn(n,T,rn):void 0}function en(n,r,t,a){if(!b(n))return n;r=x(r,n);for(var e=-1,f=r.length,i=f-1,s=n;s!=null&&++e<f;){var d=N(r[e]),u=t;if(d==="__proto__"||d==="constructor"||d==="prototype")return n;if(e!=i){var h=s[d];u=void 0,u===void 0&&(u=b(h)?h:y(r[e+1])?[]:{})}S(s,d,u),s=s[d]}return n}function on(n,r,t){for(var a=-1,e=r.length,f={};++a<e;){var i=r[a],s=E(n,i);t(s,i)&&en(f,x(i,n),s)}return f}export{rn as a,tn as b,V as c,on as d,mn as e,fn as f,hn as g,gn as h,dn as i,D as j,un as l,bn as m,Y as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{bg as S,bh as Rn,b5 as T,bi as w,b4 as sn,bj as xn,bk as mn,bl as Cn,bm as un,bn as x,b2 as B,bo as Mn,bp as on,bq as Fn,br as E,be as gn,bs as R,b0 as ln,bt as Dn,bu as D,bv as Gn,bw as Bn,bx as _,b8 as Un,by as Nn,b3 as Kn,bz as X,bA as jn,bB as Hn,b7 as qn,b6 as cn,bc as Yn,bC as C}from"./mermaid-DUllW9QE.js";var Zn="[object Symbol]";function U(n){return typeof n=="symbol"||S(n)&&Rn(n)==Zn}function bn(n,r){for(var e=-1,t=n==null?0:n.length,f=Array(t);++e<t;)f[e]=r(n[e],e,n);return f}var J=w?w.prototype:void 0,Q=J?J.toString:void 0;function dn(n){if(typeof n=="string")return n;if(T(n))return bn(n,dn)+"";if(U(n))return Q?Q.call(n):"";var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}function Xn(){}function pn(n,r){for(var e=-1,t=n==null?0:n.length;++e<t&&r(n[e],e,n)!==!1;);return n}function Jn(n,r,e,t){for(var f=n.length,i=e+-1;++i<f;)if(r(n[i],i,n))return i;return-1}function Qn(n){return n!==n}function Wn(n,r,e){for(var t=e-1,f=n.length;++t<f;)if(n[t]===r)return t;return-1}function zn(n,r,e){return r===r?Wn(n,r,e):Jn(n,Qn,e)}function Vn(n,r){var e=n==null?0:n.length;return!!e&&zn(n,r,0)>-1}function $(n){return sn(n)?xn(n):mn(n)}var kn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nr=/^\w*$/;function N(n,r){if(T(n))return!1;var e=typeof n;return e=="number"||e=="symbol"||e=="boolean"||n==null||U(n)?!0:nr.test(n)||!kn.test(n)||r!=null&&n in Object(r)}var rr=500;function er(n){var r=Cn(n,function(t){return e.size===rr&&e.clear(),t}),e=r.cache;return r}var tr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ir=/\\(\\)?/g,fr=er(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(tr,function(e,t,f,i){r.push(f?i.replace(ir,"$1"):t||e)}),r});function ar(n){return n==null?"":dn(n)}function An(n,r){return T(n)?n:N(n,r)?[n]:fr(ar(n))}function m(n){if(typeof n=="string"||U(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}function yn(n,r){r=An(r,n);for(var e=0,t=r.length;n!=null&&e<t;)n=n[m(r[e++])];return e&&e==t?n:void 0}function sr(n,r,e){var t=n==null?void 0:yn(n,r);return t===void 0?e:t}function K(n,r){for(var e=-1,t=r.length,f=n.length;++e<t;)n[f+e]=r[e];return n}var W=w?w.isConcatSpreadable:void 0;function ur(n){return T(n)||un(n)||!!(W&&n&&n[W])}function Ot(n,r,e,t,f){var i=-1,a=n.length;for(e||(e=ur),f||(f=[]);++i<a;){var s=n[i];e(s)?K(f,s):t||(f[f.length]=s)}return f}function or(n,r,e,t){var f=-1,i=n==null?0:n.length;for(t&&i&&(e=n[++f]);++f<i;)e=r(e,n[f],f,n);return e}function gr(n,r){return n&&x(r,$(r),n)}function lr(n,r){return n&&x(r,B(r),n)}function Tn(n,r){for(var e=-1,t=n==null?0:n.length,f=0,i=[];++e<t;){var a=n[e];r(a,e,n)&&(i[f++]=a)}return i}function hn(){return[]}var cr=Object.prototype,br=cr.propertyIsEnumerable,z=Object.getOwnPropertySymbols,j=z?function(n){return n==null?[]:(n=Object(n),Tn(z(n),function(r){return br.call(n,r)}))}:hn;function dr(n,r){return x(n,j(n),r)}var pr=Object.getOwnPropertySymbols,wn=pr?function(n){for(var r=[];n;)K(r,j(n)),n=Mn(n);return r}:hn;function Ar(n,r){return x(n,wn(n),r)}function On(n,r,e){var t=r(n);return T(n)?t:K(t,e(n))}function G(n){return On(n,$,j)}function yr(n){return On(n,B,wn)}var Tr=Object.prototype,hr=Tr.hasOwnProperty;function wr(n){var r=n.length,e=new n.constructor(r);return r&&typeof n[0]=="string"&&hr.call(n,"index")&&(e.index=n.index,e.input=n.input),e}function Or(n,r){var e=r?on(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.byteLength)}var $r=/\w*$/;function _r(n){var r=new n.constructor(n.source,$r.exec(n));return r.lastIndex=n.lastIndex,r}var V=w?w.prototype:void 0,k=V?V.valueOf:void 0;function Sr(n){return k?Object(k.call(n)):{}}var Er="[object Boolean]",Ir="[object Date]",Pr="[object Map]",vr="[object Number]",Lr="[object RegExp]",Rr="[object Set]",xr="[object String]",mr="[object Symbol]",Cr="[object ArrayBuffer]",Mr="[object DataView]",Fr="[object Float32Array]",Dr="[object Float64Array]",Gr="[object Int8Array]",Br="[object Int16Array]",Ur="[object Int32Array]",Nr="[object Uint8Array]",Kr="[object Uint8ClampedArray]",jr="[object Uint16Array]",Hr="[object Uint32Array]";function qr(n,r,e){var t=n.constructor;switch(r){case Cr:return on(n);case Er:case Ir:return new t(+n);case Mr:return Or(n,e);case Fr:case Dr:case Gr:case Br:case Ur:case Nr:case Kr:case jr:case Hr:return Fn(n,e);case Pr:return new t;case vr:case xr:return new t(n);case Lr:return _r(n);case Rr:return new t;case mr:return Sr(n)}}var Yr="[object Map]";function Zr(n){return S(n)&&E(n)==Yr}var nn=R&&R.isMap,Xr=nn?gn(nn):Zr,Jr="[object Set]";function Qr(n){return S(n)&&E(n)==Jr}var rn=R&&R.isSet,Wr=rn?gn(rn):Qr,zr=1,Vr=2,kr=4,$n="[object Arguments]",ne="[object Array]",re="[object Boolean]",ee="[object Date]",te="[object Error]",_n="[object Function]",ie="[object GeneratorFunction]",fe="[object Map]",ae="[object Number]",Sn="[object Object]",se="[object RegExp]",ue="[object Set]",oe="[object String]",ge="[object Symbol]",le="[object WeakMap]",ce="[object ArrayBuffer]",be="[object DataView]",de="[object Float32Array]",pe="[object Float64Array]",Ae="[object Int8Array]",ye="[object Int16Array]",Te="[object Int32Array]",he="[object Uint8Array]",we="[object Uint8ClampedArray]",Oe="[object Uint16Array]",$e="[object Uint32Array]",g={};g[$n]=g[ne]=g[ce]=g[be]=g[re]=g[ee]=g[de]=g[pe]=g[Ae]=g[ye]=g[Te]=g[fe]=g[ae]=g[Sn]=g[se]=g[ue]=g[oe]=g[ge]=g[he]=g[we]=g[Oe]=g[$e]=!0;g[te]=g[_n]=g[le]=!1;function M(n,r,e,t,f,i){var a,s=r&zr,u=r&Vr,b=r&kr;if(a!==void 0)return a;if(!ln(n))return n;var l=T(n);if(l){if(a=wr(n),!s)return Dn(n,a)}else{var o=E(n),c=o==_n||o==ie;if(D(n))return Gn(n,s);if(o==Sn||o==$n||c&&!f){if(a=u||c?{}:Bn(n),!s)return u?Ar(n,lr(a,n)):dr(n,gr(a,n))}else{if(!g[o])return f?n:{};a=qr(n,o,s)}}i||(i=new _);var h=i.get(n);if(h)return h;i.set(n,a),Wr(n)?n.forEach(function(d){a.add(M(d,r,e,d,n,i))}):Xr(n)&&n.forEach(function(d,p){a.set(p,M(d,r,e,p,n,i))});var A=b?u?yr:G:u?B:$,y=l?void 0:A(n);return pn(y||n,function(d,p){y&&(p=d,d=n[p]),Un(a,p,M(d,r,e,p,n,i))}),a}var _e="__lodash_hash_undefined__";function Se(n){return this.__data__.set(n,_e),this}function Ee(n){return this.__data__.has(n)}function I(n){var r=-1,e=n==null?0:n.length;for(this.__data__=new Nn;++r<e;)this.add(n[r])}I.prototype.add=I.prototype.push=Se;I.prototype.has=Ee;function Ie(n,r){for(var e=-1,t=n==null?0:n.length;++e<t;)if(r(n[e],e,n))return!0;return!1}function En(n,r){return n.has(r)}var Pe=1,ve=2;function In(n,r,e,t,f,i){var a=e&Pe,s=n.length,u=r.length;if(s!=u&&!(a&&u>s))return!1;var b=i.get(n),l=i.get(r);if(b&&l)return b==r&&l==n;var o=-1,c=!0,h=e&ve?new I:void 0;for(i.set(n,r),i.set(r,n);++o<s;){var A=n[o],y=r[o];if(t)var d=a?t(y,A,o,r,n,i):t(A,y,o,n,r,i);if(d!==void 0){if(d)continue;c=!1;break}if(h){if(!Ie(r,function(p,O){if(!En(h,O)&&(A===p||f(A,p,e,t,i)))return h.push(O)})){c=!1;break}}else if(!(A===y||f(A,y,e,t,i))){c=!1;break}}return i.delete(n),i.delete(r),c}function Le(n){var r=-1,e=Array(n.size);return n.forEach(function(t,f){e[++r]=[f,t]}),e}function H(n){var r=-1,e=Array(n.size);return n.forEach(function(t){e[++r]=t}),e}var Re=1,xe=2,me="[object Boolean]",Ce="[object Date]",Me="[object Error]",Fe="[object Map]",De="[object Number]",Ge="[object RegExp]",Be="[object Set]",Ue="[object String]",Ne="[object Symbol]",Ke="[object ArrayBuffer]",je="[object DataView]",en=w?w.prototype:void 0,F=en?en.valueOf:void 0;function He(n,r,e,t,f,i,a){switch(e){case je:if(n.byteLength!=r.byteLength||n.byteOffset!=r.byteOffset)return!1;n=n.buffer,r=r.buffer;case Ke:return!(n.byteLength!=r.byteLength||!i(new X(n),new X(r)));case me:case Ce:case De:return Kn(+n,+r);case Me:return n.name==r.name&&n.message==r.message;case Ge:case Ue:return n==r+"";case Fe:var s=Le;case Be:var u=tℜif(s||(s=H),n.size!=r.size&&!u)return!1;var b=a.get(n);if(b)return b==r;t|=xe,a.set(n,r);var l=In(s(n),s(r),t,f,i,a);return a.delete(n),l;case Ne:if(F)return F.call(n)==F.call(r)}return!1}var qe=1,Ye=Object.prototype,Ze=Ye.hasOwnProperty;function Xe(n,r,e,t,f,i){var a=e&qe,s=G(n),u=s.length,b=G(r),l=b.length;if(u!=l&&!a)return!1;for(var o=u;o--;){var c=s[o];if(!(a?c in r:Ze.call(r,c)))return!1}var h=i.get(n),A=i.get(r);if(h&&A)return h==r&&A==n;var y=!0;i.set(n,r),i.set(r,n);for(var d=a;++o<u;){c=s[o];var p=n[c],O=r[c];if(t)var Z=a?t(O,p,c,r,n,i):t(p,O,c,n,r,i);if(!(Z===void 0?p===O||f(p,O,e,t,i):Z)){y=!1;break}d||(d=c=="constructor")}if(y&&!d){var P=n.constructor,v=r.constructor;P!=v&&"constructor"in n&&"constructor"in r&&!(typeof P=="function"&&P instanceof P&&typeof v=="function"&&v instanceof v)&&(y=!1)}return i.delete(n),i.delete(r),y}var Je=1,tn="[object Arguments]",fn="[object Array]",L="[object Object]",Qe=Object.prototype,an=Qe.hasOwnProperty;function We(n,r,e,t,f,i){var a=T(n),s=T(r),u=a?fn:E(n),b=s?fn:E(r);u=u==tn?L:u,b=b==tn?L:b;var l=u==L,o=b==L,c=u==b;if(c&&D(n)){if(!D(r))return!1;a=!0,l=!1}if(c&&!l)return i||(i=new _),a||jn(n)?In(n,r,e,t,f,i):He(n,r,u,e,t,f,i);if(!(e&Je)){var h=l&&an.call(n,"__wrapped__"),A=o&&an.call(r,"__wrapped__");if(h||A){var y=h?n.value():n,d=A?r.value():r;return i||(i=new _),f(y,d,e,t,i)}}return c?(i||(i=new _),Xe(n,r,e,t,f,i)):!1}function q(n,r,e,t,f){return n===r?!0:n==null||r==null||!S(n)&&!S(r)?n!==n&&r!==r:We(n,r,e,t,q,f)}var ze=1,Ve=2;function ke(n,r,e,t){var f=e.length,i=f;if(n==null)return!i;for(n=Object(n);f--;){var a=e[f];if(a[2]?a[1]!==n[a[0]]:!(a[0]in n))return!1}for(;++f<i;){a=e[f];var s=a[0],u=n[s],b=a[1];if(a[2]){if(u===void 0&&!(s in n))return!1}else{var l=new _,o;if(!(o===void 0?q(b,u,ze|Ve,t,l):o))return!1}}return!0}function Pn(n){return n===n&&!ln(n)}function nt(n){for(var r=$(n),e=r.length;e--;){var t=r[e],f=n[t];r[e]=[t,f,Pn(f)]}return r}function vn(n,r){return function(e){return e==null?!1:e[n]===r&&(r!==void 0||n in Object(e))}}function rt(n){var r=nt(n);return r.length==1&&r[0][2]?vn(r[0][0],r[0][1]):function(e){return e===n||ke(e,n,r)}}function et(n,r){return n!=null&&r in Object(n)}function tt(n,r,e){r=An(r,n);for(var t=-1,f=r.length,i=!1;++t<f;){var a=m(r[t]);if(!(i=n!=null&&e(n,a)))break;n=n[a]}return i||++t!=f?i:(f=n==null?0:n.length,!!f&&Hn(f)&&qn(a,f)&&(T(n)||un(n)))}function it(n,r){return n!=null&&tt(n,r,et)}var ft=1,at=2;function st(n,r){return N(n)&&Pn(r)?vn(m(n),r):function(e){var t=sr(e,n);return t===void 0&&t===r?it(e,n):q(r,t,ft|at)}}function ut(n){return function(r){return r?.[n]}}function ot(n){return function(r){return yn(r,n)}}function gt(n){return N(n)?ut(m(n)):ot(n)}function Ln(n){return typeof n=="function"?n:n==null?cn:typeof n=="object"?T(n)?st(n[0],n[1]):rt(n):gt(n)}function lt(n,r){return n&&Yn(n,r,$)}function ct(n,r){return function(e,t){if(e==null)return e;if(!sn(e))return n(e,t);for(var f=e.length,i=-1,a=Object(e);++i<f&&t(a[i],i,a)!==!1;);return e}}var Y=ct(lt);function bt(n){return typeof n=="function"?n:cn}function $t(n,r){var e=T(n)?pn:Y;return e(n,bt(r))}function dt(n,r){var e=[];return Y(n,function(t,f,i){r(t,f,i)&&e.push(t)}),e}function _t(n,r){var e=T(n)?Tn:dt;return e(n,Ln(r))}function pt(n,r){return bn(r,function(e){return n[e]})}function St(n){return n==null?[]:pt(n,$(n))}function Et(n){return n===void 0}function At(n,r,e,t,f){return f(n,function(i,a,s){e=t?(t=!1,i):r(e,i,a,s)}),e}function It(n,r,e){var t=T(n)?or:At,f=arguments.length<3;return t(n,Ln(r),e,f,Y)}var yt=1/0,Tt=C&&1/H(new C([,-0]))[1]==yt?function(n){return new C(n)}:Xn,ht=200;function Pt(n,r,e){var t=-1,f=Vn,i=n.length,a=!0,s=[],u=s;if(i>=ht){var b=r?null:Tt(n);if(b)return H(b);a=!1,f=En,u=new I}else u=r?[]:s;n:for(;++t<i;){var l=n[t],o=r?r(l):l;if(l=l!==0?l:0,a&&o===o){for(var c=u.length;c--;)if(u[c]===o)continue n;r&&u.push(o),s.push(l)}else f(u,o,e)||(u!==s&&u.push(o),s.push(l))}return s}export{Tn as A,dt as B,Ie as C,Xn as D,I as S,Pt as a,M as b,Ot as c,$t as d,U as e,_t as f,Ln as g,Jn as h,Et as i,Y as j,$ as k,bn as l,tt as m,An as n,yn as o,bt as p,lt as q,It as r,it as s,m as t,ar as u,St as v,Vn as w,En as x,zn as y,yr as z};
|