feat: add LangGe checkout template

This commit is contained in:
狼哥
2026-06-22 21:56:03 +08:00
parent 11ceb32773
commit befc24487d
24 changed files with 3206 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
package router
import (
"html/template"
"io/fs"
"strings"
"testing"
"github.com/v03413/bepusdt/static"
)
func TestLangGeCheckoutTemplateIsEmbedded(t *testing.T) {
checkout, err := readCheckoutInfoFromFS(static.Checkout, "checkout/langge")
if err != nil {
t.Fatalf("read langge checkout info: %v", err)
}
if checkout.Name != "LangGe design" {
t.Fatalf("unexpected checkout name: %q", checkout.Name)
}
if checkout.Author == "" {
t.Fatal("checkout author is required")
}
if checkout.Desc == "" {
t.Fatal("checkout desc is required")
}
view, err := fs.ReadFile(static.Checkout, "checkout/langge/views/checkout.html")
if err != nil {
t.Fatalf("read langge checkout template: %v", err)
}
if !strings.Contains(string(view), "{{ .trade_id }}") {
t.Fatal("langge checkout template must only depend on trade_id server injection")
}
tmpl := template.New("default")
if !registerTemplatesFromFS(tmpl, static.Checkout, "checkout/langge", "langge") {
t.Fatal("langge checkout template was not registered")
}
if tmpl.Lookup("langge/checkout.html") == nil {
t.Fatal("langge checkout template was not registered under expected name")
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+28
View File
@@ -0,0 +1,28 @@
(function(r){r.fn.qrcode=function(h){var s;function u(a){this.mode=s;this.data=a}function o(a,c){this.typeNumber=a;this.errorCorrectLevel=c;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}function q(a,c){if(void 0==a.length)throw Error(a.length+"/"+c);for(var d=0;d<a.length&&0==a[d];)d++;this.num=Array(a.length-d+c);for(var b=0;b<a.length-d;b++)this.num[b]=a[b+d]}function p(a,c){this.totalCount=a;this.dataCount=c}function t(){this.buffer=[];this.length=0}u.prototype={getLength:function(){return this.data.length},
write:function(a){for(var c=0;c<this.data.length;c++)a.put(this.data.charCodeAt(c),8)}};o.prototype={addData:function(a){this.dataList.push(new u(a));this.dataCache=null},isDark:function(a,c){if(0>a||this.moduleCount<=a||0>c||this.moduleCount<=c)throw Error(a+","+c);return this.modules[a][c]},getModuleCount:function(){return this.moduleCount},make:function(){if(1>this.typeNumber){for(var a=1,a=1;40>a;a++){for(var c=p.getRSBlocks(a,this.errorCorrectLevel),d=new t,b=0,e=0;e<c.length;e++)b+=c[e].dataCount;
for(e=0;e<this.dataList.length;e++)c=this.dataList[e],d.put(c.mode,4),d.put(c.getLength(),j.getLengthInBits(c.mode,a)),c.write(d);if(d.getLengthInBits()<=8*b)break}this.typeNumber=a}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,c){this.moduleCount=4*this.typeNumber+17;this.modules=Array(this.moduleCount);for(var d=0;d<this.moduleCount;d++){this.modules[d]=Array(this.moduleCount);for(var b=0;b<this.moduleCount;b++)this.modules[d][b]=null}this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-
7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(a,c);7<=this.typeNumber&&this.setupTypeNumber(a);null==this.dataCache&&(this.dataCache=o.createData(this.typeNumber,this.errorCorrectLevel,this.dataList));this.mapData(this.dataCache,c)},setupPositionProbePattern:function(a,c){for(var d=-1;7>=d;d++)if(!(-1>=a+d||this.moduleCount<=a+d))for(var b=-1;7>=b;b++)-1>=c+b||this.moduleCount<=c+b||(this.modules[a+d][c+b]=
0<=d&&6>=d&&(0==b||6==b)||0<=b&&6>=b&&(0==d||6==d)||2<=d&&4>=d&&2<=b&&4>=b?!0:!1)},getBestMaskPattern:function(){for(var a=0,c=0,d=0;8>d;d++){this.makeImpl(!0,d);var b=j.getLostPoint(this);if(0==d||a>b)a=b,c=d}return c},createMovieClip:function(a,c,d){a=a.createEmptyMovieClip(c,d);this.make();for(c=0;c<this.modules.length;c++)for(var d=1*c,b=0;b<this.modules[c].length;b++){var e=1*b;this.modules[c][b]&&(a.beginFill(0,100),a.moveTo(e,d),a.lineTo(e+1,d),a.lineTo(e+1,d+1),a.lineTo(e,d+1),a.endFill())}return a},
setupTimingPattern:function(){for(var a=8;a<this.moduleCount-8;a++)null==this.modules[a][6]&&(this.modules[a][6]=0==a%2);for(a=8;a<this.moduleCount-8;a++)null==this.modules[6][a]&&(this.modules[6][a]=0==a%2)},setupPositionAdjustPattern:function(){for(var a=j.getPatternPosition(this.typeNumber),c=0;c<a.length;c++)for(var d=0;d<a.length;d++){var b=a[c],e=a[d];if(null==this.modules[b][e])for(var f=-2;2>=f;f++)for(var i=-2;2>=i;i++)this.modules[b+f][e+i]=-2==f||2==f||-2==i||2==i||0==f&&0==i?!0:!1}},setupTypeNumber:function(a){for(var c=
j.getBCHTypeNumber(this.typeNumber),d=0;18>d;d++){var b=!a&&1==(c>>d&1);this.modules[Math.floor(d/3)][d%3+this.moduleCount-8-3]=b}for(d=0;18>d;d++)b=!a&&1==(c>>d&1),this.modules[d%3+this.moduleCount-8-3][Math.floor(d/3)]=b},setupTypeInfo:function(a,c){for(var d=j.getBCHTypeInfo(this.errorCorrectLevel<<3|c),b=0;15>b;b++){var e=!a&&1==(d>>b&1);6>b?this.modules[b][8]=e:8>b?this.modules[b+1][8]=e:this.modules[this.moduleCount-15+b][8]=e}for(b=0;15>b;b++)e=!a&&1==(d>>b&1),8>b?this.modules[8][this.moduleCount-
b-1]=e:9>b?this.modules[8][15-b-1+1]=e:this.modules[8][15-b-1]=e;this.modules[this.moduleCount-8][8]=!a},mapData:function(a,c){for(var d=-1,b=this.moduleCount-1,e=7,f=0,i=this.moduleCount-1;0<i;i-=2)for(6==i&&i--;;){for(var g=0;2>g;g++)if(null==this.modules[b][i-g]){var n=!1;f<a.length&&(n=1==(a[f]>>>e&1));j.getMask(c,b,i-g)&&(n=!n);this.modules[b][i-g]=n;e--; -1==e&&(f++,e=7)}b+=d;if(0>b||this.moduleCount<=b){b-=d;d=-d;break}}}};o.PAD0=236;o.PAD1=17;o.createData=function(a,c,d){for(var c=p.getRSBlocks(a,
c),b=new t,e=0;e<d.length;e++){var f=d[e];b.put(f.mode,4);b.put(f.getLength(),j.getLengthInBits(f.mode,a));f.write(b)}for(e=a=0;e<c.length;e++)a+=c[e].dataCount;if(b.getLengthInBits()>8*a)throw Error("code length overflow. ("+b.getLengthInBits()+">"+8*a+")");for(b.getLengthInBits()+4<=8*a&&b.put(0,4);0!=b.getLengthInBits()%8;)b.putBit(!1);for(;!(b.getLengthInBits()>=8*a);){b.put(o.PAD0,8);if(b.getLengthInBits()>=8*a)break;b.put(o.PAD1,8)}return o.createBytes(b,c)};o.createBytes=function(a,c){for(var d=
0,b=0,e=0,f=Array(c.length),i=Array(c.length),g=0;g<c.length;g++){var n=c[g].dataCount,h=c[g].totalCount-n,b=Math.max(b,n),e=Math.max(e,h);f[g]=Array(n);for(var k=0;k<f[g].length;k++)f[g][k]=255&a.buffer[k+d];d+=n;k=j.getErrorCorrectPolynomial(h);n=(new q(f[g],k.getLength()-1)).mod(k);i[g]=Array(k.getLength()-1);for(k=0;k<i[g].length;k++)h=k+n.getLength()-i[g].length,i[g][k]=0<=h?n.get(h):0}for(k=g=0;k<c.length;k++)g+=c[k].totalCount;d=Array(g);for(k=n=0;k<b;k++)for(g=0;g<c.length;g++)k<f[g].length&&
(d[n++]=f[g][k]);for(k=0;k<e;k++)for(g=0;g<c.length;g++)k<i[g].length&&(d[n++]=i[g][k]);return d};s=4;for(var j={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,
78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(a){for(var c=a<<10;0<=j.getBCHDigit(c)-j.getBCHDigit(j.G15);)c^=j.G15<<j.getBCHDigit(c)-j.getBCHDigit(j.G15);return(a<<10|c)^j.G15_MASK},getBCHTypeNumber:function(a){for(var c=a<<12;0<=j.getBCHDigit(c)-
j.getBCHDigit(j.G18);)c^=j.G18<<j.getBCHDigit(c)-j.getBCHDigit(j.G18);return a<<12|c},getBCHDigit:function(a){for(var c=0;0!=a;)c++,a>>>=1;return c},getPatternPosition:function(a){return j.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,c,d){switch(a){case 0:return 0==(c+d)%2;case 1:return 0==c%2;case 2:return 0==d%3;case 3:return 0==(c+d)%3;case 4:return 0==(Math.floor(c/2)+Math.floor(d/3))%2;case 5:return 0==c*d%2+c*d%3;case 6:return 0==(c*d%2+c*d%3)%2;case 7:return 0==(c*d%3+(c+d)%2)%2;default:throw Error("bad maskPattern:"+
a);}},getErrorCorrectPolynomial:function(a){for(var c=new q([1],0),d=0;d<a;d++)c=c.multiply(new q([1,l.gexp(d)],0));return c},getLengthInBits:function(a,c){if(1<=c&&10>c)switch(a){case 1:return 10;case 2:return 9;case s:return 8;case 8:return 8;default:throw Error("mode:"+a);}else if(27>c)switch(a){case 1:return 12;case 2:return 11;case s:return 16;case 8:return 10;default:throw Error("mode:"+a);}else if(41>c)switch(a){case 1:return 14;case 2:return 13;case s:return 16;case 8:return 12;default:throw Error("mode:"+
a);}else throw Error("type:"+c);},getLostPoint:function(a){for(var c=a.getModuleCount(),d=0,b=0;b<c;b++)for(var e=0;e<c;e++){for(var f=0,i=a.isDark(b,e),g=-1;1>=g;g++)if(!(0>b+g||c<=b+g))for(var h=-1;1>=h;h++)0>e+h||c<=e+h||0==g&&0==h||i==a.isDark(b+g,e+h)&&f++;5<f&&(d+=3+f-5)}for(b=0;b<c-1;b++)for(e=0;e<c-1;e++)if(f=0,a.isDark(b,e)&&f++,a.isDark(b+1,e)&&f++,a.isDark(b,e+1)&&f++,a.isDark(b+1,e+1)&&f++,0==f||4==f)d+=3;for(b=0;b<c;b++)for(e=0;e<c-6;e++)a.isDark(b,e)&&!a.isDark(b,e+1)&&a.isDark(b,e+
2)&&a.isDark(b,e+3)&&a.isDark(b,e+4)&&!a.isDark(b,e+5)&&a.isDark(b,e+6)&&(d+=40);for(e=0;e<c;e++)for(b=0;b<c-6;b++)a.isDark(b,e)&&!a.isDark(b+1,e)&&a.isDark(b+2,e)&&a.isDark(b+3,e)&&a.isDark(b+4,e)&&!a.isDark(b+5,e)&&a.isDark(b+6,e)&&(d+=40);for(e=f=0;e<c;e++)for(b=0;b<c;b++)a.isDark(b,e)&&f++;a=Math.abs(100*f/c/c-50)/5;return d+10*a}},l={glog:function(a){if(1>a)throw Error("glog("+a+")");return l.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;256<=a;)a-=255;return l.EXP_TABLE[a]},EXP_TABLE:Array(256),
LOG_TABLE:Array(256)},m=0;8>m;m++)l.EXP_TABLE[m]=1<<m;for(m=8;256>m;m++)l.EXP_TABLE[m]=l.EXP_TABLE[m-4]^l.EXP_TABLE[m-5]^l.EXP_TABLE[m-6]^l.EXP_TABLE[m-8];for(m=0;255>m;m++)l.LOG_TABLE[l.EXP_TABLE[m]]=m;q.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var c=Array(this.getLength()+a.getLength()-1),d=0;d<this.getLength();d++)for(var b=0;b<a.getLength();b++)c[d+b]^=l.gexp(l.glog(this.get(d))+l.glog(a.get(b)));return new q(c,0)},mod:function(a){if(0>
this.getLength()-a.getLength())return this;for(var c=l.glog(this.get(0))-l.glog(a.get(0)),d=Array(this.getLength()),b=0;b<this.getLength();b++)d[b]=this.get(b);for(b=0;b<a.getLength();b++)d[b]^=l.gexp(l.glog(a.get(b))+c);return(new q(d,0)).mod(a)}};p.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],
[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,
116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,
43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,
3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,
55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,
45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];p.getRSBlocks=function(a,c){var d=p.getRsBlockTable(a,c);if(void 0==d)throw Error("bad rs block @ typeNumber:"+a+"/errorCorrectLevel:"+c);for(var b=d.length/3,e=[],f=0;f<b;f++)for(var h=d[3*f+0],g=d[3*f+1],j=d[3*f+2],l=0;l<h;l++)e.push(new p(g,j));return e};p.getRsBlockTable=function(a,c){switch(c){case 1:return p.RS_BLOCK_TABLE[4*(a-1)+0];case 0:return p.RS_BLOCK_TABLE[4*(a-1)+1];case 3:return p.RS_BLOCK_TABLE[4*
(a-1)+2];case 2:return p.RS_BLOCK_TABLE[4*(a-1)+3]}};t.prototype={get:function(a){return 1==(this.buffer[Math.floor(a/8)]>>>7-a%8&1)},put:function(a,c){for(var d=0;d<c;d++)this.putBit(1==(a>>>c-d-1&1))},getLengthInBits:function(){return this.length},putBit:function(a){var c=Math.floor(this.length/8);this.buffer.length<=c&&this.buffer.push(0);a&&(this.buffer[c]|=128>>>this.length%8);this.length++}};"string"===typeof h&&(h={text:h});h=r.extend({},{render:"canvas",width:256,height:256,typeNumber:-1,
correctLevel:2,background:"#ffffff",foreground:"#000000"},h);return this.each(function(){var a;if("canvas"==h.render){a=new o(h.typeNumber,h.correctLevel);a.addData(h.text);a.make();var c=document.createElement("canvas");c.width=h.width;c.height=h.height;for(var d=c.getContext("2d"),b=h.width/a.getModuleCount(),e=h.height/a.getModuleCount(),f=0;f<a.getModuleCount();f++)for(var i=0;i<a.getModuleCount();i++){d.fillStyle=a.isDark(f,i)?h.foreground:h.background;var g=Math.ceil((i+1)*b)-Math.floor(i*b),
j=Math.ceil((f+1)*b)-Math.floor(f*b);d.fillRect(Math.round(i*b),Math.round(f*e),g,j)}}else{a=new o(h.typeNumber,h.correctLevel);a.addData(h.text);a.make();c=r("<table></table>").css("width",h.width+"px").css("height",h.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",h.background);d=h.width/a.getModuleCount();b=h.height/a.getModuleCount();for(e=0;e<a.getModuleCount();e++){f=r("<tr></tr>").css("height",b+"px").appendTo(c);for(i=0;i<a.getModuleCount();i++)r("<td></td>").css("width",
d+"px").css("background-color",a.isDark(e,i)?h.foreground:h.background).appendTo(f)}}a=c;jQuery(a).appendTo(this)})}})(jQuery);
@@ -0,0 +1,6 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.3358 9.02074C15.1513 9.02074 14.9754 8.94122 14.8526 8.80304L14.2096 8.07662C14.1139 7.96856 13.9756 7.90603 13.8313 7.90603C13.6869 7.90603 13.5488 7.96778 13.453 8.07662L12.9011 8.70037C12.7204 8.90417 12.461 9.02151 12.1885 9.02151H3.5071C3.26008 9.7263 3.09873 10.4705 3.03467 11.2432H11.2305C11.3748 11.2432 11.5124 11.1845 11.6119 11.0803L12.3754 10.2844C12.4703 10.1848 12.6023 10.1285 12.7397 10.1285H12.7714C12.9157 10.1285 13.0539 10.1902 13.1496 10.2991L13.7927 11.0255C13.9154 11.1637 14.0907 11.2432 14.276 11.2432H20.9656C20.9017 10.4705 20.7404 9.7263 20.4933 9.02151L15.3358 9.02074Z" fill="black"/>
<path d="M7.99453 15.9135C8.13888 15.9135 8.27629 15.8548 8.37587 15.7506L9.13933 14.9546C9.23429 14.8551 9.36628 14.7988 9.5037 14.7988H9.53535C9.67971 14.7988 9.81791 14.8605 9.91365 14.9693L10.5567 15.6958C10.6794 15.8339 10.8546 15.9135 11.0398 15.9135H20.1058C20.4454 15.2118 20.694 14.4583 20.8422 13.6702H12.1406C11.9561 13.6702 11.7802 13.5906 11.6575 13.4525L11.0145 12.7261C10.9187 12.618 10.7806 12.5554 10.6361 12.5554C10.4917 12.5554 10.3536 12.6172 10.2579 12.7261L9.70595 13.3498C9.52531 13.5536 9.26593 13.671 8.99343 13.671H3.1582C3.30642 14.4599 3.55498 15.2125 3.89465 15.9143L7.99453 15.9135Z" fill="black"/>
<path d="M14.4263 6.59423C14.5706 6.59423 14.708 6.53557 14.8077 6.43135L15.5711 5.63547C15.6661 5.53588 15.798 5.47953 15.9355 5.47953H15.9671C16.1114 5.47953 16.2496 5.54128 16.3454 5.65014L16.9885 6.37654C17.1112 6.51473 17.2864 6.59423 17.4717 6.59423H19.1954C17.5535 4.41191 14.942 3 12.0009 3C9.05964 3 6.4481 4.41191 4.80615 6.59423H14.4263Z" fill="black"/>
<path d="M8.60571 18.1377C8.42122 18.1377 8.24521 18.0581 8.12247 17.9199L7.47943 17.1936C7.38371 17.0855 7.24552 17.0229 7.10117 17.0229C6.95681 17.0229 6.81864 17.0847 6.72291 17.1936L6.17097 17.8173C5.99033 18.0211 5.73095 18.1384 5.45844 18.1384H5.42139C7.06411 19.8985 9.40238 21 12.0001 21C14.5976 21 16.9359 19.8985 18.5787 18.1384L8.60571 18.1377Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -0,0 +1,9 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.51514 8.47125V15.5274C4.51514 15.9779 4.75959 16.3944 5.15552 16.6189L11.3599 20.1477C11.7558 20.3722 12.2432 20.3722 12.6392 20.1477L18.8435 16.6189C19.2394 16.3944 19.4839 15.9779 19.4839 15.5274V8.47125C19.4839 8.02072 19.2394 7.60418 18.8435 7.37966L12.6392 3.85086C12.2432 3.62634 11.7558 3.62634 11.3599 3.85086L5.15401 7.37966C4.75809 7.60418 4.51514 8.02072 4.51514 8.47125Z" fill="#213147"/>
<path d="M13.3531 13.3677L12.4682 15.7577C12.4442 15.8241 12.4442 15.8965 12.4682 15.963L13.9905 20.0752L15.7511 19.0738L13.638 13.3677C13.59 13.2363 13.401 13.2363 13.3531 13.3677Z" fill="#12AAFF"/>
<path d="M15.1273 9.3485C15.0793 9.21704 14.8903 9.21704 14.8423 9.3485L13.9575 11.7384C13.9334 11.8049 13.9334 11.8773 13.9575 11.9437L16.4515 18.6764L18.2122 17.6749L15.1273 9.3485Z" fill="#12AAFF"/>
<path d="M11.9984 4.11521C12.0419 4.11521 12.0854 4.12703 12.1244 4.14771L18.8387 7.96602C18.9166 8.01033 18.9647 8.09305 18.9647 8.1802V15.8153C18.9647 15.904 18.9166 15.9852 18.8387 16.0295L12.1244 19.8479C12.0869 19.87 12.0419 19.8803 11.9984 19.8803C11.955 19.8803 11.9114 19.8685 11.8725 19.8479L5.15817 16.0325C5.08019 15.9881 5.0322 15.9055 5.0322 15.8183V8.18167C5.0322 8.09305 5.08019 8.01181 5.15817 7.9675L11.8725 4.14919C11.9114 4.12703 11.955 4.11521 11.9984 4.11521ZM11.9984 3C11.76 3 11.52 3.06056 11.3056 3.18316L4.59277 6.99999C4.16386 7.24371 3.8999 7.69423 3.8999 8.18167V15.8168C3.8999 16.3043 4.16386 16.7548 4.59277 16.9985L11.3071 20.8168C11.5215 20.938 11.76 21 11.9999 21C12.2384 21 12.4783 20.9395 12.6928 20.8168L19.407 16.9985C19.836 16.7548 20.0999 16.3043 20.0999 15.8168V8.18167C20.0999 7.69423 19.836 7.24371 19.407 6.99999L12.6913 3.18316C12.4768 3.06056 12.2369 3 11.9984 3Z" fill="#9DCCED"/>
<path d="M7.55859 18.6854L8.17649 17.0192L9.41975 18.0369L8.25747 19.0827L7.55859 18.6854Z" fill="#213147"/>
<path d="M11.4334 7.63513H9.73114C9.60366 7.63513 9.48969 7.71342 9.44619 7.83158L5.79736 17.6838L7.55804 18.6854L11.5758 7.83602C11.6133 7.73853 11.5398 7.63513 11.4334 7.63513Z" fill="white"/>
<path d="M14.4117 7.63513H12.7095C12.582 7.63513 12.468 7.71342 12.4245 7.83158L8.2583 19.0812L10.019 20.0827L14.5542 7.83602C14.5902 7.73853 14.5166 7.63513 14.4117 7.63513Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.0009 4.70623C3.0009 4.12129 3.0009 3.82882 3.11069 3.60474C3.21598 3.38966 3.39056 3.21508 3.60564 3.10979C3.82972 3 4.12219 3 4.70623 3H19.2938C19.8787 3 20.1703 3 20.3953 3.10979C20.6103 3.21508 20.784 3.39056 20.8893 3.60474C21 3.82972 21 4.12219 21 4.70623V19.2938C21 19.8787 21 20.1703 20.8893 20.3953C20.784 20.6103 20.6094 20.784 20.3953 20.8893C20.1703 21 19.8778 21 19.2938 21H4.70623C4.12129 21 3.82972 21 3.60474 20.8893C3.38966 20.784 3.21598 20.6094 3.11069 20.3953C3 20.1703 3 19.8778 3 19.2938V4.70623H3.0009Z" fill="#0000FF"/>
</svg>

