From 5e40c6b47a2872d8a19f269519b5e74513461828 Mon Sep 17 00:00:00 2001 From: Filipe Lukebana Date: Wed, 15 Jun 2022 23:28:54 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Updates!!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 +++-- dist/example.js | 2 -- dist/example.js.map | 2 +- dist/{flutjs.min.js => index.min.js} | 2 +- package.json | 2 +- webpack.config.js | 2 +- 6 files changed, 7 insertions(+), 8 deletions(-) rename dist/{flutjs.min.js => index.min.js} (51%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 497949a..eff60a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +# v0.2.4-alpha-1 (2022-06-15) + This version comes with Some Features, Updates and Enhancements ## Feature * 🚀 State Management - Now we have a basic state Management. @@ -5,8 +7,7 @@ This version comes with Some Features, Updates and Enhancements * Added `Painting` Class with `BlendMode` list. * Added `BoxFit` Class with `BoxFit` list. * Added `BoxShadow` Class. - - +* Now we have the (flut-hero)[https://www.npmjs.com/package/@luk3d/flut-hero] package for icons * Added `Offset` Class. ## Enhancements diff --git a/dist/example.js b/dist/example.js index 19b4a1c..934e461 100644 --- a/dist/example.js +++ b/dist/example.js @@ -1,5 +1,4 @@ /**Basic Flutjs App With Tailwind */ -import { academicCap } from "./heroIcons/index.js"; import { Expanded, BoxDecoration, Column, Container, Text, Colors, EdgeInsets, MainAxisAlignment, CrossAxisAlignment, TextStyle, } from "./index.js"; import { BoxShadow } from "./painting/boxShadow.js"; import { State, StateManager } from "./state/stateManager.js"; @@ -31,7 +30,6 @@ WindiApp({ Text("🤩 {counter}", { textStyle: TextStyle({ fontSize: 20 }) }) : Text("😩 {counter}", { textStyle: TextStyle({ fontSize: 20 }) }), Button({ - icon: academicCap({}), padding: EdgeInsets.only({ top: 10, bottom: 10, right: 15, left: 15 }), label: Text("Clica-Me"), onPressed: function () { var _a; diff --git a/dist/example.js.map b/dist/example.js.map index c239b76..ecc0adc 100644 --- a/dist/example.js.map +++ b/dist/example.js.map @@ -1 +1 @@ -{"version":3,"file":"example.js","sourceRoot":"","sources":["../src/example.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAEL,QAAQ,EAGR,aAAa,EAEb,MAAM,EACN,SAAS,EACT,IAAI,EACJ,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,GAGV,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAEjE,IAAI,OAAO,GAAG,IAAI,YAAY,CAAC,IAAI,KAAK,CAAC,EAAC,GAAG,EAAC,SAAS,EAAE,GAAG,EAAC,CAAC,EAAC,CAAC,CAAC,CAAC;AAElE,QAAQ,CAAC;IACP,KAAK,EAAE,aAAa;IAEpB,IAAI,EAAE,QAAQ,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;YACb,eAAe,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;YACjC,eAAe,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;YACjC,KAAK,EAAE,IAAI,CAAC,mBAAmB,CAAC;YAChC,SAAS,EAAE,CAAC;SACb,CAAC;QACF,IAAI,EAAE,SAAS,CAAC;YACZ,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;YACtB,KAAK,EAAC,GAAG;YACT,MAAM,EAAC,GAAG;YACV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AK,EAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;wCACtB,UAAU,EAAC,EAAE;wCACb,YAAY,EAAC,EAAE;wCACf,MAAM,EAAC,MAAM,CAAC,CAAC,EAAC,EAAE,CAAC;qCAEpB,CAAC;iCACH;6BACD,CAAC;yBACJ,CAAC;qBAEH;iBACJ,CAAC;aACD,CAAC,CAAC;SACN,CAAC;KACH,CAAC;CAEH,CAAC,CAAC"} \ No newline at end of file diff --git a/dist/flutjs.min.js b/dist/index.min.js similarity index 51% rename from dist/flutjs.min.js rename to dist/index.min.js index 1c4e073..f8b3186 100644 --- a/dist/flutjs.min.js +++ b/dist/index.min.js @@ -1 +1 @@ -(()=>{"use strict";var t,e,o,i,h,n,r,s,a,c=function(t){this.a=t.a,this.r=t.r,this.g=t.g,this.b=t.b,this.value=t.value,this.withAlpha=t.withAlpha,this.withOpacity=t.withOpacity,this.withRed=t.withRed,this.withGreen=t.withGreen,this.withBlue=t.withBlue},l=new(function(){function t(t){var e=t.a,o=void 0===e?1:e,i=t.r,h=void 0===i?255:i,n=t.g,r=void 0===n?255:n,s=t.b,a=void 0===s?255:s;this.White=this.hexToRgb({hex:"FFFFFF"}),this.Black=this.hexToRgb({hex:"000000"}),this.Rose={50:this.hexToRgb({hex:"fff1f2"}),100:this.hexToRgb({hex:"ffe4e6"}),200:this.hexToRgb({hex:"fecdd3"}),300:this.hexToRgb({hex:"fda4af"}),400:this.hexToRgb({hex:"fb7185"}),500:this.hexToRgb({hex:"f43f5e"}),600:this.hexToRgb({hex:"e11d48"}),700:this.hexToRgb({hex:"be123c"}),800:this.hexToRgb({hex:"9f1239"}),900:this.hexToRgb({hex:"881337"})},this.Pink={50:this.hexToRgb({hex:"fdf2f8"}),100:this.hexToRgb({hex:"fce7f3"}),200:this.hexToRgb({hex:"fbcfe8"}),300:this.hexToRgb({hex:"f9a8d4"}),400:this.hexToRgb({hex:"f472b6"}),500:this.hexToRgb({hex:"f472b6"}),600:this.hexToRgb({hex:"db2777"}),700:this.hexToRgb({hex:"be185d"}),800:this.hexToRgb({hex:"9d174d"}),900:this.hexToRgb({hex:"831843"})},this.Fuchsia={50:this.hexToRgb({hex:"fdf4ff"}),100:this.hexToRgb({hex:"f472b6"}),200:this.hexToRgb({hex:"f5d0fe"}),300:this.hexToRgb({hex:"f0abfc"}),400:this.hexToRgb({hex:"e879f9"}),500:this.hexToRgb({hex:"d946ef"}),600:this.hexToRgb({hex:"c026d3"}),700:this.hexToRgb({hex:"a21caf"}),800:this.hexToRgb({hex:"a21caf"}),900:this.hexToRgb({hex:"701a75"})},this.Purple={50:this.hexToRgb({hex:"faf5ff"}),100:this.hexToRgb({hex:"f3e8ff"}),200:this.hexToRgb({hex:"e9d5ff"}),300:this.hexToRgb({hex:"d8b4fe"}),400:this.hexToRgb({hex:"c084fc"}),500:this.hexToRgb({hex:"a855f7"}),600:this.hexToRgb({hex:"9333ea"}),700:this.hexToRgb({hex:"7e22ce"}),800:this.hexToRgb({hex:"6b21a8"}),900:this.hexToRgb({hex:"581c87"})},this.Violet={50:this.hexToRgb({hex:"f5f3ff"}),100:this.hexToRgb({hex:"ede9fe"}),200:this.hexToRgb({hex:"ddd6fe"}),300:this.hexToRgb({hex:"c4b5fd"}),400:this.hexToRgb({hex:"a78bfa"}),500:this.hexToRgb({hex:"8b5cf6"}),600:this.hexToRgb({hex:"7c3aed"}),700:this.hexToRgb({hex:"6d28d9"}),800:this.hexToRgb({hex:"5b21b6"}),900:this.hexToRgb({hex:"4c1d95"})},this.Indigo={50:this.hexToRgb({hex:"eef2ff"}),100:this.hexToRgb({hex:"e0e7ff"}),200:this.hexToRgb({hex:"c7d2fe"}),300:this.hexToRgb({hex:"a5b4fc"}),400:this.hexToRgb({hex:"818cf8"}),500:this.hexToRgb({hex:"6366f1"}),600:this.hexToRgb({hex:"4f46e5"}),700:this.hexToRgb({hex:"4338ca"}),800:this.hexToRgb({hex:"3730a3"}),900:this.hexToRgb({hex:"312e81"})},this.Blue={50:this.hexToRgb({hex:"eff6ff"}),100:this.hexToRgb({hex:"dbeafe"}),200:this.hexToRgb({hex:"bfdbfe"}),300:this.hexToRgb({hex:"93c5fd"}),400:this.hexToRgb({hex:"60a5fa"}),500:this.hexToRgb({hex:"3b82f6"}),600:this.hexToRgb({hex:"2563eb"}),700:this.hexToRgb({hex:"1d4ed8"}),800:this.hexToRgb({hex:"1d4ed8"}),900:this.hexToRgb({hex:"1e3a8a"})},this.Sky={50:this.hexToRgb({hex:"f0f9ff"}),100:this.hexToRgb({hex:"e0f2fe"}),200:this.hexToRgb({hex:"bae6fd"}),300:this.hexToRgb({hex:"7dd3fc"}),400:this.hexToRgb({hex:"38bdf8"}),500:this.hexToRgb({hex:"0ea5e9"}),600:this.hexToRgb({hex:"0284c7"}),700:this.hexToRgb({hex:"0369a1"}),800:this.hexToRgb({hex:"075985"}),900:this.hexToRgb({hex:"0c4a6e"})},this.Cyan={50:this.hexToRgb({hex:"ecfeff"}),100:this.hexToRgb({hex:"cffafe"}),200:this.hexToRgb({hex:"a5f3fc"}),300:this.hexToRgb({hex:"67e8f9"}),400:this.hexToRgb({hex:"22d3ee"}),500:this.hexToRgb({hex:"06b6d4"}),600:this.hexToRgb({hex:"0891b2"}),700:this.hexToRgb({hex:"0e7490"}),800:this.hexToRgb({hex:"155e75"}),900:this.hexToRgb({hex:"164e63"})},this.Teal={50:this.hexToRgb({hex:"f0fdfa"}),100:this.hexToRgb({hex:"ccfbf1"}),200:this.hexToRgb({hex:"99f6e4"}),300:this.hexToRgb({hex:"5eead4"}),400:this.hexToRgb({hex:"2dd4bf"}),500:this.hexToRgb({hex:"14b8a6"}),600:this.hexToRgb({hex:"0d9488"}),700:this.hexToRgb({hex:"0f766e"}),800:this.hexToRgb({hex:"115e59"}),900:this.hexToRgb({hex:"134e4a"})},this.Emerald={50:this.hexToRgb({hex:"ecfdf5"}),100:this.hexToRgb({hex:"d1fae5"}),200:this.hexToRgb({hex:"a7f3d0"}),300:this.hexToRgb({hex:"6ee7b7"}),400:this.hexToRgb({hex:"34d399"}),500:this.hexToRgb({hex:"10b981"}),600:this.hexToRgb({hex:"059669"}),700:this.hexToRgb({hex:"047857"}),800:this.hexToRgb({hex:"065f46"}),900:this.hexToRgb({hex:"064e3b"})},this.Green={50:this.hexToRgb({hex:"f0fdf4"}),100:this.hexToRgb({hex:"dcfce7"}),200:this.hexToRgb({hex:"bbf7d0"}),300:this.hexToRgb({hex:"86efac"}),400:this.hexToRgb({hex:"4ade80"}),500:this.hexToRgb({hex:"22c55e"}),600:this.hexToRgb({hex:"16a34a"}),700:this.hexToRgb({hex:"15803d"}),800:this.hexToRgb({hex:"166534"}),900:this.hexToRgb({hex:"14532d"})},this.Lime={50:this.hexToRgb({hex:"f7fee7"}),100:this.hexToRgb({hex:"ecfccb"}),200:this.hexToRgb({hex:"d9f99d"}),300:this.hexToRgb({hex:"bef264"}),400:this.hexToRgb({hex:"a3e635"}),500:this.hexToRgb({hex:"84cc16"}),600:this.hexToRgb({hex:"65a30d"}),700:this.hexToRgb({hex:"4d7c0f"}),800:this.hexToRgb({hex:"3f6212"}),900:this.hexToRgb({hex:"365314"})},this.Yellow={50:this.hexToRgb({hex:"fefce8"}),100:this.hexToRgb({hex:"fef9c3"}),200:this.hexToRgb({hex:"fef08a"}),300:this.hexToRgb({hex:"fde047"}),400:this.hexToRgb({hex:"facc15"}),500:this.hexToRgb({hex:"eab308"}),600:this.hexToRgb({hex:"ca8a04"}),700:this.hexToRgb({hex:"a16207"}),800:this.hexToRgb({hex:"854d0e"}),900:this.hexToRgb({hex:"713f12"})},this.Amber={50:this.hexToRgb({hex:"fffbeb"}),100:this.hexToRgb({hex:"fef3c7"}),200:this.hexToRgb({hex:"fde68a"}),300:this.hexToRgb({hex:"fcd34d"}),400:this.hexToRgb({hex:"fbbf24"}),500:this.hexToRgb({hex:"f59e0b"}),600:this.hexToRgb({hex:"d97706"}),700:this.hexToRgb({hex:"b45309"}),800:this.hexToRgb({hex:"92400e"}),900:this.hexToRgb({hex:"78350f"})},this.Orange={50:this.hexToRgb({hex:"fff7ed"}),100:this.hexToRgb({hex:"ffedd5"}),200:this.hexToRgb({hex:"fed7aa"}),300:this.hexToRgb({hex:"fdba74"}),400:this.hexToRgb({hex:"fb923c"}),500:this.hexToRgb({hex:"f97316"}),600:this.hexToRgb({hex:"ea580c"}),700:this.hexToRgb({hex:"c2410c"}),800:this.hexToRgb({hex:"9a3412"}),900:this.hexToRgb({hex:"7c2d12"})},this.Red={50:this.hexToRgb({hex:"fef2f2"}),100:this.hexToRgb({hex:"fee2e2"}),200:this.hexToRgb({hex:"fecaca"}),300:this.hexToRgb({hex:"fca5a5"}),400:this.hexToRgb({hex:"f87171"}),500:this.hexToRgb({hex:"ef4444"}),600:this.hexToRgb({hex:"dc2626"}),700:this.hexToRgb({hex:"b91c1c"}),800:this.hexToRgb({hex:"991b1b"}),900:this.hexToRgb({hex:"7f1d1d"})},this.Stone={50:this.hexToRgb({hex:"fafaf9"}),100:this.hexToRgb({hex:"f5f5f4"}),200:this.hexToRgb({hex:"e7e5e4"}),300:this.hexToRgb({hex:"d6d3d1"}),400:this.hexToRgb({hex:"a8a29e"}),500:this.hexToRgb({hex:"78716c"}),600:this.hexToRgb({hex:"57534e"}),700:this.hexToRgb({hex:"44403c"}),800:this.hexToRgb({hex:"292524"}),900:this.hexToRgb({hex:"1c1917"})},this.Neutral={50:this.hexToRgb({hex:"fafafa"}),100:this.hexToRgb({hex:"f5f5f5"}),200:this.hexToRgb({hex:"e5e5e5"}),300:this.hexToRgb({hex:"d4d4d4"}),400:this.hexToRgb({hex:"a3a3a3"}),500:this.hexToRgb({hex:"737373"}),600:this.hexToRgb({hex:"525252"}),700:this.hexToRgb({hex:"404040"}),800:this.hexToRgb({hex:"262626"}),900:this.hexToRgb({hex:"171717"})},this.Zinc={50:this.hexToRgb({hex:"fafafa"}),100:this.hexToRgb({hex:"f4f4f5"}),200:this.hexToRgb({hex:"e4e4e7"}),300:this.hexToRgb({hex:"d4d4d8"}),400:this.hexToRgb({hex:"a1a1aa"}),500:this.hexToRgb({hex:"71717a"}),600:this.hexToRgb({hex:"52525b"}),700:this.hexToRgb({hex:"3f3f46"}),800:this.hexToRgb({hex:"3f3f46"}),900:this.hexToRgb({hex:"18181b"})},this.Gray={50:this.hexToRgb({hex:"f9fafb"}),100:this.hexToRgb({hex:"f3f4f6"}),200:this.hexToRgb({hex:"f3f4f6"}),300:this.hexToRgb({hex:"d1d5db"}),400:this.hexToRgb({hex:"9ca3af"}),500:this.hexToRgb({hex:"6b7280"}),600:this.hexToRgb({hex:"4b5563"}),700:this.hexToRgb({hex:"374151"}),800:this.hexToRgb({hex:"1f2937"}),900:this.hexToRgb({hex:"111827"})},this.Slate={50:this.hexToRgb({hex:"f8fafc"}),100:this.hexToRgb({hex:"f1f5f9"}),200:this.hexToRgb({hex:"e2e8f0"}),300:this.hexToRgb({hex:"cbd5e1"}),400:this.hexToRgb({hex:"94a3b8"}),500:this.hexToRgb({hex:"64748b"}),600:this.hexToRgb({hex:"475569"}),700:this.hexToRgb({hex:"334155"}),800:this.hexToRgb({hex:"1e293b"}),900:this.hexToRgb({hex:"0f172a"})},this.color=new c({r:0,g:0,b:0,a:1}),this.color=this.fromARGB({a:o,r:h,g:r,b:a}),this.color.withAlpha=this.withAlpha,this.color.withOpacity=this.withOpacity,this.color.withRed=this.withRed,this.color.withGreen=this.withGreen,this.color.withBlue=this.withBlue}return t.prototype.fromARGB=function(t){var e=t.a,o=void 0===e?1:e,i=t.r,h=t.g,n=t.b;return this.color=new c({a:o,r:i,g:h,b:n}),this.color.value="rgba(".concat(i,", ").concat(h,", ").concat(n,", ").concat(o,")"),this.color},t.prototype.hexToRgb=function(t){var e=t.hex,o=t.alpha,i=void 0===o?1:o;e=e.replace("#","");var h=parseInt(3==e.length?e.slice(0,1).repeat(2):e.slice(0,2),16),n=parseInt(3==e.length?e.slice(1,2).repeat(2):e.slice(2,4),16),r=parseInt(3==e.length?e.slice(2,3).repeat(2):e.slice(4,6),16);return i?this.fromARGB({r:h,g:n,b:r,a:i}):this.fromARGB({r:h,g:n,b:r})},t.prototype.withAlpha=function(t){return this.fromARGB({r:this.color.r,g:this.color.g,b:this.color.b,a:t}).value},t.prototype.withOpacity=function(t){return this.fromARGB({r:this.color.r,g:this.color.g,b:this.color.b,a:Math.round(255*t)}).value},t.prototype.withRed=function(t){return this.fromARGB({a:this.color.a,r:t,g:this.color.g,b:this.color.b}).value},t.prototype.withGreen=function(t){return this.fromARGB({a:this.color.a,r:this.color.r,g:t,b:this.color.b}).value},t.prototype.withBlue=function(t){return this.fromARGB({a:this.color.a,r:this.color.r,g:this.color.g,b:t}).value},t.prototype.fromUtil=function(t){return this.color.value=t,this.color.value},t}())({});!function(t){t[t.fixed=0]="fixed",t[t.local=1]="local",t[t.scroll=2]="scroll"}(t||(t={})),function(t){t[t.borderBox=0]="borderBox",t[t.paddingBox=1]="paddingBox",t[t.contentBox=2]="contentBox",t[t.text=3]="text"}(e||(e={})),function(t){t[t.borderBox=0]="borderBox",t[t.paddingBox=1]="paddingBox",t[t.contentBox=2]="contentBox"}(o||(o={})),function(t){t[t.bottom=0]="bottom",t[t.center=1]="center",t[t.left=2]="left",t[t.leftBottom=3]="leftBottom",t[t.leftTop=4]="leftTop",t[t.right=5]="right",t[t.rightBottom=6]="rightBottom",t[t.rightTop=7]="rightTop",t[t.top=8]="top"}(i||(i={})),function(t){t[t.repeat=0]="repeat",t[t.noRepeat=1]="noRepeat",t[t.repeatX=2]="repeatX",t[t.repeatY=3]="repeatY",t[t.round=4]="round",t[t.space=5]="space"}(h||(h={})),function(t){t[t.auto=0]="auto",t[t.cover=1]="cover",t[t.contain=2]="contain"}(n||(n={})),function(t){t[t.normal=0]="normal",t[t.italic=1]="italic"}(r||(r={})),function(t){t[t.w100=0]="w100",t[t.w200=1]="w200",t[t.w300=2]="w300",t[t.w400=3]="w400",t[t.w500=4]="w500",t[t.w600=5]="w600",t[t.w700=6]="w700",t[t.w800=7]="w800",t[t.w900=8]="w900",t[t.normal=9]="normal",t[t.bold=10]="bold"}(s||(s={})),function(t){t[t.Horizontal=0]="Horizontal",t[t.Vertical=1]="Vertical"}(a||(a={}));var x=["px","vh","vw","%","pt"],u=function(){function t(t){this.message=t.message,this.type=t.type}return t.prototype.thtrow=function(){throw this},t}(),f=function(){function t(){}return t.prototype.isNumber=function(t){return!!t&&/^-?\d+\.?\d*$/.test(null==t?void 0:t.toString())},t}();function p(t){return(new f).isNumber(t)}var g,b,d,y=function(){function t(){}return t.prototype.toNumber=function(t){var e=this;if(!t)return 0;if(this.val=t,!p(this.val)){var o=this.val;x.forEach((function(t){var i;p(o)?e.val=e.val.toString().split(t).join(""):(i={message:"Invalid Number: "+o.toString()},new u({type:"Conversion Exception",message:i.message}))}))}return Number.parseFloat(this.val.toString())},t.prototype.invertFlex=function(t){return t.includes("items")?t.split("items").join("justify").replace("stretch","evenly").replace("line","around"):t.split("justify").join("items").replace("evenly","stretch").replace("around","line")},t}(),R=(g=function(t,e){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},g(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}g(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),v=function(){function t(t){this.bottom=0,this.end=0,this.left=0,this.right=0,this.start=0,this.top=0,this.horizontal=0,this.vertical=0,this.value="",this.bottom=t.bottom,this.end=t.end,this.left=t.left,this.right=t.right,this.top=t.top;var e=new y;return this.horizontal=e.toNumber(this.left)+e.toNumber(this.right)+e.toNumber(this.start)+e.toNumber(this.end),this.vertical=e.toNumber(this.top)+e.toNumber(this.bottom),console.log("1.1->",this.arrayed_value("padding-")),this}return t.prototype.val=function(t){var e;return this.value=["".concat(t,"left:").concat(this.left),"".concat(t,"right:").concat(this.right),"".concat(t,"top:").concat(this.top),"".concat(t,"bottom:").concat(null!==(e=this.bottom)&&void 0!==e?e:this.end)].join(";"),this},t.prototype.arrayed_value=function(t){var e;return["".concat(this.left,"px"),"".concat(this.top,"px"),"".concat(this.right,"px"),"".concat(null!==(e=this.bottom)&&void 0!==e?e:this.end,"px")]},t.prototype.reset=function(){this.left=0,this.right=0,this.top=0,this.bottom=0,this.start=0,this.end=0},t.prototype.along=function(t){switch(t.axis){case a.Horizontal:return this.reset(),this.left=this.horizontal,this.right=this.horizontal,this.start=this.horizontal,this.end=this.horizontal,this;case a.Vertical:return this.reset(),this.top=this.vertical,this.start=this.vertical,this.end=this.vertical,this.bottom=this.vertical,this}},t.prototype.infinity=function(){return this.bottom="100%",this.end="100%",this.left="100%",this.right="100%",this.top="100%",this},t}(),T=(new(function(t){function e(e){return t.call(this,e)||this}return R(e,t),e.prototype.only=function(t){return new v({left:t.left,top:t.top,right:t.right,bottom:t.bottom})},e.prototype.all=function(t){return this.symmetric({vertical:t,horizontal:t})},e.prototype.symmetric=function(t){return this.reset(),this.only({left:t.vertical,right:t.vertical,top:t.horizontal,bottom:t.horizontal})},e}(v))({propertie:"padding"}),new(function(){function t(){this.zero=this.circular(0)}return t.prototype.circular=function(t){return this.value="".concat(t,"px"),this},t.prototype.elliptical=function(t){return this.value="".concat(t,"%"),this},t}())),m=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return m(e,t),e.prototype.only=function(t){var e,o,i,h,n,r,s,a;return this.topLeft=t.topLeft,this.topRight=t.topRight,this.bottomLeft=t.bottomLeft,this.bottomRight=t.bottomRight,this.value=[null!==(o=null===(e=this.topLeft)||void 0===e?void 0:e.value)&&void 0!==o?o:"0px",null!==(h=null===(i=this.topRight)||void 0===i?void 0:i.value)&&void 0!==h?h:"0px",null!==(r=null===(n=this.bottomLeft)||void 0===n?void 0:n.value)&&void 0!==r?r:"0px",null!==(a=null===(s=this.bottomRight)||void 0===s?void 0:s.value)&&void 0!==a?a:"0px"],console.warn(this.value),this},e.prototype.all=function(t){return this.only({topLeft:t,topRight:t,bottomLeft:t,bottomRight:t})},e.prototype.circular=function(t){return this.all(T.circular(t))},e.prototype.vertical=function(t){var e,o,i,h;return console.warn("vertical",t.top,t.bottom),this.only({topLeft:null!==(e=t.top)&&void 0!==e?e:T.zero,topRight:null!==(o=t.top)&&void 0!==o?o:T.zero,bottomLeft:null!==(i=t.bottom)&&void 0!==i?i:T.zero,bottomRight:null!==(h=t.bottom)&&void 0!==h?h:T.zero})},e.prototype.horizontal=function(t){var e,o,i,h;return this.only({topLeft:null!==(e=t.left)&&void 0!==e?e:T.zero,topRight:null!==(o=t.right)&&void 0!==o?o:T.zero,bottomLeft:null!==(i=t.left)&&void 0!==i?i:T.zero,bottomRight:null!==(h=t.right)&&void 0!==h?h:T.zero})},e}((function(){}))),function(t){t.start="flex-start",t.end="flex-end",t.center="center",t.spaceBetween="space-between",t.spaceAround="space-around",t.spaceEvenly="space-evenly"}(b||(b={})),function(t){t.start="start",t.end="end",t.center="center",t.spaceAround="stretch",t.spaceEvenly="items-stretch"}(d||(d={}));var w,_,S,O=function(){function t(t){this._props=t}return t.prototype.apply=function(t){for(var e in this._props){var o=e;t.tag.style[e]=this._props[o],console.log("FROM CSS",e,":",t.tag.style[e])}return t},t}();!function(t){t.centimeters="cm",t.millimeters="mm",t.inches="in",t.pixels="px",t.points="pt",t.picas="pc"}(w||(w={})),(S=_||(_={})).em="em",S.ex="ex",S.ch="ch",S.rem="rem",S.vw="vw",S.vmin="vmin",S.vmax="vmax",S["%"]="%";var j=function(){function t(){}return t.prototype.extractCss=function(t){var e=t.tag.getAttribute("style");return'[key="'.concat(t.tag.getAttribute("key"),'"]{\n\t').concat(null==e?void 0:e.split("; ").join(";\n\t"),"\n}\n")},t}(),A=function(){function t(){}return t.prototype.fromValue=function(t){return t},t.prototype.uuidv4=function(){var t=(new Date).getTime(),e="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(o){var i=16*Math.random();return t>0?(i=(t+i)%16|0,t=Math.floor(t/16)):(i=(e+i)%16|0,e=Math.floor(e/16)),("x"===o?i:3&i|8).toString(16)}))},t.prototype.uid=function(){return Math.round(Math.random()*Math.pow(36,6)).toString(36)},t}(),z=function(){return z=Object.assign||function(t){for(var e,o=1,i=arguments.length;o0&&(this.tag.textContent=t.text)},t.prototype.appendChild=function(t){var e;null===(e=this.tag)||void 0===e||e.appendChild(t)},t}();const B=k;var C=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();!function(t){function e(e){var o,i=this;return(i=t.call(this,{tagName:"div",children:[e.home],css:new O({background:l.Gray[100].value})})||this).title=e.title,i.theme=e.theme,i.home=e.home,i.tag.style.width="100vw",i.tag.style.height="100vh",i.classes=e.classes,document.title=null!==(o=e.title)&&void 0!==o?o:document.title,e.mounted&&e.mounted(),i}C(e,t),e.prototype.build=function(){return document.body.outerHTML}}(k);var N,L=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();L((function(t){var e,o;return N.call(this,{tagName:"div",children:t.children,css:new O({display:"flex",flexDirection:"column",justifyContent:null!==(e=t.mainAxisAlignment)&&void 0!==e?e:(new y).invertFlex(b.start),alignItems:null!==(o=t.crossAxisAlignment)&&void 0!==o?o:(new y).invertFlex(d.start)})})||this}),N=B);var P=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),F=function(){return F=Object.assign||function(t){for(var e,o=1,i=arguments.length;o{"use strict";var t,e,o,i,h,n,r,s,a,c=function(t){this.a=t.a,this.r=t.r,this.g=t.g,this.b=t.b,this.value=t.value,this.withAlpha=t.withAlpha,this.withOpacity=t.withOpacity,this.withRed=t.withRed,this.withGreen=t.withGreen,this.withBlue=t.withBlue},l=new(function(){function t(t){var e=t.a,o=void 0===e?1:e,i=t.r,h=void 0===i?255:i,n=t.g,r=void 0===n?255:n,s=t.b,a=void 0===s?255:s;this.White=this.hexToRgb({hex:"FFFFFF"}),this.Black=this.hexToRgb({hex:"000000"}),this.Rose={50:this.hexToRgb({hex:"fff1f2"}),100:this.hexToRgb({hex:"ffe4e6"}),200:this.hexToRgb({hex:"fecdd3"}),300:this.hexToRgb({hex:"fda4af"}),400:this.hexToRgb({hex:"fb7185"}),500:this.hexToRgb({hex:"f43f5e"}),600:this.hexToRgb({hex:"e11d48"}),700:this.hexToRgb({hex:"be123c"}),800:this.hexToRgb({hex:"9f1239"}),900:this.hexToRgb({hex:"881337"})},this.Pink={50:this.hexToRgb({hex:"fdf2f8"}),100:this.hexToRgb({hex:"fce7f3"}),200:this.hexToRgb({hex:"fbcfe8"}),300:this.hexToRgb({hex:"f9a8d4"}),400:this.hexToRgb({hex:"f472b6"}),500:this.hexToRgb({hex:"f472b6"}),600:this.hexToRgb({hex:"db2777"}),700:this.hexToRgb({hex:"be185d"}),800:this.hexToRgb({hex:"9d174d"}),900:this.hexToRgb({hex:"831843"})},this.Fuchsia={50:this.hexToRgb({hex:"fdf4ff"}),100:this.hexToRgb({hex:"f472b6"}),200:this.hexToRgb({hex:"f5d0fe"}),300:this.hexToRgb({hex:"f0abfc"}),400:this.hexToRgb({hex:"e879f9"}),500:this.hexToRgb({hex:"d946ef"}),600:this.hexToRgb({hex:"c026d3"}),700:this.hexToRgb({hex:"a21caf"}),800:this.hexToRgb({hex:"a21caf"}),900:this.hexToRgb({hex:"701a75"})},this.Purple={50:this.hexToRgb({hex:"faf5ff"}),100:this.hexToRgb({hex:"f3e8ff"}),200:this.hexToRgb({hex:"e9d5ff"}),300:this.hexToRgb({hex:"d8b4fe"}),400:this.hexToRgb({hex:"c084fc"}),500:this.hexToRgb({hex:"a855f7"}),600:this.hexToRgb({hex:"9333ea"}),700:this.hexToRgb({hex:"7e22ce"}),800:this.hexToRgb({hex:"6b21a8"}),900:this.hexToRgb({hex:"581c87"})},this.Violet={50:this.hexToRgb({hex:"f5f3ff"}),100:this.hexToRgb({hex:"ede9fe"}),200:this.hexToRgb({hex:"ddd6fe"}),300:this.hexToRgb({hex:"c4b5fd"}),400:this.hexToRgb({hex:"a78bfa"}),500:this.hexToRgb({hex:"8b5cf6"}),600:this.hexToRgb({hex:"7c3aed"}),700:this.hexToRgb({hex:"6d28d9"}),800:this.hexToRgb({hex:"5b21b6"}),900:this.hexToRgb({hex:"4c1d95"})},this.Indigo={50:this.hexToRgb({hex:"eef2ff"}),100:this.hexToRgb({hex:"e0e7ff"}),200:this.hexToRgb({hex:"c7d2fe"}),300:this.hexToRgb({hex:"a5b4fc"}),400:this.hexToRgb({hex:"818cf8"}),500:this.hexToRgb({hex:"6366f1"}),600:this.hexToRgb({hex:"4f46e5"}),700:this.hexToRgb({hex:"4338ca"}),800:this.hexToRgb({hex:"3730a3"}),900:this.hexToRgb({hex:"312e81"})},this.Blue={50:this.hexToRgb({hex:"eff6ff"}),100:this.hexToRgb({hex:"dbeafe"}),200:this.hexToRgb({hex:"bfdbfe"}),300:this.hexToRgb({hex:"93c5fd"}),400:this.hexToRgb({hex:"60a5fa"}),500:this.hexToRgb({hex:"3b82f6"}),600:this.hexToRgb({hex:"2563eb"}),700:this.hexToRgb({hex:"1d4ed8"}),800:this.hexToRgb({hex:"1d4ed8"}),900:this.hexToRgb({hex:"1e3a8a"})},this.Sky={50:this.hexToRgb({hex:"f0f9ff"}),100:this.hexToRgb({hex:"e0f2fe"}),200:this.hexToRgb({hex:"bae6fd"}),300:this.hexToRgb({hex:"7dd3fc"}),400:this.hexToRgb({hex:"38bdf8"}),500:this.hexToRgb({hex:"0ea5e9"}),600:this.hexToRgb({hex:"0284c7"}),700:this.hexToRgb({hex:"0369a1"}),800:this.hexToRgb({hex:"075985"}),900:this.hexToRgb({hex:"0c4a6e"})},this.Cyan={50:this.hexToRgb({hex:"ecfeff"}),100:this.hexToRgb({hex:"cffafe"}),200:this.hexToRgb({hex:"a5f3fc"}),300:this.hexToRgb({hex:"67e8f9"}),400:this.hexToRgb({hex:"22d3ee"}),500:this.hexToRgb({hex:"06b6d4"}),600:this.hexToRgb({hex:"0891b2"}),700:this.hexToRgb({hex:"0e7490"}),800:this.hexToRgb({hex:"155e75"}),900:this.hexToRgb({hex:"164e63"})},this.Teal={50:this.hexToRgb({hex:"f0fdfa"}),100:this.hexToRgb({hex:"ccfbf1"}),200:this.hexToRgb({hex:"99f6e4"}),300:this.hexToRgb({hex:"5eead4"}),400:this.hexToRgb({hex:"2dd4bf"}),500:this.hexToRgb({hex:"14b8a6"}),600:this.hexToRgb({hex:"0d9488"}),700:this.hexToRgb({hex:"0f766e"}),800:this.hexToRgb({hex:"115e59"}),900:this.hexToRgb({hex:"134e4a"})},this.Emerald={50:this.hexToRgb({hex:"ecfdf5"}),100:this.hexToRgb({hex:"d1fae5"}),200:this.hexToRgb({hex:"a7f3d0"}),300:this.hexToRgb({hex:"6ee7b7"}),400:this.hexToRgb({hex:"34d399"}),500:this.hexToRgb({hex:"10b981"}),600:this.hexToRgb({hex:"059669"}),700:this.hexToRgb({hex:"047857"}),800:this.hexToRgb({hex:"065f46"}),900:this.hexToRgb({hex:"064e3b"})},this.Green={50:this.hexToRgb({hex:"f0fdf4"}),100:this.hexToRgb({hex:"dcfce7"}),200:this.hexToRgb({hex:"bbf7d0"}),300:this.hexToRgb({hex:"86efac"}),400:this.hexToRgb({hex:"4ade80"}),500:this.hexToRgb({hex:"22c55e"}),600:this.hexToRgb({hex:"16a34a"}),700:this.hexToRgb({hex:"15803d"}),800:this.hexToRgb({hex:"166534"}),900:this.hexToRgb({hex:"14532d"})},this.Lime={50:this.hexToRgb({hex:"f7fee7"}),100:this.hexToRgb({hex:"ecfccb"}),200:this.hexToRgb({hex:"d9f99d"}),300:this.hexToRgb({hex:"bef264"}),400:this.hexToRgb({hex:"a3e635"}),500:this.hexToRgb({hex:"84cc16"}),600:this.hexToRgb({hex:"65a30d"}),700:this.hexToRgb({hex:"4d7c0f"}),800:this.hexToRgb({hex:"3f6212"}),900:this.hexToRgb({hex:"365314"})},this.Yellow={50:this.hexToRgb({hex:"fefce8"}),100:this.hexToRgb({hex:"fef9c3"}),200:this.hexToRgb({hex:"fef08a"}),300:this.hexToRgb({hex:"fde047"}),400:this.hexToRgb({hex:"facc15"}),500:this.hexToRgb({hex:"eab308"}),600:this.hexToRgb({hex:"ca8a04"}),700:this.hexToRgb({hex:"a16207"}),800:this.hexToRgb({hex:"854d0e"}),900:this.hexToRgb({hex:"713f12"})},this.Amber={50:this.hexToRgb({hex:"fffbeb"}),100:this.hexToRgb({hex:"fef3c7"}),200:this.hexToRgb({hex:"fde68a"}),300:this.hexToRgb({hex:"fcd34d"}),400:this.hexToRgb({hex:"fbbf24"}),500:this.hexToRgb({hex:"f59e0b"}),600:this.hexToRgb({hex:"d97706"}),700:this.hexToRgb({hex:"b45309"}),800:this.hexToRgb({hex:"92400e"}),900:this.hexToRgb({hex:"78350f"})},this.Orange={50:this.hexToRgb({hex:"fff7ed"}),100:this.hexToRgb({hex:"ffedd5"}),200:this.hexToRgb({hex:"fed7aa"}),300:this.hexToRgb({hex:"fdba74"}),400:this.hexToRgb({hex:"fb923c"}),500:this.hexToRgb({hex:"f97316"}),600:this.hexToRgb({hex:"ea580c"}),700:this.hexToRgb({hex:"c2410c"}),800:this.hexToRgb({hex:"9a3412"}),900:this.hexToRgb({hex:"7c2d12"})},this.Red={50:this.hexToRgb({hex:"fef2f2"}),100:this.hexToRgb({hex:"fee2e2"}),200:this.hexToRgb({hex:"fecaca"}),300:this.hexToRgb({hex:"fca5a5"}),400:this.hexToRgb({hex:"f87171"}),500:this.hexToRgb({hex:"ef4444"}),600:this.hexToRgb({hex:"dc2626"}),700:this.hexToRgb({hex:"b91c1c"}),800:this.hexToRgb({hex:"991b1b"}),900:this.hexToRgb({hex:"7f1d1d"})},this.Stone={50:this.hexToRgb({hex:"fafaf9"}),100:this.hexToRgb({hex:"f5f5f4"}),200:this.hexToRgb({hex:"e7e5e4"}),300:this.hexToRgb({hex:"d6d3d1"}),400:this.hexToRgb({hex:"a8a29e"}),500:this.hexToRgb({hex:"78716c"}),600:this.hexToRgb({hex:"57534e"}),700:this.hexToRgb({hex:"44403c"}),800:this.hexToRgb({hex:"292524"}),900:this.hexToRgb({hex:"1c1917"})},this.Neutral={50:this.hexToRgb({hex:"fafafa"}),100:this.hexToRgb({hex:"f5f5f5"}),200:this.hexToRgb({hex:"e5e5e5"}),300:this.hexToRgb({hex:"d4d4d4"}),400:this.hexToRgb({hex:"a3a3a3"}),500:this.hexToRgb({hex:"737373"}),600:this.hexToRgb({hex:"525252"}),700:this.hexToRgb({hex:"404040"}),800:this.hexToRgb({hex:"262626"}),900:this.hexToRgb({hex:"171717"})},this.Zinc={50:this.hexToRgb({hex:"fafafa"}),100:this.hexToRgb({hex:"f4f4f5"}),200:this.hexToRgb({hex:"e4e4e7"}),300:this.hexToRgb({hex:"d4d4d8"}),400:this.hexToRgb({hex:"a1a1aa"}),500:this.hexToRgb({hex:"71717a"}),600:this.hexToRgb({hex:"52525b"}),700:this.hexToRgb({hex:"3f3f46"}),800:this.hexToRgb({hex:"3f3f46"}),900:this.hexToRgb({hex:"18181b"})},this.Gray={50:this.hexToRgb({hex:"f9fafb"}),100:this.hexToRgb({hex:"f3f4f6"}),200:this.hexToRgb({hex:"f3f4f6"}),300:this.hexToRgb({hex:"d1d5db"}),400:this.hexToRgb({hex:"9ca3af"}),500:this.hexToRgb({hex:"6b7280"}),600:this.hexToRgb({hex:"4b5563"}),700:this.hexToRgb({hex:"374151"}),800:this.hexToRgb({hex:"1f2937"}),900:this.hexToRgb({hex:"111827"})},this.Slate={50:this.hexToRgb({hex:"f8fafc"}),100:this.hexToRgb({hex:"f1f5f9"}),200:this.hexToRgb({hex:"e2e8f0"}),300:this.hexToRgb({hex:"cbd5e1"}),400:this.hexToRgb({hex:"94a3b8"}),500:this.hexToRgb({hex:"64748b"}),600:this.hexToRgb({hex:"475569"}),700:this.hexToRgb({hex:"334155"}),800:this.hexToRgb({hex:"1e293b"}),900:this.hexToRgb({hex:"0f172a"})},this.color=new c({r:0,g:0,b:0,a:1}),this.color=this.fromARGB({a:o,r:h,g:r,b:a}),this.color.withAlpha=this.withAlpha,this.color.withOpacity=this.withOpacity,this.color.withRed=this.withRed,this.color.withGreen=this.withGreen,this.color.withBlue=this.withBlue}return t.prototype.fromARGB=function(t){var e=t.a,o=void 0===e?1:e,i=t.r,h=t.g,n=t.b;return this.color=new c({a:o,r:i,g:h,b:n}),this.color.value="rgba(".concat(i,", ").concat(h,", ").concat(n,", ").concat(o,")"),this.color},t.prototype.hexToRgb=function(t){var e=t.hex,o=t.alpha,i=void 0===o?1:o;e=e.replace("#","");var h=parseInt(3==e.length?e.slice(0,1).repeat(2):e.slice(0,2),16),n=parseInt(3==e.length?e.slice(1,2).repeat(2):e.slice(2,4),16),r=parseInt(3==e.length?e.slice(2,3).repeat(2):e.slice(4,6),16);return i?this.fromARGB({r:h,g:n,b:r,a:i}):this.fromARGB({r:h,g:n,b:r})},t.prototype.withAlpha=function(t){return this.fromARGB({r:this.color.r,g:this.color.g,b:this.color.b,a:t}).value},t.prototype.withOpacity=function(t){return this.fromARGB({r:this.color.r,g:this.color.g,b:this.color.b,a:Math.round(255*t)}).value},t.prototype.withRed=function(t){return this.fromARGB({a:this.color.a,r:t,g:this.color.g,b:this.color.b}).value},t.prototype.withGreen=function(t){return this.fromARGB({a:this.color.a,r:this.color.r,g:t,b:this.color.b}).value},t.prototype.withBlue=function(t){return this.fromARGB({a:this.color.a,r:this.color.r,g:this.color.g,b:t}).value},t.prototype.fromUtil=function(t){return this.color.value=t,this.color.value},t}())({});!function(t){t[t.fixed=0]="fixed",t[t.local=1]="local",t[t.scroll=2]="scroll"}(t||(t={})),function(t){t[t.borderBox=0]="borderBox",t[t.paddingBox=1]="paddingBox",t[t.contentBox=2]="contentBox",t[t.text=3]="text"}(e||(e={})),function(t){t[t.borderBox=0]="borderBox",t[t.paddingBox=1]="paddingBox",t[t.contentBox=2]="contentBox"}(o||(o={})),function(t){t[t.bottom=0]="bottom",t[t.center=1]="center",t[t.left=2]="left",t[t.leftBottom=3]="leftBottom",t[t.leftTop=4]="leftTop",t[t.right=5]="right",t[t.rightBottom=6]="rightBottom",t[t.rightTop=7]="rightTop",t[t.top=8]="top"}(i||(i={})),function(t){t[t.repeat=0]="repeat",t[t.noRepeat=1]="noRepeat",t[t.repeatX=2]="repeatX",t[t.repeatY=3]="repeatY",t[t.round=4]="round",t[t.space=5]="space"}(h||(h={})),function(t){t[t.auto=0]="auto",t[t.cover=1]="cover",t[t.contain=2]="contain"}(n||(n={})),function(t){t[t.normal=0]="normal",t[t.italic=1]="italic"}(r||(r={})),function(t){t[t.w100=0]="w100",t[t.w200=1]="w200",t[t.w300=2]="w300",t[t.w400=3]="w400",t[t.w500=4]="w500",t[t.w600=5]="w600",t[t.w700=6]="w700",t[t.w800=7]="w800",t[t.w900=8]="w900",t[t.normal=9]="normal",t[t.bold=10]="bold"}(s||(s={})),function(t){t[t.Horizontal=0]="Horizontal",t[t.Vertical=1]="Vertical"}(a||(a={}));var u=["px","vh","vw","%","pt"],x=function(){function t(t){this.message=t.message,this.type=t.type}return t.prototype.thtrow=function(){throw this},t}(),f=function(){function t(){}return t.prototype.isNumber=function(t){return!!t&&/^-?\d+\.?\d*$/.test(null==t?void 0:t.toString())},t}();function p(t){return(new f).isNumber(t)}var g,b,d,y=function(){function t(){}return t.prototype.toNumber=function(t){var e=this;if(!t)return 0;if(this.val=t,!p(this.val)){var o=this.val;u.forEach((function(t){var i;p(o)?e.val=e.val.toString().split(t).join(""):(i={message:"Invalid Number: "+o.toString()},new x({type:"Conversion Exception",message:i.message}))}))}return Number.parseFloat(this.val.toString())},t.prototype.invertFlex=function(t){return t.includes("items")?t.split("items").join("justify").replace("stretch","evenly").replace("line","around"):t.split("justify").join("items").replace("evenly","stretch").replace("around","line")},t}(),v=(g=function(t,e){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},g(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}g(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),R=function(){function t(t){this.bottom=0,this.end=0,this.left=0,this.right=0,this.start=0,this.top=0,this.horizontal=0,this.vertical=0,this.value="",this.bottom=t.bottom,this.end=t.end,this.left=t.left,this.right=t.right,this.top=t.top;var e=new y;return this.horizontal=e.toNumber(this.left)+e.toNumber(this.right)+e.toNumber(this.start)+e.toNumber(this.end),this.vertical=e.toNumber(this.top)+e.toNumber(this.bottom),console.log("1.1->",this.arrayed_value("padding-")),this}return t.prototype.val=function(t){var e;return this.value=["".concat(t,"left:").concat(this.left),"".concat(t,"right:").concat(this.right),"".concat(t,"top:").concat(this.top),"".concat(t,"bottom:").concat(null!==(e=this.bottom)&&void 0!==e?e:this.end)].join(";"),this},t.prototype.arrayed_value=function(t){var e;return["".concat(this.left,"px"),"".concat(this.top,"px"),"".concat(this.right,"px"),"".concat(null!==(e=this.bottom)&&void 0!==e?e:this.end,"px")]},t.prototype.reset=function(){this.left=0,this.right=0,this.top=0,this.bottom=0,this.start=0,this.end=0},t.prototype.along=function(t){switch(t.axis){case a.Horizontal:return this.reset(),this.left=this.horizontal,this.right=this.horizontal,this.start=this.horizontal,this.end=this.horizontal,this;case a.Vertical:return this.reset(),this.top=this.vertical,this.start=this.vertical,this.end=this.vertical,this.bottom=this.vertical,this}},t.prototype.infinity=function(){return this.bottom="100%",this.end="100%",this.left="100%",this.right="100%",this.top="100%",this},t}(),T=new(function(t){function e(e){return t.call(this,e)||this}return v(e,t),e.prototype.only=function(t){return new R({left:t.left,top:t.top,right:t.right,bottom:t.bottom})},e.prototype.all=function(t){return this.symmetric({vertical:t,horizontal:t})},e.prototype.symmetric=function(t){return this.reset(),this.only({left:t.vertical,right:t.vertical,top:t.horizontal,bottom:t.horizontal})},e}(R))({propertie:"padding"}),m=new(function(){function t(){this.zero=this.circular(0)}return t.prototype.circular=function(t){return this.value="".concat(t,"px"),this},t.prototype.elliptical=function(t){return this.value="".concat(t,"%"),this},t}()),w=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.prototype.only=function(t){var e,o,i,h,n,r,s,a;return this.topLeft=t.topLeft,this.topRight=t.topRight,this.bottomLeft=t.bottomLeft,this.bottomRight=t.bottomRight,this.value=[null!==(o=null===(e=this.topLeft)||void 0===e?void 0:e.value)&&void 0!==o?o:"0px",null!==(h=null===(i=this.topRight)||void 0===i?void 0:i.value)&&void 0!==h?h:"0px",null!==(r=null===(n=this.bottomLeft)||void 0===n?void 0:n.value)&&void 0!==r?r:"0px",null!==(a=null===(s=this.bottomRight)||void 0===s?void 0:s.value)&&void 0!==a?a:"0px"],console.warn(this.value),this},e.prototype.all=function(t){return this.only({topLeft:t,topRight:t,bottomLeft:t,bottomRight:t})},e.prototype.circular=function(t){return this.all(m.circular(t))},e.prototype.vertical=function(t){var e,o,i,h;return console.warn("vertical",t.top,t.bottom),this.only({topLeft:null!==(e=t.top)&&void 0!==e?e:m.zero,topRight:null!==(o=t.top)&&void 0!==o?o:m.zero,bottomLeft:null!==(i=t.bottom)&&void 0!==i?i:m.zero,bottomRight:null!==(h=t.bottom)&&void 0!==h?h:m.zero})},e.prototype.horizontal=function(t){var e,o,i,h;return this.only({topLeft:null!==(e=t.left)&&void 0!==e?e:m.zero,topRight:null!==(o=t.right)&&void 0!==o?o:m.zero,bottomLeft:null!==(i=t.left)&&void 0!==i?i:m.zero,bottomRight:null!==(h=t.right)&&void 0!==h?h:m.zero})},e}((function(){}))),function(t){t.start="flex-start",t.end="flex-end",t.center="center",t.spaceBetween="space-between",t.spaceAround="space-around",t.spaceEvenly="space-evenly"}(b||(b={})),function(t){t.start="start",t.end="end",t.center="center",t.spaceAround="stretch",t.spaceEvenly="items-stretch"}(d||(d={}));var _,S,O,j=function(){function t(t){this._props=t}return t.prototype.apply=function(t){for(var e in this._props){var o=e;t.tag.style[e]=this._props[o],console.log("FROM CSS",e,":",t.tag.style[e])}return t},t}();!function(t){t.centimeters="cm",t.millimeters="mm",t.inches="in",t.pixels="px",t.points="pt",t.picas="pc"}(_||(_={})),(O=S||(S={})).em="em",O.ex="ex",O.ch="ch",O.rem="rem",O.vw="vw",O.vmin="vmin",O.vmax="vmax",O["%"]="%";var A=function(){function t(){}return t.prototype.extractCss=function(t){var e=t.tag.getAttribute("style");return'[key="'.concat(t.tag.getAttribute("key"),'"]{\n\t').concat(null==e?void 0:e.split("; ").join(";\n\t"),"\n}\n")},t}(),C=function(){function t(){}return t.prototype.fromValue=function(t){return t},t.prototype.uuidv4=function(){var t=(new Date).getTime(),e="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(o){var i=16*Math.random();return t>0?(i=(t+i)%16|0,t=Math.floor(t/16)):(i=(e+i)%16|0,e=Math.floor(e/16)),("x"===o?i:3&i|8).toString(16)}))},t.prototype.uid=function(){return Math.round(Math.random()*Math.pow(36,6)).toString(36)},t}(),z=function(){return z=Object.assign||function(t){for(var e,o=1,i=arguments.length;o0&&(this.tag.textContent=t.text)},t.prototype.appendChild=function(t){var e;null===(e=this.tag)||void 0===e||e.appendChild(t)},t}();const B=k;var P=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();!function(t){function e(e){var o,i=this;return(i=t.call(this,{tagName:"div",children:[e.home],css:new j({background:l.Gray[100].value})})||this).title=e.title,i.theme=e.theme,i.home=e.home,i.tag.style.width="100vw",i.tag.style.height="100vh",i.classes=e.classes,document.title=null!==(o=e.title)&&void 0!==o?o:document.title,e.mounted&&e.mounted(),i}P(e,t),e.prototype.build=function(){return document.body.outerHTML}}(k);var N=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),L=function(t){function e(e){return t.call(this,e)||this}return N(e,t),e.prototype.topLeft=function(){return new e({x:-1,y:-1})},e.prototype.topCenter=function(){return new e({x:0,y:-1})},e.prototype.topRight=function(){return new e({x:1,y:-1})},e.prototype.centerLeft=function(){return new e({x:-1,y:0})},e.prototype.center=function(){return new e({x:0,y:0})},e.prototype.centerRight=function(){return new e({x:1,y:0})},e.prototype.bottomLeft=function(){return new e({x:-1,y:1})},e.prototype.bottomCenter=function(){return new e({x:0,y:1})},e.prototype.bottomRight=function(){return new e({x:1,y:1})},e.prototype.add=function(e){return t.prototype.add.call(this,e)},e}(function(){function t(t){this.x=t.x,this.y=t.y,this.val="".concat(this.x," ").concat(this.y)}return t.prototype.negative=function(){return new t({x:-1*this.x,y:-1*this.y})},t.prototype.add=function(e){return new t({x:this.x+e.x,y:this.y+e.y})},t.prototype.multiply=function(e){return new t({x:this.x*e.x,y:this.y*e.y})},t.prototype.divide=function(e){return new t({x:this.x/e.x,y:this.y/e.y})},t}()),E=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),F=function(t){function e(e){var o,i;return t.call(this,{tagName:"div",children:e.children,css:new j({display:"flex",flexDirection:"row",justifyContent:null!==(o=e.mainAxisAlignment)&&void 0!==o?o:b.start,alignItems:null!==(i=e.crossAxisAlignment)&&void 0!==i?i:d.start})})||this}return E(e,t),e}(B);function G(t){return new F(t)}var D,M=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();M((function(t){var e=D.call(this,{key:t.key,tagName:"button",child:G({children:[t.icon,t.label],mainAxisAlignment:b.center,crossAxisAlignment:d.center}),boxDecoration:t.boxDecoration,padding:t.padding})||this;return e.padding=T.all(8),e.alignment=new L({}).center(),e.alignment=t.alignment,e.iconSize=t.iconSize,e.splashRadius=t.splashRadius,e.color=t.color,e.focusColor=t.focusColor,e.hoverColor=t.hoverColor,e.highlightColor=t.highlightColor,e.splashColor=t.splashColor,e.disabledColor=t.disabledColor,e.onPressed=t.onPressed,e.autofocus=t.autofocus,e.tooltip=t.tooltip,e.icon=t.icon,e.label=t.label,e.tag.addEventListener("click",(function(t){e.onPressed(t)})),e}),D=k);var I=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();!function(t){I((function(e){var o,i;return t.call(this,{tagName:"div",children:e.children,css:new j({display:"flex",flexDirection:"column",justifyContent:null!==(o=e.mainAxisAlignment)&&void 0!==o?o:(new y).invertFlex(b.start),alignItems:null!==(i=e.crossAxisAlignment)&&void 0!==i?i:(new y).invertFlex(d.start)})})||this}),t)}(B);var W=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},t(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),H=function(){return H=Object.assign||function(t){for(var e,o=1,i=arguments.length;o