candy-icons/apps/scalable/colab.svg

342 lines
35 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="colab.svg"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
id="svg8"
version="1.1"
viewBox="0 0 12.7 12.7"
height="48"
width="48">
<defs
id="defs2">
<linearGradient
id="linearGradient906"
x1="0.94595206"
y1="0.29080611"
x2="0.05467812"
y2="0.69487906"
gradientTransform="matrix(-5.2983802,11.541974,-11.541974,-5.2983802,14.770177,3.2282029)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:rgb(255,224,49)"
id="stop902" />
<stop
offset="0.79785264"
stop-opacity="1"
style="stop-color:rgb(252,82,82)"
id="stop904" />
</linearGradient>
<linearGradient
id="linearGradient896"
x1="0.28608459"
y1="0.93922859"
x2="0.68144441"
y2="0.038867984"
gradientTransform="matrix(-5.2983802,11.541974,-11.541974,-5.2983802,14.770177,3.2282029)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:#fc5252;stop-opacity:1"
id="stop892" />
</linearGradient>
<linearGradient
id="linearGradient1701"
x1="0.28608459"
y1="0.93922859"
x2="0.68144441"
y2="0.038867984"
gradientTransform="matrix(-5.2983802,11.541974,-11.541974,-5.2983802,14.770177,3.2282029)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:#fc5252;stop-opacity:1"
id="stop1697" />
<stop
offset="0.68305308"
stop-opacity="1"
style="stop-color:#ffe031;stop-opacity:1"
id="stop1699" />
</linearGradient>
<linearGradient
id="linearGradient1506"
x1="0.28608459"
y1="0.93922859"
x2="0.68144441"
y2="0.038867984"
gradientTransform="matrix(-5.2983802,11.541974,-11.541974,-5.2983802,14.770177,3.2282029)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:#fc5252;stop-opacity:1"
id="stop1502" />
<stop
offset="0.40888655"
stop-opacity="1"
style="stop-color:#ffe031;stop-opacity:1"
id="stop1504" />
</linearGradient>
<inkscape:path-effect
effect="fillet_chamfer"
id="path-effect2120"
is_visible="true"
lpeversion="1"
satellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
unit="px"
method="auto"
mode="F"
radius="0"
chamfer_steps="1"
flexible="false"
use_knot_distance="true"
apply_no_radius="true"
apply_with_radius="true"
only_selected="false"
hide_knots="false" />
<inkscape:path-effect
effect="fillet_chamfer"
id="path-effect2092"
is_visible="true"
lpeversion="1"
satellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.72486652,0,1"
unit="px"
method="auto"
mode="F"
radius="0"
chamfer_steps="1"
flexible="false"
use_knot_distance="true"
apply_no_radius="true"
apply_with_radius="true"
only_selected="false"
hide_knots="false" />
<inkscape:path-effect
effect="ellipse_5pts"
id="path-effect2090"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="fillet_chamfer"
id="path-effect2088"
is_visible="true"
lpeversion="1"
satellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
unit="px"
method="auto"
mode="F"
radius="7"
chamfer_steps="1"
flexible="false"
use_knot_distance="true"
apply_no_radius="true"
apply_with_radius="true"
only_selected="false"
hide_knots="false" />
<inkscape:path-effect
effect="fillet_chamfer"
id="path-effect2086"
is_visible="true"
lpeversion="1"
satellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
unit="px"
method="auto"
mode="F"
radius="0"
chamfer_steps="1"
flexible="false"
use_knot_distance="true"
apply_no_radius="true"
apply_with_radius="true"
only_selected="false"
hide_knots="false" />
<linearGradient
id="_lgradient_21"
x1="0.94595206"
y1="0.29080611"
x2="0.05467812"
y2="0.69487906"
gradientTransform="matrix(-5.2983802,11.541974,-11.541974,-5.2983802,14.770177,3.2282029)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:rgb(255,224,49)"
id="stop14" />
<stop
offset="0.87669075"
stop-opacity="1"
style="stop-color:rgb(252,82,82)"
id="stop16" />
</linearGradient>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath1608">
<path
id="path1610"
style="fill:#ebf09f;fill-opacity:1;stroke-width:0.278"
d="m 2.2861653,3.6896971 c -0.089296,3e-7 -0.1612304,0.071934 -0.1612304,0.1612308 v 5.3335245 c 0,0.089296 0.071933,0.1612305 0.1612304,0.1612305 H 11.09803 c 0.08929,0 0.161231,-0.071934 0.161231,-0.1612305 V 3.8509279 c 0,-0.089296 -0.07193,-0.1612308 -0.161231,-0.1612308 z M 7.9349161,3.907255 A 2.4425001,2.4425001 0 0 1 10.377661,6.35 2.4425001,2.4425001 0 0 1 7.9349161,8.792745 2.4425001,2.4425001 0 0 1 5.4926881,6.35 2.4425001,2.4425001 0 0 1 7.9349161,3.907255 Z" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath2074">
<path
id="path2076"
style="fill:#cf4323;fill-opacity:1;stroke-width:1.95523;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
d="m 9.0683594,14 c -0.037958,0 -0.068359,0.03039 -0.068359,0.06836 v 20.203125 c 0,0.03796 0.03039,0.06836 0.068359,0.06836 H 39.931641 c 0.03791,0 0.06836,-0.03039 0.06836,-0.06836 V 14.068359 C 39.999999,14.030402 39.969625,14 39.931641,14 Z M 30.015625,14.767578 A 9.2317847,9.2317847 0 0 1 39.248047,24 9.2317847,9.2317847 0 0 1 30.015625,33.232422 9.2317847,9.2317847 0 0 1 21.796875,28.205078 5.6692913,5.6692913 0 0 1 17.996094,29.669922 5.6692913,5.6692913 0 0 1 12.328125,24 a 5.6692913,5.6692913 0 0 1 5.667969,-5.669922 5.6692913,5.6692913 0 0 1 3.800781,1.462891 9.2317847,9.2317847 0 0 1 8.21875,-5.025391 z" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath2078">
<path
id="path2080"
style="fill:#cf4323;fill-opacity:1;stroke-width:1.95523;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
d="m 9.0683594,14 c -0.037958,0 -0.068359,0.03039 -0.068359,0.06836 v 20.203125 c 0,0.03796 0.03039,0.06836 0.068359,0.06836 H 39.931641 c 0.03791,0 0.06836,-0.03039 0.06836,-0.06836 V 14.068359 C 39.999999,14.030402 39.969625,14 39.931641,14 Z M 30.015625,14.767578 A 9.2317847,9.2317847 0 0 1 39.248047,24 9.2317847,9.2317847 0 0 1 30.015625,33.232422 9.2317847,9.2317847 0 0 1 21.796875,28.205078 5.6692913,5.6692913 0 0 1 17.996094,29.669922 5.6692913,5.6692913 0 0 1 12.328125,24 a 5.6692913,5.6692913 0 0 1 5.667969,-5.669922 5.6692913,5.6692913 0 0 1 3.800781,1.462891 9.2317847,9.2317847 0 0 1 8.21875,-5.025391 z" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath2082">
<path
id="path2084"
style="fill:#cf4323;fill-opacity:1;stroke-width:1.95523;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
d="m 9.0683594,14 c -0.037958,0 -0.068359,0.03039 -0.068359,0.06836 v 20.203125 c 0,0.03796 0.03039,0.06836 0.068359,0.06836 H 39.931641 c 0.03791,0 0.06836,-0.03039 0.06836,-0.06836 V 14.068359 C 39.999999,14.030402 39.969625,14 39.931641,14 Z M 30.015625,14.767578 A 9.2317847,9.2317847 0 0 1 39.248047,24 9.2317847,9.2317847 0 0 1 30.015625,33.232422 9.2317847,9.2317847 0 0 1 21.796875,28.205078 5.6692913,5.6692913 0 0 1 17.996094,29.669922 5.6692913,5.6692913 0 0 1 12.328125,24 a 5.6692913,5.6692913 0 0 1 5.667969,-5.669922 5.6692913,5.6692913 0 0 1 3.800781,1.462891 9.2317847,9.2317847 0 0 1 8.21875,-5.025391 z" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath2305">
<path
id="path2307"
style="fill:#ffe031;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.88976;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="m 13.34375,18.34375 11.3125,11.3125 A 7.9999997,7.9999997 0 0 0 27,24 7.9999997,7.9999997 0 0 0 19,16 7.9999997,7.9999997 0 0 0 13.34375,18.34375 Z" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath2309">
<path
id="path2311"
style="fill:#ffe031;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.88976;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="m 13.34375,18.34375 11.3125,11.3125 A 7.9999997,7.9999997 0 0 0 27,24 7.9999997,7.9999997 0 0 0 19,16 7.9999997,7.9999997 0 0 0 13.34375,18.34375 Z" />
</clipPath>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient906"
id="linearGradient900"
x1="2.6714039"
y1="5.1796579"
x2="9.8597403"
y2="7.175735"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="34"
inkscape:window-x="0"
inkscape:window-height="1166"
inkscape:window-width="1920"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="mm"
inkscape:cy="20.52122"
inkscape:cx="20.766559"
inkscape:zoom="18.220521"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:snap-global="true"
inkscape:pagecheckerboard="false"
showguides="true">
<inkscape:grid
type="xygrid"
id="grid1862" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Livello 1">
<path
style="isolation:isolate;fill:url(#_lgradient_21);stroke-width:0.270211"
d="m 11.0218,3.9128471 v 0 C 10.883528,3.6492741 10.98596,3.3231545 11.250269,3.1852204 v 0 c 0.264311,-0.1379338 0.591147,-0.035768 0.729419,0.2278053 v 0 c 0.905483,1.7387552 0.95973,3.8032978 0.141299,5.5861645 0,0 0,0 0,0 v 0 C 11.41867,10.529116 10.135512,11.718073 8.5578412,12.305036 6.9788414,12.888415 5.2307352,12.823304 3.7008094,12.120987 3.0917863,11.841413 2.5291843,11.467192 2.036433,11.012054 v 0 C 1.8173787,10.809814 1.8039398,10.467964 2.006181,10.248911 v 0 c 0.2022418,-0.219052 0.5440902,-0.232492 0.7631424,-0.03025 v 0 c 0.409177,0.378121 0.8765295,0.687804 1.3824116,0.920031 1.2696174,0.582822 2.7198908,0.636088 4.0301618,0.15234 C 9.4908384,10.803701 10.555869,9.817882 11.138692,8.5482642 11.817335,7.0699093 11.773626,5.3580729 11.0218,3.9128471 Z m 0.116892,4.6354171 c 0,0 0,0 0,0 v 0 0 c 0,0 0,0 0,0 z M 1.3218154,7.9248429 v 0 c 0.089624,0.2840557 -0.06872,0.5868869 -0.35350989,0.6761719 v 0 C 0.68351288,8.6903 0.37996483,8.5322243 0.29034175,8.2481679 v 0 C -0.17794016,6.7487633 -0.07595637,5.1275931 0.57901379,3.7008083 1.2813309,2.170883 2.5644888,0.9819253 4.1421598,0.39496282 5.7211579,-0.18841543 7.4692643,-0.12330433 8.9991895,0.57901273 9.1637243,0.65454294 9.3224197,0.73631625 9.4813191,0.82412172 v 0 C 9.7403626,0.97098489 9.8314012,1.3011803 9.6842001,1.5609607 v 0 C 9.5369987,1.8207409 9.2070688,1.912496 8.9480254,1.7656329 v 0 C 8.8185962,1.6913515 8.6833291,1.6233116 8.5482632,1.5613092 7.2786461,0.97848733 5.828373,0.92522161 4.5181019,1.4089686 3.2091603,1.8962996 2.1441303,2.882119 1.5613082,4.1517369 1.0179427,5.3354024 0.93219031,6.6815663 1.3218154,7.9248429 Z"
fill-rule="evenodd"
fill="url(#_lgradient_21)"
id="path19"
mask="none" />
<g
id="g1721"
transform="translate(0.14870328,-9.3165e-4)"
style="fill-opacity:1;fill:url(#linearGradient900)">
<g
id="g1556"
transform="translate(-0.52916667)"
style="fill-opacity:1.0;fill:url(#linearGradient900)">
<g
id="g1569"
style="fill:url(#linearGradient900);fill-opacity:1.0">
<path
style="fill-opacity:1.0;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill:url(#linearGradient900)"
d="m 3.2143975,7.5599639 c 0,0 -0.1581285,-0.1741954 -0.2641437,-0.5988214 C 2.8288242,6.474777 2.846494,6.208343 2.9714476,5.72529 c 0.047104,-0.1820968 0.096734,-0.3602875 0.229123,-0.5456322 0,0 0.1382857,-0.2517793 0.3547033,-0.1081102 0.2204327,0.1463345 0.057011,0.3375391 0.057011,0.3375391 0,0 -0.090324,0.1770289 -0.1923971,0.4686408 -0.087918,0.2511717 -0.089219,0.5917697 -0.010623,0.9203664 0.038996,0.1630349 0.1083338,0.3381762 0.2095798,0.5069196 0,0 0.1943103,0.2317879 -0.016114,0.3762413 C 3.384599,7.8309984 3.2143975,7.5599639 3.2143975,7.5599639 Z"
id="path1325"
sodipodi:nodetypes="csscscsscsc" />
<path
style="fill:url(#linearGradient900);fill-opacity:1.0;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 3.864041,4.5186443 c 0,0 0.1741954,-0.1581285 0.5988214,-0.2641437 0.4863655,-0.1214296 0.7527996,-0.1037598 1.2358526,0.021194 0.1820968,0.047104 0.3602875,0.096734 0.5456322,0.229123 0,0 0.2517793,0.1382857 0.1081102,0.3547033 -0.1463345,0.2204327 -0.3375391,0.057011 -0.3375391,0.057011 0,0 -0.1770289,-0.090324 -0.4686408,-0.1923971 C 5.2951058,4.6362168 4.9545078,4.6349158 4.6259111,4.7135118 4.4628762,4.7525078 4.2877348,4.8218456 4.1189914,4.9230916 c 0,0 -0.2317879,0.1943103 -0.3762414,-0.016114 C 3.5930065,4.6888458 3.864041,4.5186443 3.864041,4.5186443 Z"
id="path1325-5"
sodipodi:nodetypes="csscscsscsc" />
<path
style="fill:url(#linearGradient900);fill-opacity:1.0;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 3.8683947,8.183219 c 0,0 0.1741954,0.1581285 0.5988214,0.2641437 0.4863655,0.1214296 0.7527996,0.1037598 1.2358526,-0.021194 0.1820968,-0.047104 0.3602875,-0.096734 0.5456322,-0.229123 0,0 0.2517792,-0.1382857 0.1081102,-0.3547033 C 6.2104766,7.6219097 6.019272,7.7853314 6.019272,7.7853314 c 0,0 -0.1770289,0.090324 -0.4686408,0.1923971 C 5.2994595,8.0656465 4.9588615,8.0669475 4.6302648,7.9883515 4.4672299,7.9493555 4.2920885,7.8800177 4.1233451,7.7787717 c 0,0 -0.2317879,-0.1943103 -0.3762414,0.016114 -0.1497435,0.2181318 0.121291,0.3883333 0.121291,0.3883333 z"
id="path1325-5-9"
sodipodi:nodetypes="csscscsscsc" />
</g>
</g>
<g
id="g1687"
style="fill:url(#linearGradient900);fill-opacity:1.0"
transform="translate(-0.52916667)">
<path
style="fill:url(#linearGradient900);fill-opacity:1.0;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 9.5859543,4.5115578 c 0,0 -0.4747387,-0.2879655 -1.1531111,-0.3235719 C 7.9909397,4.1647913 7.4443066,4.2749466 6.9243923,4.7948609 6.5001586,5.2190945 6.3651765,5.6803226 6.330546,6.0865844 6.258271,6.9344639 6.699831,7.4625252 6.699831,7.4625252 c 0,0 0.142729,0.2231115 0.314886,0.1186529 0.2226134,-0.1350736 0.096764,-0.3541645 0.096764,-0.3541645 0,0 -0.3640759,-0.5461138 -0.2669169,-1.1939434 0.042138,-0.2809626 0.1710309,-0.5810574 0.4540055,-0.864032 0.337593,-0.3375929 0.744098,-0.4977342 1.0690555,-0.5051785 0.6123445,-0.014028 1.0136385,0.2902814 1.0136385,0.2902814 0,0 0.2254647,0.1297544 0.3402365,-0.1086402 C 9.8191673,4.6426345 9.5859543,4.5115578 9.5859543,4.5115578 Z"
id="path1651"
sodipodi:nodetypes="cssscscssscsc" />
<path
style="fill:url(#linearGradient900);fill-opacity:1.0;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 7.3296411,8.1409865 c 0,0 0.4747387,0.2879655 1.1531111,0.3235719 0.4419035,0.023195 0.9885366,-0.086961 1.5084509,-0.606875 C 10.415437,7.4334498 10.550419,6.9722217 10.585049,6.5659599 10.657319,5.7180805 10.215764,5.190019 10.215764,5.190019 c 0,0 -0.142729,-0.2231115 -0.3148856,-0.118653 -0.2226134,0.1350738 -0.096764,0.3541647 -0.096764,0.3541647 0,0 0.3640756,0.5461138 0.2669166,1.1939434 C 10.028893,6.9004367 9.9000004,7.2005315 9.6170258,7.4835061 9.2794328,7.821099 8.8729277,7.9812403 8.5479703,7.9886846 7.9356258,8.0027126 7.5343317,7.6984032 7.5343317,7.6984032 c 0,0 -0.2254647,-0.1297544 -0.3402364,0.1086402 -0.097667,0.2028664 0.1355458,0.3339431 0.1355458,0.3339431 z"
id="path1651-1"
sodipodi:nodetypes="cssscscssscsc" />
</g>
</g>
</g>
<script
id="mesh_polyfill"
type="text/javascript">
!function(){const t=&quot;http://www.w3.org/2000/svg&quot;,e=&quot;http://www.w3.org/1999/xlink&quot;,s=&quot;http://www.w3.org/1999/xhtml&quot;,r=2;if(document.createElementNS(t,&quot;meshgradient&quot;).x)return;const n=(t,e,s,r)=&gt;{let n=new x(.5*(e.x+s.x),.5*(e.y+s.y)),o=new x(.5*(t.x+e.x),.5*(t.y+e.y)),i=new x(.5*(s.x+r.x),.5*(s.y+r.y)),a=new x(.5*(n.x+o.x),.5*(n.y+o.y)),h=new x(.5*(n.x+i.x),.5*(n.y+i.y)),l=new x(.5*(a.x+h.x),.5*(a.y+h.y));return[[t,o,a,l],[l,h,i,r]]},o=t=&gt;{let e=t[0].distSquared(t[1]),s=t[2].distSquared(t[3]),r=.25*t[0].distSquared(t[2]),n=.25*t[1].distSquared(t[3]),o=e&gt;s?e:s,i=r&gt;n?r:n;return 18*(o&gt;i?o:i)},i=(t,e)=&gt;Math.sqrt(t.distSquared(e)),a=(t,e)=&gt;t.scale(2/3).add(e.scale(1/3)),h=t=&gt;{let e,s,r,n,o,i,a,h=new g;return t.match(/(\w+\(\s*[^)]+\))+/g).forEach(t=&gt;{let l=t.match(/[\w.-]+/g),d=l.shift();switch(d){case&quot;translate&quot;:2===l.length?e=new g(1,0,0,1,l[0],l[1]):(console.error(&quot;mesh.js: translate does not have 2 arguments!&quot;),e=new g(1,0,0,1,0,0)),h=h.append(e);break;case&quot;scale&quot;:1===l.length?s=new g(l[0],0,0,l[0],0,0):2===l.length?s=new g(l[0],0,0,l[1],0,0):(console.error(&quot;mesh.js: scale does not have 1 or 2 arguments!&quot;),s=new g(1,0,0,1,0,0)),h=h.append(s);break;case&quot;rotate&quot;:if(3===l.length&amp;&amp;(e=new g(1,0,0,1,l[1],l[2]),h=h.append(e)),l[0]){r=l[0]*Math.PI/180;let t=Math.cos(r),e=Math.sin(r);Math.abs(t)&lt;1e-16&amp;&amp;(t=0),Math.abs(e)&lt;1e-16&amp;&amp;(e=0),a=new g(t,e,-e,t,0,0),h=h.append(a)}else console.error(&quot;math.js: No argument to rotate transform!&quot;);3===l.length&amp;&amp;(e=new g(1,0,0,1,-l[1],-l[2]),h=h.append(e));break;case&quot;skewX&quot;:l[0]?(r=l[0]*Math.PI/180,n=Math.tan(r),o=new g(1,0,n,1,0,0),h=h.append(o)):console.error(&quot;math.js: No argument to skewX transform!&quot;);break;case&quot;skewY&quot;:l[0]?(r=l[0]*Math.PI/180,n=Math.tan(r),i=new g(1,n,0,1,0,0),h=h.append(i)):console.error(&quot;math.js: No argument to skewY transform!&quot;);break;case&quot;matrix&quot;:6===l.length?h=h.append(new g(...l)):console.error(&quot;math.js: Incorrect number of arguments for matrix!&quot;);break;default:console.error(&quot;mesh.js: Unhandled transform type: &quot;+d)}}),h},l=t=&gt;{let e=[],s=t.split(/[ ,]+/);for(let t=0,r=s.length-1;t&lt;r;t+=2)e.push(new x(parseFloat(s[t]),parseFloat(s[t+1])));return e},d=(t,e)=&gt;{for(let s in e)t.setAttribute(s,e[s])},c=(t,e,s,r,n)=&gt;{let o,i,a=[0,0,0,0];for(let h=0;h&lt;3;++h)e[h]&lt;t[h]&amp;&amp;e[h]&lt;s[h]||t[h]&lt;e[h]&amp;&amp;s[h]&lt;e[h]?a[h]=0:(a[h]=.5*((e[h]-t[h])/r+(s[h]-e[h])/n),o=Math.abs(3*(e[h]-t[h])/r),i=Math.abs(3*(s[h]-e[h])/n),a[h]&gt;o?a[h]=o:a[h]&gt;i&amp;&amp;(a[h]=i));return a},u=[[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],[-3,3,0,0,-2,-1,0,0,0,0,0,0,0,0,0,0],[2,-2,0,0,1,1,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0],[0,0,0,0,0,0,0,0,-3,3,0,0,-2,-1,0,0],[0,0,0,0,0,0,0,0,2,-2,0,0,1,1,0,0],[-3,0,3,0,0,0,0,0,-2,0,-1,0,0,0,0,0],[0,0,0,0,-3,0,3,0,0,0,0,0,-2,0,-1,0],[9,-9,-9,9,6,3,-6,-3,6,-6,3,-3,4,2,2,1],[-6,6,6,-6,-3,-3,3,3,-4,4,-2,2,-2,-2,-1,-1],[2,0,-2,0,0,0,0,0,1,0,1,0,0,0,0,0],[0,0,0,0,2,0,-2,0,0,0,0,0,1,0,1,0],[-6,6,6,-6,-4,-2,4,2,-3,3,-3,3,-2,-1,-2,-1],[4,-4,-4,4,2,2,-2,-2,2,-2,2,-2,1,1,1,1]],f=t=&gt;{let e=[];for(let s=0;s&lt;16;++s){e[s]=0;for(let r=0;r&lt;16;++r)e[s]+=u[s][r]*t[r]}return e},p=(t,e,s)=&gt;{const r=e*e,n=s*s,o=e*e*e,i=s*s*s;return t[0]+t[1]*e+t[2]*r+t[3]*o+t[4]*s+t[5]*s*e+t[6]*s*r+t[7]*s*o+t[8]*n+t[9]*n*e+t[10]*n*r+t[11]*n*o+t[12]*i+t[13]*i*e+t[14]*i*r+t[15]*i*o},y=t=&gt;{let e=[],s=[],r=[];for(let s=0;s&lt;4;++s)e[s]=[],e[s][0]=n(t[0][s],t[1][s],t[2][s],t[3][s]),e[s][1]=[],e[s][1].push(...n(...e[s][0][0])),e[s][1].push(...n(...e[s][0][1])),e[s][2]=[],e[s][2].push(...n(...e[s][1][0])),e[s][2].push(...n(...e[s][1][1])),e[s][2].push(...n(...e[s][1][2])),e[s][2].push(...n(...e[s][1][3]));for(let t=0;t&lt;8;++t){s[t]=[];for(let r=0;r&lt;4;++r)s[t][r]=[],s[t][r][0]=n(e[0][2][t][r],e[1][2][t][r],e[2][2][t][r],e[3][2][t][r]),s[t][r][1]=[],s[t][r][1].push(...n(...s[t][r][0][0])),s[t][r][1].push(...n(...s[t][r][0][1])),s[t][r][2]=[],s[t][r][2].push(...n(...s[t][r][1][0])),s[t][r][2].push(...n(...s[t][r][1][1])),s[t][r][2].push(...n(...s[t][r][1][2])),s[t][r][2].push(...n(...s[t][r][1][3]))}for(let t=0;t&lt;8;++t){r[t]=[];for(let e=0;e&lt;8;++e)r[t][e]=[],r[t][e][0]=s[t][0][2][e],r[t][e][1]=s[t][1][2][e],r[t][e][2]=s[t][2][2][e],r[t][e][3]=s[t][3][2][e]}return r};class x{constructor(t,e){this.x=t||0,this.y=e||0}toString(){return`(x=${this.x}, y=${this.y})`}clone(){return new x(this.x,this.y)}add(t){return new x(this.x+t.x,this.y+t.y)}scale(t){return void 0===t.x?new x(this.x*t,this.y*t):new x(this.x*t.x,this.y*t.y)}distSquared(t){let e=this.x-t.x,s=this.y-t.y;return e*e+s*s}transform(t){let e=this.x*t.a+this.y*t.c+t.e,s=this.x*t.b+this.y*t.d+t.f;return new x(e,s)}}class g{constructor(t,e,s,r,n,o){void 0===t?(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0):(this.a=t,this.b=e,this.c=s,this.d=r,this.e=n,this.f=o)}toString(){return`affine: ${this.a} ${this.c} ${this.e} \n ${this.b} ${this.d} ${this.f}`}append(t){t instanceof g||console.error(&quot;mesh.js: argument to Affine.append is not affine!&quot;);let e=this.a*t.a+this.c*t.b,s=this.b*t.a+this.d*t.b,r=this.a*t.c+this.c*t.d,n=this.b*t.c+this.d*t.d,o=this.a*t.e+this.c*t.f+this.e,i=this.b*t.e+this.d*t.f+this.f;return new g(e,s,r,n,o,i)}}class w{constructor(t,e){this.nodes=t,this.colors=e}paintCurve(t,e){if(o(this.nodes)&gt;r){const s=n(...this.nodes);let r=[[],[]],o=[[],[]];for(let t=0;t&lt;4;++t)r[0][t]=this.colors[0][t],r[1][t]=(this.colors[0][t]+this.colors[1][t])/2,o[0][t]=r[1][t],o[1][t]=this.colors[1][t];let i=new w(s[0],r),a=new w(s[1],o);i.paintCurve(t,e),a.paintCurve(t,e)}else{let s=Math.round(this.nodes[0].x);if(s&gt;=0&amp;&amp;s&lt;e){let r=4*(~~this.nodes[0].y*e+s);t[r]=Math.round(this.colors[0][0]),t[r+1]=Math.round(this.colors[0][1]),t[r+2]=Math.round(this.colors[0][2]),t[r+3]=Math.round(this.colors[0][3])}}}}class m{constructor(t,e){this.nodes=t,this.colors=e}split(){let t=[[],[],[],[]],e=[[],[],[],[]],s=[[[],[]],[[],[]]],r=[[[],[]],[[],[]]];for(let s=0;s&lt;4;++s){const r=n(this.nodes[0][s],this.nodes[1][s],this.nodes[2][s],this.nodes[3][s]);t[0][s]=r[0][0],t[1][s]=r[0][1],t[2][s]=r[0][2],t[3][s]=r[0][3],e[0][s]=r[1][0],e[1][s]=r[1][1],e[2][s]=r[1][2],e[3][s]=r[1][3]}for(let t=0;t&lt;4;++t)s[0][0][t]=this.colors[0][0][t],s[0][1][t]=this.colors[0][1][t],s[1][0][t]=(this.colors[0][0][t]+this.colors[1][0][t])/2,s[1][1][t]=(this.colors[0][1][t]+this.colors[1][1][t])/2,r[0][0][t]=s[1][0][t],r[0][1][t]=s[1][1][t],r[1][0][t]=this.colors[1][0][t],r[1][1][t]=this.colors[1][1][t];return[new m(t,s),new m(e,r)]}paint(t,e){let s,n=!1;for(let t=0;t&lt;4;++t)if((s=o([this.nodes[0][t],this.nodes[1][t],this.nodes[2][t],this.nodes[3][t]]))&gt;r){n=!0;break}if(n){let s=this.split();s[0].paint(t,e),s[1].paint(t,e)}else{new w([...this.nodes[0]],[...this.colors[0]]).paintCurve(t,e)}}}class b{constructor(t){this.readMesh(t),this.type=t.getAttribute(&quot;type&quot;)||&quot;bilinear&quot;}readMesh(t){let e=[[]],s=[[]],r=Number(t.getAttribute(&quot;x&quot;)),n=Number(t.getAttribute(&quot;y&quot;));e[0][0]=new x(r,n);let o=t.children;for(let t=0,r=o.length;t&lt;r;++t){e[3*t+1]=[],e[3*t+2]=[],e[3*t+3]=[],s[t+1]=[];let r=o[t].children;for(let n=0,o=r.length;n&lt;o;++n){let o=r[n].children;for(let r=0,i=o.length;r&lt;i;++r){let i=r;0!==t&amp;&amp;++i;let h,d=o[r].getAttribute(&quot;path&quot;),c=&quot;l&quot;;null!=d&amp;&amp;(c=(h=d.match(/\s*([lLcC])\s*(.*)/))[1]);let u=l(h[2]);switch(c){case&quot;l&quot;:0===i?(e[3*t][3*n+3]=u[0].add(e[3*t][3*n]),e[3*t][3*n+1]=a(e[3*t][3*n],e[3*t][3*n+3]),e[3*t][3*n+2]=a(e[3*t][3*n+3],e[3*t][3*n])):1===i?(e[3*t+3][3*n+3]=u[0].add(e[3*t][3*n+3]),e[3*t+1][3*n+3]=a(e[3*t][3*n+3],e[3*t+3][3*n+3]),e[3*t+2][3*n+3]=a(e[3*t+3][3*n+3],e[3*t][3*n+3])):2===i?(0===n&amp;&amp;(e[3*t+3][3*n+0]=u[0].add(e[3*t+3][3*n+3])),e[3*t+3][3*n+1]=a(e[3*t+3][3*n],e[3*t+3][3*n+3]),e[3*t+3][3*n+2]=a(e[3*t+3][3*n+3],e[3*t+3][3*n])):(e[3*t+1][3*n]=a(e[3*t][3*n],e[3*t+3][3*n]),e[3*t+2][3*n]=a(e[3*t+3][3*n],e[3*t][3*n]));break;case&quot;L&quot;:0===i?(e[3*t][3*n+3]=u[0],e[3*t][3*n+1]=a(e[3*t][3*n],e[3*t][3*n+3]),e[3*t][3*n+2]=a(e[3*t][3*n+3],e[3*t][3*n])):1===i?(e[3*t+3][3*n+3]=u[0],e[3*t+1][3*n+3]=a(e[3*t][3*n+3],e[3*t+3][3*n+3]),e[3*t+2][3*n+3]=a(e[3*t+3][3*n+3],e[3*t][3*n+3])):2===i?(0===n&amp;&amp;(e[3*t+3][3*n+0]=u[0]),e[3*t+3][3*n+1]=a(e[3*t+3][3*n],e[3*t+3][3*n+3]),e[3*t+3][3*n+2]=a(e[3*t+3][3*n+3],e[3*t+3][3*n])):(e[3*t+1][3*n]=a(e[3*t][3*n],e[3*t+3][3*n]),e[3*t+2][3*n]=a(e[3*t+3][3*n],e[3*t][3*n]));break;case&quot;c&quot;:0===i?(e[3*t][3*n+1]=u[0].add(e[3*t][3*n]),e[3*t][3*n+2]=u[1].add(e[3*t][3*n]),e[3*t][3*n+3]=u[2].add(e[3*t][3*n])):1===i?(e[3*t+1][3*n+3]=u[0].add(e[3*t][3*n+3]),e[3*t+2][3*n+3]=u[1].add(e[3*t][3*n+3]),e[3*t+3][3*n+3]=u[2].add(e[3*t][3*n+3])):2===i?(e[3*t+3][3*n+2]=u[0].add(e[3*t+3][3*n+3]),e[3*t+3][3*n+1]=u[1].add(e[3*t+3][3*n+3]),0===n&amp;&amp;(e[3*t+3][3*n+0]=u[2].add(e[3*t+3][3*n+3]))):(e[3*t+2][3*n]=u[0].add(e[3*t+3][3*n]),e[3*t+1][3*n]=u[1].add(e[3*t+3][3*n]));break;case&quot;C&quot;:0===i?(e[3*t][3*n+1]=u[0],e[3*t][3*n+2]=u[1],e[3*t][3*n+3]=u[2]):1===i?(e[3*t+1][3*n+3]=u[0],e[3*t+2][3*n+3]=u[1],e[3*t+3][3*n+3]=u[2]):2===i?(e[3*t+3][3*n+2]=u[0],e[3*t+3][3*n+1]=u[1],0===n&amp;&amp;(e[3*t+3][3*n+0]=u[2])):(e[3*t+2][3*n]=u[0],e[3*t+1][3*n]=u[1]);break;default:console.error(&quot;mesh.js: &quot;+c+&quot; invalid path type.&quot;)}if(0===t&amp;&amp;0===n||r&gt;0){let e=window.getComputedStyle(o[r]).stopColor.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),a=window.getComputedStyle(o[r]).stopOpacity,h=255;a&amp;&amp;(h=Math.floor(255*a)),e&amp;&amp;(0===i?(s[t][n]=[],s[t][n][0]=Math.floor(e[1]),s[t][n][1]=Math.floor(e[2]),s[t][n][2]=Math.floor(e[3]),s[t][n][3]=h):1===i?(s[t][n+1]=[],s[t][n+1][0]=Math.floor(e[1]),s[t][n+1][1]=Math.floor(e[2]),s[t][n+1][2]=Math.floor(e[3]),s[t][n+1][3]=h):2===i?(s[t+1][n+1]=[],s[t+1][n+1][0]=Math.floor(e[1]),s[t+1][n+1][1]=Math.floor(e[2]),s[t+1][n+1][2]=Math.floor(e[3]),s[t+1][n+1][3]=h):3===i&amp;&amp;(s[t+1][n]=[],s[t+1][n][0]=Math.floor(e[1]),s[t+1][n][1]=Math.floor(e[2]),s[t+1][n][2]=Math.floor(e[3]),s[t+1][n][3]=h))}}e[3*t+1][3*n+1]=new x,e[3*t+1][3*n+2]=new x,e[3*t+2][3*n+1]=new x,e[3*t+2][3*n+2]=new x,e[3*t+1][3*n+1].x=(-4*e[3*t][3*n].x+6*(e[3*t][3*n+1].x+e[3*t+1][3*n].x)+-2*(e[3*t][3*n+3].x+e[3*t+3][3*n].x)+3*(e[3*t+3][3*n+1].x+e[3*t+1][3*n+3].x)+-1*e[3*t+3][3*n+3].x)/9,e[3*t+1][3*n+2].x=(-4*e[3*t][3*n+3].x+6*(e[3*t][3*n+2].x+e[3*t+1][3*n+3].x)+-2*(e[3*t][3*n].x+e[3*t+3][3*n+3].x)+3*(e[3*t+3][3*n+2].x+e[3*t+1][3*n].x)+-1*e[3*t+3][3*n].x)/9,e[3*t+2][3*n+1].x=(-4*e[3*t+3][3*n].x+6*(e[3*t+3][3*n+1].x+e[3*t+2][3*n].x)+-2*(e[3*t+3][3*n+3].x+e[3*t][3*n].x)+3*(e[3*t][3*n+1].x+e[3*t+2][3*n+3].x)+-1*e[3*t][3*n+3].x)/9,e[3*t+2][3*n+2].x=(-4*e[3*t+3][3*n+3].x+6*(e[3*t+3][3*n+2].x+e[3*t+2][3*n+3].x)+-2*(e[3*t+3][3*n].x+e[3*t][3*n+3].x)+3*(e[3*t][3*n+2].x+e[3*t+2][3*n].x)+-1*e[3*t][3*n].x)/9,e[3*t+1][3*n+1].y=(-4*e[3*t][3*n].y+6*(e[3*t][3*n+1].y+e[3*t+1][3*n].y)+-2*(e[3*t][3*n+3].y+e[3*t+3][3*n].y)+3*(e[3*t+3][3*n+1].y+e[3*t+1][3*n+3].y)+-1*e[3*t+3][3*n+3].y)/9,e[3*t+1][3*n+2].y=(-4*e[3*t][3*n+3].y+6*(e[3*t][3*n+2].y+e[3*t+1][3*n+3].y)+-2*(e[3*t][3*n].y+e[3*t+3][3*n+3].y)+3*(e[3*t+3][3*n+2].y+e[3*t+1][3*n].y)+-1*e[3*t+3][3*n].y)/9,e[3*t+2][3*n+1].y=(-4*e[3*t+3][3*n].y+6*(e[3*t+3][3*n+1].y+e[3*t+2][3*n].y)+-2*(e[3*t+3][3*n+3].y+e[3*t][3*n].y)+3*(e[3*t][3*n+1].y+e[3*t+2][3*n+3].y)+-1*e[3*t][3*n+3].y)/9,e[3*t+2][3*n+2].y=(-4*e[3*t+3][3*n+3].y+6*(e[3*t+3][3*n+2].y+e[3*t+2][3*n+3].y)+-2*(e[3*t+3][3*n].y+e[3*t][3*n+3].y)+3*(e[3*t][3*n+2].y+e[3*t+2][3*n].y)+-1*e[3*t][3*n].y)/9}}this.nodes=e,this.colors=s}paintMesh(t,e){let s=(this.nodes.length-1)/3,r=(this.nodes[0].length-1)/3;if(&quot;bilinear&quot;===this.type||s&lt;2||r&lt;2){let n;for(let o=0;o&lt;s;++o)for(let s=0;s&lt;r;++s){let r=[];for(let t=3*o,e=3*o+4;t&lt;e;++t)r.push(this.nodes[t].slice(3*s,3*s+4));let i=[];i.push(this.colors[o].slice(s,s+2)),i.push(this.colors[o+1].slice(s,s+2)),(n=new m(r,i)).paint(t,e)}}else{let n,o,a,h,l,d,u;const x=s,g=r;s++,r++;let w=new Array(s);for(let t=0;t&lt;s;++t){w[t]=new Array(r);for(let e=0;e&lt;r;++e)w[t][e]=[],w[t][e][0]=this.nodes[3*t][3*e],w[t][e][1]=this.colors[t][e]}for(let t=0;t&lt;s;++t)for(let e=0;e&lt;r;++e)0!==t&amp;&amp;t!==x&amp;&amp;(n=i(w[t-1][e][0],w[t][e][0]),o=i(w[t+1][e][0],w[t][e][0]),w[t][e][2]=c(w[t-1][e][1],w[t][e][1],w[t+1][e][1],n,o)),0!==e&amp;&amp;e!==g&amp;&amp;(n=i(w[t][e-1][0],w[t][e][0]),o=i(w[t][e+1][0],w[t][e][0]),w[t][e][3]=c(w[t][e-1][1],w[t][e][1],w[t][e+1][1],n,o));for(let t=0;t&lt;r;++t){w[0][t][2]=[],w[x][t][2]=[];for(let e=0;e&lt;4;++e)n=i(w[1][t][0],w[0][t][0]),o=i(w[x][t][0],w[x-1][t][0]),w[0][t][2][e]=n&gt;0?2*(w[1][t][1][e]-w[0][t][1][e])/n-w[1][t][2][e]:0,w[x][t][2][e]=o&gt;0?2*(w[x][t][1][e]-w[x-1][t][1][e])/o-w[x-1][t][2][e]:0}for(let t=0;t&lt;s;++t){w[t][0][3]=[],w[t][g][3]=[];for(let e=0;e&lt;4;++e)n=i(w[t][1][0],w[t][0][0]),o=i(w[t][g][0],w[t][g-1][0]),w[t][0][3][e]=n&gt;0?2*(w[t][1][1][e]-w[t][0][1][e])/n-w[t][1][3][e]:0,w[t][g][3][e]=o&gt;0?2*(w[t][g][1][e]-w[t][g-1][1][e])/o-w[t][g-1][3][e]:0}for(let s=0;s&lt;x;++s)for(let r=0;r&lt;g;++r){let n=i(w[s][r][0],w[s+1][r][0]),o=i(w[s][r+1][0],w[s+1][r+1][0]),c=i(w[s][r][0],w[s][r+1][0]),x=i(w[s+1][r][0],w[s+1][r+1][0]),g=[[],[],[],[]];for(let t=0;t&lt;4;++t){(d=[])[0]=w[s][r][1][t],d[1]=w[s+1][r][1][t],d[2]=w[s][r+1][1][t],d[3]=w[s+1][r+1][1][t],d[4]=w[s][r][2][t]*n,d[5]=w[s+1][r][2][t]*n,d[6]=w[s][r+1][2][t]*o,d[7]=w[s+1][r+1][2][t]*o,d[8]=w[s][r][3][t]*c,d[9]=w[s+1][r][3][t]*x,d[10]=w[s][r+1][3][t]*c,d[11]=w[s+1][r+1][3][t]*x,d[12]=0,d[13]=0,d[14]=0,d[15]=0,u=f(d);for(let e=0;e&lt;9;++e){g[t][e]=[];for(let s=0;s&lt;9;++s)g[t][e][s]=p(u,e/8,s/8),g[t][e][s]&gt;255?g[t][e][s]=255:g[t][e][s]&lt;0&amp;&amp;(g[t][e][s]=0)}}h=[];for(let t=3*s,e=3*s+4;t&lt;e;++t)h.push(this.nodes[t].slice(3*r,3*r+4));l=y(h);for(let s=0;s&lt;8;++s)for(let r=0;r&lt;8;++r)(a=new m(l[s][r],[[[g[0][s][r],g[1][s][r],g[2][s][r],g[3][s][r]],[g[0][s][r+1],g[1][s][r+1],g[2][s][r+1],g[3][s][r+1]]],[[g[0][s+1][r],g[1][s+1][r],g[2][s+1][r],g[3][s+1][r]],[g[0][s+1][r+1],g[1][s+1][r+1],g[2][s+1][r+1],g[3][s+1][r+1]]]])).paint(t,e)}}}transform(t){if(t instanceof x)for(let e=0,s=this.nodes.length;e&lt;s;++e)for(let s=0,r=this.nodes[0].length;s&lt;r;++s)this.nodes[e][s]=this.nodes[e][s].add(t);else if(t instanceof g)for(let e=0,s=this.nodes.length;e&lt;s;++e)for(let s=0,r=this.nodes[0].length;s&lt;r;++s)this.nodes[e][s]=this.nodes[e][s].transform(t)}scale(t){for(let e=0,s=this.nodes.length;e&lt;s;++e)for(let s=0,r=this.nodes[0].length;s&lt;r;++s)this.nodes[e][s]=this.nodes[e][s].scale(t)}}document.querySelectorAll(&quot;rect,circle,ellipse,path,text&quot;).forEach((r,n)=&gt;{let o=r.getAttribute(&quot;id&quot;);o||(o=&quot;patchjs_shape&quot;+n,r.setAttribute(&quot;id&quot;,o));const i=r.style.fill.match(/^url\(\s*&quot;?\s*#([^\s&quot;]+)&quot;?\s*\)/),a=r.style.stroke.match(/^url\(\s*&quot;?\s*#([^\s&quot;]+)&quot;?\s*\)/);if(i&amp;&amp;i[1]){const a=document.getElementById(i[1]);if(a&amp;&amp;&quot;meshgradient&quot;===a.nodeName){const i=r.getBBox();let l=document.createElementNS(s,&quot;canvas&quot;);d(l,{width:i.width,height:i.height});const c=l.getContext(&quot;2d&quot;);let u=c.createImageData(i.width,i.height);const f=new b(a);&quot;objectBoundingBox&quot;===a.getAttribute(&quot;gradientUnits&quot;)&amp;&amp;f.scale(new x(i.width,i.height));const p=a.getAttribute(&quot;gradientTransform&quot;);null!=p&amp;&amp;f.transform(h(p)),&quot;userSpaceOnUse&quot;===a.getAttribute(&quot;gradientUnits&quot;)&amp;&amp;f.transform(new x(-i.x,-i.y)),f.paintMesh(u.data,l.width),c.putImageData(u,0,0);const y=document.createElementNS(t,&quot;image&quot;);d(y,{width:i.width,height:i.height,x:i.x,y:i.y});let g=l.toDataURL();y.setAttributeNS(e,&quot;xlink:href&quot;,g),r.parentNode.insertBefore(y,r),r.style.fill=&quot;none&quot;;const w=document.createElementNS(t,&quot;use&quot;);w.setAttributeNS(e,&quot;xlink:href&quot;,&quot;#&quot;+o);const m=&quot;patchjs_clip&quot;+n,M=document.createElementNS(t,&quot;clipPath&quot;);M.setAttribute(&quot;id&quot;,m),M.appendChild(w),r.parentElement.insertBefore(M,r),y.setAttribute(&quot;clip-path&quot;,&quot;url(#&quot;+m+&quot;)&quot;),u=null,l=null,g=null}}if(a&amp;&amp;a[1]){const o=document.getElementById(a[1]);if(o&amp;&amp;&quot;meshgradient&quot;===o.nodeName){const i=parseFloat(r.style.strokeWidth.slice(0,-2))*(parseFloat(r.style.strokeMiterlimit)||parseFloat(r.getAttribute(&quot;stroke-miterlimit&quot;))||1),a=r.getBBox(),l=Math.trunc(a.width+i),c=Math.trunc(a.height+i),u=Math.trunc(a.x-i/2),f=Math.trunc(a.y-i/2);let p=document.createElementNS(s,&quot;canvas&quot;);d(p,{width:l,height:c});const y=p.getContext(&quot;2d&quot;);let g=y.createImageData(l,c);const w=new b(o);&quot;objectBoundingBox&quot;===o.getAttribute(&quot;gradientUnits&quot;)&amp;&amp;w.scale(new x(l,c));const m=o.getAttribute(&quot;gradientTransform&quot;);null!=m&amp;&amp;w.transform(h(m)),&quot;userSpaceOnUse&quot;===o.getAttribute(&quot;gradientUnits&quot;)&amp;&amp;w.transform(new x(-u,-f)),w.paintMesh(g.data,p.width),y.putImageData(g,0,0);const M=document.createElementNS(t,&quot;image&quot;);d(M,{width:l,height:c,x:0,y:0});let S=p.toDataURL();M.setAttributeNS(e,&quot;xlink:href&quot;,S);const k=&quot;pattern_clip&quot;+n,A=document.createElementNS(t,&quot;pattern&quot;);d(A,{id:k,patternUnits:&quot;userSpaceOnUse&quot;,width:l,height:c,x:u,y:f}),A.appendChild(M),o.parentNode.appendChild(A),r.style.stroke=&quot;url(#&quot;+k+&quot;)&quot;,g=null,p=null,S=null}}})}();
</script>
</svg>