After

Width:  |  Height:  |  Size: 658 B

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.09 5.75501L12 3L16.91 5.75501L15.1099 6.77501L12 5.03501L8.895 6.77501L7.09 5.75501ZM16.91 9.23501L15.1099 8.215L12 9.95504L8.895 8.215L7.09 9.23501V11.27L10.19 13.01V16.485L12 17.505L13.805 16.485V13.01L16.91 11.27V9.23501ZM16.91 14.75V12.71L15.1099 13.7301V15.7651L16.91 14.75ZM18.195 15.47L15.09 17.2051V19.245L20.0001 16.485V10.9751L18.195 11.9901V15.47ZM16.39 7.495L18.19 8.51501V10.55L20.0001 9.53501V7.495L18.195 6.47503L16.39 7.50001V7.495ZM10.19 17.9449V19.9799L12 21L13.805 19.9799V17.95L12 18.965L10.195 17.9449H10.19ZM7.09 14.745L8.89001 15.7651V13.7301L7.09 12.71V14.75V14.745ZM10.19 7.495L12 8.51501L13.805 7.495L12 6.47503L10.195 7.50001L10.19 7.495ZM5.80499 8.51501L7.61 7.495L5.80999 6.47503L4 7.50001V9.54002L5.80499 10.555V8.52001V8.51501ZM5.80499 11.9901L4 10.9751V16.485L8.91 19.245V17.2L5.80999 15.465V11.9851L5.80499 11.9901Z" fill="#F0B90B"/>
</svg>

