forked from react-bootstrap/react-bootstrap.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2775.a4a45f0a.js
2 lines (2 loc) · 47.6 KB
/
2775.a4a45f0a.js
1
2
/*! For license information please see 2775.a4a45f0a.js.LICENSE.txt */
(self.webpackChunkreact_bootstrap_website=self.webpackChunkreact_bootstrap_website||[]).push([[2775],{42775:function(e){var t,r;!function(e){if(e.document){var t,r,n=e.document;n.querySelectorAll||(n.querySelectorAll=function(t){var r,i=n.createElement("style"),o=[];for(n.documentElement.firstChild.appendChild(i),n._qsa=[],i.styleSheet.cssText=t+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",e.scrollBy(0,0),i.parentNode.removeChild(i);n._qsa.length;)(r=n._qsa.shift()).style.removeAttribute("x-qsa"),o.push(r);return n._qsa=null,o}),n.querySelector||(n.querySelector=function(e){var t=n.querySelectorAll(e);return t.length?t[0]:null}),n.getElementsByClassName||(n.getElementsByClassName=function(e){return e=String(e).replace(/^|\s+/g,"."),n.querySelectorAll(e)}),Object.keys||(Object.keys=function(e){if(e!==Object(e))throw TypeError("Object.keys called on non-object");var t,r=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.push(t);return r}),Array.prototype.forEach||(Array.prototype.forEach=function(e){if(null==this)throw TypeError();var t=Object(this),r=t.length>>>0;if("function"!=typeof e)throw TypeError();var n,i=arguments[1];for(n=0;n<r;n++)n in t&&e.call(i,t[n],n,t)}),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",(t=e).atob=t.atob||function(e){var t=0,n=[],i=0,o=0;if((e=(e=String(e)).replace(/\s/g,"")).length%4==0&&(e=e.replace(/=+$/,"")),e.length%4==1)throw Error("InvalidCharacterError");if(/[^+/0-9A-Za-z]/.test(e))throw Error("InvalidCharacterError");for(;t<e.length;)i=i<<6|r.indexOf(e.charAt(t)),24===(o+=6)&&(n.push(String.fromCharCode(i>>16&255)),n.push(String.fromCharCode(i>>8&255)),n.push(String.fromCharCode(255&i)),o=0,i=0),t+=1;return 12===o?(i>>=4,n.push(String.fromCharCode(255&i))):18===o&&(i>>=2,n.push(String.fromCharCode(i>>8&255)),n.push(String.fromCharCode(255&i))),n.join("")},t.btoa=t.btoa||function(e){e=String(e);var t,n,i,o,a,s,l,u=0,c=[];if(/[^\x00-\xFF]/.test(e))throw Error("InvalidCharacterError");for(;u<e.length;)o=(t=e.charCodeAt(u++))>>2,a=(3&t)<<4|(n=e.charCodeAt(u++))>>4,s=(15&n)<<2|(i=e.charCodeAt(u++))>>6,l=63&i,u===e.length+2?(s=64,l=64):u===e.length+1&&(l=64),c.push(r.charAt(o),r.charAt(a),r.charAt(s),r.charAt(l));return c.join("")},Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(e){var t=this.__proto__||this.constructor.prototype;return e in this&&(!(e in t)||t[e]!==this[e])}),function(){if("performance"in e==!1&&(e.performance={}),Date.now=Date.now||function(){return(new Date).getTime()},"now"in e.performance==!1){var t=Date.now();performance.timing&&performance.timing.navigationStart&&(t=performance.timing.navigationStart),e.performance.now=function(){return Date.now()-t}}}(),e.requestAnimationFrame||(e.webkitRequestAnimationFrame&&e.webkitCancelAnimationFrame?function(e){e.requestAnimationFrame=function(t){return webkitRequestAnimationFrame((function(){t(e.performance.now())}))},e.cancelAnimationFrame=e.webkitCancelAnimationFrame}(e):e.mozRequestAnimationFrame&&e.mozCancelAnimationFrame?function(e){e.requestAnimationFrame=function(t){return mozRequestAnimationFrame((function(){t(e.performance.now())}))},e.cancelAnimationFrame=e.mozCancelAnimationFrame}(e):function(e){e.requestAnimationFrame=function(t){return e.setTimeout(t,1e3/60)},e.cancelAnimationFrame=e.clearTimeout}(e))}}(this),t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){e.exports=r(1)},function(e,t,r){(function(t){var n=r(2),i=r(3),o=r(6),a=r(7),s=r(8),l=r(9),u=r(10),c=r(11),f=r(12),h=r(27),d=a.extend,p=a.dimensionCheck,g=c.svg_ns,m={version:c.version,addTheme:function(e,t){return null!=e&&null!=t&&(y.settings.themes[e]=t),delete y.vars.cache.themeKeys,this},addImage:function(e,t){return l.getNodeArray(t).forEach((function(t){var r=l.newEl("img"),n={};n[y.setup.dataAttr]=e,l.setAttr(r,n),t.appendChild(r)})),this},setResizeUpdate:function(e,t){e.holderData&&(e.holderData.resizeUpdate=!!t,e.holderData.resizeUpdate&&O(e))},run:function(e){e=e||{};var r={},n=d(y.settings,e);y.vars.preempted=!0,y.vars.dataAttr=n.dataAttr||y.setup.dataAttr,r.renderer=n.renderer?n.renderer:y.setup.renderer,-1===y.setup.renderers.join(",").indexOf(r.renderer)&&(r.renderer=y.setup.supportsSVG?"svg":y.setup.supportsCanvas?"canvas":"html");var i=l.getNodeArray(n.images),o=l.getNodeArray(n.bgnodes),s=l.getNodeArray(n.stylenodes),u=l.getNodeArray(n.objects);return r.stylesheets=[],r.svgXMLStylesheet=!0,r.noFontFallback=!!n.noFontFallback,r.noBackgroundSize=!!n.noBackgroundSize,s.forEach((function(e){if(e.attributes.rel&&e.attributes.href&&"stylesheet"==e.attributes.rel.value){var t=e.attributes.href.value,n=l.newEl("a");n.href=t;var i=n.protocol+"//"+n.host+n.pathname+n.search;r.stylesheets.push(i)}})),o.forEach((function(e){if(t.getComputedStyle){var i=t.getComputedStyle(e,null).getPropertyValue("background-image"),o=e.getAttribute("data-background-src")||i,a=null,s=n.domain+"/",l=o.indexOf(s);if(0===l)a=o;else if(1===l&&"?"===o[0])a=o.slice(1);else{var u=o.substr(l).match(/([^"]*)"?\)/);if(null!==u)a=u[1];else if(0===o.indexOf("url("))throw"Holder: unable to parse background URL: "+o}if(a){var c=b(a,n);c&&w({mode:"background",el:e,flags:c,engineSettings:r})}}})),u.forEach((function(e){var t={};try{t.data=e.getAttribute("data"),t.dataSrc=e.getAttribute(y.vars.dataAttr)}catch(a){t.error=a}var i=null!=t.data&&0===t.data.indexOf(n.domain),o=null!=t.dataSrc&&0===t.dataSrc.indexOf(n.domain);i?v(n,r,t.data,e):o&&v(n,r,t.dataSrc,e)})),i.forEach((function(e){var t={};try{t.src=e.getAttribute("src"),t.dataSrc=e.getAttribute(y.vars.dataAttr),t.rendered=e.getAttribute("data-holder-rendered")}catch(l){t.error=l}var i=null!=t.src,o=null!=t.dataSrc&&0===t.dataSrc.indexOf(n.domain),s=null!=t.rendered&&"true"==t.rendered;i?0===t.src.indexOf(n.domain)?v(n,r,t.src,e):o&&(s?v(n,r,t.dataSrc,e):function(e,t,r,n,i){a.imageExists(e,(function(e){e||v(t,r,n,i)}))}(t.src,n,r,t.dataSrc,e)):o&&v(n,r,t.dataSrc,e)})),this}},y={settings:{domain:"holder.js",images:"img",objects:"object",bgnodes:"body .holderjs",stylenodes:"head link.holderjs",themes:{gray:{bg:"#EEEEEE",fg:"#AAAAAA"},social:{bg:"#3a5a97",fg:"#FFFFFF"},industrial:{bg:"#434A52",fg:"#C2F200"},sky:{bg:"#0D8FDB",fg:"#FFFFFF"},vine:{bg:"#39DBAC",fg:"#1E292C"},lava:{bg:"#F8591A",fg:"#1C2846"}}},defaults:{size:10,units:"pt",scale:1/16}};function v(e,t,r,n){var i=b(r.substr(r.lastIndexOf(e.domain)),e);i&&w({mode:null,el:n,flags:i,engineSettings:t})}function b(e,t){var r={theme:d(y.settings.themes.gray,null),stylesheets:t.stylesheets,instanceOptions:t},n=e.indexOf("?"),o=[e];-1!==n&&(o=[e.slice(0,n),e.slice(n+1)]);var s=o[0].split("/");r.holderURL=e;var l=s[1],u=l.match(/([\d]+p?)x([\d]+p?)/);if(!u)return!1;if(r.fluid=-1!==l.indexOf("p"),r.dimensions={width:u[1].replace("p","%"),height:u[2].replace("p","%")},2===o.length){var c=i.parse(o[1]);if(a.truthy(c.ratio)){r.fluid=!0;var f=parseFloat(r.dimensions.width.replace("%","")),h=parseFloat(r.dimensions.height.replace("%",""));h=Math.floor(h/f*100),f=100,r.dimensions.width=f+"%",r.dimensions.height=h+"%"}if(r.auto=a.truthy(c.auto),c.bg&&(r.theme.bg=a.parseColor(c.bg)),c.fg&&(r.theme.fg=a.parseColor(c.fg)),c.bg&&!c.fg&&(r.autoFg=!0),c.theme&&Object.prototype.hasOwnProperty.call(r.instanceOptions.themes,c.theme)&&(r.theme=d(r.instanceOptions.themes[c.theme],null)),c.text&&(r.text=c.text),c.textmode&&(r.textmode=c.textmode),c.size&&parseFloat(c.size)&&(r.size=parseFloat(c.size)),null!=c.fixedSize&&(r.fixedSize=a.truthy(c.fixedSize)),c.font&&(r.font=c.font),c.align&&(r.align=c.align),c.lineWrap&&(r.lineWrap=c.lineWrap),r.nowrap=a.truthy(c.nowrap),r.outline=a.truthy(c.outline),a.truthy(c.random)){y.vars.cache.themeKeys=y.vars.cache.themeKeys||Object.keys(r.instanceOptions.themes);var p=y.vars.cache.themeKeys[0|Math.random()*y.vars.cache.themeKeys.length];r.theme=d(r.instanceOptions.themes[p],null)}}return r}function w(e){var t=e.mode,r=e.el,n=e.flags,i=e.engineSettings,o=n.dimensions,s=n.theme,u=o.width+"x"+o.height;if(t=null==t?n.fluid?"fluid":"image":t,null!=n.text&&(s.text=n.text,"object"===r.nodeName.toLowerCase())){for(var c=s.text.split("\\n"),f=0;f<c.length;f++)c[f]=a.encodeHtmlEntity(c[f]);s.text=c.join("\\n")}if(s.text){var h=s.text.match(/holder_([a-z]+)/g);null!==h&&h.forEach((function(e){"holder_dimensions"===e&&(s.text=s.text.replace(e,u))}))}var g=n.holderURL,m=d(i,null);if(n.font&&(s.font=n.font,!m.noFontFallback&&"img"===r.nodeName.toLowerCase()&&y.setup.supportsCanvas&&"svg"===m.renderer&&(m=d(m,{renderer:"canvas"}))),n.font&&"canvas"==m.renderer&&(m.reRender=!0),"background"==t)null==r.getAttribute("data-background-src")&&l.setAttr(r,{"data-background-src":g});else{var v={};v[y.vars.dataAttr]=g,l.setAttr(r,v)}n.theme=s,r.holderData={flags:n,engineSettings:m},"image"!=t&&"fluid"!=t||l.setAttr(r,{alt:s.text?s.text+" ["+u+"]":u});var b={mode:t,el:r,holderSettings:{dimensions:o,theme:s,flags:n},engineSettings:m};"image"==t?(n.auto||(r.style.width=o.width+"px",r.style.height=o.height+"px"),"html"==m.renderer?r.style.backgroundColor=s.bg:(x(b),"exact"==n.textmode&&(r.holderData.resizeUpdate=!0,y.vars.resizableImages.push(r),O(r)))):"background"==t&&"html"!=m.renderer?x(b):"fluid"==t&&(r.holderData.resizeUpdate=!0,"%"==o.height.slice(-1)?r.style.height=o.height:null!=n.auto&&n.auto||(r.style.height=o.height+"px"),"%"==o.width.slice(-1)?r.style.width=o.width:null!=n.auto&&n.auto||(r.style.width=o.width+"px"),"inline"!=r.style.display&&""!==r.style.display&&"none"!=r.style.display||(r.style.display="block"),function(e){if(e.holderData){var t=p(e);if(t){var r=e.holderData.flags,n={fluidHeight:"%"==r.dimensions.height.slice(-1),fluidWidth:"%"==r.dimensions.width.slice(-1),mode:null,initialDimensions:t};n.fluidWidth&&!n.fluidHeight?(n.mode="width",n.ratio=n.initialDimensions.width/parseFloat(r.dimensions.height)):!n.fluidWidth&&n.fluidHeight&&(n.mode="height",n.ratio=parseFloat(r.dimensions.width)/n.initialDimensions.height),e.holderData.fluidConfig=n}else E(e)}}(r),"html"==m.renderer?r.style.backgroundColor=s.bg:(y.vars.resizableImages.push(r),O(r)))}function x(e){var r,n=e.mode,i=e.el,a=e.holderSettings,s=e.engineSettings;switch(s.renderer){case"svg":if(!y.setup.supportsSVG)return;break;case"canvas":if(!y.setup.supportsCanvas)return;break;default:return}var c={width:a.dimensions.width,height:a.dimensions.height,theme:a.theme,flags:a.flags},d=function(e){var t=y.defaults.size,r=null!=e.flags.fixedSize?e.flags.fixedSize:e.theme.fixedSize;switch(parseFloat(e.theme.size)?t=e.theme.size:parseFloat(e.flags.size)&&(t=e.flags.size),e.font={family:e.theme.font?e.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:r?t:S(e.width,e.height,t,y.defaults.scale),units:e.theme.units?e.theme.units:y.defaults.units,weight:e.theme.fontweight?e.theme.fontweight:"bold"},e.text=e.theme.text||Math.floor(e.width)+"x"+Math.floor(e.height),e.noWrap=e.theme.nowrap||e.flags.nowrap,e.align=e.theme.align||e.flags.align||"center",e.flags.textmode){case"literal":e.text=e.flags.dimensions.width+"x"+e.flags.dimensions.height;break;case"exact":if(!e.flags.exactDimensions)break;e.text=Math.floor(e.flags.exactDimensions.width)+"x"+Math.floor(e.flags.exactDimensions.height)}var n=e.flags.lineWrap||y.setup.lineWrapRatio,i=e.width*n,a=i,s=new o({width:e.width,height:e.height}),l=s.Shape,c=new l.Rect("holderBg",{fill:e.theme.bg});if(c.resize(e.width,e.height),s.root.add(c),e.flags.outline){var f=new u(c.properties.fill);f=f.lighten(f.lighterThan("7f7f7f")?-.1:.1),c.properties.outline={fill:f.toHex(!0),width:2}}var h=e.theme.fg;if(e.flags.autoFg){var d=new u(c.properties.fill),p=new u("fff"),g=new u("000",{alpha:.285714});h=d.blendAlpha(d.lighterThan("7f7f7f")?g:p).toHex(!0)}var m=new l.Group("holderTextGroup",{text:e.text,align:e.align,font:e.font,fill:h});m.moveTo(null,null,1),s.root.add(m);var v=m.textPositionData=z(s);if(!v)throw"Holder: staging fallback not supported yet.";m.properties.leading=v.boundingBox.height;var b=null,w=null;function x(e,t,r,n){t.width=r,t.height=n,e.width=Math.max(e.width,t.width),e.height+=t.height}if(v.lineCount>1){var O,A=0,E=0,j=0;w=new l.Group("line"+j),"left"!==e.align&&"right"!==e.align||(a=e.width*(1-2*(1-n)));for(var T=0;T<v.words.length;T++){var C=v.words[T];b=new l.Text(C.text);var k="\\n"==C.text;!e.noWrap&&(A+C.width>=a||!0===k)&&(x(m,w,A,m.properties.leading),m.add(w),A=0,E+=m.properties.leading,j+=1,(w=new l.Group("line"+j)).y=E),!0!==k&&(b.moveTo(A,0),A+=v.spaceWidth+C.width,w.add(b))}if(x(m,w,A,m.properties.leading),m.add(w),"left"===e.align)m.moveTo(e.width-i,null,null);else if("right"===e.align){for(O in m.children)(w=m.children[O]).moveTo(e.width-w.width,null,null);m.moveTo(0-(e.width-i),null,null)}else{for(O in m.children)(w=m.children[O]).moveTo((m.width-w.width)/2,null,null);m.moveTo((e.width-m.width)/2,null,null)}m.moveTo(null,(e.height-m.height)/2,null),(e.height-m.height)/2<0&&m.moveTo(null,0,null)}else b=new l.Text(e.text),(w=new l.Group("line0")).add(b),m.add(w),"left"===e.align?m.moveTo(e.width-i,null,null):"right"===e.align?m.moveTo(0-(e.width-i),null,null):m.moveTo((e.width-v.boundingBox.width)/2,null,null),m.moveTo(null,(e.height-v.boundingBox.height)/2,null);return s}(c);function p(){var t=null;switch(s.renderer){case"canvas":t=h(d,e);break;case"svg":t=f(d,e);break;default:throw"Holder: invalid renderer: "+s.renderer}return t}if(null==(r=p()))throw"Holder: couldn't render placeholder";"background"==n?(i.style.backgroundImage="url("+r+")",s.noBackgroundSize||(i.style.backgroundSize=c.width+"px "+c.height+"px")):("img"===i.nodeName.toLowerCase()?l.setAttr(i,{src:r}):"object"===i.nodeName.toLowerCase()&&l.setAttr(i,{data:r,type:"image/svg+xml"}),s.reRender&&t.setTimeout((function(){var e=p();if(null==e)throw"Holder: couldn't render placeholder";"img"===i.nodeName.toLowerCase()?l.setAttr(i,{src:e}):"object"===i.nodeName.toLowerCase()&&l.setAttr(i,{data:e,type:"image/svg+xml"})}),150)),l.setAttr(i,{"data-holder-rendered":!0})}function S(e,t,r,n){var i=parseInt(e,10),o=parseInt(t,10),a=Math.max(i,o),s=Math.min(i,o),l=.8*Math.min(s,a*n);return Math.round(Math.max(r,l))}function O(e){for(var t,r=0,n=(t=null==e||null==e.nodeType?y.vars.resizableImages:[e]).length;r<n;r++){var i=t[r];if(i.holderData){var o=i.holderData.flags,a=p(i);if(a){if(!i.holderData.resizeUpdate)continue;if(o.fluid&&o.auto){var s=i.holderData.fluidConfig;switch(s.mode){case"width":a.height=a.width/s.ratio;break;case"height":a.width=a.height*s.ratio}}var l={mode:"image",holderSettings:{dimensions:a,theme:o.theme,flags:o},el:i,engineSettings:i.holderData.engineSettings};"exact"==o.textmode&&(o.exactDimensions=a,l.holderSettings.dimensions=o.dimensions),x(l)}else E(i)}}}function A(){var e,r=[];Object.keys(y.vars.invisibleImages).forEach((function(t){e=y.vars.invisibleImages[t],p(e)&&"img"==e.nodeName.toLowerCase()&&(r.push(e),delete y.vars.invisibleImages[t])})),r.length&&m.run({images:r}),setTimeout((function(){t.requestAnimationFrame(A)}),10)}function E(e){e.holderData.invisibleId||(y.vars.invisibleId+=1,y.vars.invisibleImages["i"+y.vars.invisibleId]=e,e.holderData.invisibleId=y.vars.invisibleId)}var j,T,C,k,z=(j=null,T=null,C=null,function(e){var t,r=e.root;if(y.setup.supportsSVG){var n=!1;null!=j&&j.parentNode===document.body||(n=!0),(j=s.initSVG(j,r.properties.width,r.properties.height)).style.display="block",n&&(T=l.newEl("text",g),t=null,C=document.createTextNode(t),l.setAttr(T,{x:0}),T.appendChild(C),j.appendChild(T),document.body.appendChild(j),j.style.visibility="hidden",j.style.position="absolute",j.style.top="-100%",j.style.left="-100%");var i=r.children.holderTextGroup.properties;l.setAttr(T,{y:i.font.size,style:a.cssProps({"font-weight":i.font.weight,"font-size":i.font.size+i.font.units,"font-family":i.font.family})});var o=l.newEl("textarea");o.innerHTML=i.text,C.nodeValue=o.value;var u=T.getBBox(),c=Math.ceil(u.width/r.properties.width),f=i.text.split(" "),h=i.text.match(/\\n/g);c+=null==h?0:h.length,C.nodeValue=i.text.replace(/[ ]+/g,"");var d=T.getComputedTextLength(),p=u.width-d,m=Math.round(p/Math.max(1,f.length-1)),v=[];if(c>1){C.nodeValue="";for(var b=0;b<f.length;b++)if(0!==f[b].length){C.nodeValue=a.decodeHtmlEntity(f[b]);var w=T.getBBox();v.push({text:f[b],width:w.width})}}return j.style.display="none",{spaceWidth:m,lineCount:c,boundingBox:u,words:v}}return!1});function M(){!function(e){y.vars.debounceTimer||e.call(this),y.vars.debounceTimer&&t.clearTimeout(y.vars.debounceTimer),y.vars.debounceTimer=t.setTimeout((function(){y.vars.debounceTimer=null,e.call(this)}),y.setup.debounce)}((function(){O(null)}))}for(var D in y.flags)Object.prototype.hasOwnProperty.call(y.flags,D)&&(y.flags[D].match=function(e){return e.match(this.regex)});y.setup={renderer:"html",debounce:100,ratio:1,supportsCanvas:!1,supportsSVG:!1,lineWrapRatio:.9,dataAttr:"data-src",renderers:["html","canvas","svg"]},y.vars={preempted:!1,resizableImages:[],invisibleImages:{},invisibleId:0,visibilityCheckStarted:!1,debounceTimer:null,cache:{}},(k=l.newEl("canvas")).getContext&&-1!=k.toDataURL("image/png").indexOf("data:image/png")&&(y.setup.renderer="canvas",y.setup.supportsCanvas=!0),document.createElementNS&&document.createElementNS(g,"svg").createSVGRect&&(y.setup.renderer="svg",y.setup.supportsSVG=!0),y.vars.visibilityCheckStarted||(t.requestAnimationFrame(A),y.vars.visibilityCheckStarted=!0),n&&n((function(){y.vars.preempted||m.run(),t.addEventListener?(t.addEventListener("resize",M,!1),t.addEventListener("orientationchange",M,!1)):t.attachEvent("onresize",M),"object"==typeof t.Turbolinks&&t.document.addEventListener("page:change",(function(){m.run()}))})),e.exports=m}).call(t,function(){return this}())},function(e,t){e.exports="undefined"!=typeof window&&function(e){null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",(function e(){document.removeEventListener("DOMContentLoaded",e,!1),document.readyState="complete"}),!1),document.readyState="loading");var t=e.document,r=t.documentElement,n="load",i=!1,o="on"+n,a="complete",s="readyState",l="attachEvent",u="detachEvent",c="addEventListener",f="DOMContentLoaded",h="onreadystatechange",d="removeEventListener",p=c in t,g=i,m=i,y=[];function v(e){if(!m){if(!t.body)return x(v);for(m=!0;e=y.shift();)x(e)}}function b(e){(p||e.type===n||t[s]===a)&&(w(),v())}function w(){p?(t[d](f,b,i),e[d](n,b,i)):(t[u](h,b),e[u](o,b))}function x(e,t){setTimeout(e,+t>=0?t:1)}if(t[s]===a)x(v);else if(p)t[c](f,b,i),e[c](n,b,i);else{t[l](h,b),e[l](o,b);try{g=null==e.frameElement&&r}catch(O){}g&&g.doScroll&&function e(){if(!m){try{g.doScroll("left")}catch(O){return x(e,50)}w(),v()}}()}function S(e){m?x(e):y.push(e)}return S.version="1.4.0",S.isReady=function(){return m},S}(window)},function(e,t,r){var n=encodeURIComponent,i=decodeURIComponent,o=r(4),a=r(5),s=/(\w+)\[(\d+)\]/,l=/\w+\.\w+/;t.parse=function(e){if("string"!=typeof e)return{};if(""===(e=o(e)))return{};"?"===e.charAt(0)&&(e=e.slice(1));for(var t={},r=e.split("&"),n=0;n<r.length;n++){var a,u,c,f=r[n].split("="),h=i(f[0]);if(a=s.exec(h))t[a[1]]=t[a[1]]||[],t[a[1]][a[2]]=i(f[1]);else if(a=l.test(h)){for(a=h.split("."),u=t;a.length;)if((c=a.shift()).length){if(u[c]){if(u[c]&&"object"!=typeof u[c])break}else u[c]={};a.length||(u[c]=i(f[1])),u=u[c]}}else t[f[0]]=null==f[1]?"":i(f[1])}return t},t.stringify=function(e){if(!e)return"";var t=[];for(var r in e){var i=e[r];if("array"!=a(i))t.push(n(r)+"="+n(e[r]));else for(var o=0;o<i.length;++o)t.push(n(r+"["+o+"]")+"="+n(i[o]))}return t.join("&")}},function(e,t){(t=e.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){switch(r.call(e)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===e?"null":void 0===e?"undefined":e!=e?"nan":e&&1===e.nodeType?"element":typeof(e=e.valueOf?e.valueOf():Object.prototype.valueOf.apply(e))}},function(e,t){e.exports=function(e){var t=1,r=function(e){t++,this.parent=null,this.children={},this.id=t,this.name="n"+t,void 0!==e&&(this.name=e),this.x=this.y=this.z=0,this.width=this.height=0};r.prototype.resize=function(e,t){null!=e&&(this.width=e),null!=t&&(this.height=t)},r.prototype.moveTo=function(e,t,r){this.x=null!=e?e:this.x,this.y=null!=t?t:this.y,this.z=null!=r?r:this.z},r.prototype.add=function(e){var t=e.name;if(void 0!==this.children[t])throw"SceneGraph: child already exists: "+t;this.children[t]=e,e.parent=this};var n=function(){r.call(this,"root"),this.properties=e};n.prototype=new r;var i=function(e,t){if(r.call(this,e),this.properties={fill:"#000000"},void 0!==t)!function(e,t){for(var r in t)e[r]=t[r]}(this.properties,t);else if(void 0!==e&&"string"!=typeof e)throw"SceneGraph: invalid node name"};i.prototype=new r;var o=function(){i.apply(this,arguments),this.type="group"};o.prototype=new i;var a=function(){i.apply(this,arguments),this.type="rect"};a.prototype=new i;var s=function(e){i.call(this),this.type="text",this.properties.text=e};s.prototype=new i;var l=new n;return this.Shape={Rect:a,Text:s,Group:o},this.root=l,this}},function(e,t){(function(e){t.extend=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r},t.cssProps=function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r+":"+e[r]);return t.join(";")},t.encodeHtmlEntity=function(e){for(var t=[],r=0,n=e.length-1;n>=0;n--)(r=e.charCodeAt(n))>128?t.unshift(["&#",r,";"].join("")):t.unshift(e[n]);return t.join("")},t.imageExists=function(e,t){var r=new Image;r.onerror=function(){t.call(this,!1)},r.onload=function(){t.call(this,!0)},r.src=e},t.decodeHtmlEntity=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)}))},t.dimensionCheck=function(e){var t={height:e.clientHeight,width:e.clientWidth};return!(!t.height||!t.width)&&t},t.truthy=function(e){return"string"==typeof e?"true"===e||"yes"===e||"1"===e||"on"===e||"\u2713"===e:!!e},t.parseColor=function(e){var t,r=e.match(/(^(?:#?)[0-9a-f]{6}$)|(^(?:#?)[0-9a-f]{3}$)/i);return null!==r?"#"!==(t=r[1]||r[2])[0]?"#"+t:t:null!==(r=e.match(/^rgb\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/))?t="rgb("+r.slice(1).join(",")+")":null!==(r=e.match(/^rgba\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0*\.\d{1,}|1)\)$/))?t="rgba("+r.slice(1).map((function(e,t){return 3===t?"0."+e.split(".")[1]:e})).join(",")+")":null},t.canvasRatio=function(){var t=1,r=1;if(e.document){var n=e.document.createElement("canvas");if(n.getContext){var i=n.getContext("2d");t=e.devicePixelRatio||1,r=i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1}}return t/r}}).call(t,function(){return this}())},function(e,t,r){(function(e){var n=r(9),i="http://www.w3.org/2000/svg";t.initSVG=function(e,t,r){var o,a,s=!1;e&&e.querySelector?null===(a=e.querySelector("style"))&&(s=!0):(e=n.newEl("svg",i),s=!0),s&&(o=n.newEl("defs",i),a=n.newEl("style",i),n.setAttr(a,{type:"text/css"}),o.appendChild(a),e.appendChild(o)),e.webkitMatchesSelector&&e.setAttribute("xmlns",i);for(var l=0;l<e.childNodes.length;l++)8===e.childNodes[l].nodeType&&e.removeChild(e.childNodes[l]);for(;a.childNodes.length;)a.removeChild(a.childNodes[0]);return n.setAttr(e,{width:t,height:r,viewBox:"0 0 "+t+" "+r,preserveAspectRatio:"none"}),e},t.svgStringToDataURI=function(t,r){return r?"data:image/svg+xml;charset=UTF-8;base64,"+btoa(e.unescape(encodeURIComponent(t))):"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(t)},t.serializeSVG=function(t,r){if(e.XMLSerializer){var i=new XMLSerializer,o="",a=r.stylesheets;if(r.svgXMLStylesheet){for(var s=n.createXML(),l=a.length-1;l>=0;l--){var u=s.createProcessingInstruction("xml-stylesheet",'href="'+a[l]+'" rel="stylesheet"');s.insertBefore(u,s.firstChild)}s.removeChild(s.documentElement),o=i.serializeToString(s)}var c=i.serializeToString(t);return o+(c=c.replace(/&(#[0-9]{2,};)/g,"&$1"))}}}).call(t,function(){return this}())},function(e,t){(function(e){t.newEl=function(t,r){if(e.document)return null==r?e.document.createElement(t):e.document.createElementNS(r,t)},t.setAttr=function(e,t){for(var r in t)e.setAttribute(r,t[r])},t.createXML=function(){if(e.DOMParser)return(new DOMParser).parseFromString("<xml />","application/xml")},t.getNodeArray=function(t){var r=null;return"string"==typeof t?r=document.querySelectorAll(t):e.NodeList&&t instanceof e.NodeList?r=t:e.Node&&t instanceof e.Node?r=[t]:e.HTMLCollection&&t instanceof e.HTMLCollection||t instanceof Array?r=t:null===t&&(r=[]),r=Array.prototype.slice.call(r)}}).call(t,function(){return this}())},function(e,t){var r=function(e,t){"string"==typeof e&&(this.original=e,"#"===e.charAt(0)&&(e=e.slice(1)),/[^a-f0-9]+/i.test(e)||(3===e.length&&(e=e.replace(/./g,"$&$&")),6===e.length&&(this.alpha=1,t&&t.alpha&&(this.alpha=t.alpha),this.set(parseInt(e,16)))))};r.rgb2hex=function(e,t,r){return[e,t,r].map((function(e){var t=(0|e).toString(16);return e<16&&(t="0"+t),t})).join("")},r.hsl2rgb=function(e,t,r){var n=e/60,i=(1-Math.abs(2*r-1))*t,o=i*(1-Math.abs(parseInt(n)%2-1)),a=r-i/2,s=0,l=0,u=0;return n>=0&&n<1?(s=i,l=o):n>=1&&n<2?(s=o,l=i):n>=2&&n<3?(l=i,u=o):n>=3&&n<4?(l=o,u=i):n>=4&&n<5?(s=o,u=i):n>=5&&n<6&&(s=i,u=o),s+=a,l+=a,u+=a,[s=parseInt(255*s),l=parseInt(255*l),u=parseInt(255*u)]},r.prototype.set=function(e){this.raw=e;var t=(16711680&this.raw)>>16,r=(65280&this.raw)>>8,n=255&this.raw,i=.2126*t+.7152*r+.0722*n,o=-.09991*t-.33609*r+.436*n,a=.615*t-.55861*r-.05639*n;return this.rgb={r:t,g:r,b:n},this.yuv={y:i,u:o,v:a},this},r.prototype.lighten=function(e){var t=Math.min(1,Math.max(0,Math.abs(e)))*(e<0?-1:1)*255|0,n=Math.min(255,Math.max(0,this.rgb.r+t)),i=Math.min(255,Math.max(0,this.rgb.g+t)),o=Math.min(255,Math.max(0,this.rgb.b+t)),a=r.rgb2hex(n,i,o);return new r(a)},r.prototype.toHex=function(e){return(e?"#":"")+this.raw.toString(16)},r.prototype.lighterThan=function(e){return e instanceof r||(e=new r(e)),this.yuv.y>e.yuv.y},r.prototype.blendAlpha=function(e){e instanceof r||(e=new r(e));var t=e,n=this,i=t.alpha*t.rgb.r+(1-t.alpha)*n.rgb.r,o=t.alpha*t.rgb.g+(1-t.alpha)*n.rgb.g,a=t.alpha*t.rgb.b+(1-t.alpha)*n.rgb.b;return new r(r.rgb2hex(i,o,a))},e.exports=r},function(e,t){e.exports={version:"2.9.9",svg_ns:"http://www.w3.org/2000/svg"}},function(e,t,r){var n=r(13).default,i=r(8),o=r(11),a=r(7),s=o.svg_ns,l=function(e){var t=e.tag,r=e.content||"";return delete e.tag,delete e.content,[t,r,e]};e.exports=function(e,t){var r,o=t.engineSettings.stylesheets.map((function(e){return'<?xml-stylesheet rel="stylesheet" href="'+e+'"?>'})).join("\n"),u="holder_"+Number(new Date).toString(16),c=e.root,f=c.children.holderTextGroup,h="#"+u+" text { "+(r=f.properties,a.cssProps({fill:r.fill,"font-weight":r.font.weight,"font-family":r.font.family+", monospace","font-size":r.font.size+r.font.units})+" } ");f.y+=.8*f.textPositionData.boundingBox.height;var d=[];Object.keys(f.children).forEach((function(e){var t=f.children[e];Object.keys(t.children).forEach((function(e){var r=t.children[e],n=f.x+t.x+r.x,i=f.y+t.y+r.y,o=l({tag:"text",content:r.properties.text,x:n,y:i});d.push(o)}))}));var p,g,m,y,v=l({tag:"g",content:d}),b=null;if(c.children.holderBg.properties.outline){var w=c.children.holderBg.properties.outline;b=l({tag:"path",d:(p=c.children.holderBg.width,g=c.children.holderBg.height,m=w.width,y=m/2,["M",y,y,"H",p-y,"V",g-y,"H",y,"V",0,"M",0,y,"L",p,g-y,"M",0,g-y,"L",p,y].join(" ")),"stroke-width":w.width,stroke:w.fill,fill:"none"})}var x,S=(x=c.children.holderBg,l({tag:"rect",width:x.width,height:x.height,fill:x.properties.fill})),O=[];O.push(S),w&&O.push(b),O.push(v);var A=l({tag:"g",id:u,content:O}),E=l({tag:"style",content:h,type:"text/css"}),j=l({tag:"defs",content:E}),T=l({tag:"svg",content:[j,A],width:c.properties.width,height:c.properties.height,xmlns:s,viewBox:[0,0,c.properties.width,c.properties.height].join(" "),preserveAspectRatio:"none"}),C=String(n(T));return/&(x)?#[0-9A-Fa-f]/.test(C[0])&&(C=C.replace(/&#/gm,"&#")),C=o+C,i.svgStringToDataURI(C,"background"===t.mode)}},function(e,t,r){e.exports=r(14)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=c;var i=u(r(15)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(16)),a=u(r(17)),s=u(r(18)),l=u(r(21));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=Array.isArray(e),r=void 0===e?"undefined":n(e);if(!t&&"object"!==r)throw new Error("Argument must be either an array or an object and not "+JSON.stringify(e));if(t&&0===e.length)return{};var u={},c=[];return Array.isArray(e)?c=e.slice(0):(c=e.elementArray.slice(0),delete(u=Object.assign(u,e)).elementArray),u=Object.assign({},a.default,u,{returnObject:{ids:{},references:{}}}),function e(t){if(Array.isArray(t)&&0===t.length)return{};var r,a,c,f=1,h=void 0,d=t.slice(0);if("string"==typeof d[0])d[0]=(r=d[0],a=(0,i.default)(r),c={tag:a.tag,attr:{},children:[]},a.id&&(c.attr.id=a.id,(0,l.default)(!u.returnObject.ids.hasOwnProperty(a.id),'Ids must be unique and "'+a.id+'" is already assigned'),u.returnObject.ids[a.id]=c),a.class&&(c.attr.class=a.class),a.reference&&((0,l.default)(!u.returnObject.ids.hasOwnProperty(a.reference),'References must be unique and "'+a.id+'" is already assigned'),u.returnObject.references[a.reference]=c),u.escapeHTML=null!=a.escapeHTML?a.escapeHTML:u.escapeHTML,c);else{if(!Array.isArray(d[0]))throw new Error("First element of array must be a string, or an array and not "+JSON.stringify(d[0]));f=0}for(;f<d.length;f++){if(!1===d[f]||null===d[f]){d[0]=!1;break}if(void 0!==d[f]&&!0!==d[f])if("string"==typeof d[f])u.escapeHTML&&(d[f]=o.HTML(d[f])),d[0].children.push(d[f]);else if("number"==typeof d[f])d[0].children.push(d[f]);else if(Array.isArray(d[f])){if(Array.isArray(d[f][0])){if(d[f].reverse().forEach((function(e){d.splice(f+1,0,e)})),0!==f)continue;f++}d[f]=e(d[f]),d[f][0]&&d[0].children.push(d[f][0])}else if("function"==typeof d[f])h=d[f];else{if("object"!==n(d[f]))throw new TypeError('"'+d[f]+'" is not allowed as a value');for(var p in d[f])if(d[f].hasOwnProperty(p)){var g=d[f][p];d[f].hasOwnProperty(p)&&null!==g&&!1!==g&&(d[0].attr[p]=(0,s.default)(p,g))}}}if(!1!==d[0]){var m="<"+d[0].tag;for(var y in d[0].attr)if(d[0].attr.hasOwnProperty(y)){var v=o.attribute(d[0].attr[y]),b=v;(u.quoteAttributes||/[ "'=<>]/.test(v))&&(b=u.quotationMark+v+u.quotationMark),m+=" "+y+"="+b}m+=">",-1===["area","base","br","col","command","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"].indexOf(d[0].tag)&&(d[0].children.forEach((function(e){return m+=e})),m+="</"+d[0].tag+">"),d[0]=m}return u.returnObject[0]=d[0],u.returnObject.rootElement=d[0],u.returnObject.toString=function(){return d[0]},h&&h(d[0]),u.returnObject}(c)}c.setDefaults=function(e){return Object.assign(a.default,e),c}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.match(/^[\w-]+/),r={tag:t?t[0]:"div"},n=e.match(/#([\w-]+)/),i=e.match(/\.[\w-]+/g),o=e.match(/\$([\w-]+)/);return n&&(r.id=n[1]),i&&(r.class=i.join(" ").replace(/\./g,"")),o&&(r.reference=o[1]),(e.endsWith("&")||e.endsWith("!"))&&(r.escapeHTML=!1),r}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attribute=function(e){return e||0===e?String(e).replace(/&/g,"&").replace(/"/g,"""):""},t.HTML=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={namespace:"xhtml",autoNamespacing:!0,escapeHTML:!0,quotationMark:'"',quoteAttributes:!0,convertTransformArray:!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=a(r(19)),o=a(r(20));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){return void 0===t?"":"style"===e&&"object"===(void 0===t?"undefined":n(t))?(0,o.default)(t):"transform"===e&&Array.isArray(t)?(0,i.default)(t):t}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.map((function(e){var t=[];return"rotate"===e.type&&e.degrees&&t.push(e.degrees),e.x&&t.push(e.x),e.y&&t.push(e.y),e.type+"("+t+")"})).join(" ")}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function n(e,t){if(null!==t&&!1!==t&&void 0!==t)return"string"==typeof t||"object"===(void 0===t?"undefined":r(t))?t:String(t)}t.default=function(e){return JSON.stringify(e,n).slice(2,-2).replace(/","/g,";").replace(/":"/g,":").replace(/\\"/g,"'")}},function(e,t,r){(function(t){"use strict";var n=r(22);function i(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function o(e){return t.Buffer&&"function"==typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=r(23),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,u="foo"===function(){}.name;function c(e){return Object.prototype.toString.call(e)}function f(e){return!o(e)&&"function"==typeof t.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}var h=e.exports=v,d=/\s*function\s+([^\(\s]*)\s*/;function p(e){if(a.isFunction(e)){if(u)return e.name;var t=e.toString().match(d);return t&&t[1]}}function g(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function m(e){if(u||!a.isFunction(e))return a.inspect(e);var t=p(e);return"[Function"+(t?": "+t:"")+"]"}function y(e,t,r,n,i){throw new h.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function v(e,t){e||y(e,!0,t,"==",h.ok)}function b(e,t,r,n){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(f(e)&&f(t)&&c(e)===c(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;var s=(n=n||{actual:[],expected:[]}).actual.indexOf(e);return-1!==s&&s===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),function(e,t,r,n){if(null==e||null==t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=w(e),o=w(t);if(i&&!o||!i&&o)return!1;if(i)return b(e=l.call(e),t=l.call(t),r);var s,u,c=O(e),f=O(t);if(c.length!==f.length)return!1;for(c.sort(),f.sort(),u=c.length-1;u>=0;u--)if(c[u]!==f[u])return!1;for(u=c.length-1;u>=0;u--)if(!b(e[s=c[u]],t[s],r,n))return!1;return!0}(e,t,r,n))}return r?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function x(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(r){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function S(e,t,r,n){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(e){var t;try{e()}catch(r){t=r}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&y(i,r,"Missing expected exception"+n);var o="string"==typeof n,s=!e&&i&&!r;if((!e&&a.isError(i)&&o&&x(i,r)||s)&&y(i,r,"Got unwanted exception"+n),e&&i&&r&&!x(i,r)||!e&&i)throw i}h.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return g(m(e.actual),128)+" "+e.operator+" "+g(m(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=p(t),o=n.indexOf("\n"+i);if(o>=0){var a=n.indexOf("\n",o+1);n=n.substring(a+1)}this.stack=n}}},a.inherits(h.AssertionError,Error),h.fail=y,h.ok=v,h.equal=function(e,t,r){e!=t&&y(e,t,r,"==",h.equal)},h.notEqual=function(e,t,r){e==t&&y(e,t,r,"!=",h.notEqual)},h.deepEqual=function(e,t,r){b(e,t,!1)||y(e,t,r,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(e,t,r){b(e,t,!0)||y(e,t,r,"deepStrictEqual",h.deepStrictEqual)},h.notDeepEqual=function(e,t,r){b(e,t,!1)&&y(e,t,r,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=function e(t,r,n){b(t,r,!0)&&y(t,r,n,"notDeepStrictEqual",e)},h.strictEqual=function(e,t,r){e!==t&&y(e,t,r,"===",h.strictEqual)},h.notStrictEqual=function(e,t,r){e===t&&y(e,t,r,"!==",h.notStrictEqual)},h.throws=function(e,t,r){S(!0,e,t,r)},h.doesNotThrow=function(e,t,r){S(!1,e,t,r)},h.ifError=function(e){if(e)throw e},h.strict=n((function e(t,r){t||y(t,!0,r,"==",e)}),h,{equal:h.strictEqual,deepEqual:h.deepStrictEqual,notEqual:h.notStrictEqual,notDeepEqual:h.notDeepStrictEqual}),h.strict.strict=h.strict;var O=Object.keys||function(e){var t=[];for(var r in e)s.call(e,r)&&t.push(r);return t}}).call(t,function(){return this}())},function(e,t){"use strict";var r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]))n.call(o,u)&&(s[u]=o[u]);if(r){a=r(o);for(var c=0;c<a.length;c++)i.call(o,a[c])&&(s[a[c]]=o[a[c]])}}return s}},function(e,t,r){(function(e,n){var i=/%[sdj%]/g;t.format=function(e){if(!y(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}})),l=n[r];r<o;l=n[++r])g(l)||!w(l)?a+=" "+l:a+=" "+s(l);return a},t.deprecate=function(r,i){if(v(e.process))return function(){return t.deprecate(r,i).apply(this,arguments)};if(!0===n.noDeprecation)return r;var o=!1;return function(){if(!o){if(n.throwDeprecation)throw new Error(i);n.traceDeprecation?console.trace(i):console.error(i),o=!0}return r.apply(this,arguments)}};var o,a={};function s(e,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(r)?n.showHidden=r:r&&t._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,e,n.depth)}function l(e,t){var r=s.styles[t];return r?"\x1b["+s.colors[r][0]+"m"+e+"\x1b["+s.colors[r][1]+"m":e}function u(e,t){return e}function c(e,r,n){if(e.customInspect&&r&&O(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return y(i)||(i=c(e,i,n)),i}var o=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(y(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return m(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}(e,r);if(o)return o;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),S(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(r);if(0===a.length){if(O(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(b(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return e.stylize(Date.prototype.toString.call(r),"date");if(S(r))return f(r)}var u,w="",A=!1,E=["{","}"];return d(r)&&(A=!0,E=["[","]"]),O(r)&&(w=" [Function"+(r.name?": "+r.name:"")+"]"),b(r)&&(w=" "+RegExp.prototype.toString.call(r)),x(r)&&(w=" "+Date.prototype.toUTCString.call(r)),S(r)&&(w=" "+f(r)),0!==a.length||A&&0!=r.length?n<0?b(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=A?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)T(t,String(a))?o.push(h(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(e,t,r,n,i,!0))})),o}(e,r,n,s,a):a.map((function(t){return h(e,r,n,s,t,A)})),e.seen.pop(),function(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return n>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(u,w,E)):E[0]+w+E[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),T(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=g(r)?c(e,l.value,null):c(e,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function d(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function g(e){return null===e}function m(e){return"number"==typeof e}function y(e){return"string"==typeof e}function v(e){return void 0===e}function b(e){return w(e)&&"[object RegExp]"===A(e)}function w(e){return"object"==typeof e&&null!==e}function x(e){return w(e)&&"[object Date]"===A(e)}function S(e){return w(e)&&("[object Error]"===A(e)||e instanceof Error)}function O(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(v(o)&&(o=n.env.NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=p,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=y,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=b,t.isObject=w,t.isDate=x,t.isError=S,t.isFunction=O,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(25);var j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":"),[e.getDate(),j[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(26),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(t,function(){return this}(),r(24))},function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,u=[],c=!1,f=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):f=-1,u.length&&d())}function d(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++f<t;)l&&l[f].run();f=-1,t=u.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||c||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){var n,i,o=r(9),a=r(7);e.exports=(n=o.newEl("canvas"),i=null,function(e){null==i&&(i=n.getContext("2d"));var t=a.canvasRatio(),r=e.root;n.width=t*r.properties.width,n.height=t*r.properties.height,i.textBaseline="middle";var o=r.children.holderBg,s=t*o.width,l=t*o.height;i.fillStyle=o.properties.fill,i.fillRect(0,0,s,l),o.properties.outline&&(i.strokeStyle=o.properties.outline.fill,i.lineWidth=o.properties.outline.width,i.moveTo(1,1),i.lineTo(s-1,1),i.lineTo(s-1,l-1),i.lineTo(1,l-1),i.lineTo(1,1),i.moveTo(0,1),i.lineTo(s,l-1),i.moveTo(0,l-1),i.lineTo(s,1),i.stroke());var u=r.children.holderTextGroup;for(var c in i.font=u.properties.font.weight+" "+t*u.properties.font.size+u.properties.font.units+" "+u.properties.font.family+", monospace",i.fillStyle=u.properties.fill,u.children){var f=u.children[c];for(var h in f.children){var d=f.children[h],p=t*(u.x+f.x+d.x),g=t*(u.y+f.y+d.y+u.properties.leading/2);i.fillText(d.properties.text,p,g)}}return n.toDataURL("image/png")})}])},e.exports=t(),r=this,"undefined"!=typeof Meteor&&"undefined"!=typeof Package&&(Holder=r.Holder)}}]);