After

Width:  |  Height:  |  Size: 982 B

@@ -0,0 +1,10 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 3V9.65149L17.6247 12.1672L12 3Z" fill="#8FFCF3"/>
<path d="M11.9996 3L6.375 12.1662L11.9996 9.65255V3Z" fill="#CABCF8"/>
<path d="M12 16.4778V21L17.6247 13.2156L12 16.4778Z" fill="#CBA7F5"/>
<path d="M11.9996 21V16.4778L6.375 13.2156L11.9996 21Z" fill="#74A0F3"/>
<path d="M12 15.4295L17.6247 12.1673L12 9.65158V15.4295Z" fill="#CBA7F5"/>
<path d="M6.375 12.1673L11.9996 15.4295V9.65158L6.375 12.1673Z" fill="#74A0F3"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.9996 15.4294L6.375 12.1672L11.9996 3L17.6242 12.1662L11.9996 15.4294ZM6.74774 11.9016L11.9093 3.49138V9.60635L6.74774 11.9016ZM6.67109 12.1305L11.9093 9.80374V15.168L6.67109 12.1305ZM12.0889 9.80374V15.168L17.3229 12.1305L12.0889 9.80374ZM12.0889 9.60635L17.2505 11.9016L12.0889 3.49138V9.60635Z" fill="#202699"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.9996 16.4064L6.375 13.2114L11.9996 20.9999L17.6242 13.2103L11.9996 16.4064ZM7.00498 13.7731L11.9093 16.5639V20.5684L7.00498 13.7731ZM12.0889 16.5639V20.5684L16.9942 13.7731L12.0889 16.5639Z" fill="#202699"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.6 KiB

@@ -0,0 +1,10 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16.3644 15.217L20.6338 12.7816C20.8601 12.6521 21 12.4122 21 12.1547V7.2838C21 7.02631 20.8601 6.7864 20.6338 6.65702L16.3644 4.22156C16.138 4.09218 15.8569 4.09344 15.6319 4.22156L11.3623 6.65702C11.136 6.7864 10.9961 7.02631 10.9961 7.2838V15.9882L8.00191 17.6951L5.00763 15.9882V12.5729L8.00191 10.866L9.97646 11.9927V9.70168L8.36809 8.78352C8.25748 8.72071 8.13032 8.68679 8.00191 8.68679C7.87349 8.68679 7.74634 8.72071 7.63573 8.78352L3.36617 11.2191C3.13986 11.3484 3 11.5882 3 11.8457V16.7167C3 16.9742 3.13986 17.2141 3.36617 17.3434L7.63573 19.779C7.86205 19.907 8.14177 19.907 8.36809 19.779L12.6376 17.3434C12.864 17.2141 13.0039 16.9742 13.0039 16.7167V8.01231L13.0571 7.98216L15.9968 6.30534L18.9911 8.01231V11.4275L15.9968 13.1344L14.0247 12.0103V14.3013L15.6306 15.217C15.857 15.345 16.1379 15.345 16.3629 15.217H16.3644Z" fill="url(#paint0_linear_328_59720)"/>
<defs>
<linearGradient id="paint0_linear_328_59720" x1="2.94151" y1="17.194" x2="20.1188" y2="7.10065" gradientUnits="userSpaceOnUse">
<stop stop-color="#A726C1"/>
<stop offset="0.88" stop-color="#803BDF"/>
<stop offset="1" stop-color="#7B3FE4"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -0,0 +1,19 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.4128 7.90222C18.3006 8.00534 18.1544 8.06331 18.002 8.06496H3.57973C3.06788 8.06496 2.80933 7.47961 3.16368 7.13707L5.53262 4.85345C5.64271 4.74715 5.78907 4.68664 5.94209 4.68414H20.4208C20.9379 4.68414 21.1912 5.27474 20.8316 5.61859L18.4128 7.90222Z" fill="url(#paint0_linear_328_59991)"/>
<path d="M18.4128 19.1584C18.2999 19.2595 18.1536 19.3156 18.002 19.3159H3.57973C3.06788 19.3159 2.80933 18.7357 3.16368 18.3932L5.53262 16.1031C5.643 15.998 5.78972 15.9396 5.94209 15.9403H20.4208C20.9379 15.9403 21.1912 16.5256 20.8316 16.8682L18.4128 19.1584Z" fill="url(#paint1_linear_328_59991)"/>
<path d="M18.4128 10.4727C18.2999 10.3716 18.1536 10.3155 18.002 10.3152H3.57973C3.06788 10.3152 2.80933 10.8954 3.16368 11.2379L5.53262 13.5281C5.64442 13.6308 5.79021 13.6889 5.94209 13.6909H20.4208C20.9379 13.6909 21.1912 13.1055 20.8316 12.763L18.4128 10.4727Z" fill="url(#paint2_linear_328_59991)"/>
<defs>
<linearGradient id="paint0_linear_328_59991" x1="3.00094" y1="55.0406" x2="21.4588" y2="54.8714" gradientUnits="userSpaceOnUse">
<stop stop-color="#599DB0"/>
<stop offset="1" stop-color="#47F8C3"/>
</linearGradient>
<linearGradient id="paint1_linear_328_59991" x1="3.00094" y1="9.16751" x2="21.3414" y2="9.02716" gradientUnits="userSpaceOnUse">
<stop stop-color="#C44FE2"/>
<stop offset="1" stop-color="#73B0D0"/>
</linearGradient>
<linearGradient id="paint2_linear_328_59991" x1="4.03645" y1="12.003" x2="20.3027" y2="12.003" gradientUnits="userSpaceOnUse">
<stop stop-color="#778CBF"/>
<stop offset="1" stop-color="#5DCDC9"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.0777 3H5.9216C3.68652 3 2.2699 5.41095 3.3943 7.35991L10.8966 20.3632C11.3862 21.2123 12.6131 21.2123 13.1027 20.3632L20.6065 7.35991C21.7294 5.41402 20.3128 3 18.0792 3H18.0777ZM10.8906 16.4637L9.25667 13.3017L5.31426 6.2508C5.05423 5.79949 5.37549 5.2212 5.92007 5.2212H10.889V16.4653L10.8906 16.4637ZM18.682 6.24926L14.7412 13.3032L13.1073 16.4637V5.21975H18.0762C18.6208 5.21975 18.9421 5.79796 18.682 6.24926Z" fill="#0098EA"/>
</svg>

After

Width:  |  Height:  |  Size: 549 B

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.41958 3.18579C4.48795 3.11039 4.5754 3.05483 4.67269 3.02495C4.76997 2.99507 4.87352 2.99196 4.97243 3.01598L16.8757 5.93028C16.9472 5.94689 17.0145 5.97827 17.0732 6.02242L19.4952 7.7889C19.6129 7.87561 19.6924 8.00447 19.7171 8.14848C19.7419 8.29251 19.71 8.44047 19.6281 8.56157L11.2959 20.7531C11.2373 20.8395 11.1559 20.9078 11.0608 20.9506C10.9655 20.9932 10.8604 21.0088 10.7569 20.9952C10.6534 20.9818 10.5558 20.9398 10.4749 20.874C10.3939 20.8083 10.3327 20.7213 10.2982 20.6228L4.30638 3.75311C4.27274 3.65729 4.26548 3.55418 4.28542 3.45459C4.30532 3.35501 4.35167 3.26262 4.41958 3.1871M6.3835 6.2304L10.543 17.9415L11.2275 11.8734L6.3835 6.2304ZM12.3411 12.0682L11.6461 18.2429L17.53 9.63303L12.3411 12.0682ZM18.0604 8.13772L14.2682 9.91736L16.81 7.22684L18.0604 8.13772ZM15.6648 6.79509L6.41115 4.53105L11.8369 10.8493L15.6648 6.79509Z" fill="#C4342B"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

@@ -0,0 +1,11 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17.8208 14.3415V19.0143H19.0953C19.2674 19.0143 19.4069 18.8748 19.4069 18.7029V14.653C19.4069 14.481 19.2674 14.3415 19.0953 14.3415H17.8208Z" fill="black" fill-opacity="0.5"/>
<path d="M17.8208 4.98566V9.65853H19.0953C19.2674 9.65853 19.4069 9.51903 19.4069 9.34698V5.29719C19.4069 5.12513 19.2674 4.98566 19.0953 4.98566H17.8208Z" fill="black" fill-opacity="0.5"/>
<path d="M20.209 4.98566V9.65853H20.6859C20.8579 9.65853 20.9974 9.51903 20.9974 9.34698V5.29719C20.9974 5.12513 20.8579 4.98566 20.6859 4.98566H20.209Z" fill="black" fill-opacity="0.3"/>
<path d="M20.2114 14.3415V19.0143H20.6883C20.8603 19.0143 20.9998 18.8748 20.9998 18.7029V14.653C20.9998 14.481 20.8603 14.3415 20.6883 14.3415H20.2114Z" fill="black" fill-opacity="0.3"/>
<path d="M12.0263 9.66925H7.9956C7.82434 9.66925 7.68555 9.80706 7.68555 9.97705V13.9788C7.68555 14.1488 7.82434 14.2867 7.9956 14.2867H12.0263C12.1974 14.2867 12.3363 14.1488 12.3363 13.9788V9.97705C12.3363 9.80706 12.1974 9.66925 12.0263 9.66925Z" fill="black"/>
<path d="M7.36136 4.98566H3.31153C3.13948 4.98566 3 5.12513 3 5.29719V9.34698C3 9.51903 3.13948 9.65853 3.31153 9.65853H7.36136C7.53342 9.65853 7.67288 9.51903 7.67288 9.34698V5.29719C7.67288 5.12513 7.53342 4.98566 7.36136 4.98566Z" fill="black"/>
<path d="M16.7051 4.98566H12.6553C12.4832 4.98566 12.3438 5.12513 12.3438 5.29719V9.34698C12.3438 9.51903 12.4832 9.65853 12.6553 9.65853H16.7051C16.8772 9.65853 17.0167 9.51903 17.0167 9.34698V5.29719C17.0167 5.12513 16.8772 4.98566 16.7051 4.98566Z" fill="black"/>
<path d="M7.36136 14.3309H3.31153C3.13948 14.3309 3 14.4703 3 14.6425V18.6922C3 18.8644 3.13948 19.0037 3.31153 19.0037H7.36136C7.53342 19.0037 7.67288 18.8644 7.67288 18.6922V14.6425C7.67288 14.4703 7.53342 14.3309 7.36136 14.3309Z" fill="black"/>
<path d="M16.7051 14.3309H12.6553C12.4832 14.3309 12.3438 14.4703 12.3438 14.6425V18.6922C12.3438 18.8644 12.4832 19.0037 12.6553 19.0037H16.7051C16.8772 19.0037 17.0167 18.8644 17.0167 18.6922V14.6425C17.0167 14.4703 16.8772 14.3309 16.7051 14.3309Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.09 5.75501L12 3L16.91 5.75501L15.11 6.77501L12 5.03501L8.895 6.77501L7.09 5.75501ZM16.91 9.23501L15.11 8.215L12 9.95504L8.895 8.215L7.09 9.23501V11.27L10.19 13.01V16.485L12 17.505L13.8051 16.485V13.01L16.91 11.27V9.23501ZM16.91 14.75V12.71L15.11 13.7301V15.7651L16.91 14.75ZM18.195 15.47L15.09 17.2051V19.245L20.0001 16.485V10.9751L18.195 11.9901V15.47ZM16.3901 7.495L18.19 8.51501V10.55L20.0001 9.53501V7.495L18.195 6.47503L16.3901 7.50001V7.495ZM10.19 17.9449V19.9799L12 21L13.8051 19.9799V17.95L12 18.965L10.195 17.9449H10.19ZM7.09 14.745L8.89001 15.7651V13.7301L7.09 12.71V14.75V14.745ZM10.19 7.495L12 8.51501L13.8051 7.495L12 6.47503L10.195 7.50001L10.19 7.495ZM5.805 8.51501L7.61 7.495L5.80999 6.47503L4 7.50001V9.54002L5.805 10.555V8.52001V8.51501ZM5.805 11.9901L4 10.9751V16.485L8.91 19.245V17.2L5.80999 15.465V11.9851L5.805 11.9901Z" fill="#F0B90B"/>
</svg>

After

Width:  |  Height:  |  Size: 975 B

@@ -0,0 +1,10 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.0001 3V9.65073L17.6249 12.1661L12.0001 3Z" fill="#8FFCF3"/>
<path d="M11.9999 3L6.37512 12.1661L11.9999 9.65073V3Z" fill="#CABCF8"/>
<path d="M12.0001 16.477V20.9993L17.6249 13.2146L12.0001 16.477Z" fill="#CBA7F5"/>
<path d="M11.9999 20.9993V16.477L6.37512 13.2146L11.9999 20.9993Z" fill="#74A0F3"/>
<path d="M12.0001 15.4291L17.6249 12.1668L12.0001 9.65137V15.4291Z" fill="#CBA7F5"/>
<path d="M6.37512 12.1668L11.9999 15.4291V9.65137L6.37512 12.1668Z" fill="#74A0F3"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.9999 15.4285L6.37512 12.1661L11.9999 3L17.6248 12.1661L11.9999 15.4285ZM6.74861 11.9006L11.9099 3.49048V9.60573L6.74861 11.9006ZM6.67211 12.1301L11.9099 9.80373V15.1675L6.67211 12.1301ZM12.0899 9.80373V15.1675L17.3232 12.1301L12.0899 9.80373ZM12.0899 9.60573L17.2512 11.9006L12.0899 3.49048V9.60573Z" fill="#202699"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.9999 16.4057L6.37512 13.2109L11.9999 21L17.6248 13.2109L11.9999 16.4057ZM7.0051 13.7734L11.9099 16.5632V20.5681L7.0051 13.7734ZM12.0899 16.5632V20.5681L16.9948 13.7734L12.0899 16.5632Z" fill="#202699"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20.6612 7.21947L12.8153 19.7135C12.7198 19.8645 12.5876 19.9886 12.4313 20.0747C12.2748 20.1608 12.0991 20.2059 11.9206 20.2059C11.7406 20.2063 11.5636 20.1608 11.4061 20.0737C11.2486 19.9867 11.1159 19.8609 11.0205 19.7083L3.32824 7.21418C3.11275 6.86398 2.99909 6.46066 3.00001 6.04947C3.00976 5.44241 3.25994 4.86401 3.69566 4.4412C4.13139 4.01838 4.71703 3.78568 5.32412 3.79417H18.6865C19.9624 3.79417 21 4.80006 21 6.04417C21 6.45712 20.8835 6.86476 20.6612 7.21947ZM5.21824 6.80123L10.9411 15.6266V5.91182H5.81647C5.22353 5.91182 4.95883 6.30359 5.21824 6.80123ZM13.0588 15.6266L18.7818 6.80123C19.0465 6.30359 18.7765 5.91182 18.1835 5.91182H13.0588V15.6266Z" fill="#0088CC"/>
</svg>

After

Width:  |  Height:  |  Size: 798 B

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.41836 3.186C4.48661 3.11044 4.57404 3.05477 4.67138 3.02487C4.7687 2.99497 4.87233 2.99197 4.97122 3.01619L16.8749 5.9306C16.9464 5.94809 17.0136 5.97968 17.0733 6.02256L19.4953 7.78835C19.6137 7.87479 19.6938 8.00391 19.7187 8.14839C19.7435 8.2929 19.7112 8.44138 19.6284 8.56235L11.2959 20.7537C11.2372 20.8399 11.1558 20.9079 11.0606 20.9506C10.9655 20.9932 10.8605 21.0087 10.7571 20.9953C10.6537 20.9819 10.5561 20.9401 10.475 20.8744C10.3941 20.8089 10.3327 20.7222 10.298 20.624L4.30552 3.75354C4.27144 3.65765 4.26394 3.55432 4.2838 3.45451C4.30366 3.35469 4.35016 3.26155 4.41836 3.186ZM6.38273 6.23073L10.5428 17.9425L11.227 11.8728L6.38273 6.23073ZM12.3401 12.0686L11.6451 18.2437L17.5292 9.63308L12.3401 12.0686ZM18.0601 8.13812L14.2673 9.91807L16.81 7.22702L18.0601 8.13812ZM15.6647 6.79601L6.40982 4.52981L11.8359 10.8494L15.6647 6.79601Z" fill="#C4342B"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

@@ -0,0 +1,6 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 21C16.9706 21 21 16.9706 21 12C21 7.02943 16.9706 3 12 3C7.02943 3 3 7.02943 3 12C3 16.9706 7.02943 21 12 21Z" fill="#0B53BF"/>
<path d="M13.6201 5.45V6.60874C15.9319 7.30624 17.625 9.45495 17.625 12.003C17.625 14.5511 15.9319 16.6999 13.6201 17.3973V18.5561C16.5675 17.8361 18.75 15.1755 18.75 12.003C18.75 8.83059 16.5675 6.16999 13.6201 5.45Z" fill="white"/>
<path d="M6.37499 12.003C6.37499 9.45495 8.06809 7.30624 10.3799 6.60874V5.45C7.43247 6.16999 5.25 8.83059 5.25 12.003C5.25 15.1755 7.43247 17.8361 10.3799 18.5561V17.3973C8.06809 16.7055 6.37499 14.5511 6.37499 12.003Z" fill="white"/>
<path d="M14.4188 13.2575C14.4188 10.9569 10.8132 11.9019 10.8132 10.6306C10.8132 10.175 11.1788 9.8825 11.8763 9.8825C12.7088 9.8825 12.9957 10.2875 13.0857 10.8331H14.2331C14.1308 9.80916 13.5431 9.16262 12.5626 8.97002V8.06565H11.4376V8.93774C10.3634 9.07454 9.6882 9.70009 9.6882 10.6306C9.6882 12.9425 13.2994 12.0762 13.2994 13.325C13.2994 13.7974 12.8438 14.1124 12.0732 14.1124C11.0663 14.1124 10.7344 13.6681 10.6107 13.055H9.49133C9.56385 14.1765 10.2554 14.8784 11.4376 15.0536V15.9405H12.5626V15.0654C13.7163 14.9164 14.4188 14.2452 14.4188 13.2575Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.9999 19.1998L3 10.3213L6.43349 4.7998H17.5665L21 10.3213L11.9999 19.1998ZM12.9 11.0998V10.0018C14.5199 10.0828 16.0319 10.3977 16.5 10.8072C15.9555 11.2843 14.007 11.6308 11.9999 11.6308C9.99297 11.6308 8.04449 11.2843 7.49998 10.8072C7.96349 10.3977 9.47999 10.0873 11.1 9.99729V11.0998H12.9ZM7.49998 10.8028V11.4643C7.96349 11.8738 9.47548 12.1843 11.1 12.2743V14.6998H12.9V12.2698C14.5199 12.1888 16.0364 11.8738 16.5 11.4643V10.1458C16.0364 9.73625 14.5199 9.42126 12.9 9.33579V8.3998H15.6V7.0498H8.39999V8.3998H11.1V9.33579C9.47548 9.42126 7.96349 9.73625 7.49998 10.1458V10.8028Z" fill="#009393"/>
</svg>

After

Width:  |  Height:  |  Size: 720 B

+6
View File
@@ -0,0 +1,6 @@
{
"name": "LangGe design",
"author": "LangGe",
"desc": "A responsive checkout template with multi-language browser adaptation and a two-step payment flow.",
"link": "https://github.com/luoyanglang"
}
+256
View File
@@ -0,0 +1,256 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BEpusdt - 收银台</title>
<link rel="shortcut icon" href="/checkout/langge/assets/web3icons/token/USDT.svg">
<link rel="stylesheet" href="/checkout/langge/assets/css/checkout.css">
<script src="/checkout/langge/assets/js/jquery.min.js"></script>
<script src="/checkout/langge/assets/js/jquery.qrcode.min.js"></script>
<script src="/checkout/langge/assets/js/checkout.js"></script>
</head>
<body>
<div class="cashier-shell">
<header class="cashier-topbar">
<div class="brand-mark">
<span class="brand-symbol">B</span>
<div>
<strong data-i18n="brand.title">BEpusdt 收银台</strong>
<span data-i18n="brand.subtitle">商户支付会话</span>
</div>
</div>
<div class="topbar-actions">
<a class="support-link" id="supportLink" href="#" target="_blank" rel="noopener noreferrer" data-i18n-aria="support.group" aria-label="联系客服" hidden>
<svg viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="12" r="10"></circle>
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
<path d="M12 17h.01"></path>
</svg>
</a>
<div class="language-switch" data-i18n-aria="lang.group" aria-label="语言">
<button class="language-toggle" id="languageToggle" type="button" aria-haspopup="listbox" aria-expanded="false">
<span class="language-icon" aria-hidden="true">🌐</span>
<span class="language-current" id="currentLanguageLabel">中</span>
<span class="language-caret"></span>
</button>
<div class="language-options" id="languageOptions" role="listbox">
<button class="language-option active" type="button" role="option" aria-selected="true" data-lang-choice="zh">
<strong>中</strong>
<span>简体中文</span>
</button>
<button class="language-option" type="button" role="option" aria-selected="false" data-lang-choice="zh-Hant">
<strong>繁</strong>
<span>繁體中文</span>
</button>
<button class="language-option" type="button" role="option" aria-selected="false" data-lang-choice="en">
<strong>EN</strong>
<span>English</span>
</button>
<button class="language-option" type="button" role="option" aria-selected="false" data-lang-choice="ru">
<strong>RU</strong>
<span>Русский</span>
</button>
<button class="language-option" type="button" role="option" aria-selected="false" data-lang-choice="vi">
<strong>VI</strong>
<span>Tiếng Việt</span>
</button>
<button class="language-option" type="button" role="option" aria-selected="false" data-lang-choice="tr">
<strong>TR</strong>
<span>Türkçe</span>
</button>
<button class="language-option" type="button" role="option" aria-selected="false" data-lang-choice="ja">
<strong>JA</strong>
<span>日本語</span>
</button>
<button class="language-option" type="button" role="option" aria-selected="false" data-lang-choice="ko">
<strong>KO</strong>
<span>한국어</span>
</button>
</div>
</div>
<div class="theme-switch" data-i18n-aria="theme.group" aria-label="主题">
<button class="theme-button" id="themeToggle" type="button" aria-label="切换深色主题">🌙</button>
</div>
</div>
</header>
<main class="cashier-stage">
<section class="checkout-card" data-i18n-aria="checkout.aria" aria-label="支付流程">
<div class="checkout-head">
<div>
<p class="eyebrow" data-i18n="checkout.eyebrow">安全支付</p>
</div>
<div class="checkout-status">
<span class="status-dot"></span>
<span id="statusText" data-i18n="status.waitingPayment">等待付款</span>
</div>
</div>
<nav class="checkout-steps" data-i18n-aria="steps.aria" aria-label="支付步骤">
<button class="checkout-step active" type="button" data-step-target="1">
<span>1</span>
<strong data-i18n="steps.choose">选择支付方式</strong>
</button>
<button class="checkout-step" type="button" data-step-target="2">
<span>2</span>
<strong data-i18n="steps.transfer">扫码或复制转账</strong>
</button>
</nav>
<section class="stage-pane active" data-step="1">
<div class="stage-grid">
<section class="order-console">
<div class="console-title">
<span class="mini-led"></span>
<span data-i18n="order.title">订单信息</span>
</div>
<dl class="order-strip">
<div>
<dt data-i18n="order.merchantOrder">商户订单</dt>
<dd id="orderId">--</dd>
</div>
<div>
<dt data-i18n="order.product">商品</dt>
<dd id="orderName">--</dd>
</div>
<div>
<dt data-i18n="order.tradeId">交易编号</dt>
<dd id="tradeId">{{ .trade_id }}</dd>
</div>
</dl>
<div class="amount-slab">
<span data-i18n="order.amount">订单金额</span>
<strong id="orderAmount">--</strong>
</div>
</section>
<section class="method-console">
<div class="console-title">
<span class="mini-led blue"></span>
<span data-i18n="method.title">选择网络与币种</span>
</div>
<div class="method-picker">
<div class="custom-field">
<span class="custom-label" data-i18n="method.network">网络</span>
<div class="custom-select" data-dropdown="network">
<button class="custom-select-button" id="networkSelectButton" type="button" aria-haspopup="listbox" aria-expanded="false">
<span class="custom-select-value" data-i18n="method.selectNetwork">请选择网络</span>
<span class="custom-select-caret"></span>
</button>
<div class="custom-options" id="networkOptions" role="listbox" data-i18n-aria="method.network" aria-label="网络"></div>
</div>
</div>
<div class="custom-field">
<span class="custom-label" data-i18n="method.currency">币种</span>
<div class="custom-select" data-dropdown="currency">
<button class="custom-select-button" id="currencySelectButton" type="button" aria-haspopup="listbox" aria-expanded="false">
<span class="custom-select-value" data-i18n="method.selectCurrency">请选择币种</span>
<span class="custom-select-caret"></span>
</button>
<div class="custom-options" id="currencyOptions" role="listbox" data-i18n-aria="method.currency" aria-label="币种"></div>
</div>
</div>
</div>
<div class="method-preview method-warning" aria-live="polite">
<strong data-i18n="method.warningTitle">请仔细核对网络和币种</strong>
<small data-i18n="method.warningBody">转账前请确认钱包中选择的网络和币种与页面完全一致。转错网络或币种可能导致资产永久丢失。</small>
</div>
</section>
<aside class="checkout-aside">
<div class="pay-number">
<span data-i18n="summary.needPay">需支付</span>
<strong id="selectedAmount">--</strong>
<small id="selectedNetwork" data-i18n="method.selectMethod">请选择支付方式</small>
</div>
<div class="countdown horizontal">
<span data-i18n="timer.remaining">剩余时间</span>
<strong><span id="minutes">00</span>:<span id="seconds">00</span></strong>
</div>
<button class="button primary full next-step" id="continueButton" type="button" disabled data-i18n="actions.next">下一步</button>
<p class="risk-note" data-i18n="summary.riskNote">
下一步将锁定本次支付方式,并显示专属收款地址和二维码。转账金额必须与页面展示金额一致。
</p>
</aside>
</div>
</section>
<section class="stage-pane" data-step="2">
<div class="pay-workbench">
<section class="qr-console">
<div class="qr-code" id="qrcode"></div>
<div class="transfer-summary">
<span data-i18n="transfer.payAmount">支付金额</span>
<div class="amount-copy-line">
<img class="summary-token-icon" id="payTokenIcon" alt="" hidden>
<strong id="payAmount">--</strong>
<button class="icon-copy-button" id="copyAmountButton" type="button" data-i18n-aria="transfer.copyAmount" data-i18n-title="transfer.copyAmount" aria-label="复制支付金额" title="复制支付金额">
<svg viewBox="0 0 24 24" aria-hidden="true">
<rect width="14" height="14" x="8" y="8" rx="2"></rect>
<path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"></path>
</svg>
</button>
</div>
<div class="summary-network-line">
<img class="summary-network-icon" id="payNetworkIcon" alt="" hidden>
<small id="payNetwork">--</small>
</div>
</div>
</section>
<section class="transfer-console">
<div class="pay-head compact">
<div>
<p class="eyebrow" data-i18n="transfer.info">转账信息</p>
<h2 data-i18n="transfer.title">扫码或复制地址完成付款</h2>
</div>
<div class="countdown">
<span data-i18n="timer.remaining">剩余时间</span>
<strong><span id="minutesMirror">00</span>:<span id="secondsMirror">00</span></strong>
</div>
</div>
<div class="address-box prominent">
<label data-i18n="transfer.address">收款地址</label>
<code id="walletAddress">--</code>
<button class="copy-button" id="copyAddressButton" type="button" data-i18n="actions.copyAddress">复制地址</button>
</div>
<div class="instruction-grid">
<div>
<span>01</span>
<p id="networkInstruction" data-i18n="instruction.networkDefault">使用当前页面选择的网络</p>
</div>
<div>
<span>02</span>
<p id="amountInstruction" data-i18n="instruction.amount">精准转入金额</p>
</div>
<div>
<span>03</span>
<p data-i18n="instruction.autoConfirm">转账后保持页面打开,系统会自动确认订单</p>
</div>
</div>
<div class="action-row edge">
<button class="button secondary" type="button" data-step-target="1" data-i18n="actions.back">返回上一步</button>
</div>
</section>
</div>
</section>
<footer class="checkout-footer">
Powered by <a href="https://github.com/v03413/BEpusdt" target="_blank" rel="noopener noreferrer">BEpusdt</a> · <span>LangGe design</span>
</footer>
</section>
</main>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
Payment.init({
trade_id: "{{ .trade_id }}"
});
});
</script>
</body>
</html>