diff --git a/docs/dochack.js b/docs/dochack.js index efd861b..fc79c1e 100644 --- a/docs/dochack.js +++ b/docs/dochack.js @@ -1,777 +1,143 @@ -/* Generated by the Nim Compiler v1.6.6 */ +/* Generated by the Nim Compiler v2.0.8 */ var framePtr = null; var excHandler = 0; var lastJSError = null; -var NTI620757006 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI469762606 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979899 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979898 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979897 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979896 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979895 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979894 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979893 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979892 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979891 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979890 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979889 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979888 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979887 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979886 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979885 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979884 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979883 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979882 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979881 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979880 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979879 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979878 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979877 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979876 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979781 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979825 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979824 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979964 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979961 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI603979960 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI603979873 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979963 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI603979874 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979813 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979812 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979925 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979815 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979814 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979924 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979923 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979823 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979822 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979922 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979921 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979817 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979816 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979920 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979927 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979819 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979818 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979926 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI33554456 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI603979930 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979821 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979820 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; var NTI33554466 = {size: 0,kind: 1,base: null,node: null,finalizer: null}; -var NTI603979794 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979793 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979801 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979800 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979799 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979798 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603979795 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI603979919 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979918 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979917 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI603979797 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI603979796 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI603980220 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI33555124 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555128 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555130 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555083 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555165 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI33554439 = {size: 0,kind: 28,base: null,node: null,finalizer: null}; -var NTI33554440 = {size: 0,kind: 29,base: null,node: null,finalizer: null}; -var NTI33555164 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI33555112 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555113 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555120 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555122 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NNI33555122 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555122.node = NNI33555122; -var NNI33555120 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555120.node = NNI33555120; -var NNI33555113 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555113.node = NNI33555113; -NTI33555164.base = NTI33555112; -NTI33555165.base = NTI33555112; -var NNI33555112 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI33555164, name: "parent", sons: null}, -{kind: 1, offset: "name", len: 0, typ: NTI33554440, name: "name", sons: null}, -{kind: 1, offset: "message", len: 0, typ: NTI33554439, name: "msg", sons: null}, -{kind: 1, offset: "trace", len: 0, typ: NTI33554439, name: "trace", sons: null}, -{kind: 1, offset: "up", len: 0, typ: NTI33555165, name: "up", sons: null}]}; -NTI33555112.node = NNI33555112; -var NNI33555083 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555083.node = NNI33555083; -NTI33555112.base = NTI33555083; -NTI33555113.base = NTI33555112; -NTI33555120.base = NTI33555113; -NTI33555122.base = NTI33555120; -var NNI33555130 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555130.node = NNI33555130; -NTI33555130.base = NTI33555113; -var NNI33555128 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555128.node = NNI33555128; -NTI33555128.base = NTI33555113; -var NNI33555124 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555124.node = NNI33555124; -NTI33555124.base = NTI33555113; -NTI603979917.base = NTI603979796; -NTI603979918.base = NTI603979796; -NTI603979919.base = NTI603979796; -var NNI603979795 = {kind: 2, offset: 0, typ: null, name: null, len: 12, sons: {"1": {kind: 1, offset: 1, typ: NTI603979795, name: "ElementNode", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI603979795, name: "AttributeNode", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI603979795, name: "TextNode", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI603979795, name: "CDATANode", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI603979795, name: "EntityRefNode", len: 0, sons: null}, -"6": {kind: 1, offset: 6, typ: NTI603979795, name: "EntityNode", len: 0, sons: null}, -"7": {kind: 1, offset: 7, typ: NTI603979795, name: "ProcessingInstructionNode", len: 0, sons: null}, -"8": {kind: 1, offset: 8, typ: NTI603979795, name: "CommentNode", len: 0, sons: null}, -"9": {kind: 1, offset: 9, typ: NTI603979795, name: "DocumentNode", len: 0, sons: null}, -"10": {kind: 1, offset: 10, typ: NTI603979795, name: "DocumentTypeNode", len: 0, sons: null}, -"11": {kind: 1, offset: 11, typ: NTI603979795, name: "DocumentFragmentNode", len: 0, sons: null}, -"12": {kind: 1, offset: 12, typ: NTI603979795, name: "NotationNode", len: 0, sons: null}}}; -NTI603979795.node = NNI603979795; -var NNI603979794 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI603979794.node = NNI603979794; -NTI603979794.base = NTI33555083; -NTI603979793.base = NTI603979794; -NTI603979930.base = NTI603979800; -var NNI603979821 = {kind: 2, len: 10, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "acceptCharset", len: 0, typ: NTI33554440, name: "acceptCharset", sons: null}, -{kind: 1, offset: "action", len: 0, typ: NTI33554440, name: "action", sons: null}, -{kind: 1, offset: "autocomplete", len: 0, typ: NTI33554440, name: "autocomplete", sons: null}, -{kind: 1, offset: "elements", len: 0, typ: NTI603979930, name: "elements", sons: null}, -{kind: 1, offset: "encoding", len: 0, typ: NTI33554440, name: "encoding", sons: null}, -{kind: 1, offset: "enctype", len: 0, typ: NTI33554440, name: "enctype", sons: null}, -{kind: 1, offset: "length", len: 0, typ: NTI33554456, name: "length", sons: null}, -{kind: 1, offset: "method", len: 0, typ: NTI33554440, name: "method", sons: null}, -{kind: 1, offset: "noValidate", len: 0, typ: NTI33554466, name: "noValidate", sons: null}, -{kind: 1, offset: "target", len: 0, typ: NTI33554440, name: "target", sons: null}]}; -NTI603979821.node = NNI603979821; -NTI603979821.base = NTI603979801; -NTI603979820.base = NTI603979821; -var NNI603979819 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "defaultSelected", len: 0, typ: NTI33554466, name: "defaultSelected", sons: null}, -{kind: 1, offset: "selected", len: 0, typ: NTI33554466, name: "selected", sons: null}, -{kind: 1, offset: "selectedIndex", len: 0, typ: NTI33554456, name: "selectedIndex", sons: null}, -{kind: 1, offset: "text", len: 0, typ: NTI33554440, name: "text", sons: null}, -{kind: 1, offset: "value", len: 0, typ: NTI33554440, name: "value", sons: null}]}; -NTI603979819.node = NNI603979819; -NTI603979819.base = NTI603979801; -NTI603979818.base = NTI603979819; -NTI603979926.base = NTI603979818; -NTI603979927.base = NTI603979818; -var NNI603979801 = {kind: 2, len: 20, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "className", len: 0, typ: NTI33554440, name: "className", sons: null}, -{kind: 1, offset: "classList", len: 0, typ: NTI603979793, name: "classList", sons: null}, -{kind: 1, offset: "checked", len: 0, typ: NTI33554466, name: "checked", sons: null}, -{kind: 1, offset: "defaultChecked", len: 0, typ: NTI33554466, name: "defaultChecked", sons: null}, -{kind: 1, offset: "defaultValue", len: 0, typ: NTI33554440, name: "defaultValue", sons: null}, -{kind: 1, offset: "disabled", len: 0, typ: NTI33554466, name: "disabled", sons: null}, -{kind: 1, offset: "form", len: 0, typ: NTI603979820, name: "form", sons: null}, -{kind: 1, offset: "name", len: 0, typ: NTI33554440, name: "name", sons: null}, -{kind: 1, offset: "readOnly", len: 0, typ: NTI33554466, name: "readOnly", sons: null}, -{kind: 1, offset: "options", len: 0, typ: NTI603979926, name: "options", sons: null}, -{kind: 1, offset: "selectedOptions", len: 0, typ: NTI603979927, name: "selectedOptions", sons: null}, -{kind: 1, offset: "clientWidth", len: 0, typ: NTI33554456, name: "clientWidth", sons: null}, -{kind: 1, offset: "clientHeight", len: 0, typ: NTI33554456, name: "clientHeight", sons: null}, -{kind: 1, offset: "contentEditable", len: 0, typ: NTI33554440, name: "contentEditable", sons: null}, -{kind: 1, offset: "isContentEditable", len: 0, typ: NTI33554466, name: "isContentEditable", sons: null}, -{kind: 1, offset: "dir", len: 0, typ: NTI33554440, name: "dir", sons: null}, -{kind: 1, offset: "offsetHeight", len: 0, typ: NTI33554456, name: "offsetHeight", sons: null}, -{kind: 1, offset: "offsetWidth", len: 0, typ: NTI33554456, name: "offsetWidth", sons: null}, -{kind: 1, offset: "offsetLeft", len: 0, typ: NTI33554456, name: "offsetLeft", sons: null}, -{kind: 1, offset: "offsetTop", len: 0, typ: NTI33554456, name: "offsetTop", sons: null}]}; -NTI603979801.node = NNI603979801; -NTI603979801.base = NTI603979797; -NTI603979800.base = NTI603979801; -var NNI603979817 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "text", len: 0, typ: NTI33554440, name: "text", sons: null}, -{kind: 1, offset: "x", len: 0, typ: NTI33554456, name: "x", sons: null}, -{kind: 1, offset: "y", len: 0, typ: NTI33554456, name: "y", sons: null}]}; -NTI603979817.node = NNI603979817; -NTI603979817.base = NTI603979801; -NTI603979816.base = NTI603979817; -NTI603979920.base = NTI603979816; -NTI603979921.base = NTI603979820; -var NNI603979823 = {kind: 2, len: 8, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "border", len: 0, typ: NTI33554456, name: "border", sons: null}, -{kind: 1, offset: "complete", len: 0, typ: NTI33554466, name: "complete", sons: null}, -{kind: 1, offset: "height", len: 0, typ: NTI33554456, name: "height", sons: null}, -{kind: 1, offset: "hspace", len: 0, typ: NTI33554456, name: "hspace", sons: null}, -{kind: 1, offset: "lowsrc", len: 0, typ: NTI33554440, name: "lowsrc", sons: null}, -{kind: 1, offset: "src", len: 0, typ: NTI33554440, name: "src", sons: null}, -{kind: 1, offset: "vspace", len: 0, typ: NTI33554456, name: "vspace", sons: null}, -{kind: 1, offset: "width", len: 0, typ: NTI33554456, name: "width", sons: null}]}; -NTI603979823.node = NNI603979823; -NTI603979823.base = NTI603979801; -NTI603979822.base = NTI603979823; -NTI603979922.base = NTI603979822; -NTI603979923.base = NTI603979800; -var NNI603979815 = {kind: 2, len: 6, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "height", len: 0, typ: NTI33554456, name: "height", sons: null}, -{kind: 1, offset: "hspace", len: 0, typ: NTI33554456, name: "hspace", sons: null}, -{kind: 1, offset: "src", len: 0, typ: NTI33554440, name: "src", sons: null}, -{kind: 1, offset: "width", len: 0, typ: NTI33554456, name: "width", sons: null}, -{kind: 1, offset: "type", len: 0, typ: NTI33554440, name: "type", sons: null}, -{kind: 1, offset: "vspace", len: 0, typ: NTI33554456, name: "vspace", sons: null}]}; -NTI603979815.node = NNI603979815; -NTI603979815.base = NTI603979801; -NTI603979814.base = NTI603979815; -NTI603979924.base = NTI603979814; -var NNI603979813 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "target", len: 0, typ: NTI33554440, name: "target", sons: null}, -{kind: 1, offset: "text", len: 0, typ: NTI33554440, name: "text", sons: null}, -{kind: 1, offset: "x", len: 0, typ: NTI33554456, name: "x", sons: null}, -{kind: 1, offset: "y", len: 0, typ: NTI33554456, name: "y", sons: null}]}; -NTI603979813.node = NNI603979813; -NTI603979813.base = NTI603979801; -NTI603979812.base = NTI603979813; -NTI603979925.base = NTI603979812; -var NNI603979960 = {kind: 1, offset: "then", len: 0, typ: NTI603979961, name: "then", sons: null}; -NTI603979960.node = NNI603979960; -NTI603979873.base = NTI603979960; -var NNI603979963 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "ready", len: 0, typ: NTI603979873, name: "ready", sons: null}, -{kind: 1, offset: "onloadingdone", len: 0, typ: NTI603979964, name: "onloadingdone", sons: null}]}; -NTI603979963.node = NNI603979963; -NTI603979874.base = NTI603979963; -var NNI603979799 = {kind: 2, len: 23, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "activeElement", len: 0, typ: NTI603979800, name: "activeElement", sons: null}, -{kind: 1, offset: "documentElement", len: 0, typ: NTI603979800, name: "documentElement", sons: null}, -{kind: 1, offset: "alinkColor", len: 0, typ: NTI33554440, name: "alinkColor", sons: null}, -{kind: 1, offset: "bgColor", len: 0, typ: NTI33554440, name: "bgColor", sons: null}, -{kind: 1, offset: "body", len: 0, typ: NTI603979800, name: "body", sons: null}, -{kind: 1, offset: "charset", len: 0, typ: NTI33554440, name: "charset", sons: null}, -{kind: 1, offset: "cookie", len: 0, typ: NTI33554440, name: "cookie", sons: null}, -{kind: 1, offset: "defaultCharset", len: 0, typ: NTI33554440, name: "defaultCharset", sons: null}, -{kind: 1, offset: "fgColor", len: 0, typ: NTI33554440, name: "fgColor", sons: null}, -{kind: 1, offset: "head", len: 0, typ: NTI603979800, name: "head", sons: null}, -{kind: 1, offset: "lastModified", len: 0, typ: NTI33554440, name: "lastModified", sons: null}, -{kind: 1, offset: "linkColor", len: 0, typ: NTI33554440, name: "linkColor", sons: null}, -{kind: 1, offset: "referrer", len: 0, typ: NTI33554440, name: "referrer", sons: null}, -{kind: 1, offset: "title", len: 0, typ: NTI33554440, name: "title", sons: null}, -{kind: 1, offset: "URL", len: 0, typ: NTI33554440, name: "URL", sons: null}, -{kind: 1, offset: "vlinkColor", len: 0, typ: NTI33554440, name: "vlinkColor", sons: null}, -{kind: 1, offset: "anchors", len: 0, typ: NTI603979920, name: "anchors", sons: null}, -{kind: 1, offset: "forms", len: 0, typ: NTI603979921, name: "forms", sons: null}, -{kind: 1, offset: "images", len: 0, typ: NTI603979922, name: "images", sons: null}, -{kind: 1, offset: "applets", len: 0, typ: NTI603979923, name: "applets", sons: null}, -{kind: 1, offset: "embeds", len: 0, typ: NTI603979924, name: "embeds", sons: null}, -{kind: 1, offset: "links", len: 0, typ: NTI603979925, name: "links", sons: null}, -{kind: 1, offset: "fonts", len: 0, typ: NTI603979874, name: "fonts", sons: null}]}; -NTI603979799.node = NNI603979799; -NTI603979799.base = NTI603979797; -NTI603979798.base = NTI603979799; -var NNI603979825 = {kind: 2, len: 368, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "alignContent", len: 0, typ: NTI33554440, name: "alignContent", sons: null}, -{kind: 1, offset: "alignItems", len: 0, typ: NTI33554440, name: "alignItems", sons: null}, -{kind: 1, offset: "alignSelf", len: 0, typ: NTI33554440, name: "alignSelf", sons: null}, -{kind: 1, offset: "all", len: 0, typ: NTI33554440, name: "all", sons: null}, -{kind: 1, offset: "animation", len: 0, typ: NTI33554440, name: "animation", sons: null}, -{kind: 1, offset: "animationDelay", len: 0, typ: NTI33554440, name: "animationDelay", sons: null}, -{kind: 1, offset: "animationDirection", len: 0, typ: NTI33554440, name: "animationDirection", sons: null}, -{kind: 1, offset: "animationDuration", len: 0, typ: NTI33554440, name: "animationDuration", sons: null}, -{kind: 1, offset: "animationFillMode", len: 0, typ: NTI33554440, name: "animationFillMode", sons: null}, -{kind: 1, offset: "animationIterationCount", len: 0, typ: NTI33554440, name: "animationIterationCount", sons: null}, -{kind: 1, offset: "animationName", len: 0, typ: NTI33554440, name: "animationName", sons: null}, -{kind: 1, offset: "animationPlayState", len: 0, typ: NTI33554440, name: "animationPlayState", sons: null}, -{kind: 1, offset: "animationTimingFunction", len: 0, typ: NTI33554440, name: "animationTimingFunction", sons: null}, -{kind: 1, offset: "backdropFilter", len: 0, typ: NTI33554440, name: "backdropFilter", sons: null}, -{kind: 1, offset: "backfaceVisibility", len: 0, typ: NTI33554440, name: "backfaceVisibility", sons: null}, -{kind: 1, offset: "background", len: 0, typ: NTI33554440, name: "background", sons: null}, -{kind: 1, offset: "backgroundAttachment", len: 0, typ: NTI33554440, name: "backgroundAttachment", sons: null}, -{kind: 1, offset: "backgroundBlendMode", len: 0, typ: NTI33554440, name: "backgroundBlendMode", sons: null}, -{kind: 1, offset: "backgroundClip", len: 0, typ: NTI33554440, name: "backgroundClip", sons: null}, -{kind: 1, offset: "backgroundColor", len: 0, typ: NTI33554440, name: "backgroundColor", sons: null}, -{kind: 1, offset: "backgroundImage", len: 0, typ: NTI33554440, name: "backgroundImage", sons: null}, -{kind: 1, offset: "backgroundOrigin", len: 0, typ: NTI33554440, name: "backgroundOrigin", sons: null}, -{kind: 1, offset: "backgroundPosition", len: 0, typ: NTI33554440, name: "backgroundPosition", sons: null}, -{kind: 1, offset: "backgroundRepeat", len: 0, typ: NTI33554440, name: "backgroundRepeat", sons: null}, -{kind: 1, offset: "backgroundSize", len: 0, typ: NTI33554440, name: "backgroundSize", sons: null}, -{kind: 1, offset: "blockSize", len: 0, typ: NTI33554440, name: "blockSize", sons: null}, -{kind: 1, offset: "border", len: 0, typ: NTI33554440, name: "border", sons: null}, -{kind: 1, offset: "borderBlock", len: 0, typ: NTI33554440, name: "borderBlock", sons: null}, -{kind: 1, offset: "borderBlockColor", len: 0, typ: NTI33554440, name: "borderBlockColor", sons: null}, -{kind: 1, offset: "borderBlockEnd", len: 0, typ: NTI33554440, name: "borderBlockEnd", sons: null}, -{kind: 1, offset: "borderBlockEndColor", len: 0, typ: NTI33554440, name: "borderBlockEndColor", sons: null}, -{kind: 1, offset: "borderBlockEndStyle", len: 0, typ: NTI33554440, name: "borderBlockEndStyle", sons: null}, -{kind: 1, offset: "borderBlockEndWidth", len: 0, typ: NTI33554440, name: "borderBlockEndWidth", sons: null}, -{kind: 1, offset: "borderBlockStart", len: 0, typ: NTI33554440, name: "borderBlockStart", sons: null}, -{kind: 1, offset: "borderBlockStartColor", len: 0, typ: NTI33554440, name: "borderBlockStartColor", sons: null}, -{kind: 1, offset: "borderBlockStartStyle", len: 0, typ: NTI33554440, name: "borderBlockStartStyle", sons: null}, -{kind: 1, offset: "borderBlockStartWidth", len: 0, typ: NTI33554440, name: "borderBlockStartWidth", sons: null}, -{kind: 1, offset: "borderBlockStyle", len: 0, typ: NTI33554440, name: "borderBlockStyle", sons: null}, -{kind: 1, offset: "borderBlockWidth", len: 0, typ: NTI33554440, name: "borderBlockWidth", sons: null}, -{kind: 1, offset: "borderBottom", len: 0, typ: NTI33554440, name: "borderBottom", sons: null}, -{kind: 1, offset: "borderBottomColor", len: 0, typ: NTI33554440, name: "borderBottomColor", sons: null}, -{kind: 1, offset: "borderBottomLeftRadius", len: 0, typ: NTI33554440, name: "borderBottomLeftRadius", sons: null}, -{kind: 1, offset: "borderBottomRightRadius", len: 0, typ: NTI33554440, name: "borderBottomRightRadius", sons: null}, -{kind: 1, offset: "borderBottomStyle", len: 0, typ: NTI33554440, name: "borderBottomStyle", sons: null}, -{kind: 1, offset: "borderBottomWidth", len: 0, typ: NTI33554440, name: "borderBottomWidth", sons: null}, -{kind: 1, offset: "borderCollapse", len: 0, typ: NTI33554440, name: "borderCollapse", sons: null}, -{kind: 1, offset: "borderColor", len: 0, typ: NTI33554440, name: "borderColor", sons: null}, -{kind: 1, offset: "borderEndEndRadius", len: 0, typ: NTI33554440, name: "borderEndEndRadius", sons: null}, -{kind: 1, offset: "borderEndStartRadius", len: 0, typ: NTI33554440, name: "borderEndStartRadius", sons: null}, -{kind: 1, offset: "borderImage", len: 0, typ: NTI33554440, name: "borderImage", sons: null}, -{kind: 1, offset: "borderImageOutset", len: 0, typ: NTI33554440, name: "borderImageOutset", sons: null}, -{kind: 1, offset: "borderImageRepeat", len: 0, typ: NTI33554440, name: "borderImageRepeat", sons: null}, -{kind: 1, offset: "borderImageSlice", len: 0, typ: NTI33554440, name: "borderImageSlice", sons: null}, -{kind: 1, offset: "borderImageSource", len: 0, typ: NTI33554440, name: "borderImageSource", sons: null}, -{kind: 1, offset: "borderImageWidth", len: 0, typ: NTI33554440, name: "borderImageWidth", sons: null}, -{kind: 1, offset: "borderInline", len: 0, typ: NTI33554440, name: "borderInline", sons: null}, -{kind: 1, offset: "borderInlineColor", len: 0, typ: NTI33554440, name: "borderInlineColor", sons: null}, -{kind: 1, offset: "borderInlineEnd", len: 0, typ: NTI33554440, name: "borderInlineEnd", sons: null}, -{kind: 1, offset: "borderInlineEndColor", len: 0, typ: NTI33554440, name: "borderInlineEndColor", sons: null}, -{kind: 1, offset: "borderInlineEndStyle", len: 0, typ: NTI33554440, name: "borderInlineEndStyle", sons: null}, -{kind: 1, offset: "borderInlineEndWidth", len: 0, typ: NTI33554440, name: "borderInlineEndWidth", sons: null}, -{kind: 1, offset: "borderInlineStart", len: 0, typ: NTI33554440, name: "borderInlineStart", sons: null}, -{kind: 1, offset: "borderInlineStartColor", len: 0, typ: NTI33554440, name: "borderInlineStartColor", sons: null}, -{kind: 1, offset: "borderInlineStartStyle", len: 0, typ: NTI33554440, name: "borderInlineStartStyle", sons: null}, -{kind: 1, offset: "borderInlineStartWidth", len: 0, typ: NTI33554440, name: "borderInlineStartWidth", sons: null}, -{kind: 1, offset: "borderInlineStyle", len: 0, typ: NTI33554440, name: "borderInlineStyle", sons: null}, -{kind: 1, offset: "borderInlineWidth", len: 0, typ: NTI33554440, name: "borderInlineWidth", sons: null}, -{kind: 1, offset: "borderLeft", len: 0, typ: NTI33554440, name: "borderLeft", sons: null}, -{kind: 1, offset: "borderLeftColor", len: 0, typ: NTI33554440, name: "borderLeftColor", sons: null}, -{kind: 1, offset: "borderLeftStyle", len: 0, typ: NTI33554440, name: "borderLeftStyle", sons: null}, -{kind: 1, offset: "borderLeftWidth", len: 0, typ: NTI33554440, name: "borderLeftWidth", sons: null}, -{kind: 1, offset: "borderRadius", len: 0, typ: NTI33554440, name: "borderRadius", sons: null}, -{kind: 1, offset: "borderRight", len: 0, typ: NTI33554440, name: "borderRight", sons: null}, -{kind: 1, offset: "borderRightColor", len: 0, typ: NTI33554440, name: "borderRightColor", sons: null}, -{kind: 1, offset: "borderRightStyle", len: 0, typ: NTI33554440, name: "borderRightStyle", sons: null}, -{kind: 1, offset: "borderRightWidth", len: 0, typ: NTI33554440, name: "borderRightWidth", sons: null}, -{kind: 1, offset: "borderSpacing", len: 0, typ: NTI33554440, name: "borderSpacing", sons: null}, -{kind: 1, offset: "borderStartEndRadius", len: 0, typ: NTI33554440, name: "borderStartEndRadius", sons: null}, -{kind: 1, offset: "borderStartStartRadius", len: 0, typ: NTI33554440, name: "borderStartStartRadius", sons: null}, -{kind: 1, offset: "borderStyle", len: 0, typ: NTI33554440, name: "borderStyle", sons: null}, -{kind: 1, offset: "borderTop", len: 0, typ: NTI33554440, name: "borderTop", sons: null}, -{kind: 1, offset: "borderTopColor", len: 0, typ: NTI33554440, name: "borderTopColor", sons: null}, -{kind: 1, offset: "borderTopLeftRadius", len: 0, typ: NTI33554440, name: "borderTopLeftRadius", sons: null}, -{kind: 1, offset: "borderTopRightRadius", len: 0, typ: NTI33554440, name: "borderTopRightRadius", sons: null}, -{kind: 1, offset: "borderTopStyle", len: 0, typ: NTI33554440, name: "borderTopStyle", sons: null}, -{kind: 1, offset: "borderTopWidth", len: 0, typ: NTI33554440, name: "borderTopWidth", sons: null}, -{kind: 1, offset: "borderWidth", len: 0, typ: NTI33554440, name: "borderWidth", sons: null}, -{kind: 1, offset: "bottom", len: 0, typ: NTI33554440, name: "bottom", sons: null}, -{kind: 1, offset: "boxDecorationBreak", len: 0, typ: NTI33554440, name: "boxDecorationBreak", sons: null}, -{kind: 1, offset: "boxShadow", len: 0, typ: NTI33554440, name: "boxShadow", sons: null}, -{kind: 1, offset: "boxSizing", len: 0, typ: NTI33554440, name: "boxSizing", sons: null}, -{kind: 1, offset: "breakAfter", len: 0, typ: NTI33554440, name: "breakAfter", sons: null}, -{kind: 1, offset: "breakBefore", len: 0, typ: NTI33554440, name: "breakBefore", sons: null}, -{kind: 1, offset: "breakInside", len: 0, typ: NTI33554440, name: "breakInside", sons: null}, -{kind: 1, offset: "captionSide", len: 0, typ: NTI33554440, name: "captionSide", sons: null}, -{kind: 1, offset: "caretColor", len: 0, typ: NTI33554440, name: "caretColor", sons: null}, -{kind: 1, offset: "clear", len: 0, typ: NTI33554440, name: "clear", sons: null}, -{kind: 1, offset: "clip", len: 0, typ: NTI33554440, name: "clip", sons: null}, -{kind: 1, offset: "clipPath", len: 0, typ: NTI33554440, name: "clipPath", sons: null}, -{kind: 1, offset: "color", len: 0, typ: NTI33554440, name: "color", sons: null}, -{kind: 1, offset: "colorAdjust", len: 0, typ: NTI33554440, name: "colorAdjust", sons: null}, -{kind: 1, offset: "columnCount", len: 0, typ: NTI33554440, name: "columnCount", sons: null}, -{kind: 1, offset: "columnFill", len: 0, typ: NTI33554440, name: "columnFill", sons: null}, -{kind: 1, offset: "columnGap", len: 0, typ: NTI33554440, name: "columnGap", sons: null}, -{kind: 1, offset: "columnRule", len: 0, typ: NTI33554440, name: "columnRule", sons: null}, -{kind: 1, offset: "columnRuleColor", len: 0, typ: NTI33554440, name: "columnRuleColor", sons: null}, -{kind: 1, offset: "columnRuleStyle", len: 0, typ: NTI33554440, name: "columnRuleStyle", sons: null}, -{kind: 1, offset: "columnRuleWidth", len: 0, typ: NTI33554440, name: "columnRuleWidth", sons: null}, -{kind: 1, offset: "columnSpan", len: 0, typ: NTI33554440, name: "columnSpan", sons: null}, -{kind: 1, offset: "columnWidth", len: 0, typ: NTI33554440, name: "columnWidth", sons: null}, -{kind: 1, offset: "columns", len: 0, typ: NTI33554440, name: "columns", sons: null}, -{kind: 1, offset: "contain", len: 0, typ: NTI33554440, name: "contain", sons: null}, -{kind: 1, offset: "content", len: 0, typ: NTI33554440, name: "content", sons: null}, -{kind: 1, offset: "counterIncrement", len: 0, typ: NTI33554440, name: "counterIncrement", sons: null}, -{kind: 1, offset: "counterReset", len: 0, typ: NTI33554440, name: "counterReset", sons: null}, -{kind: 1, offset: "counterSet", len: 0, typ: NTI33554440, name: "counterSet", sons: null}, -{kind: 1, offset: "cursor", len: 0, typ: NTI33554440, name: "cursor", sons: null}, -{kind: 1, offset: "direction", len: 0, typ: NTI33554440, name: "direction", sons: null}, -{kind: 1, offset: "display", len: 0, typ: NTI33554440, name: "display", sons: null}, -{kind: 1, offset: "emptyCells", len: 0, typ: NTI33554440, name: "emptyCells", sons: null}, -{kind: 1, offset: "filter", len: 0, typ: NTI33554440, name: "filter", sons: null}, -{kind: 1, offset: "flex", len: 0, typ: NTI33554440, name: "flex", sons: null}, -{kind: 1, offset: "flexBasis", len: 0, typ: NTI33554440, name: "flexBasis", sons: null}, -{kind: 1, offset: "flexDirection", len: 0, typ: NTI33554440, name: "flexDirection", sons: null}, -{kind: 1, offset: "flexFlow", len: 0, typ: NTI33554440, name: "flexFlow", sons: null}, -{kind: 1, offset: "flexGrow", len: 0, typ: NTI33554440, name: "flexGrow", sons: null}, -{kind: 1, offset: "flexShrink", len: 0, typ: NTI33554440, name: "flexShrink", sons: null}, -{kind: 1, offset: "flexWrap", len: 0, typ: NTI33554440, name: "flexWrap", sons: null}, -{kind: 1, offset: "cssFloat", len: 0, typ: NTI33554440, name: "cssFloat", sons: null}, -{kind: 1, offset: "font", len: 0, typ: NTI33554440, name: "font", sons: null}, -{kind: 1, offset: "fontFamily", len: 0, typ: NTI33554440, name: "fontFamily", sons: null}, -{kind: 1, offset: "fontFeatureSettings", len: 0, typ: NTI33554440, name: "fontFeatureSettings", sons: null}, -{kind: 1, offset: "fontKerning", len: 0, typ: NTI33554440, name: "fontKerning", sons: null}, -{kind: 1, offset: "fontLanguageOverride", len: 0, typ: NTI33554440, name: "fontLanguageOverride", sons: null}, -{kind: 1, offset: "fontOpticalSizing", len: 0, typ: NTI33554440, name: "fontOpticalSizing", sons: null}, -{kind: 1, offset: "fontSize", len: 0, typ: NTI33554440, name: "fontSize", sons: null}, -{kind: 1, offset: "fontSizeAdjust", len: 0, typ: NTI33554440, name: "fontSizeAdjust", sons: null}, -{kind: 1, offset: "fontStretch", len: 0, typ: NTI33554440, name: "fontStretch", sons: null}, -{kind: 1, offset: "fontStyle", len: 0, typ: NTI33554440, name: "fontStyle", sons: null}, -{kind: 1, offset: "fontSynthesis", len: 0, typ: NTI33554440, name: "fontSynthesis", sons: null}, -{kind: 1, offset: "fontVariant", len: 0, typ: NTI33554440, name: "fontVariant", sons: null}, -{kind: 1, offset: "fontVariantAlternates", len: 0, typ: NTI33554440, name: "fontVariantAlternates", sons: null}, -{kind: 1, offset: "fontVariantCaps", len: 0, typ: NTI33554440, name: "fontVariantCaps", sons: null}, -{kind: 1, offset: "fontVariantEastAsian", len: 0, typ: NTI33554440, name: "fontVariantEastAsian", sons: null}, -{kind: 1, offset: "fontVariantLigatures", len: 0, typ: NTI33554440, name: "fontVariantLigatures", sons: null}, -{kind: 1, offset: "fontVariantNumeric", len: 0, typ: NTI33554440, name: "fontVariantNumeric", sons: null}, -{kind: 1, offset: "fontVariantPosition", len: 0, typ: NTI33554440, name: "fontVariantPosition", sons: null}, -{kind: 1, offset: "fontVariationSettings", len: 0, typ: NTI33554440, name: "fontVariationSettings", sons: null}, -{kind: 1, offset: "fontWeight", len: 0, typ: NTI33554440, name: "fontWeight", sons: null}, -{kind: 1, offset: "gap", len: 0, typ: NTI33554440, name: "gap", sons: null}, -{kind: 1, offset: "grid", len: 0, typ: NTI33554440, name: "grid", sons: null}, -{kind: 1, offset: "gridArea", len: 0, typ: NTI33554440, name: "gridArea", sons: null}, -{kind: 1, offset: "gridAutoColumns", len: 0, typ: NTI33554440, name: "gridAutoColumns", sons: null}, -{kind: 1, offset: "gridAutoFlow", len: 0, typ: NTI33554440, name: "gridAutoFlow", sons: null}, -{kind: 1, offset: "gridAutoRows", len: 0, typ: NTI33554440, name: "gridAutoRows", sons: null}, -{kind: 1, offset: "gridColumn", len: 0, typ: NTI33554440, name: "gridColumn", sons: null}, -{kind: 1, offset: "gridColumnEnd", len: 0, typ: NTI33554440, name: "gridColumnEnd", sons: null}, -{kind: 1, offset: "gridColumnStart", len: 0, typ: NTI33554440, name: "gridColumnStart", sons: null}, -{kind: 1, offset: "gridRow", len: 0, typ: NTI33554440, name: "gridRow", sons: null}, -{kind: 1, offset: "gridRowEnd", len: 0, typ: NTI33554440, name: "gridRowEnd", sons: null}, -{kind: 1, offset: "gridRowStart", len: 0, typ: NTI33554440, name: "gridRowStart", sons: null}, -{kind: 1, offset: "gridTemplate", len: 0, typ: NTI33554440, name: "gridTemplate", sons: null}, -{kind: 1, offset: "gridTemplateAreas", len: 0, typ: NTI33554440, name: "gridTemplateAreas", sons: null}, -{kind: 1, offset: "gridTemplateColumns", len: 0, typ: NTI33554440, name: "gridTemplateColumns", sons: null}, -{kind: 1, offset: "gridTemplateRows", len: 0, typ: NTI33554440, name: "gridTemplateRows", sons: null}, -{kind: 1, offset: "hangingPunctuation", len: 0, typ: NTI33554440, name: "hangingPunctuation", sons: null}, -{kind: 1, offset: "height", len: 0, typ: NTI33554440, name: "height", sons: null}, -{kind: 1, offset: "hyphens", len: 0, typ: NTI33554440, name: "hyphens", sons: null}, -{kind: 1, offset: "imageOrientation", len: 0, typ: NTI33554440, name: "imageOrientation", sons: null}, -{kind: 1, offset: "imageRendering", len: 0, typ: NTI33554440, name: "imageRendering", sons: null}, -{kind: 1, offset: "inlineSize", len: 0, typ: NTI33554440, name: "inlineSize", sons: null}, -{kind: 1, offset: "inset", len: 0, typ: NTI33554440, name: "inset", sons: null}, -{kind: 1, offset: "insetBlock", len: 0, typ: NTI33554440, name: "insetBlock", sons: null}, -{kind: 1, offset: "insetBlockEnd", len: 0, typ: NTI33554440, name: "insetBlockEnd", sons: null}, -{kind: 1, offset: "insetBlockStart", len: 0, typ: NTI33554440, name: "insetBlockStart", sons: null}, -{kind: 1, offset: "insetInline", len: 0, typ: NTI33554440, name: "insetInline", sons: null}, -{kind: 1, offset: "insetInlineEnd", len: 0, typ: NTI33554440, name: "insetInlineEnd", sons: null}, -{kind: 1, offset: "insetInlineStart", len: 0, typ: NTI33554440, name: "insetInlineStart", sons: null}, -{kind: 1, offset: "isolation", len: 0, typ: NTI33554440, name: "isolation", sons: null}, -{kind: 1, offset: "justifyContent", len: 0, typ: NTI33554440, name: "justifyContent", sons: null}, -{kind: 1, offset: "justifyItems", len: 0, typ: NTI33554440, name: "justifyItems", sons: null}, -{kind: 1, offset: "justifySelf", len: 0, typ: NTI33554440, name: "justifySelf", sons: null}, -{kind: 1, offset: "left", len: 0, typ: NTI33554440, name: "left", sons: null}, -{kind: 1, offset: "letterSpacing", len: 0, typ: NTI33554440, name: "letterSpacing", sons: null}, -{kind: 1, offset: "lineBreak", len: 0, typ: NTI33554440, name: "lineBreak", sons: null}, -{kind: 1, offset: "lineHeight", len: 0, typ: NTI33554440, name: "lineHeight", sons: null}, -{kind: 1, offset: "listStyle", len: 0, typ: NTI33554440, name: "listStyle", sons: null}, -{kind: 1, offset: "listStyleImage", len: 0, typ: NTI33554440, name: "listStyleImage", sons: null}, -{kind: 1, offset: "listStylePosition", len: 0, typ: NTI33554440, name: "listStylePosition", sons: null}, -{kind: 1, offset: "listStyleType", len: 0, typ: NTI33554440, name: "listStyleType", sons: null}, -{kind: 1, offset: "margin", len: 0, typ: NTI33554440, name: "margin", sons: null}, -{kind: 1, offset: "marginBlock", len: 0, typ: NTI33554440, name: "marginBlock", sons: null}, -{kind: 1, offset: "marginBlockEnd", len: 0, typ: NTI33554440, name: "marginBlockEnd", sons: null}, -{kind: 1, offset: "marginBlockStart", len: 0, typ: NTI33554440, name: "marginBlockStart", sons: null}, -{kind: 1, offset: "marginBottom", len: 0, typ: NTI33554440, name: "marginBottom", sons: null}, -{kind: 1, offset: "marginInline", len: 0, typ: NTI33554440, name: "marginInline", sons: null}, -{kind: 1, offset: "marginInlineEnd", len: 0, typ: NTI33554440, name: "marginInlineEnd", sons: null}, -{kind: 1, offset: "marginInlineStart", len: 0, typ: NTI33554440, name: "marginInlineStart", sons: null}, -{kind: 1, offset: "marginLeft", len: 0, typ: NTI33554440, name: "marginLeft", sons: null}, -{kind: 1, offset: "marginRight", len: 0, typ: NTI33554440, name: "marginRight", sons: null}, -{kind: 1, offset: "marginTop", len: 0, typ: NTI33554440, name: "marginTop", sons: null}, -{kind: 1, offset: "mask", len: 0, typ: NTI33554440, name: "mask", sons: null}, -{kind: 1, offset: "maskBorder", len: 0, typ: NTI33554440, name: "maskBorder", sons: null}, -{kind: 1, offset: "maskBorderMode", len: 0, typ: NTI33554440, name: "maskBorderMode", sons: null}, -{kind: 1, offset: "maskBorderOutset", len: 0, typ: NTI33554440, name: "maskBorderOutset", sons: null}, -{kind: 1, offset: "maskBorderRepeat", len: 0, typ: NTI33554440, name: "maskBorderRepeat", sons: null}, -{kind: 1, offset: "maskBorderSlice", len: 0, typ: NTI33554440, name: "maskBorderSlice", sons: null}, -{kind: 1, offset: "maskBorderSource", len: 0, typ: NTI33554440, name: "maskBorderSource", sons: null}, -{kind: 1, offset: "maskBorderWidth", len: 0, typ: NTI33554440, name: "maskBorderWidth", sons: null}, -{kind: 1, offset: "maskClip", len: 0, typ: NTI33554440, name: "maskClip", sons: null}, -{kind: 1, offset: "maskComposite", len: 0, typ: NTI33554440, name: "maskComposite", sons: null}, -{kind: 1, offset: "maskImage", len: 0, typ: NTI33554440, name: "maskImage", sons: null}, -{kind: 1, offset: "maskMode", len: 0, typ: NTI33554440, name: "maskMode", sons: null}, -{kind: 1, offset: "maskOrigin", len: 0, typ: NTI33554440, name: "maskOrigin", sons: null}, -{kind: 1, offset: "maskPosition", len: 0, typ: NTI33554440, name: "maskPosition", sons: null}, -{kind: 1, offset: "maskRepeat", len: 0, typ: NTI33554440, name: "maskRepeat", sons: null}, -{kind: 1, offset: "maskSize", len: 0, typ: NTI33554440, name: "maskSize", sons: null}, -{kind: 1, offset: "maskType", len: 0, typ: NTI33554440, name: "maskType", sons: null}, -{kind: 1, offset: "maxBlockSize", len: 0, typ: NTI33554440, name: "maxBlockSize", sons: null}, -{kind: 1, offset: "maxHeight", len: 0, typ: NTI33554440, name: "maxHeight", sons: null}, -{kind: 1, offset: "maxInlineSize", len: 0, typ: NTI33554440, name: "maxInlineSize", sons: null}, -{kind: 1, offset: "maxWidth", len: 0, typ: NTI33554440, name: "maxWidth", sons: null}, -{kind: 1, offset: "minBlockSize", len: 0, typ: NTI33554440, name: "minBlockSize", sons: null}, -{kind: 1, offset: "minHeight", len: 0, typ: NTI33554440, name: "minHeight", sons: null}, -{kind: 1, offset: "minInlineSize", len: 0, typ: NTI33554440, name: "minInlineSize", sons: null}, -{kind: 1, offset: "minWidth", len: 0, typ: NTI33554440, name: "minWidth", sons: null}, -{kind: 1, offset: "mixBlendMode", len: 0, typ: NTI33554440, name: "mixBlendMode", sons: null}, -{kind: 1, offset: "objectFit", len: 0, typ: NTI33554440, name: "objectFit", sons: null}, -{kind: 1, offset: "objectPosition", len: 0, typ: NTI33554440, name: "objectPosition", sons: null}, -{kind: 1, offset: "offset", len: 0, typ: NTI33554440, name: "offset", sons: null}, -{kind: 1, offset: "offsetAnchor", len: 0, typ: NTI33554440, name: "offsetAnchor", sons: null}, -{kind: 1, offset: "offsetDistance", len: 0, typ: NTI33554440, name: "offsetDistance", sons: null}, -{kind: 1, offset: "offsetPath", len: 0, typ: NTI33554440, name: "offsetPath", sons: null}, -{kind: 1, offset: "offsetRotate", len: 0, typ: NTI33554440, name: "offsetRotate", sons: null}, -{kind: 1, offset: "opacity", len: 0, typ: NTI33554440, name: "opacity", sons: null}, -{kind: 1, offset: "order", len: 0, typ: NTI33554440, name: "order", sons: null}, -{kind: 1, offset: "orphans", len: 0, typ: NTI33554440, name: "orphans", sons: null}, -{kind: 1, offset: "outline", len: 0, typ: NTI33554440, name: "outline", sons: null}, -{kind: 1, offset: "outlineColor", len: 0, typ: NTI33554440, name: "outlineColor", sons: null}, -{kind: 1, offset: "outlineOffset", len: 0, typ: NTI33554440, name: "outlineOffset", sons: null}, -{kind: 1, offset: "outlineStyle", len: 0, typ: NTI33554440, name: "outlineStyle", sons: null}, -{kind: 1, offset: "outlineWidth", len: 0, typ: NTI33554440, name: "outlineWidth", sons: null}, -{kind: 1, offset: "overflow", len: 0, typ: NTI33554440, name: "overflow", sons: null}, -{kind: 1, offset: "overflowAnchor", len: 0, typ: NTI33554440, name: "overflowAnchor", sons: null}, -{kind: 1, offset: "overflowBlock", len: 0, typ: NTI33554440, name: "overflowBlock", sons: null}, -{kind: 1, offset: "overflowInline", len: 0, typ: NTI33554440, name: "overflowInline", sons: null}, -{kind: 1, offset: "overflowWrap", len: 0, typ: NTI33554440, name: "overflowWrap", sons: null}, -{kind: 1, offset: "overflowX", len: 0, typ: NTI33554440, name: "overflowX", sons: null}, -{kind: 1, offset: "overflowY", len: 0, typ: NTI33554440, name: "overflowY", sons: null}, -{kind: 1, offset: "overscrollBehavior", len: 0, typ: NTI33554440, name: "overscrollBehavior", sons: null}, -{kind: 1, offset: "overscrollBehaviorBlock", len: 0, typ: NTI33554440, name: "overscrollBehaviorBlock", sons: null}, -{kind: 1, offset: "overscrollBehaviorInline", len: 0, typ: NTI33554440, name: "overscrollBehaviorInline", sons: null}, -{kind: 1, offset: "overscrollBehaviorX", len: 0, typ: NTI33554440, name: "overscrollBehaviorX", sons: null}, -{kind: 1, offset: "overscrollBehaviorY", len: 0, typ: NTI33554440, name: "overscrollBehaviorY", sons: null}, -{kind: 1, offset: "padding", len: 0, typ: NTI33554440, name: "padding", sons: null}, -{kind: 1, offset: "paddingBlock", len: 0, typ: NTI33554440, name: "paddingBlock", sons: null}, -{kind: 1, offset: "paddingBlockEnd", len: 0, typ: NTI33554440, name: "paddingBlockEnd", sons: null}, -{kind: 1, offset: "paddingBlockStart", len: 0, typ: NTI33554440, name: "paddingBlockStart", sons: null}, -{kind: 1, offset: "paddingBottom", len: 0, typ: NTI33554440, name: "paddingBottom", sons: null}, -{kind: 1, offset: "paddingInline", len: 0, typ: NTI33554440, name: "paddingInline", sons: null}, -{kind: 1, offset: "paddingInlineEnd", len: 0, typ: NTI33554440, name: "paddingInlineEnd", sons: null}, -{kind: 1, offset: "paddingInlineStart", len: 0, typ: NTI33554440, name: "paddingInlineStart", sons: null}, -{kind: 1, offset: "paddingLeft", len: 0, typ: NTI33554440, name: "paddingLeft", sons: null}, -{kind: 1, offset: "paddingRight", len: 0, typ: NTI33554440, name: "paddingRight", sons: null}, -{kind: 1, offset: "paddingTop", len: 0, typ: NTI33554440, name: "paddingTop", sons: null}, -{kind: 1, offset: "pageBreakAfter", len: 0, typ: NTI33554440, name: "pageBreakAfter", sons: null}, -{kind: 1, offset: "pageBreakBefore", len: 0, typ: NTI33554440, name: "pageBreakBefore", sons: null}, -{kind: 1, offset: "pageBreakInside", len: 0, typ: NTI33554440, name: "pageBreakInside", sons: null}, -{kind: 1, offset: "paintOrder", len: 0, typ: NTI33554440, name: "paintOrder", sons: null}, -{kind: 1, offset: "perspective", len: 0, typ: NTI33554440, name: "perspective", sons: null}, -{kind: 1, offset: "perspectiveOrigin", len: 0, typ: NTI33554440, name: "perspectiveOrigin", sons: null}, -{kind: 1, offset: "placeContent", len: 0, typ: NTI33554440, name: "placeContent", sons: null}, -{kind: 1, offset: "placeItems", len: 0, typ: NTI33554440, name: "placeItems", sons: null}, -{kind: 1, offset: "placeSelf", len: 0, typ: NTI33554440, name: "placeSelf", sons: null}, -{kind: 1, offset: "pointerEvents", len: 0, typ: NTI33554440, name: "pointerEvents", sons: null}, -{kind: 1, offset: "position", len: 0, typ: NTI33554440, name: "position", sons: null}, -{kind: 1, offset: "quotes", len: 0, typ: NTI33554440, name: "quotes", sons: null}, -{kind: 1, offset: "resize", len: 0, typ: NTI33554440, name: "resize", sons: null}, -{kind: 1, offset: "right", len: 0, typ: NTI33554440, name: "right", sons: null}, -{kind: 1, offset: "rotate", len: 0, typ: NTI33554440, name: "rotate", sons: null}, -{kind: 1, offset: "rowGap", len: 0, typ: NTI33554440, name: "rowGap", sons: null}, -{kind: 1, offset: "scale", len: 0, typ: NTI33554440, name: "scale", sons: null}, -{kind: 1, offset: "scrollBehavior", len: 0, typ: NTI33554440, name: "scrollBehavior", sons: null}, -{kind: 1, offset: "scrollMargin", len: 0, typ: NTI33554440, name: "scrollMargin", sons: null}, -{kind: 1, offset: "scrollMarginBlock", len: 0, typ: NTI33554440, name: "scrollMarginBlock", sons: null}, -{kind: 1, offset: "scrollMarginBlockEnd", len: 0, typ: NTI33554440, name: "scrollMarginBlockEnd", sons: null}, -{kind: 1, offset: "scrollMarginBlockStart", len: 0, typ: NTI33554440, name: "scrollMarginBlockStart", sons: null}, -{kind: 1, offset: "scrollMarginBottom", len: 0, typ: NTI33554440, name: "scrollMarginBottom", sons: null}, -{kind: 1, offset: "scrollMarginInline", len: 0, typ: NTI33554440, name: "scrollMarginInline", sons: null}, -{kind: 1, offset: "scrollMarginInlineEnd", len: 0, typ: NTI33554440, name: "scrollMarginInlineEnd", sons: null}, -{kind: 1, offset: "scrollMarginInlineStart", len: 0, typ: NTI33554440, name: "scrollMarginInlineStart", sons: null}, -{kind: 1, offset: "scrollMarginLeft", len: 0, typ: NTI33554440, name: "scrollMarginLeft", sons: null}, -{kind: 1, offset: "scrollMarginRight", len: 0, typ: NTI33554440, name: "scrollMarginRight", sons: null}, -{kind: 1, offset: "scrollMarginTop", len: 0, typ: NTI33554440, name: "scrollMarginTop", sons: null}, -{kind: 1, offset: "scrollPadding", len: 0, typ: NTI33554440, name: "scrollPadding", sons: null}, -{kind: 1, offset: "scrollPaddingBlock", len: 0, typ: NTI33554440, name: "scrollPaddingBlock", sons: null}, -{kind: 1, offset: "scrollPaddingBlockEnd", len: 0, typ: NTI33554440, name: "scrollPaddingBlockEnd", sons: null}, -{kind: 1, offset: "scrollPaddingBlockStart", len: 0, typ: NTI33554440, name: "scrollPaddingBlockStart", sons: null}, -{kind: 1, offset: "scrollPaddingBottom", len: 0, typ: NTI33554440, name: "scrollPaddingBottom", sons: null}, -{kind: 1, offset: "scrollPaddingInline", len: 0, typ: NTI33554440, name: "scrollPaddingInline", sons: null}, -{kind: 1, offset: "scrollPaddingInlineEnd", len: 0, typ: NTI33554440, name: "scrollPaddingInlineEnd", sons: null}, -{kind: 1, offset: "scrollPaddingInlineStart", len: 0, typ: NTI33554440, name: "scrollPaddingInlineStart", sons: null}, -{kind: 1, offset: "scrollPaddingLeft", len: 0, typ: NTI33554440, name: "scrollPaddingLeft", sons: null}, -{kind: 1, offset: "scrollPaddingRight", len: 0, typ: NTI33554440, name: "scrollPaddingRight", sons: null}, -{kind: 1, offset: "scrollPaddingTop", len: 0, typ: NTI33554440, name: "scrollPaddingTop", sons: null}, -{kind: 1, offset: "scrollSnapAlign", len: 0, typ: NTI33554440, name: "scrollSnapAlign", sons: null}, -{kind: 1, offset: "scrollSnapStop", len: 0, typ: NTI33554440, name: "scrollSnapStop", sons: null}, -{kind: 1, offset: "scrollSnapType", len: 0, typ: NTI33554440, name: "scrollSnapType", sons: null}, -{kind: 1, offset: "scrollbar3dLightColor", len: 0, typ: NTI33554440, name: "scrollbar3dLightColor", sons: null}, -{kind: 1, offset: "scrollbarArrowColor", len: 0, typ: NTI33554440, name: "scrollbarArrowColor", sons: null}, -{kind: 1, offset: "scrollbarBaseColor", len: 0, typ: NTI33554440, name: "scrollbarBaseColor", sons: null}, -{kind: 1, offset: "scrollbarColor", len: 0, typ: NTI33554440, name: "scrollbarColor", sons: null}, -{kind: 1, offset: "scrollbarDarkshadowColor", len: 0, typ: NTI33554440, name: "scrollbarDarkshadowColor", sons: null}, -{kind: 1, offset: "scrollbarFaceColor", len: 0, typ: NTI33554440, name: "scrollbarFaceColor", sons: null}, -{kind: 1, offset: "scrollbarHighlightColor", len: 0, typ: NTI33554440, name: "scrollbarHighlightColor", sons: null}, -{kind: 1, offset: "scrollbarShadowColor", len: 0, typ: NTI33554440, name: "scrollbarShadowColor", sons: null}, -{kind: 1, offset: "scrollbarTrackColor", len: 0, typ: NTI33554440, name: "scrollbarTrackColor", sons: null}, -{kind: 1, offset: "scrollbarWidth", len: 0, typ: NTI33554440, name: "scrollbarWidth", sons: null}, -{kind: 1, offset: "shapeImageThreshold", len: 0, typ: NTI33554440, name: "shapeImageThreshold", sons: null}, -{kind: 1, offset: "shapeMargin", len: 0, typ: NTI33554440, name: "shapeMargin", sons: null}, -{kind: 1, offset: "shapeOutside", len: 0, typ: NTI33554440, name: "shapeOutside", sons: null}, -{kind: 1, offset: "tabSize", len: 0, typ: NTI33554440, name: "tabSize", sons: null}, -{kind: 1, offset: "tableLayout", len: 0, typ: NTI33554440, name: "tableLayout", sons: null}, -{kind: 1, offset: "textAlign", len: 0, typ: NTI33554440, name: "textAlign", sons: null}, -{kind: 1, offset: "textAlignLast", len: 0, typ: NTI33554440, name: "textAlignLast", sons: null}, -{kind: 1, offset: "textCombineUpright", len: 0, typ: NTI33554440, name: "textCombineUpright", sons: null}, -{kind: 1, offset: "textDecoration", len: 0, typ: NTI33554440, name: "textDecoration", sons: null}, -{kind: 1, offset: "textDecorationColor", len: 0, typ: NTI33554440, name: "textDecorationColor", sons: null}, -{kind: 1, offset: "textDecorationLine", len: 0, typ: NTI33554440, name: "textDecorationLine", sons: null}, -{kind: 1, offset: "textDecorationSkipInk", len: 0, typ: NTI33554440, name: "textDecorationSkipInk", sons: null}, -{kind: 1, offset: "textDecorationStyle", len: 0, typ: NTI33554440, name: "textDecorationStyle", sons: null}, -{kind: 1, offset: "textDecorationThickness", len: 0, typ: NTI33554440, name: "textDecorationThickness", sons: null}, -{kind: 1, offset: "textEmphasis", len: 0, typ: NTI33554440, name: "textEmphasis", sons: null}, -{kind: 1, offset: "textEmphasisColor", len: 0, typ: NTI33554440, name: "textEmphasisColor", sons: null}, -{kind: 1, offset: "textEmphasisPosition", len: 0, typ: NTI33554440, name: "textEmphasisPosition", sons: null}, -{kind: 1, offset: "textEmphasisStyle", len: 0, typ: NTI33554440, name: "textEmphasisStyle", sons: null}, -{kind: 1, offset: "textIndent", len: 0, typ: NTI33554440, name: "textIndent", sons: null}, -{kind: 1, offset: "textJustify", len: 0, typ: NTI33554440, name: "textJustify", sons: null}, -{kind: 1, offset: "textOrientation", len: 0, typ: NTI33554440, name: "textOrientation", sons: null}, -{kind: 1, offset: "textOverflow", len: 0, typ: NTI33554440, name: "textOverflow", sons: null}, -{kind: 1, offset: "textRendering", len: 0, typ: NTI33554440, name: "textRendering", sons: null}, -{kind: 1, offset: "textShadow", len: 0, typ: NTI33554440, name: "textShadow", sons: null}, -{kind: 1, offset: "textTransform", len: 0, typ: NTI33554440, name: "textTransform", sons: null}, -{kind: 1, offset: "textUnderlineOffset", len: 0, typ: NTI33554440, name: "textUnderlineOffset", sons: null}, -{kind: 1, offset: "textUnderlinePosition", len: 0, typ: NTI33554440, name: "textUnderlinePosition", sons: null}, -{kind: 1, offset: "top", len: 0, typ: NTI33554440, name: "top", sons: null}, -{kind: 1, offset: "touchAction", len: 0, typ: NTI33554440, name: "touchAction", sons: null}, -{kind: 1, offset: "transform", len: 0, typ: NTI33554440, name: "transform", sons: null}, -{kind: 1, offset: "transformBox", len: 0, typ: NTI33554440, name: "transformBox", sons: null}, -{kind: 1, offset: "transformOrigin", len: 0, typ: NTI33554440, name: "transformOrigin", sons: null}, -{kind: 1, offset: "transformStyle", len: 0, typ: NTI33554440, name: "transformStyle", sons: null}, -{kind: 1, offset: "transition", len: 0, typ: NTI33554440, name: "transition", sons: null}, -{kind: 1, offset: "transitionDelay", len: 0, typ: NTI33554440, name: "transitionDelay", sons: null}, -{kind: 1, offset: "transitionDuration", len: 0, typ: NTI33554440, name: "transitionDuration", sons: null}, -{kind: 1, offset: "transitionProperty", len: 0, typ: NTI33554440, name: "transitionProperty", sons: null}, -{kind: 1, offset: "transitionTimingFunction", len: 0, typ: NTI33554440, name: "transitionTimingFunction", sons: null}, -{kind: 1, offset: "translate", len: 0, typ: NTI33554440, name: "translate", sons: null}, -{kind: 1, offset: "unicodeBidi", len: 0, typ: NTI33554440, name: "unicodeBidi", sons: null}, -{kind: 1, offset: "verticalAlign", len: 0, typ: NTI33554440, name: "verticalAlign", sons: null}, -{kind: 1, offset: "visibility", len: 0, typ: NTI33554440, name: "visibility", sons: null}, -{kind: 1, offset: "whiteSpace", len: 0, typ: NTI33554440, name: "whiteSpace", sons: null}, -{kind: 1, offset: "widows", len: 0, typ: NTI33554440, name: "widows", sons: null}, -{kind: 1, offset: "width", len: 0, typ: NTI33554440, name: "width", sons: null}, -{kind: 1, offset: "willChange", len: 0, typ: NTI33554440, name: "willChange", sons: null}, -{kind: 1, offset: "wordBreak", len: 0, typ: NTI33554440, name: "wordBreak", sons: null}, -{kind: 1, offset: "wordSpacing", len: 0, typ: NTI33554440, name: "wordSpacing", sons: null}, -{kind: 1, offset: "writingMode", len: 0, typ: NTI33554440, name: "writingMode", sons: null}, -{kind: 1, offset: "zIndex", len: 0, typ: NTI33554440, name: "zIndex", sons: null}]}; -NTI603979825.node = NNI603979825; -NTI603979825.base = NTI33555083; -NTI603979824.base = NTI603979825; -var NNI603979797 = {kind: 2, len: 22, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "attributes", len: 0, typ: NTI603979917, name: "attributes", sons: null}, -{kind: 1, offset: "childNodes", len: 0, typ: NTI603979918, name: "childNodes", sons: null}, -{kind: 1, offset: "children", len: 0, typ: NTI603979919, name: "children", sons: null}, -{kind: 1, offset: "data", len: 0, typ: NTI33554440, name: "data", sons: null}, -{kind: 1, offset: "firstChild", len: 0, typ: NTI603979796, name: "firstChild", sons: null}, -{kind: 1, offset: "lastChild", len: 0, typ: NTI603979796, name: "lastChild", sons: null}, -{kind: 1, offset: "nextSibling", len: 0, typ: NTI603979796, name: "nextSibling", sons: null}, -{kind: 1, offset: "nodeName", len: 0, typ: NTI33554440, name: "nodeName", sons: null}, -{kind: 1, offset: "nodeType", len: 0, typ: NTI603979795, name: "nodeType", sons: null}, -{kind: 1, offset: "nodeValue", len: 0, typ: NTI33554440, name: "nodeValue", sons: null}, -{kind: 1, offset: "parentNode", len: 0, typ: NTI603979796, name: "parentNode", sons: null}, -{kind: 1, offset: "content", len: 0, typ: NTI603979796, name: "content", sons: null}, -{kind: 1, offset: "previousSibling", len: 0, typ: NTI603979796, name: "previousSibling", sons: null}, -{kind: 1, offset: "ownerDocument", len: 0, typ: NTI603979798, name: "ownerDocument", sons: null}, -{kind: 1, offset: "innerHTML", len: 0, typ: NTI33554440, name: "innerHTML", sons: null}, -{kind: 1, offset: "outerHTML", len: 0, typ: NTI33554440, name: "outerHTML", sons: null}, -{kind: 1, offset: "innerText", len: 0, typ: NTI33554440, name: "innerText", sons: null}, -{kind: 1, offset: "textContent", len: 0, typ: NTI33554440, name: "textContent", sons: null}, -{kind: 1, offset: "style", len: 0, typ: NTI603979824, name: "style", sons: null}, -{kind: 1, offset: "baseURI", len: 0, typ: NTI33554440, name: "baseURI", sons: null}, -{kind: 1, offset: "parentElement", len: 0, typ: NTI603979800, name: "parentElement", sons: null}, -{kind: 1, offset: "isConnected", len: 0, typ: NTI33554466, name: "isConnected", sons: null}]}; -NTI603979797.node = NNI603979797; -var NNI603979781 = {kind: 2, len: 24, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "onabort", len: 0, typ: NTI603979876, name: "onabort", sons: null}, -{kind: 1, offset: "onblur", len: 0, typ: NTI603979877, name: "onblur", sons: null}, -{kind: 1, offset: "onchange", len: 0, typ: NTI603979878, name: "onchange", sons: null}, -{kind: 1, offset: "onclick", len: 0, typ: NTI603979879, name: "onclick", sons: null}, -{kind: 1, offset: "ondblclick", len: 0, typ: NTI603979880, name: "ondblclick", sons: null}, -{kind: 1, offset: "onerror", len: 0, typ: NTI603979881, name: "onerror", sons: null}, -{kind: 1, offset: "onfocus", len: 0, typ: NTI603979882, name: "onfocus", sons: null}, -{kind: 1, offset: "onkeydown", len: 0, typ: NTI603979883, name: "onkeydown", sons: null}, -{kind: 1, offset: "onkeypress", len: 0, typ: NTI603979884, name: "onkeypress", sons: null}, -{kind: 1, offset: "onkeyup", len: 0, typ: NTI603979885, name: "onkeyup", sons: null}, -{kind: 1, offset: "onload", len: 0, typ: NTI603979886, name: "onload", sons: null}, -{kind: 1, offset: "onmousedown", len: 0, typ: NTI603979887, name: "onmousedown", sons: null}, -{kind: 1, offset: "onmousemove", len: 0, typ: NTI603979888, name: "onmousemove", sons: null}, -{kind: 1, offset: "onmouseout", len: 0, typ: NTI603979889, name: "onmouseout", sons: null}, -{kind: 1, offset: "onmouseover", len: 0, typ: NTI603979890, name: "onmouseover", sons: null}, -{kind: 1, offset: "onmouseup", len: 0, typ: NTI603979891, name: "onmouseup", sons: null}, -{kind: 1, offset: "onreset", len: 0, typ: NTI603979892, name: "onreset", sons: null}, -{kind: 1, offset: "onselect", len: 0, typ: NTI603979893, name: "onselect", sons: null}, -{kind: 1, offset: "onstorage", len: 0, typ: NTI603979894, name: "onstorage", sons: null}, -{kind: 1, offset: "onsubmit", len: 0, typ: NTI603979895, name: "onsubmit", sons: null}, -{kind: 1, offset: "onunload", len: 0, typ: NTI603979896, name: "onunload", sons: null}, -{kind: 1, offset: "onloadstart", len: 0, typ: NTI603979897, name: "onloadstart", sons: null}, -{kind: 1, offset: "onprogress", len: 0, typ: NTI603979898, name: "onprogress", sons: null}, -{kind: 1, offset: "onloadend", len: 0, typ: NTI603979899, name: "onloadend", sons: null}]}; -NTI603979781.node = NNI603979781; -NTI603979781.base = NTI33555083; -NTI603979797.base = NTI603979781; -NTI603979796.base = NTI603979797; -NTI603980220.base = NTI603979796; -NTI469762606.base = NTI33554440; -var NNI620757006 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554456, name: "Field0", sons: null}, +var NTI721420302 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI33554435 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; +var NTI973078607 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; +var NTI973078613 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI134217745 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI134217749 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI134217751 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI33555173 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI33555181 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI33554449 = {size: 0,kind: 28,base: null,node: null,finalizer: null}; +var NTI33554450 = {size: 0,kind: 29,base: null,node: null,finalizer: null}; +var NTI33555180 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; +var NTI33555177 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI33555178 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI134217741 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI134217743 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NNI134217743 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI134217743.node = NNI134217743; +var NNI134217741 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI134217741.node = NNI134217741; +var NNI33555178 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI33555178.node = NNI33555178; +NTI33555180.base = NTI33555177; +NTI33555181.base = NTI33555177; +var NNI33555177 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI33555180, name: "parent", sons: null}, +{kind: 1, offset: "name", len: 0, typ: NTI33554450, name: "name", sons: null}, +{kind: 1, offset: "message", len: 0, typ: NTI33554449, name: "msg", sons: null}, +{kind: 1, offset: "trace", len: 0, typ: NTI33554449, name: "trace", sons: null}, +{kind: 1, offset: "up", len: 0, typ: NTI33555181, name: "up", sons: null}]}; +NTI33555177.node = NNI33555177; +var NNI33555173 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI33555173.node = NNI33555173; +NTI33555177.base = NTI33555173; +NTI33555178.base = NTI33555177; +NTI134217741.base = NTI33555178; +NTI134217743.base = NTI134217741; +var NNI134217751 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI134217751.node = NNI134217751; +NTI134217751.base = NTI33555178; +var NNI134217749 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI134217749.node = NNI134217749; +NTI134217749.base = NTI33555178; +var NNI134217745 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI134217745.node = NNI134217745; +NTI134217745.base = NTI33555178; +var NNI973078613 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "a", len: 0, typ: NTI973078607, name: "a", sons: null}, +{kind: 1, offset: "b", len: 0, typ: NTI33554435, name: "b", sons: null}]}; +NTI973078613.node = NNI973078613; +var NNI721420302 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554435, name: "Field0", sons: null}, {kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI620757006.node = NNI620757006; +NTI721420302.node = NNI721420302; -function makeNimstrLit(c_33556801) { - var result = []; - for (var i = 0; i < c_33556801.length; ++i) { - result[i] = c_33556801.charCodeAt(i); - } - return result; +function mnewString(len_33557003) { + var result = new Array(len_33557003); + for (var i = 0; i < len_33557003; i++) {result[i] = 0;} + return result; } -function toJSStr(s_33556807) { - var Temporary5; - var Temporary7; - - var result_33556808 = null; +function toJSStr(s_33556901) { + var result_33556902 = null; - var res_33556842 = newSeq_33556825((s_33556807).length); - var i_33556843 = 0; - var j_33556844 = 0; - Label1: do { + var res_33556943 = newSeq_33556919((s_33556901).length); + var i_33556944 = 0; + var j_33556945 = 0; + Label1: { Label2: while (true) { - if (!(i_33556843 < (s_33556807).length)) break Label2; - var c_33556845 = s_33556807[i_33556843]; - if ((c_33556845 < 128)) { - res_33556842[j_33556844] = String.fromCharCode(c_33556845); - i_33556843 += 1; + if (!(i_33556944 < (s_33556901).length)) break Label2; + var c_33556946 = s_33556901[i_33556944]; + if ((c_33556946 < 128)) { + res_33556943[j_33556945] = String.fromCharCode(c_33556946); + i_33556944 += 1; } else { - var helper_33556857 = newSeq_33556825(0); - Label3: do { + var helper_33556959 = newSeq_33556919(0); + Label3: { Label4: while (true) { if (!true) break Label4; - var code_33556858 = c_33556845.toString(16); - if ((((code_33556858) == null ? 0 : (code_33556858).length) == 1)) { - helper_33556857.push("%0");; + var code_33556960 = c_33556946.toString(16); + if ((((code_33556960) == null ? 0 : (code_33556960).length) == 1)) { + helper_33556959.push("%0");; } else { - helper_33556857.push("%");; + helper_33556959.push("%");; } - helper_33556857.push(code_33556858);; - i_33556843 += 1; - if (((s_33556807).length <= i_33556843)) Temporary5 = true; else { Temporary5 = (s_33556807[i_33556843] < 128); } if (Temporary5) { + helper_33556959.push(code_33556960);; + i_33556944 += 1; + if ((((s_33556901).length <= i_33556944) || (s_33556901[i_33556944] < 128))) { break Label3; } - c_33556845 = s_33556807[i_33556843]; + c_33556946 = s_33556901[i_33556944]; } - } while (false); + }; ++excHandler; - Temporary7 = framePtr; try { - res_33556842[j_33556844] = decodeURIComponent(helper_33556857.join("")); + res_33556943[j_33556945] = decodeURIComponent(helper_33556959.join("")); --excHandler; } catch (EXCEPTION) { var prevJSError = lastJSError; lastJSError = EXCEPTION; --excHandler; - framePtr = Temporary7; - res_33556842[j_33556844] = helper_33556857.join(""); + res_33556943[j_33556945] = helper_33556959.join(""); lastJSError = prevJSError; } finally { - framePtr = Temporary7; } } - j_33556844 += 1; + j_33556945 += 1; } - } while (false); - if (res_33556842.length < j_33556844) { for (var i = res_33556842.length ; i < j_33556844 ; ++i) res_33556842.push(null); } - else { res_33556842.length = j_33556844; }; - result_33556808 = res_33556842.join(""); + }; + if (res_33556943.length < j_33556945) { for (var i = res_33556943.length ; i < j_33556945 ; ++i) res_33556943.push(null); } + else { res_33556943.length = j_33556945; }; + result_33556902 = res_33556943.join(""); - return result_33556808; + return result_33556902; } -function raiseException(e_33556667, ename_33556668) { - e_33556667.name = ename_33556668; +function raiseException(e_33556653, ename_33556654) { + e_33556653.name = ename_33556654; if ((excHandler == 0)) { - unhandledException(e_33556667); + unhandledException(e_33556653); } - throw e_33556667; + throw e_33556653; } -function addInt(a_33556940, b_33556941) { - var result = a_33556940 + b_33556941; +function addInt(a_33557050, b_33557051) { + var result = a_33557050 + b_33557051; checkOverflowInt(result); return result; @@ -779,30 +145,21 @@ function addInt(a_33556940, b_33556941) { } -function mnewString(len_33556893) { - return new Array(len_33556893); - - - -} - -function chckRange(i_33557189, a_33557190, b_33557191) { - var Temporary1; +function chckRange(i_33557324, a_33557325, b_33557326) { + var result_33557327 = 0; - var result_33557192 = 0; - - BeforeRet: do { - if (!(a_33557190 <= i_33557189)) Temporary1 = false; else { Temporary1 = (i_33557189 <= b_33557191); } if (Temporary1) { - result_33557192 = i_33557189; + BeforeRet: { + if (((a_33557325 <= i_33557324) && (i_33557324 <= b_33557326))) { + result_33557327 = i_33557324; break BeforeRet; } else { raiseRangeError(); } - } while (false); + }; - return result_33557192; + return result_33557327; } @@ -825,115 +182,186 @@ function setConstr() { } var ConstSet1 = setConstr(17, 16, 4, 18, 27, 19, 23, 22, 21); -function nimCopy(dest_33557140, src_33557141, ti_33557142) { - var result_33557151 = null; +function nimCopy(dest_33557268, src_33557269, ti_33557270) { + var result_33557279 = null; - switch (ti_33557142.kind) { + switch (ti_33557270.kind) { case 21: case 22: case 23: case 5: - if (!(isFatPointer_33557131(ti_33557142))) { - result_33557151 = src_33557141; + if (!(isFatPointer_33557259(ti_33557270))) { + result_33557279 = src_33557269; } else { - result_33557151 = [src_33557141[0], src_33557141[1]]; + result_33557279 = [src_33557269[0], src_33557269[1]]; } break; case 19: - if (dest_33557140 === null || dest_33557140 === undefined) { - dest_33557140 = {}; + if (dest_33557268 === null || dest_33557268 === undefined) { + dest_33557268 = {}; } else { - for (var key in dest_33557140) { delete dest_33557140[key]; } + for (var key in dest_33557268) { delete dest_33557268[key]; } } - for (var key in src_33557141) { dest_33557140[key] = src_33557141[key]; } - result_33557151 = dest_33557140; + for (var key in src_33557269) { dest_33557268[key] = src_33557269[key]; } + result_33557279 = dest_33557268; break; case 18: case 17: - if (!((ti_33557142.base == null))) { - result_33557151 = nimCopy(dest_33557140, src_33557141, ti_33557142.base); + if (!((ti_33557270.base == null))) { + result_33557279 = nimCopy(dest_33557268, src_33557269, ti_33557270.base); } else { - if ((ti_33557142.kind == 17)) { - result_33557151 = (dest_33557140 === null || dest_33557140 === undefined) ? {m_type: ti_33557142} : dest_33557140; + if ((ti_33557270.kind == 17)) { + result_33557279 = (dest_33557268 === null || dest_33557268 === undefined) ? {m_type: ti_33557270} : dest_33557268; } else { - result_33557151 = (dest_33557140 === null || dest_33557140 === undefined) ? {} : dest_33557140; + result_33557279 = (dest_33557268 === null || dest_33557268 === undefined) ? {} : dest_33557268; } } - nimCopyAux(result_33557151, src_33557141, ti_33557142.node); + nimCopyAux(result_33557279, src_33557269, ti_33557270.node); break; - case 24: case 4: - case 27: case 16: - if (src_33557141 === null) { - result_33557151 = null; + if(ArrayBuffer.isView(src_33557269)) { + if(dest_33557268 === null || dest_33557268 === undefined || dest_33557268.length != src_33557269.length) { + dest_33557268 = new src_33557269.constructor(src_33557269); + } else { + dest_33557268.set(src_33557269, 0); + } + result_33557279 = dest_33557268; + } else { + if (src_33557269 === null) { + result_33557279 = null; + } + else { + if (dest_33557268 === null || dest_33557268 === undefined || dest_33557268.length != src_33557269.length) { + dest_33557268 = new Array(src_33557269.length); + } + result_33557279 = dest_33557268; + for (var i = 0; i < src_33557269.length; ++i) { + result_33557279[i] = nimCopy(result_33557279[i], src_33557269[i], ti_33557270.base); + } + } + } + + break; + case 24: + case 27: + if (src_33557269 === null) { + result_33557279 = null; } else { - if (dest_33557140 === null || dest_33557140 === undefined || dest_33557140.length != src_33557141.length) { - dest_33557140 = new Array(src_33557141.length); + if (dest_33557268 === null || dest_33557268 === undefined || dest_33557268.length != src_33557269.length) { + dest_33557268 = new Array(src_33557269.length); } - result_33557151 = dest_33557140; - for (var i = 0; i < src_33557141.length; ++i) { - result_33557151[i] = nimCopy(result_33557151[i], src_33557141[i], ti_33557142.base); + result_33557279 = dest_33557268; + for (var i = 0; i < src_33557269.length; ++i) { + result_33557279[i] = nimCopy(result_33557279[i], src_33557269[i], ti_33557270.base); } } break; case 28: - if (src_33557141 !== null) { - result_33557151 = src_33557141.slice(0); + if (src_33557269 !== null) { + result_33557279 = src_33557269.slice(0); } break; default: - result_33557151 = src_33557141; + result_33557279 = src_33557269; break; } - return result_33557151; + return result_33557279; } -function chckIndx(i_33557184, a_33557185, b_33557186) { - var Temporary1; +function chckIndx(i_33557319, a_33557320, b_33557321) { + var result_33557322 = 0; - var result_33557187 = 0; - - BeforeRet: do { - if (!(a_33557185 <= i_33557184)) Temporary1 = false; else { Temporary1 = (i_33557184 <= b_33557186); } if (Temporary1) { - result_33557187 = i_33557184; + BeforeRet: { + if (((a_33557320 <= i_33557319) && (i_33557319 <= b_33557321))) { + result_33557322 = i_33557319; break BeforeRet; } else { - raiseIndexError(i_33557184, a_33557185, b_33557186); + raiseIndexError(i_33557319, a_33557320, b_33557321); } - } while (false); + }; - return result_33557187; + return result_33557322; + +} + +function makeNimstrLit(c_33556895) { + var result = []; + for (var i = 0; i < c_33556895.length; ++i) { + result[i] = c_33556895.charCodeAt(i); + } + return result; + + } -function subInt(a_33556944, b_33556945) { - var result = a_33556944 - b_33556945; +function subInt(a_33557054, b_33557055) { + var result = a_33557054 - b_33557055; checkOverflowInt(result); return result; +} + +function cstrToNimstr(c_33556898) { + var ln = c_33556898.length; + var result = new Array(ln); + var r = 0; + for (var i = 0; i < ln; ++i) { + var ch = c_33556898.charCodeAt(i); + + if (ch < 128) { + result[r] = ch; + } + else { + if (ch < 2048) { + result[r] = (ch >> 6) | 192; + } + else { + if (ch < 55296 || ch >= 57344) { + result[r] = (ch >> 12) | 224; + } + else { + ++i; + ch = 65536 + (((ch & 1023) << 10) | (c_33556898.charCodeAt(i) & 1023)); + result[r] = (ch >> 18) | 240; + ++r; + result[r] = ((ch >> 12) & 63) | 128; + } + ++r; + result[r] = ((ch >> 6) & 63) | 128; + } + ++r; + result[r] = (ch & 63) | 128; + } + ++r; + } + return result; + + + } var ConstSet2 = setConstr([65, 90]); var ConstSet3 = setConstr(95, 32, 46); var ConstSet4 = setConstr(95, 32, 46); -function mulInt(a_33556948, b_33556949) { - var result = a_33556948 * b_33556949; +function mulInt(a_33557058, b_33557059) { + var result = a_33557058 * b_33557059; checkOverflowInt(result); return result; @@ -946,103 +374,101 @@ var ConstSet7 = setConstr([97, 122]); var ConstSet8 = setConstr([65, 90]); var ConstSet9 = setConstr([65, 90], [97, 122]); -function nimMax(a_33556998, b_33556999) { +function nimMax(a_33557108, b_33557109) { var Temporary1; - var result_33557000 = 0; + var result_33557110 = 0; - BeforeRet: do { - if ((b_33556999 <= a_33556998)) { - Temporary1 = a_33556998; + BeforeRet: { + if ((b_33557109 <= a_33557108)) { + Temporary1 = a_33557108; } else { - Temporary1 = b_33556999; + Temporary1 = b_33557109; } - result_33557000 = Temporary1; + result_33557110 = Temporary1; break BeforeRet; - } while (false); + }; - return result_33557000; + return result_33557110; } -function nimMin(a_33556994, b_33556995) { +function nimMin(a_33557104, b_33557105) { var Temporary1; - var result_33556996 = 0; + var result_33557106 = 0; - BeforeRet: do { - if ((a_33556994 <= b_33556995)) { - Temporary1 = a_33556994; + BeforeRet: { + if ((a_33557104 <= b_33557105)) { + Temporary1 = a_33557104; } else { - Temporary1 = b_33556995; + Temporary1 = b_33557105; } - result_33556996 = Temporary1; + result_33557106 = Temporary1; break BeforeRet; - } while (false); + }; - return result_33556996; + return result_33557106; } -function addChar(x_33557255, c_33557256) { - x_33557255.push(c_33557256); +function addChar(x_33557415, c_33557416) { + x_33557415.push(c_33557416); } -if (!Math.trunc) { - Math.trunc = function(v) { - v = +v; - if (!isFinite(v)) return v; - return (v - v % 1) || (v < 0 ? -0 : v === 0 ? v : 0); - }; -} +var objectID_1207959729 = [0]; -var alternative_469762624 = [null]; +function setTheme(theme_570425350) { + document.documentElement.setAttribute("data-theme", theme_570425350); + window.localStorage.setItem("theme", theme_570425350); + + +} -function add_33556419(x_33556420, x_33556420_Idx, y_33556421) { - if (x_33556420[x_33556420_Idx] === null) { x_33556420[x_33556420_Idx] = []; } - var off = x_33556420[x_33556420_Idx].length; - x_33556420[x_33556420_Idx].length += y_33556421.length; - for (var i = 0; i < y_33556421.length; ++i) { - x_33556420[x_33556420_Idx][off+i] = y_33556421.charCodeAt(i); +function add_33556373(x_33556374, x_33556374_Idx, y_33556375) { + if (x_33556374[x_33556374_Idx] === null) { x_33556374[x_33556374_Idx] = []; } + var off = x_33556374[x_33556374_Idx].length; + x_33556374[x_33556374_Idx].length += y_33556375.length; + for (var i = 0; i < y_33556375.length; ++i) { + x_33556374[x_33556374_Idx][off+i] = y_33556375.charCodeAt(i); } } -function newSeq_33556825(len_33556827) { - var result_33556828 = []; +function newSeq_33556919(len_33556921) { + var result_33556922 = []; - result_33556828 = new Array(len_33556827); for (var i = 0 ; i < len_33556827 ; ++i) { result_33556828[i] = null; } - return result_33556828; + result_33556922 = new Array(len_33556921); for (var i = 0 ; i < len_33556921 ; ++i) { result_33556922[i] = null; } + return result_33556922; } -function unhandledException(e_33556663) { - var buf_33556664 = [[]]; - if (!(((e_33556663.message).length == 0))) { - buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit("Error: unhandled exception: "));; - buf_33556664[0].push.apply(buf_33556664[0], e_33556663.message);; +function unhandledException(e_33556649) { + var buf_33556650 = [[]]; + if (!(((e_33556649.message).length == 0))) { + buf_33556650[0].push.apply(buf_33556650[0], [69,114,114,111,114,58,32,117,110,104,97,110,100,108,101,100,32,101,120,99,101,112,116,105,111,110,58,32]);; + buf_33556650[0].push.apply(buf_33556650[0], e_33556649.message);; } else { - buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit("Error: unhandled exception"));; + buf_33556650[0].push.apply(buf_33556650[0], [69,114,114,111,114,58,32,117,110,104,97,110,100,108,101,100,32,101,120,99,101,112,116,105,111,110]);; } - buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit(" ["));; - add_33556419(buf_33556664, 0, e_33556663.name); - buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit("]\x0A"));; - var cbuf_33556665 = toJSStr(buf_33556664[0]); - framePtr = null; + buf_33556650[0].push.apply(buf_33556650[0], [32,91]);; + add_33556373(buf_33556650, 0, e_33556649.name); + buf_33556650[0].push.apply(buf_33556650[0], [93,10]);; + var cbuf_33556651 = toJSStr(buf_33556650[0]); if (typeof(Error) !== "undefined") { - throw new Error(cbuf_33556665); + throw new Error(cbuf_33556651); } else { - throw cbuf_33556665; + throw cbuf_33556651; } @@ -1050,119 +476,103 @@ function unhandledException(e_33556663) { } function raiseOverflow() { - raiseException({message: makeNimstrLit("over- or underflow"), parent: null, m_type: NTI33555122, name: null, trace: [], up: null}, "OverflowDefect"); + raiseException({message: [111,118,101,114,45,32,111,114,32,117,110,100,101,114,102,108,111,119], parent: null, m_type: NTI134217743, name: null, trace: [], up: null}, "OverflowDefect"); } -function checkOverflowInt(a_33556938) { - if (a_33556938 > 2147483647 || a_33556938 < -2147483648) raiseOverflow(); +function checkOverflowInt(a_33557048) { + if (a_33557048 > 2147483647 || a_33557048 < -2147483648) raiseOverflow(); } -function isWhitespace_469762356(text_469762357) { - return !/[^\s]/.test(text_469762357); - +function raiseRangeError() { + raiseException({message: [118,97,108,117,101,32,111,117,116,32,111,102,32,114,97,110,103,101], parent: null, m_type: NTI134217751, name: null, trace: [], up: null}, "RangeDefect"); } -function isWhitespace_469762359(x_469762360) { +function addChars_301990090(result_301990092, result_301990092_Idx, x_301990093, start_301990094, n_301990095) { var Temporary1; - var Temporary2; - - var result_469762361 = false; - - if (!(x_469762360.nodeName == "#text")) Temporary2 = false; else { Temporary2 = isWhitespace_469762356(x_469762360.textContent); } if (Temporary2) Temporary1 = true; else { Temporary1 = (x_469762360.nodeName == "#comment"); } result_469762361 = Temporary1; - - return result_469762361; - -} -function raiseRangeError() { - raiseException({message: makeNimstrLit("value out of range"), parent: null, m_type: NTI33555130, name: null, trace: [], up: null}, "RangeDefect"); - - -} - -function addChars_251658415(result_251658417, result_251658417_Idx, x_251658418, start_251658419, n_251658420) { - var old_251658421 = (result_251658417[result_251658417_Idx]).length; - (result_251658417[result_251658417_Idx].length = chckRange(addInt(old_251658421, n_251658420), 0, 2147483647)); - Label1: do { - var iHEX60gensym4_251658435 = 0; - var i_469762674 = 0; - Label2: do { - Label3: while (true) { - if (!(i_469762674 < n_251658420)) break Label3; - iHEX60gensym4_251658435 = i_469762674; - result_251658417[result_251658417_Idx][chckIndx(addInt(old_251658421, iHEX60gensym4_251658435), 0, (result_251658417[result_251658417_Idx]).length - 1)] = x_251658418.charCodeAt(chckIndx(addInt(start_251658419, iHEX60gensym4_251658435), 0, (x_251658418).length - 1)); - i_469762674 = addInt(i_469762674, 1); + var old_301990096 = (result_301990092[result_301990092_Idx]).length; + if (result_301990092[result_301990092_Idx].length < (Temporary1 = chckRange(addInt(old_301990096, n_301990095), 0, 2147483647), Temporary1)) { for (var i = result_301990092[result_301990092_Idx].length; i < Temporary1; ++i) result_301990092[result_301990092_Idx].push(0); } + else {result_301990092[result_301990092_Idx].length = Temporary1; }; + Label2: { + var iHEX60gensym4_301990110 = 0; + var i_570426545 = 0; + Label3: { + Label4: while (true) { + if (!(i_570426545 < n_301990095)) break Label4; + iHEX60gensym4_301990110 = i_570426545; + result_301990092[result_301990092_Idx][chckIndx(addInt(old_301990096, iHEX60gensym4_301990110), 0, (result_301990092[result_301990092_Idx]).length - 1)] = x_301990093.charCodeAt(chckIndx(addInt(start_301990094, iHEX60gensym4_301990110), 0, (x_301990093).length - 1)); + i_570426545 = addInt(i_570426545, 1); } - } while (false); - } while (false); + }; + }; } -function addChars_251658411(result_251658413, result_251658413_Idx, x_251658414) { - addChars_251658415(result_251658413, result_251658413_Idx, x_251658414, 0, ((x_251658414) == null ? 0 : (x_251658414).length)); +function addChars_301990086(result_301990088, result_301990088_Idx, x_301990089) { + addChars_301990090(result_301990088, result_301990088_Idx, x_301990089, 0, ((x_301990089) == null ? 0 : (x_301990089).length)); } -function addInt_251658436(result_251658437, result_251658437_Idx, x_251658438) { - addChars_251658411(result_251658437, result_251658437_Idx, ((x_251658438) + "")); +function addInt_301990111(result_301990112, result_301990112_Idx, x_301990113) { + addChars_301990086(result_301990112, result_301990112_Idx, ((x_301990113) + "")); } -function addInt_251658457(result_251658458, result_251658458_Idx, x_251658459) { - addInt_251658436(result_251658458, result_251658458_Idx, x_251658459); +function addInt_301990129(result_301990130, result_301990130_Idx, x_301990131) { + addInt_301990111(result_301990130, result_301990130_Idx, BigInt(x_301990131)); } -function HEX24_335544323(x_335544324) { - var result_335544325 = [[]]; +function HEX24_385875976(x_385875977) { + var result_385875978 = [[]]; - addInt_251658457(result_335544325, 0, x_335544324); + addInt_301990129(result_385875978, 0, x_385875977); - return result_335544325[0]; + return result_385875978[0]; } -function isFatPointer_33557131(ti_33557132) { - var result_33557133 = false; +function isFatPointer_33557259(ti_33557260) { + var result_33557261 = false; - BeforeRet: do { - result_33557133 = !((ConstSet1[ti_33557132.base.kind] != undefined)); + BeforeRet: { + result_33557261 = !((ConstSet1[ti_33557260.base.kind] != undefined)); break BeforeRet; - } while (false); + }; - return result_33557133; + return result_33557261; } -function nimCopyAux(dest_33557144, src_33557145, n_33557146) { - switch (n_33557146.kind) { +function nimCopyAux(dest_33557272, src_33557273, n_33557274) { + switch (n_33557274.kind) { case 0: break; case 1: - dest_33557144[n_33557146.offset] = nimCopy(dest_33557144[n_33557146.offset], src_33557145[n_33557146.offset], n_33557146.typ); + dest_33557272[n_33557274.offset] = nimCopy(dest_33557272[n_33557274.offset], src_33557273[n_33557274.offset], n_33557274.typ); break; case 2: - for (var i = 0; i < n_33557146.sons.length; i++) { - nimCopyAux(dest_33557144, src_33557145, n_33557146.sons[i]); + for (var i = 0; i < n_33557274.sons.length; i++) { + nimCopyAux(dest_33557272, src_33557273, n_33557274.sons[i]); } break; case 3: - dest_33557144[n_33557146.offset] = nimCopy(dest_33557144[n_33557146.offset], src_33557145[n_33557146.offset], n_33557146.typ); - for (var i = 0; i < n_33557146.sons.length; ++i) { - nimCopyAux(dest_33557144, src_33557145, n_33557146.sons[i][1]); + dest_33557272[n_33557274.offset] = nimCopy(dest_33557272[n_33557274.offset], src_33557273[n_33557274.offset], n_33557274.typ); + for (var i = 0; i < n_33557274.sons.length; ++i) { + nimCopyAux(dest_33557272, src_33557273, n_33557274.sons[i][1]); } break; @@ -1171,871 +581,1029 @@ function nimCopyAux(dest_33557144, src_33557145, n_33557146) { } -function raiseIndexError(i_33556754, a_33556755, b_33556756) { +function raiseIndexError(i_33556812, a_33556813, b_33556814) { var Temporary1; - if ((b_33556756 < a_33556755)) { - Temporary1 = makeNimstrLit("index out of bounds, the container is empty"); + if ((b_33556814 < a_33556813)) { + Temporary1 = [105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,44,32,116,104,101,32,99,111,110,116,97,105,110,101,114,32,105,115,32,101,109,112,116,121]; } else { - Temporary1 = (makeNimstrLit("index ") || []).concat(HEX24_335544323(i_33556754) || [],makeNimstrLit(" not in ") || [],HEX24_335544323(a_33556755) || [],makeNimstrLit(" .. ") || [],HEX24_335544323(b_33556756) || []); + Temporary1 = ([105,110,100,101,120,32] || []).concat(HEX24_385875976(i_33556812) || [],[32,110,111,116,32,105,110,32] || [],HEX24_385875976(a_33556813) || [],[32,46,46,32] || [],HEX24_385875976(b_33556814) || []); } - raiseException({message: nimCopy(null, Temporary1, NTI33554439), parent: null, m_type: NTI33555128, name: null, trace: [], up: null}, "IndexDefect"); + raiseException({message: nimCopy(null, Temporary1, NTI33554449), parent: null, m_type: NTI134217749, name: null, trace: [], up: null}, "IndexDefect"); + + +} + +function sysFatal_268435501(message_268435504) { + raiseException({message: nimCopy(null, message_268435504, NTI33554449), m_type: NTI134217745, parent: null, name: null, trace: [], up: null}, "AssertionDefect"); } -function toToc_469762362(x_469762363, father_469762364) { +function raiseAssert_268435499(msg_268435500) { + sysFatal_268435501(msg_268435500); + + +} + +function failedAssertImpl_268435541(msg_268435542) { + raiseAssert_268435499(msg_268435542); + + +} + +function onDOMLoaded(e_570425385) { + +function HEX3Aanonymous_570425409(event_570425410) { + event_570425410.target.parentNode.style.display = "none"; + event_570425410.target.parentNode.nextSibling.style.display = "inline"; + + + } + + document.getElementById("theme-select").value = window.localStorage.getItem("theme"); + Label1: { + var pragmaDots_570425408 = null; + var colontmp__570426536 = []; + colontmp__570426536 = document.getElementsByClassName("pragmadots"); + var i_570426538 = 0; + var L_570426539 = (colontmp__570426536).length; + Label2: { + Label3: while (true) { + if (!(i_570426538 < L_570426539)) break Label3; + pragmaDots_570425408 = colontmp__570426536[chckIndx(i_570426538, 0, (colontmp__570426536).length - 1)]; + pragmaDots_570425408.onclick = HEX3Aanonymous_570425409; + i_570426538 += 1; + if (!(((colontmp__570426536).length == L_570426539))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + } + + } + }; + }; + + +} + +function isWhitespace_570425752(x_570425753) { + var result_570425754 = false; + + result_570425754 = (((x_570425753.nodeName == "#text") && !/\S/.test(x_570425753.textContent)) || (x_570425753.nodeName == "#comment")); + + return result_570425754; + +} + +function toToc_570425755(x_570425756, father_570425757) { var Temporary5; var Temporary6; var Temporary7; var Temporary8; var Temporary15; - if ((x_469762363.nodeName == "UL")) { - var f_469762372 = {heading: null, kids: [], sortId: (father_469762364.kids).length, doSort: false}; - var i_469762373 = 0; - Label1: do { + if ((x_570425756.nodeName == "UL")) { + var f_570425765 = {heading: null, kids: [], sortId: (father_570425757.kids).length, doSort: false}; + var i_570425766 = 0; + Label1: { Label2: while (true) { - if (!(i_469762373 < x_469762363.childNodes.length)) break Label2; - var nxt_469762374 = addInt(i_469762373, 1); - Label3: do { + if (!(i_570425766 < x_570425756.childNodes.length)) break Label2; + var nxt_570425767 = addInt(i_570425766, 1); + Label3: { Label4: while (true) { - if (!(nxt_469762374 < x_469762363.childNodes.length)) Temporary5 = false; else { Temporary5 = isWhitespace_469762359(x_469762363.childNodes[nxt_469762374]); } if (!Temporary5) break Label4; - nxt_469762374 = addInt(nxt_469762374, 1); + if (!(nxt_570425767 < x_570425756.childNodes.length)) Temporary5 = false; else { Temporary5 = isWhitespace_570425752(x_570425756.childNodes[nxt_570425767]); } if (!Temporary5) break Label4; + nxt_570425767 = addInt(nxt_570425767, 1); } - } while (false); - if (!(nxt_469762374 < x_469762363.childNodes.length)) Temporary8 = false; else { Temporary8 = (x_469762363.childNodes[i_469762373].nodeName == "LI"); } if (!Temporary8) Temporary7 = false; else { Temporary7 = (x_469762363.childNodes[i_469762373].childNodes.length == 1); } if (!Temporary7) Temporary6 = false; else { Temporary6 = (x_469762363.childNodes[nxt_469762374].nodeName == "UL"); } if (Temporary6) { - var e_469762386 = {heading: x_469762363.childNodes[i_469762373].childNodes[0], kids: [], sortId: (f_469762372.kids).length, doSort: false}; - var it_469762387 = x_469762363.childNodes[nxt_469762374]; - Label9: do { - var j_469762392 = 0; - var colontmp__469762653 = 0; - colontmp__469762653 = it_469762387.childNodes.length; - var i_469762654 = 0; - Label10: do { + }; + if (!(nxt_570425767 < x_570425756.childNodes.length)) Temporary8 = false; else { Temporary8 = (x_570425756.childNodes[i_570425766].nodeName == "LI"); } if (!Temporary8) Temporary7 = false; else { Temporary7 = (x_570425756.childNodes[i_570425766].childNodes.length == 1); } if (!Temporary7) Temporary6 = false; else { Temporary6 = (x_570425756.childNodes[nxt_570425767].nodeName == "UL"); } if (Temporary6) { + var e_570425780 = {heading: x_570425756.childNodes[i_570425766].childNodes[0], kids: [], sortId: (f_570425765.kids).length, doSort: false}; + var it_570425781 = x_570425756.childNodes[nxt_570425767]; + Label9: { + var j_570425786 = 0; + var colontmp__570426552 = 0; + colontmp__570426552 = it_570425781.childNodes.length; + var i_570426553 = 0; + Label10: { Label11: while (true) { - if (!(i_469762654 < colontmp__469762653)) break Label11; - j_469762392 = i_469762654; - toToc_469762362(it_469762387.childNodes[j_469762392], e_469762386); - i_469762654 = addInt(i_469762654, 1); + if (!(i_570426553 < colontmp__570426552)) break Label11; + j_570425786 = i_570426553; + toToc_570425755(it_570425781.childNodes[j_570425786], e_570425780); + i_570426553 = addInt(i_570426553, 1); } - } while (false); - } while (false); - f_469762372.kids.push(e_469762386);; - i_469762373 = addInt(nxt_469762374, 1); + }; + }; + f_570425765.kids.push(e_570425780);; + i_570425766 = addInt(nxt_570425767, 1); } else { - toToc_469762362(x_469762363.childNodes[i_469762373], f_469762372); - i_469762373 = addInt(i_469762373, 1); + toToc_570425755(x_570425756.childNodes[i_570425766], f_570425765); + i_570425766 = addInt(i_570425766, 1); } } - } while (false); - father_469762364.kids.push(f_469762372);; + }; + father_570425757.kids.push(f_570425765);; } else { - if (isWhitespace_469762359(x_469762363)) { + if (isWhitespace_570425752(x_570425756)) { } else { - if ((x_469762363.nodeName == "LI")) { - var idx_469762409 = []; - Label12: do { - var i_469762414 = 0; - var colontmp__469762657 = 0; - colontmp__469762657 = x_469762363.childNodes.length; - var i_469762658 = 0; - Label13: do { + if ((x_570425756.nodeName == "LI")) { + var idx_570425804 = []; + Label12: { + var i_570425809 = 0; + var colontmp__570426556 = 0; + colontmp__570426556 = x_570425756.childNodes.length; + var i_570426557 = 0; + Label13: { Label14: while (true) { - if (!(i_469762658 < colontmp__469762657)) break Label14; - i_469762414 = i_469762658; - if (!(isWhitespace_469762359(x_469762363.childNodes[i_469762414]))) { - idx_469762409.push(i_469762414);; + if (!(i_570426557 < colontmp__570426556)) break Label14; + i_570425809 = i_570426557; + if (!(isWhitespace_570425752(x_570425756.childNodes[i_570425809]))) { + idx_570425804.push(i_570425809);; } - i_469762658 = addInt(i_469762658, 1); + i_570426557 = addInt(i_570426557, 1); } - } while (false); - } while (false); - if (!((idx_469762409).length == 2)) Temporary15 = false; else { Temporary15 = (x_469762363.childNodes[idx_469762409[chckIndx(1, 0, (idx_469762409).length - 1)]].nodeName == "UL"); } if (Temporary15) { - var e_469762430 = {heading: x_469762363.childNodes[idx_469762409[chckIndx(0, 0, (idx_469762409).length - 1)]], kids: [], sortId: (father_469762364.kids).length, doSort: false}; - var it_469762431 = x_469762363.childNodes[idx_469762409[chckIndx(1, 0, (idx_469762409).length - 1)]]; - Label16: do { - var j_469762436 = 0; - var colontmp__469762661 = 0; - colontmp__469762661 = it_469762431.childNodes.length; - var i_469762662 = 0; - Label17: do { + }; + }; + if (!((idx_570425804).length == 2)) Temporary15 = false; else { Temporary15 = (x_570425756.childNodes[idx_570425804[chckIndx(1, 0, (idx_570425804).length - 1)]].nodeName == "UL"); } if (Temporary15) { + var e_570425825 = {heading: x_570425756.childNodes[idx_570425804[chckIndx(0, 0, (idx_570425804).length - 1)]], kids: [], sortId: (father_570425757.kids).length, doSort: false}; + var it_570425826 = x_570425756.childNodes[idx_570425804[chckIndx(1, 0, (idx_570425804).length - 1)]]; + Label16: { + var j_570425831 = 0; + var colontmp__570426560 = 0; + colontmp__570426560 = it_570425826.childNodes.length; + var i_570426561 = 0; + Label17: { Label18: while (true) { - if (!(i_469762662 < colontmp__469762661)) break Label18; - j_469762436 = i_469762662; - toToc_469762362(it_469762431.childNodes[j_469762436], e_469762430); - i_469762662 = addInt(i_469762662, 1); + if (!(i_570426561 < colontmp__570426560)) break Label18; + j_570425831 = i_570426561; + toToc_570425755(it_570425826.childNodes[j_570425831], e_570425825); + i_570426561 = addInt(i_570426561, 1); } - } while (false); - } while (false); - father_469762364.kids.push(e_469762430);; + }; + }; + father_570425757.kids.push(e_570425825);; } else { - Label19: do { - var i_469762445 = 0; - var colontmp__469762665 = 0; - colontmp__469762665 = x_469762363.childNodes.length; - var i_469762666 = 0; - Label20: do { + Label19: { + var i_570425840 = 0; + var colontmp__570426564 = 0; + colontmp__570426564 = x_570425756.childNodes.length; + var i_570426565 = 0; + Label20: { Label21: while (true) { - if (!(i_469762666 < colontmp__469762665)) break Label21; - i_469762445 = i_469762666; - toToc_469762362(x_469762363.childNodes[i_469762445], father_469762364); - i_469762666 = addInt(i_469762666, 1); + if (!(i_570426565 < colontmp__570426564)) break Label21; + i_570425840 = i_570426565; + toToc_570425755(x_570425756.childNodes[i_570425840], father_570425757); + i_570426565 = addInt(i_570426565, 1); } - } while (false); - } while (false); + }; + }; } } else { - father_469762364.kids.push({heading: x_469762363, kids: [], sortId: (father_469762364.kids).length, doSort: false});; + father_570425757.kids.push({heading: x_570425756, kids: [], sortId: (father_570425757.kids).length, doSort: false});; } }} } -function extractItems_469762182(x_469762183, heading_469762184, items_469762185, items_469762185_Idx) { - var Temporary1; - - BeforeRet: do { - if ((x_469762183 == null)) { +function extractItems_570425543(x_570425544, heading_570425545, items_570425546, items_570425546_Idx) { + BeforeRet: { + if ((x_570425544 == null)) { break BeforeRet; } - if (!!((x_469762183.heading == null))) Temporary1 = false; else { Temporary1 = (x_469762183.heading.textContent == heading_469762184); } if (Temporary1) { - Label2: do { - var i_469762202 = 0; - var colontmp__469762677 = 0; - colontmp__469762677 = (x_469762183.kids).length; - var i_469762678 = 0; - Label3: do { - Label4: while (true) { - if (!(i_469762678 < colontmp__469762677)) break Label4; - i_469762202 = i_469762678; - items_469762185[items_469762185_Idx].push(x_469762183.kids[chckIndx(i_469762202, 0, (x_469762183.kids).length - 1)].heading);; - i_469762678 = addInt(i_469762678, 1); + if ((!((x_570425544.heading == null)) && (x_570425544.heading.textContent == heading_570425545))) { + Label1: { + var i_570425563 = 0; + var colontmp__570426568 = 0; + colontmp__570426568 = (x_570425544.kids).length; + var i_570426569 = 0; + Label2: { + Label3: while (true) { + if (!(i_570426569 < colontmp__570426568)) break Label3; + i_570425563 = i_570426569; + items_570425546[items_570425546_Idx].push(x_570425544.kids[chckIndx(i_570425563, 0, (x_570425544.kids).length - 1)].heading);; + i_570426569 = addInt(i_570426569, 1); } - } while (false); - } while (false); + }; + }; } else { - Label5: do { - var i_469762214 = 0; - var colontmp__469762681 = 0; - colontmp__469762681 = (x_469762183.kids).length; - var i_469762682 = 0; - Label6: do { - Label7: while (true) { - if (!(i_469762682 < colontmp__469762681)) break Label7; - i_469762214 = i_469762682; - var it_469762215 = x_469762183.kids[chckIndx(i_469762214, 0, (x_469762183.kids).length - 1)]; - extractItems_469762182(it_469762215, heading_469762184, items_469762185, items_469762185_Idx); - i_469762682 = addInt(i_469762682, 1); + Label4: { + var k_570425589 = null; + var i_570426573 = 0; + var L_570426574 = (x_570425544.kids).length; + Label5: { + Label6: while (true) { + if (!(i_570426573 < L_570426574)) break Label6; + k_570425589 = x_570425544.kids[chckIndx(i_570426573, 0, (x_570425544.kids).length - 1)]; + extractItems_570425543(k_570425589, heading_570425545, items_570425546, items_570425546_Idx); + i_570426573 += 1; + if (!(((x_570425544.kids).length == L_570426574))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + } + } - } while (false); - } while (false); + }; + }; } - } while (false); + }; } -function tree_469762055(tag_469762056, kids_469762057) { - var result_469762058 = null; +function tree_570425474(tag_570425475, kids_570425476) { + var result_570425477 = null; - result_469762058 = document.createElement(toJSStr(tag_469762056)); - Label1: do { - var k_469762071 = null; - var i_469762695 = 0; - Label2: do { + result_570425477 = document.createElement(tag_570425475); + Label1: { + var k_570425491 = null; + var i_570426586 = 0; + Label2: { Label3: while (true) { - if (!(i_469762695 < (kids_469762057).length)) break Label3; - k_469762071 = kids_469762057[chckIndx(i_469762695, 0, (kids_469762057).length - 1)]; - result_469762058.appendChild(k_469762071); - i_469762695 = addInt(i_469762695, 1); + if (!(i_570426586 < (kids_570425476).length)) break Label3; + k_570425491 = kids_570425476[chckIndx(i_570426586, 0, (kids_570425476).length - 1)]; + result_570425477.appendChild(k_570425491); + i_570426586 += 1; } - } while (false); - } while (false); - - return result_469762058; - -} - -function text_469762109(s_469762110) { - var result_469762111 = null; + }; + }; - result_469762111 = document.createTextNode(s_469762110); - - return result_469762111; + return result_570425477; } -function sysFatal_218103842(message_218103845) { - raiseException({message: nimCopy(null, message_218103845, NTI33554439), m_type: NTI33555124, parent: null, name: null, trace: [], up: null}, "AssertionDefect"); +function text_570425499(s_570425500) { + var result_570425501 = null; - -} + result_570425501 = document.createTextNode(s_570425500); -function raiseAssert_218103840(msg_218103841) { - sysFatal_218103842(msg_218103841); + return result_570425501; - } -function failedAssertImpl_218103864(msg_218103865) { - raiseAssert_218103840(msg_218103865); - - -} - -function uncovered_469762493(x_469762494) { - var Temporary1; - var Temporary2; +function uncovered_570425944(x_570425945) { + var Temporary1; - var result_469762495 = null; + var result_570425946 = null; - BeforeRet: do { - if (!((x_469762494.kids).length == 0)) Temporary1 = false; else { Temporary1 = !((x_469762494.heading == null)); } if (Temporary1) { - if (!(x_469762494.heading.hasOwnProperty('__karaxMarker__'))) { - Temporary2 = x_469762494; + BeforeRet: { + if ((((x_570425945.kids).length == 0) && !((x_570425945.heading == null)))) { + if (!(x_570425945.heading.hasOwnProperty('__karaxMarker__'))) { + Temporary1 = x_570425945; } else { - Temporary2 = null; + Temporary1 = null; } - result_469762495 = Temporary2; + result_570425946 = Temporary1; break BeforeRet; } - result_469762495 = {heading: x_469762494.heading, kids: [], sortId: x_469762494.sortId, doSort: x_469762494.doSort}; - Label3: do { - var i_469762514 = 0; - var colontmp__469762702 = 0; - colontmp__469762702 = (x_469762494.kids).length; - var i_469762703 = 0; - Label4: do { - Label5: while (true) { - if (!(i_469762703 < colontmp__469762702)) break Label5; - i_469762514 = i_469762703; - var y_469762515 = uncovered_469762493(x_469762494.kids[chckIndx(i_469762514, 0, (x_469762494.kids).length - 1)]); - if (!((y_469762515 == null))) { - result_469762495.kids.push(y_469762515);; + result_570425946 = {heading: x_570425945.heading, kids: [], sortId: x_570425945.sortId, doSort: x_570425945.doSort}; + Label2: { + var k_570425961 = null; + var i_570426593 = 0; + var L_570426594 = (x_570425945.kids).length; + Label3: { + Label4: while (true) { + if (!(i_570426593 < L_570426594)) break Label4; + k_570425961 = x_570425945.kids[chckIndx(i_570426593, 0, (x_570425945.kids).length - 1)]; + var y_570425962 = uncovered_570425944(k_570425961); + if (!((y_570425962 == null))) { + result_570425946.kids.push(y_570425962);; + } + + i_570426593 += 1; + if (!(((x_570425945.kids).length == L_570426594))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } - i_469762703 = addInt(i_469762703, 1); } - } while (false); - } while (false); - if (((result_469762495.kids).length == 0)) { - result_469762495 = null; + }; + }; + if (((result_570425946.kids).length == 0)) { + result_570425946 = null; } - } while (false); + }; - return result_469762495; + return result_570425946; } -function mergeTocs_469762527(orig_469762528, news_469762529) { - var result_469762530 = null; +function mergeTocs_570425974(orig_570425975, news_570425976) { + var result_570425977 = null; - result_469762530 = uncovered_469762493(orig_469762528); - if ((result_469762530 == null)) { - result_469762530 = news_469762529; + result_570425977 = uncovered_570425944(orig_570425975); + if ((result_570425977 == null)) { + result_570425977 = news_570425976; } else { - Label1: do { - var i_469762542 = 0; - var colontmp__469762698 = 0; - colontmp__469762698 = (news_469762529.kids).length; - var i_469762699 = 0; - Label2: do { + Label1: { + var i_570425989 = 0; + var colontmp__570426589 = 0; + colontmp__570426589 = (news_570425976.kids).length; + var i_570426590 = 0; + Label2: { Label3: while (true) { - if (!(i_469762699 < colontmp__469762698)) break Label3; - i_469762542 = i_469762699; - result_469762530.kids.push(news_469762529.kids[chckIndx(i_469762542, 0, (news_469762529.kids).length - 1)]);; - i_469762699 = addInt(i_469762699, 1); + if (!(i_570426590 < colontmp__570426589)) break Label3; + i_570425989 = i_570426590; + result_570425977.kids.push(news_570425976.kids[chckIndx(i_570425989, 0, (news_570425976.kids).length - 1)]);; + i_570426590 = addInt(i_570426590, 1); } - } while (false); - } while (false); + }; + }; } - return result_469762530; + return result_570425977; } -function buildToc_469762547(orig_469762548, types_469762549, procs_469762550) { - var Temporary7; - - var result_469762551 = null; +function buildToc_570425994(orig_570425995, types_570425996, procs_570425997) { + var result_570425998 = null; - var newStuff_469762556 = {heading: null, kids: [], doSort: true, sortId: 0}; - Label1: do { - var t_469762578 = null; - var i_469762690 = 0; - var L_469762691 = (types_469762549).length; - Label2: do { + var newStuff_570426003 = {heading: null, kids: [], doSort: true, sortId: 0}; + Label1: { + var t_570426007 = null; + var i_570426581 = 0; + var L_570426582 = (types_570425996).length; + Label2: { Label3: while (true) { - if (!(i_469762690 < L_469762691)) break Label3; - t_469762578 = types_469762549[chckIndx(i_469762690, 0, (types_469762549).length - 1)]; - var c_469762583 = {heading: t_469762578.cloneNode(true), kids: [], doSort: true, sortId: 0}; - t_469762578.__karaxMarker__ = true; - Label4: do { - var p_469762587 = null; - var i_469762687 = 0; - var L_469762688 = (procs_469762550).length; - Label5: do { + if (!(i_570426581 < L_570426582)) break Label3; + t_570426007 = types_570425996[chckIndx(i_570426581, 0, (types_570425996).length - 1)]; + var c_570426012 = {heading: t_570426007.cloneNode(true), kids: [], doSort: true, sortId: 0}; + t_570426007.__karaxMarker__ = true; + Label4: { + var p_570426016 = null; + var i_570426578 = 0; + var L_570426579 = (procs_570425997).length; + Label5: { Label6: while (true) { - if (!(i_469762687 < L_469762688)) break Label6; - p_469762587 = procs_469762550[chckIndx(i_469762687, 0, (procs_469762550).length - 1)]; - if (!(p_469762587.hasOwnProperty('__karaxMarker__'))) { - var xx_469762588 = p_469762587.parentNode.getElementsByClassName("attachedType"); - if (!((xx_469762588).length == 1)) Temporary7 = false; else { Temporary7 = (xx_469762588[chckIndx(0, 0, (xx_469762588).length - 1)].textContent == t_469762578.textContent); } if (Temporary7) { - var q_469762593 = tree_469762055(makeNimstrLit("A"), [text_469762109(p_469762587.title)]); - q_469762593.setAttribute("href", p_469762587.getAttribute("href")); - c_469762583.kids.push({heading: q_469762593, kids: [], sortId: 0, doSort: false});; - p_469762587.__karaxMarker__ = true; + if (!(i_570426578 < L_570426579)) break Label6; + p_570426016 = procs_570425997[chckIndx(i_570426578, 0, (procs_570425997).length - 1)]; + if (!(p_570426016.hasOwnProperty('__karaxMarker__'))) { + var xx_570426017 = p_570426016.parentNode.getElementsByClassName("attachedType"); + if ((((xx_570426017).length == 1) && (xx_570426017[chckIndx(0, 0, (xx_570426017).length - 1)].textContent == t_570426007.textContent))) { + var q_570426022 = tree_570425474("A", [text_570425499(p_570426016.title)]); + q_570426022.setAttribute("href", p_570426016.getAttribute("href")); + c_570426012.kids.push({heading: q_570426022, kids: [], sortId: 0, doSort: false});; + p_570426016.__karaxMarker__ = true; } } - i_469762687 = addInt(i_469762687, 1); - if (!(((procs_469762550).length == L_469762688))) { - failedAssertImpl_218103864(makeNimstrLit("iterators.nim(240, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_570426578 += 1; + if (!(((procs_570425997).length == L_570426579))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } - } while (false); - } while (false); - newStuff_469762556.kids.push(c_469762583);; - i_469762690 = addInt(i_469762690, 1); - if (!(((types_469762549).length == L_469762691))) { - failedAssertImpl_218103864(makeNimstrLit("iterators.nim(240, 11) `len(a) == L` the length of the seq changed while iterating over it")); + }; + }; + newStuff_570426003.kids.push(c_570426012);; + i_570426581 += 1; + if (!(((types_570425996).length == L_570426582))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } - } while (false); - } while (false); - result_469762551 = mergeTocs_469762527(orig_469762548, newStuff_469762556); + }; + }; + result_570425998 = mergeTocs_570425974(orig_570425995, newStuff_570426003); - return result_469762551; + return result_570425998; } -function add_469762099(parent_469762100, kid_469762101) { - var Temporary1; - var Temporary2; - - if (!(parent_469762100.nodeName == "TR")) Temporary1 = false; else { if ((kid_469762101.nodeName == "TD")) Temporary2 = true; else { Temporary2 = (kid_469762101.nodeName == "TH"); } Temporary1 = Temporary2; } if (Temporary1) { - var k_469762102 = document.createElement("TD"); - k_469762102.appendChild(kid_469762101); - parent_469762100.appendChild(k_469762102); +function add_570425492(parent_570425493, kid_570425494) { + if (((parent_570425493.nodeName == "TR") && ((kid_570425494.nodeName == "TD") || (kid_570425494.nodeName == "TH")))) { + var k_570425495 = document.createElement("TD"); + k_570425495.appendChild(kid_570425494); + parent_570425493.appendChild(k_570425495); } else { - parent_469762100.appendChild(kid_469762101); + parent_570425493.appendChild(kid_570425494); } } -function setClass_469762103(e_469762104, value_469762105) { - e_469762104.setAttribute("class", toJSStr(value_469762105)); +function setClass_570425496(e_570425497, value_570425498) { + e_570425497.setAttribute("class", value_570425498); } -function toHtml_469762225(x_469762226, isRoot_469762227) { - var Temporary1; +function toHtml_570425622(x_570425623, isRoot_570425624) { -function HEX3Aanonymous_469762245(a_469762246, b_469762247) { - var Temporary1; - - var result_469762248 = 0; - - BeforeRet: do { - if (!!((a_469762246.heading == null))) Temporary1 = false; else { Temporary1 = !((b_469762247.heading == null)); } if (Temporary1) { - var x_469762257 = a_469762246.heading.textContent; - var y_469762258 = b_469762247.heading.textContent; - if ((x_469762257 < y_469762258)) { - result_469762248 = -1; +function HEX3Aanonymous_570425642(a_570425643, b_570425644) { + var result_570425645 = 0; + + BeforeRet: { + if ((!((a_570425643.heading == null)) && !((b_570425644.heading == null)))) { + var x_570425654 = a_570425643.heading.textContent; + var y_570425655 = b_570425644.heading.textContent; + if ((x_570425654 < y_570425655)) { + result_570425645 = (-1); break BeforeRet; } - if ((y_469762258 < x_469762257)) { - result_469762248 = 1; + if ((y_570425655 < x_570425654)) { + result_570425645 = 1; break BeforeRet; } - result_469762248 = 0; + result_570425645 = 0; break BeforeRet; } else { - result_469762248 = subInt(a_469762246.sortId, b_469762247.sortId); + result_570425645 = subInt(a_570425643.sortId, b_570425644.sortId); break BeforeRet; } - } while (false); + }; - return result_469762248; + return result_570425645; } - var result_469762228 = null; + var result_570425625 = null; - BeforeRet: do { - if ((x_469762226 == null)) { - result_469762228 = null; + BeforeRet: { + if ((x_570425623 == null)) { + result_570425625 = null; break BeforeRet; } - if (((x_469762226.kids).length == 0)) { - if ((x_469762226.heading == null)) { - result_469762228 = null; + if (((x_570425623.kids).length == 0)) { + if ((x_570425623.heading == null)) { + result_570425625 = null; break BeforeRet; } - result_469762228 = x_469762226.heading.cloneNode(true); + result_570425625 = x_570425623.heading.cloneNode(true); break BeforeRet; } - result_469762228 = tree_469762055(makeNimstrLit("DIV"), []); - if (!!((x_469762226.heading == null))) Temporary1 = false; else { Temporary1 = !(x_469762226.heading.hasOwnProperty('__karaxMarker__')); } if (Temporary1) { - add_469762099(result_469762228, x_469762226.heading.cloneNode(true)); + result_570425625 = tree_570425474("DIV", []); + if ((!((x_570425623.heading == null)) && !(x_570425623.heading.hasOwnProperty('__karaxMarker__')))) { + add_570425492(result_570425625, x_570425623.heading.cloneNode(true)); } - var ul_469762244 = tree_469762055(makeNimstrLit("UL"), []); - if (isRoot_469762227) { - setClass_469762103(ul_469762244, makeNimstrLit("simple simple-toc")); + var ul_570425641 = tree_570425474("UL", []); + if (isRoot_570425624) { + setClass_570425496(ul_570425641, "simple simple-toc"); } else { - setClass_469762103(ul_469762244, makeNimstrLit("simple")); + setClass_570425496(ul_570425641, "simple"); } - if (x_469762226.doSort) { - x_469762226.kids.sort(HEX3Aanonymous_469762245); + if (x_570425623.doSort) { + x_570425623.kids.sort(HEX3Aanonymous_570425642); } - Label2: do { - var k_469762287 = null; - var i_469762707 = 0; - var L_469762708 = (x_469762226.kids).length; - Label3: do { - Label4: while (true) { - if (!(i_469762707 < L_469762708)) break Label4; - k_469762287 = x_469762226.kids[chckIndx(i_469762707, 0, (x_469762226.kids).length - 1)]; - var y_469762288 = toHtml_469762225(k_469762287, false); - if (!((y_469762288 == null))) { - add_469762099(ul_469762244, tree_469762055(makeNimstrLit("LI"), [y_469762288])); + Label1: { + var k_570425667 = null; + var i_570426597 = 0; + var L_570426598 = (x_570425623.kids).length; + Label2: { + Label3: while (true) { + if (!(i_570426597 < L_570426598)) break Label3; + k_570425667 = x_570425623.kids[chckIndx(i_570426597, 0, (x_570425623.kids).length - 1)]; + var y_570425668 = toHtml_570425622(k_570425667, false); + if (!((y_570425668 == null))) { + add_570425492(ul_570425641, tree_570425474("LI", [y_570425668])); } - i_469762707 = addInt(i_469762707, 1); - if (!(((x_469762226.kids).length == L_469762708))) { - failedAssertImpl_218103864(makeNimstrLit("iterators.nim(240, 11) `len(a) == L` the length of the seq changed while iterating over it")); + i_570426597 += 1; + if (!(((x_570425623.kids).length == L_570426598))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } - } while (false); - } while (false); - if (!((ul_469762244.childNodes.length == 0))) { - add_469762099(result_469762228, ul_469762244); + }; + }; + if (!((ul_570425641.childNodes.length == 0))) { + add_570425492(result_570425625, ul_570425641); } - if ((result_469762228.childNodes.length == 0)) { - result_469762228 = null; + if ((result_570425625.childNodes.length == 0)) { + result_570425625 = null; } - } while (false); + }; - return result_469762228; + return result_570425625; } -function replaceById_469762114(id_469762115, newTree_469762116) { - var x_469762117 = document.getElementById(id_469762115); - x_469762117.parentNode.replaceChild(newTree_469762116, x_469762117); - newTree_469762116.id = id_469762115; +function replaceById_570425502(id_570425503, newTree_570425504) { + var x_570425505 = document.getElementById(id_570425503); + x_570425505.parentNode.replaceChild(newTree_570425504, x_570425505); + newTree_570425504.id = id_570425503; } -function togglevis_469762625(d_469762626) { - if (d_469762626.style.display == 'none') - d_469762626.style.display = 'inline'; - else - d_469762626.style.display = 'none'; - +function togglevis_570426052(d_570426053) { + if ((d_570426053.style.display == "none")) { + d_570426053.style.display = "inline"; + } + else { + d_570426053.style.display = "none"; + } + } -function groupBy(value_469762628) { - var toc_469762629 = document.getElementById("toc-list"); - if ((alternative_469762624[0] == null)) { - var tt_469762637 = {heading: null, kids: [], sortId: 0, doSort: false}; - toToc_469762362(toc_469762629, tt_469762637); - tt_469762637 = tt_469762637.kids[chckIndx(0, 0, (tt_469762637.kids).length - 1)]; - var types_469762642 = [[]]; - var procs_469762647 = [[]]; - extractItems_469762182(tt_469762637, "Types", types_469762642, 0); - extractItems_469762182(tt_469762637, "Procs", procs_469762647, 0); - extractItems_469762182(tt_469762637, "Converters", procs_469762647, 0); - extractItems_469762182(tt_469762637, "Methods", procs_469762647, 0); - extractItems_469762182(tt_469762637, "Templates", procs_469762647, 0); - extractItems_469762182(tt_469762637, "Macros", procs_469762647, 0); - extractItems_469762182(tt_469762637, "Iterators", procs_469762647, 0); - var ntoc_469762648 = buildToc_469762547(tt_469762637, types_469762642[0], procs_469762647[0]); - var x_469762649 = toHtml_469762225(ntoc_469762648, true); - alternative_469762624[0] = tree_469762055(makeNimstrLit("DIV"), [x_469762649]); +function groupBy(value_570426055) { + var toc_570426056 = document.getElementById("toc-list"); + if ((alternative_570426051[0] == null)) { + var tt_570426064 = {heading: null, kids: [], sortId: 0, doSort: false}; + toToc_570425755(toc_570426056, tt_570426064); + tt_570426064 = tt_570426064.kids[chckIndx(0, 0, (tt_570426064.kids).length - 1)]; + var types_570426069 = [[]]; + var procs_570426074 = [[]]; + extractItems_570425543(tt_570426064, "Types", types_570426069, 0); + extractItems_570425543(tt_570426064, "Procs", procs_570426074, 0); + extractItems_570425543(tt_570426064, "Converters", procs_570426074, 0); + extractItems_570425543(tt_570426064, "Methods", procs_570426074, 0); + extractItems_570425543(tt_570426064, "Templates", procs_570426074, 0); + extractItems_570425543(tt_570426064, "Macros", procs_570426074, 0); + extractItems_570425543(tt_570426064, "Iterators", procs_570426074, 0); + var ntoc_570426075 = buildToc_570425994(tt_570426064, types_570426069[0], procs_570426074[0]); + var x_570426076 = toHtml_570425622(ntoc_570426075, true); + alternative_570426051[0] = tree_570425474("DIV", [x_570426076]); } - if ((value_469762628 == "type")) { - replaceById_469762114("tocRoot", alternative_469762624[0]); + if ((value_570426055 == "type")) { + replaceById_570425502("tocRoot", alternative_570426051[0]); } else { - replaceById_469762114("tocRoot", tree_469762055(makeNimstrLit("DIV"), [])); + replaceById_570425502("tocRoot", tree_570425474("DIV", [])); } - togglevis_469762625(document.getElementById("toc-list")); + togglevis_570426052(document.getElementById("toc-list")); } -var db_469762710 = [[]]; -var contents_469762711 = [[]]; -var oldtoc_469762858 = [null]; -var timer_469762859 = [null]; -function nsuToLowerAsciiChar(c_637534276) { - var result_637534277 = 0; +function HEX5BHEX5D_738198811(s_738198814, x_738198815) { + var result_738198816 = []; + + var a_738198818 = x_738198815.a; + var L_738198820 = addInt(subInt(subInt((s_738198814).length, x_738198815.b), a_738198818), 1); + result_738198816 = nimCopy(null, mnewString(chckRange(L_738198820, 0, 2147483647)), NTI33554449); + Label1: { + var i_738198825 = 0; + var i_570426607 = 0; + Label2: { + Label3: while (true) { + if (!(i_570426607 < L_738198820)) break Label3; + i_738198825 = i_570426607; + result_738198816[chckIndx(i_738198825, 0, (result_738198816).length - 1)] = s_738198814[chckIndx(addInt(i_738198825, a_738198818), 0, (s_738198814).length - 1)]; + i_570426607 = addInt(i_570426607, 1); + } + }; + }; + + return result_738198816; + +} + +function HEX2EHEX2E_973078633(a_973078636, b_973078637) { + var result_973078640 = ({a: 0, b: 0}); + + result_973078640 = nimCopy(result_973078640, {a: a_973078636, b: b_973078637}, NTI973078613); + + return result_973078640; + +} +async function loadIndex_570426272() { + var result_570426274 = null; + + BeforeRet: { + var indexURL_570426280 = document.getElementById("indexLink").getAttribute("href"); + var rootURL_570426306 = HEX5BHEX5D_738198811(cstrToNimstr(indexURL_570426280), HEX2EHEX2E_973078633(0, 14)); + var resp_570426318 = (await (await fetch(indexURL_570426280)).text()); + var indexElem_570426319 = document.createElement("div"); + indexElem_570426319.innerHTML = resp_570426318; + Label1: { + var href_570426341 = null; + var colontmp__570426601 = []; + colontmp__570426601 = indexElem_570426319.getElementsByClassName("reference"); + var i_570426603 = 0; + var L_570426604 = (colontmp__570426601).length; + Label2: { + Label3: while (true) { + if (!(i_570426603 < L_570426604)) break Label3; + href_570426341 = colontmp__570426601[chckIndx(i_570426603, 0, (colontmp__570426601).length - 1)]; + href_570426341.setAttribute("href", toJSStr((rootURL_570426306 || []).concat(cstrToNimstr(href_570426341.getAttribute("href")) || []))); + db_570426093[0].push(href_570426341);; + contents_570426094[0].push(href_570426341.getAttribute("data-doc-search-tag"));; + i_570426603 += 1; + if (!(((colontmp__570426601).length == L_570426604))) { + failedAssertImpl_268435541(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it")); + } + + } + }; + }; + result_570426274 = undefined; + break BeforeRet; + }; + + return result_570426274; + +} - if ((ConstSet2[c_637534276] != undefined)) { - result_637534277 = (c_637534276 ^ 32); +function then_570426450(future_570426453, onSuccess_570426454, onReject_570426455) { + var result_570426456 = null; + + BeforeRet: { + var ret_570426466 = null; + ret_570426466 = future_570426453.then(onSuccess_570426454, onReject_570426455) + result_570426456 = ret_570426466; + break BeforeRet; + }; + + return result_570426456; + +} + +function nsuToLowerAsciiChar(c_738197589) { + var result_738197590 = 0; + + if ((ConstSet2[c_738197589] != undefined)) { + result_738197590 = (c_738197589 ^ 32); } else { - result_637534277 = c_637534276; + result_738197590 = c_738197589; } - return result_637534277; + return result_738197590; } -function fuzzyMatch_620757008(pattern_620757009, str_620757010) { +function fuzzyMatch_721420304(pattern_721420305, str_721420306) { var Temporary4; var Temporary5; var Temporary6; var Temporary7; var Temporary8; - var result_620757013 = {Field0: 0, Field1: false}; + var result_721420309 = {Field0: 0, Field1: false}; - var scoreState_620757014 = -100; - var headerMatched_620757015 = false; - var unmatchedLeadingCharCount_620757016 = 0; - var consecutiveMatchCount_620757017 = 0; - var strIndex_620757018 = 0; - var patIndex_620757019 = 0; - var score_620757020 = 0; - Label1: do { + var scoreState_721420310 = (-100); + var headerMatched_721420311 = false; + var unmatchedLeadingCharCount_721420312 = 0; + var consecutiveMatchCount_721420313 = 0; + var strIndex_721420314 = 0; + var patIndex_721420315 = 0; + var score_721420316 = 0; + Label1: { Label2: while (true) { - if (!((strIndex_620757018 < ((str_620757010) == null ? 0 : (str_620757010).length)) && (patIndex_620757019 < ((pattern_620757009) == null ? 0 : (pattern_620757009).length)))) break Label2; - Label3: do { - var patternChar_620757023 = nsuToLowerAsciiChar(pattern_620757009.charCodeAt(chckIndx(patIndex_620757019, 0, (pattern_620757009).length - 1))); - var strChar_620757024 = nsuToLowerAsciiChar(str_620757010.charCodeAt(chckIndx(strIndex_620757018, 0, (str_620757010).length - 1))); - if ((ConstSet3[patternChar_620757023] != undefined)) { - patIndex_620757019 = addInt(patIndex_620757019, 1); + if (!((strIndex_721420314 < ((str_721420306) == null ? 0 : (str_721420306).length)) && (patIndex_721420315 < ((pattern_721420305) == null ? 0 : (pattern_721420305).length)))) break Label2; + Label3: { + var patternChar_721420319 = nsuToLowerAsciiChar(pattern_721420305.charCodeAt(chckIndx(patIndex_721420315, 0, (pattern_721420305).length - 1))); + var strChar_721420320 = nsuToLowerAsciiChar(str_721420306.charCodeAt(chckIndx(strIndex_721420314, 0, (str_721420306).length - 1))); + if ((ConstSet3[patternChar_721420319] != undefined)) { + patIndex_721420315 = addInt(patIndex_721420315, 1); break Label3; } - if ((ConstSet4[strChar_620757024] != undefined)) { - strIndex_620757018 = addInt(strIndex_620757018, 1); + if ((ConstSet4[strChar_721420320] != undefined)) { + strIndex_721420314 = addInt(strIndex_721420314, 1); break Label3; } - if ((!(headerMatched_620757015) && (strChar_620757024 == 58))) { - headerMatched_620757015 = true; - scoreState_620757014 = -100; - score_620757020 = ((Math.floor((0.5 * score_620757020))) | 0); - patIndex_620757019 = 0; - strIndex_620757018 = addInt(strIndex_620757018, 1); + if ((!(headerMatched_721420311) && (strChar_721420320 == 58))) { + headerMatched_721420311 = true; + scoreState_721420310 = (-100); + score_721420316 = ((Math.floor((0.5 * score_721420316))) | 0); + patIndex_721420315 = 0; + strIndex_721420314 = addInt(strIndex_721420314, 1); break Label3; } - if ((strChar_620757024 == patternChar_620757023)) { - switch (scoreState_620757014) { - case -100: + if ((strChar_721420320 == patternChar_721420319)) { + switch (scoreState_721420310) { + case (-100): case 20: - scoreState_620757014 = 10; + scoreState_721420310 = 10; break; case 0: - scoreState_620757014 = 5; - score_620757020 = addInt(score_620757020, scoreState_620757014); + scoreState_721420310 = 5; + score_721420316 = addInt(score_721420316, scoreState_721420310); break; case 10: case 5: - consecutiveMatchCount_620757017 = addInt(consecutiveMatchCount_620757017, 1); - scoreState_620757014 = 5; - score_620757020 = addInt(score_620757020, mulInt(5, consecutiveMatchCount_620757017)); - if ((scoreState_620757014 == 10)) { - score_620757020 = addInt(score_620757020, 10); + consecutiveMatchCount_721420313 = addInt(consecutiveMatchCount_721420313, 1); + scoreState_721420310 = 5; + score_721420316 = addInt(score_721420316, mulInt(5, consecutiveMatchCount_721420313)); + if ((scoreState_721420310 == 10)) { + score_721420316 = addInt(score_721420316, 10); } - var onBoundary_620757076 = (patIndex_620757019 == ((pattern_620757009) == null ? -1 : (pattern_620757009).length - 1)); - if ((!(onBoundary_620757076) && (strIndex_620757018 < ((str_620757010) == null ? -1 : (str_620757010).length - 1)))) { - var nextPatternChar_620757077 = nsuToLowerAsciiChar(pattern_620757009.charCodeAt(chckIndx(addInt(patIndex_620757019, 1), 0, (pattern_620757009).length - 1))); - var nextStrChar_620757078 = nsuToLowerAsciiChar(str_620757010.charCodeAt(chckIndx(addInt(strIndex_620757018, 1), 0, (str_620757010).length - 1))); - if (!!((ConstSet5[nextStrChar_620757078] != undefined))) Temporary4 = false; else { Temporary4 = !((nextStrChar_620757078 == nextPatternChar_620757077)); } onBoundary_620757076 = Temporary4; + var onBoundary_721420372 = (patIndex_721420315 == ((pattern_721420305) == null ? -1 : (pattern_721420305).length - 1)); + if ((!(onBoundary_721420372) && (strIndex_721420314 < ((str_721420306) == null ? -1 : (str_721420306).length - 1)))) { + var nextPatternChar_721420373 = nsuToLowerAsciiChar(pattern_721420305.charCodeAt(chckIndx(addInt(patIndex_721420315, 1), 0, (pattern_721420305).length - 1))); + var nextStrChar_721420374 = nsuToLowerAsciiChar(str_721420306.charCodeAt(chckIndx(addInt(strIndex_721420314, 1), 0, (str_721420306).length - 1))); + if (!!((ConstSet5[nextStrChar_721420374] != undefined))) Temporary4 = false; else { Temporary4 = !((nextStrChar_721420374 == nextPatternChar_721420373)); } onBoundary_721420372 = Temporary4; } - if (onBoundary_620757076) { - scoreState_620757014 = 20; - score_620757020 = addInt(score_620757020, scoreState_620757014); + if (onBoundary_721420372) { + scoreState_721420310 = 20; + score_721420316 = addInt(score_721420316, scoreState_721420310); } break; - case -1: - case -3: - if (!((ConstSet6[str_620757010.charCodeAt(chckIndx(subInt(strIndex_620757018, 1), 0, (str_620757010).length - 1))] != undefined))) Temporary5 = true; else { if (!(ConstSet7[str_620757010.charCodeAt(chckIndx(subInt(strIndex_620757018, 1), 0, (str_620757010).length - 1))] != undefined)) Temporary6 = false; else { Temporary6 = (ConstSet8[str_620757010.charCodeAt(chckIndx(strIndex_620757018, 0, (str_620757010).length - 1))] != undefined); } Temporary5 = Temporary6; } var isLeadingChar_620757102 = Temporary5; - if (isLeadingChar_620757102) { - scoreState_620757014 = 10; + case (-1): + case (-3): + if (!((ConstSet6[str_721420306.charCodeAt(chckIndx(subInt(strIndex_721420314, 1), 0, (str_721420306).length - 1))] != undefined))) Temporary5 = true; else { if (!(ConstSet7[str_721420306.charCodeAt(chckIndx(subInt(strIndex_721420314, 1), 0, (str_721420306).length - 1))] != undefined)) Temporary6 = false; else { Temporary6 = (ConstSet8[str_721420306.charCodeAt(chckIndx(strIndex_721420314, 0, (str_721420306).length - 1))] != undefined); } Temporary5 = Temporary6; } var isLeadingChar_721420398 = Temporary5; + if (isLeadingChar_721420398) { + scoreState_721420310 = 10; } else { - scoreState_620757014 = 0; - score_620757020 = addInt(score_620757020, scoreState_620757014); + scoreState_721420310 = 0; + score_721420316 = addInt(score_721420316, scoreState_721420310); } break; } - patIndex_620757019 = addInt(patIndex_620757019, 1); + patIndex_721420315 = addInt(patIndex_721420315, 1); } else { - switch (scoreState_620757014) { - case -100: - scoreState_620757014 = -3; - score_620757020 = addInt(score_620757020, scoreState_620757014); + switch (scoreState_721420310) { + case (-100): + scoreState_721420310 = (-3); + score_721420316 = addInt(score_721420316, scoreState_721420310); break; case 5: - scoreState_620757014 = -1; - score_620757020 = addInt(score_620757020, scoreState_620757014); - consecutiveMatchCount_620757017 = 0; + scoreState_721420310 = (-1); + score_721420316 = addInt(score_721420316, scoreState_721420310); + consecutiveMatchCount_721420313 = 0; break; - case -3: - if ((unmatchedLeadingCharCount_620757016 < 3)) { - scoreState_620757014 = -3; - score_620757020 = addInt(score_620757020, scoreState_620757014); + case (-3): + if ((unmatchedLeadingCharCount_721420312 < 3)) { + scoreState_721420310 = (-3); + score_721420316 = addInt(score_721420316, scoreState_721420310); } - unmatchedLeadingCharCount_620757016 = addInt(unmatchedLeadingCharCount_620757016, 1); + unmatchedLeadingCharCount_721420312 = addInt(unmatchedLeadingCharCount_721420312, 1); break; default: - scoreState_620757014 = -1; - score_620757020 = addInt(score_620757020, scoreState_620757014); + scoreState_721420310 = (-1); + score_721420316 = addInt(score_721420316, scoreState_721420310); break; } } - strIndex_620757018 = addInt(strIndex_620757018, 1); - } while (false); + strIndex_721420314 = addInt(strIndex_721420314, 1); + }; } - } while (false); - if (!(patIndex_620757019 == ((pattern_620757009) == null ? 0 : (pattern_620757009).length))) Temporary7 = false; else { if ((strIndex_620757018 == ((str_620757010) == null ? 0 : (str_620757010).length))) Temporary8 = true; else { Temporary8 = !((ConstSet9[str_620757010.charCodeAt(chckIndx(strIndex_620757018, 0, (str_620757010).length - 1))] != undefined)); } Temporary7 = Temporary8; } if (Temporary7) { - score_620757020 = addInt(score_620757020, 10); + }; + if (!(patIndex_721420315 == ((pattern_721420305) == null ? 0 : (pattern_721420305).length))) Temporary7 = false; else { if ((strIndex_721420314 == ((str_721420306) == null ? 0 : (str_721420306).length))) Temporary8 = true; else { Temporary8 = !((ConstSet9[str_721420306.charCodeAt(chckIndx(strIndex_721420314, 0, (str_721420306).length - 1))] != undefined)); } Temporary7 = Temporary8; } if (Temporary7) { + score_721420316 = addInt(score_721420316, 10); } - var colontmp__469762919 = nimMax(0, score_620757020); - var colontmp__469762920 = (0 < score_620757020); - result_620757013 = nimCopy(result_620757013, {Field0: colontmp__469762919, Field1: colontmp__469762920}, NTI620757006); + var colontmp__570426620 = nimMax(0, score_721420316); + var colontmp__570426621 = (0 < score_721420316); + result_721420309 = nimCopy(result_721420309, {Field0: colontmp__570426620, Field1: colontmp__570426621}, NTI721420302); - return result_620757013; + return result_721420309; } -function escapeCString_469762714(x_469762715, x_469762715_Idx) { - var s_469762716 = []; - Label1: do { - var c_469762717 = 0; - var iHEX60gensym6_469762923 = 0; - var nHEX60gensym6_469762924 = ((x_469762715[x_469762715_Idx]) == null ? 0 : (x_469762715[x_469762715_Idx]).length); - Label2: do { +function escapeCString_570426095(x_570426096, x_570426096_Idx) { + var s_570426097 = []; + Label1: { + var c_570426098 = 0; + var iHEX60gensym13_570426624 = 0; + var nHEX60gensym13_570426625 = ((x_570426096[x_570426096_Idx]) == null ? 0 : (x_570426096[x_570426096_Idx]).length); + Label2: { Label3: while (true) { - if (!(iHEX60gensym6_469762923 < nHEX60gensym6_469762924)) break Label3; - c_469762717 = x_469762715[x_469762715_Idx].charCodeAt(chckIndx(iHEX60gensym6_469762923, 0, (x_469762715[x_469762715_Idx]).length - 1)); - switch (c_469762717) { + if (!(iHEX60gensym13_570426624 < nHEX60gensym13_570426625)) break Label3; + c_570426098 = x_570426096[x_570426096_Idx].charCodeAt(chckIndx(iHEX60gensym13_570426624, 0, (x_570426096[x_570426096_Idx]).length - 1)); + switch (c_570426098) { case 60: - s_469762716.push.apply(s_469762716, makeNimstrLit("<"));; + s_570426097.push.apply(s_570426097, [38,108,116,59]);; break; case 62: - s_469762716.push.apply(s_469762716, makeNimstrLit(">"));; + s_570426097.push.apply(s_570426097, [38,103,116,59]);; break; default: - addChar(s_469762716, c_469762717);; + addChar(s_570426097, c_570426098);; break; } - iHEX60gensym6_469762923 = addInt(iHEX60gensym6_469762923, 1); + iHEX60gensym13_570426624 += 1; } - } while (false); - } while (false); - x_469762715[x_469762715_Idx] = toJSStr(s_469762716); + }; + }; + x_570426096[x_570426096_Idx] = toJSStr(s_570426097); } -function text_469762106(s_469762107) { - var result_469762108 = null; - - result_469762108 = document.createTextNode(toJSStr(s_469762107)); - - return result_469762108; - -} - -function dosearch_469762718(value_469762719) { +function dosearch_570426099(value_570426100) { -function HEX3Aanonymous_469762775(a_469762780, b_469762781) { - var result_469762786 = 0; +function HEX3Aanonymous_570426127(a_570426132, b_570426133) { + var result_570426140 = 0; - result_469762786 = subInt(b_469762781["Field1"], a_469762780["Field1"]); + result_570426140 = subInt(b_570426133["Field1"], a_570426132["Field1"]); - return result_469762786; + return result_570426140; } - var result_469762720 = null; - - if (((db_469762710[0]).length == 0)) { - var stuff_469762724 = null; - var request = new XMLHttpRequest(); - request.open("GET", "theindex.html", false); - request.send(null); + var result_570426101 = null; - var doc = document.implementation.createHTMLDocument("theindex"); - doc.documentElement.innerHTML = request.responseText; - - //parser=new DOMParser(); - //doc=parser.parseFromString("", "text/html"); - - stuff_469762724 = doc.documentElement; - - db_469762710[0] = nimCopy(null, stuff_469762724.getElementsByClassName("reference"), NTI603980220); - contents_469762711[0] = nimCopy(null, [], NTI469762606); - Label1: do { - var ahref_469762749 = null; - var i_469762904 = 0; - var L_469762905 = (db_469762710[0]).length; - Label2: do { - Label3: while (true) { - if (!(i_469762904 < L_469762905)) break Label3; - ahref_469762749 = db_469762710[0][chckIndx(i_469762904, 0, (db_469762710[0]).length - 1)]; - contents_469762711[0].push(ahref_469762749.getAttribute("data-doc-search-tag"));; - i_469762904 = addInt(i_469762904, 1); - if (!(((db_469762710[0]).length == L_469762905))) { - failedAssertImpl_218103864(makeNimstrLit("iterators.nim(240, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - } while (false); - } while (false); + BeforeRet: { + if (((db_570426093[0]).length == 0)) { + break BeforeRet; } - var ul_469762754 = tree_469762055(makeNimstrLit("UL"), []); - result_469762720 = tree_469762055(makeNimstrLit("DIV"), []); - setClass_469762103(result_469762720, makeNimstrLit("search_results")); - var matches_469762759 = []; - Label4: do { - var i_469762767 = 0; - var colontmp__469762909 = 0; - colontmp__469762909 = (db_469762710[0]).length; - var i_469762910 = 0; - Label5: do { - Label6: while (true) { - if (!(i_469762910 < colontmp__469762909)) break Label6; - i_469762767 = i_469762910; - Label7: do { - var c_469762768 = contents_469762711[0][chckIndx(i_469762767, 0, (contents_469762711[0]).length - 1)]; - if (((c_469762768 == "Examples") || (c_469762768 == "PEG construction"))) { - break Label7; + var ul_570426105 = tree_570425474("UL", []); + result_570426101 = tree_570425474("DIV", []); + setClass_570425496(result_570426101, "search_results"); + var matches_570426110 = []; + Label1: { + var i_570426118 = 0; + var colontmp__570426611 = 0; + colontmp__570426611 = (db_570426093[0]).length; + var i_570426612 = 0; + Label2: { + Label3: while (true) { + if (!(i_570426612 < colontmp__570426611)) break Label3; + i_570426118 = i_570426612; + Label4: { + var c_570426119 = contents_570426094[0][chckIndx(i_570426118, 0, (contents_570426094[0]).length - 1)]; + if (((c_570426119 == "Examples") || (c_570426119 == "PEG construction"))) { + break Label4; } - var colontmp__469762916 = fuzzyMatch_620757008(value_469762719, c_469762768); - var score_469762769 = colontmp__469762916["Field0"]; - var matched_469762770 = colontmp__469762916["Field1"]; - if (matched_469762770) { - matches_469762759.push({Field0: db_469762710[0][chckIndx(i_469762767, 0, (db_469762710[0]).length - 1)], Field1: score_469762769});; + var tmpTuple_570426120 = fuzzyMatch_721420304(value_570426100, c_570426119); + var score_570426121 = tmpTuple_570426120["Field0"]; + var matched_570426122 = tmpTuple_570426120["Field1"]; + if (matched_570426122) { + matches_570426110.push({Field0: db_570426093[0][chckIndx(i_570426118, 0, (db_570426093[0]).length - 1)], Field1: score_570426121});; } - } while (false); - i_469762910 = addInt(i_469762910, 1); + }; + i_570426612 = addInt(i_570426612, 1); } - } while (false); - } while (false); - matches_469762759.sort(HEX3Aanonymous_469762775); - Label8: do { - var i_469762803 = 0; - var colontmp__469762913 = 0; - colontmp__469762913 = nimMin((matches_469762759).length, 29); - var i_469762914 = 0; - Label9: do { - Label10: while (true) { - if (!(i_469762914 < colontmp__469762913)) break Label10; - i_469762803 = i_469762914; - matches_469762759[chckIndx(i_469762803, 0, (matches_469762759).length - 1)]["Field0"].innerHTML = matches_469762759[chckIndx(i_469762803, 0, (matches_469762759).length - 1)]["Field0"].getAttribute("data-doc-search-tag"); - escapeCString_469762714(matches_469762759[chckIndx(i_469762803, 0, (matches_469762759).length - 1)]["Field0"], "innerHTML"); - add_469762099(ul_469762754, tree_469762055(makeNimstrLit("LI"), [matches_469762759[chckIndx(i_469762803, 0, (matches_469762759).length - 1)]["Field0"]])); - i_469762914 = addInt(i_469762914, 1); + }; + }; + matches_570426110.sort(HEX3Aanonymous_570426127); + Label5: { + var i_570426157 = 0; + var colontmp__570426615 = 0; + colontmp__570426615 = nimMin((matches_570426110).length, 29); + var i_570426616 = 0; + Label6: { + Label7: while (true) { + if (!(i_570426616 < colontmp__570426615)) break Label7; + i_570426157 = i_570426616; + matches_570426110[chckIndx(i_570426157, 0, (matches_570426110).length - 1)]["Field0"].innerHTML = matches_570426110[chckIndx(i_570426157, 0, (matches_570426110).length - 1)]["Field0"].getAttribute("data-doc-search-tag"); + escapeCString_570426095(matches_570426110[chckIndx(i_570426157, 0, (matches_570426110).length - 1)]["Field0"], "innerHTML"); + add_570425492(ul_570426105, tree_570425474("LI", [matches_570426110[chckIndx(i_570426157, 0, (matches_570426110).length - 1)]["Field0"]])); + i_570426616 = addInt(i_570426616, 1); } - } while (false); - } while (false); - if ((ul_469762754.childNodes.length == 0)) { - add_469762099(result_469762720, tree_469762055(makeNimstrLit("B"), [text_469762106(makeNimstrLit("no search results"))])); + }; + }; + if ((ul_570426105.childNodes.length == 0)) { + add_570425492(result_570426101, tree_570425474("B", [text_570425499("no search results")])); } else { - add_469762099(result_469762720, tree_469762055(makeNimstrLit("B"), [text_469762106(makeNimstrLit("search results"))])); - add_469762099(result_469762720, ul_469762754); + add_570425492(result_570426101, tree_570425474("B", [text_570425499("search results")])); + add_570425492(result_570426101, ul_570426105); } + }; - return result_469762720; + return result_570426101; } function search() { -function wrapper_469762870() { - var elem_469762871 = document.getElementById("searchInput"); - var value_469762872 = elem_469762871.value; - if (!((((value_469762872) == null ? 0 : (value_469762872).length) == 0))) { - if ((oldtoc_469762858[0] == null)) { - oldtoc_469762858[0] = document.getElementById("tocRoot"); +function wrapper_570426435() { + var elem_570426436 = document.getElementById("searchInput"); + var value_570426437 = elem_570426436.value; + if (!((((value_570426437) == null ? 0 : (value_570426437).length) == 0))) { + if ((oldtoc_570426430[0] == null)) { + oldtoc_570426430[0] = document.getElementById("tocRoot"); } - var results_469762876 = dosearch_469762718(value_469762872); - replaceById_469762114("tocRoot", results_469762876); + var results_570426441 = dosearch_570426099(value_570426437); + replaceById_570425502("tocRoot", results_570426441); } else { - if (!((oldtoc_469762858[0] == null))) { - replaceById_469762114("tocRoot", oldtoc_469762858[0]); + if (!((oldtoc_570426430[0] == null))) { + replaceById_570425502("tocRoot", oldtoc_570426430[0]); } } } - if (!((timer_469762859[0] == null))) { - clearTimeout(timer_469762859[0]); + if ((loadIndexFut_570426433[0] == null)) { + loadIndexFut_570426433[0] = loadIndex_570426272(); + var _ = then_570426450(loadIndexFut_570426433[0], wrapper_570426435, null); } - timer_469762859[0] = setTimeout(wrapper_469762870, 400); + if (!((timer_570426431[0] == null))) { + clearTimeout(timer_570426431[0]); + } + + timer_570426431[0] = setTimeout(wrapper_570426435, 400); } + +function copyToClipboard() { + + function updatePreTags() { + + const allPreTags = document.querySelectorAll("pre") + + allPreTags.forEach((e) => { + + const div = document.createElement("div") + div.classList.add("copyToClipBoard") + + const preTag = document.createElement("pre") + preTag.innerHTML = e.innerHTML + + const button = document.createElement("button") + button.value = e.textContent.replace('...', '') + button.classList.add("copyToClipBoardBtn") + button.style.cursor = "pointer" + + div.appendChild(preTag) + div.appendChild(button) + + e.outerHTML = div.outerHTML + + }) + } + + + function copyTextToClipboard(e) { + const clipBoardContent = e.target.value + navigator.clipboard.writeText(clipBoardContent).then(function() { + e.target.style.setProperty("--clipboard-image", "var(--clipboard-image-selected)") + }, function(err) { + console.error("Could not copy text: ", err); + }); + } + + window.addEventListener("click", (e) => { + if (e.target.classList.contains("copyToClipBoardBtn")) { + copyTextToClipboard(e) + } + }) + + window.addEventListener("mouseover", (e) => { + if (e.target.nodeName === "PRE") { + e.target.nextElementSibling.style.setProperty("--clipboard-image", "var(--clipboard-image-normal)") + } + }) + + window.addEventListener("DOMContentLoaded", updatePreTags) + + + + +} +var Temporary1; +var t_570425383 = window.localStorage.getItem("theme"); +if ((t_570425383 == null)) { +Temporary1 = "auto"; +} +else { +Temporary1 = t_570425383; +} + +setTheme(Temporary1); +var alternative_570426051 = [null]; +var db_570426093 = [[]]; +var contents_570426094 = [[]]; +var oldtoc_570426430 = [null]; +var timer_570426431 = [null]; +var loadIndexFut_570426433 = [null]; +copyToClipboard(); +window.addEventListener("DOMContentLoaded", onDOMLoaded, false); diff --git a/docs/nimdoc.out.css b/docs/nimdoc.out.css index 4abea9c..1417d9e 100644 --- a/docs/nimdoc.out.css +++ b/docs/nimdoc.out.css @@ -38,6 +38,10 @@ Modified by Boyd Greenfield and narimiran --program: #6060c0; --option: #508000; --raw-data: #a4255b; + + --clipboard-image-normal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='color: black' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E %3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2' /%3E %3C/svg%3E"); + --clipboard-image-selected: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='color: black' viewBox='0 0 20 20' fill='currentColor'%3E %3Cpath d='M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z' /%3E %3Cpath d='M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z' /%3E %3C/svg%3E"); + --clipboard-image: var(--clipboard-image-normal) } [data-theme="dark"] { @@ -68,67 +72,53 @@ Modified by Boyd Greenfield and narimiran --program: #9090c0; --option: #90b010; --raw-data: #8be9fd; + + --clipboard-image-normal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='color: lightgray' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E %3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2' /%3E %3C/svg%3E"); + --clipboard-image-selected: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='color: lightgray' viewBox='0 0 20 20' fill='currentColor'%3E %3Cpath d='M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z' /%3E %3Cpath d='M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z' /%3E %3C/svg%3E"); + --clipboard-image: var(--clipboard-image-normal); +} + +@media (prefers-color-scheme: dark) { + [data-theme="auto"] { + --primary-background: #171921; + --secondary-background: #1e202a; + --third-background: #2b2e3b; + --info-background: #008000; + --warning-background: #807000; + --error-background: #c03000; + --border: #0e1014; + --text: #fff; + --anchor: #8be9fd; + --anchor-focus: #8be9fd; + --input-focus: #8be9fd; + --strong: #bd93f9; + --hint: #7A7C85; + --nim-sprite-base64: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARMAAABMCAYAAABOBlMuAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkP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J0uLQ4r/nJMXNiZTIRrMAlJAcHB18HBweWo6Mjy8rKajeJRAJLS0uwtLQECwsLoFAogMfjAYvFgpmZ2XNXMyqVCoaHh2FoaAiGh4cfvwYGBqCvrw+6u7vfvnfvXlNvb29rT09Pq0QsUM7S6c4rNqS/lrZ5U+YPRBKR9M7u9xwqBUUvtNAudH766XSLE8PR49ixE78/8tVnX403Zk7fUR46NUUAIPIPCMdTKJTdNjY2QKPRgE6nA51OB1tbWyCRSIDD4YBAIAAejwcCgfDYUajVakGlUoFarQadTvfY79HX1wf9/f0gl8tBLpfDvXv3HvXw+dxQPYYXMj+d+P7Mmzv+5OHr6/OJWq1GBHeB09TcUiKuq/coKS3/eqIx/wPkiIXC3w6YjAAAAABJRU5ErkJggg=="); + + --keyword: #ff79c6; + --identifier: #f8f8f2; + --comment: #6272a4; + --operator: #ff79c6; + --punctuation: #f8f8f2; + --other: #f8f8f2; + --escapeSequence: #bd93f9; + --number: #bd93f9; + --literal: #f1fa8c; + --program: #9090c0; + --option: #90b010; + --raw-data: #8be9fd; + + --clipboard-image-normal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='color: lightgray' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E %3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2' /%3E %3C/svg%3E"); + --clipboard-image-selected: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='color: lightgray' viewBox='0 0 20 20' fill='currentColor'%3E %3Cpath d='M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z' /%3E %3Cpath d='M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z' /%3E %3C/svg%3E"); + --clipboard-image: var(--clipboard-image-normal); + } } -.theme-switch-wrapper { +.theme-select-wrapper { display: flex; align-items: center; } -.theme-switch-wrapper em { - margin-left: 10px; - font-size: 1rem; -} - -.theme-switch { - display: inline-block; - height: 22px; - position: relative; - width: 50px; -} - -.theme-switch input { - display: none; -} - -.slider { - background-color: #ccc; - bottom: 0; - cursor: pointer; - left: 0; - position: absolute; - right: 0; - top: 0; - transition: .4s; -} - -.slider:before { - background-color: #fff; - bottom: 4px; - content: ""; - height: 13px; - left: 4px; - position: absolute; - transition: .4s; - width: 13px; -} - -input:checked + .slider { - background-color: #66bb6a; -} - -input:checked + .slider:before { - transform: translateX(26px); -} - -.slider.round { - border-radius: 17px; -} - -.slider.round:before { - border-radius: 50%; -} - html { font-size: 100%; -webkit-text-size-adjust: 100%; @@ -151,24 +141,39 @@ body { padding: 0; box-sizing: border-box; } -.column, -.columns { +.column, .columns { width: 100%; float: left; box-sizing: border-box; - margin-left: 1%; + margin-left: 1%; } + +@media print { + #global-links, .link-seesrc, .theme-switch-wrapper, #searchInputDiv, .search-groupby { + display:none; + } + .columns { + width:100% !important; + } } -.column:first-child, -.columns:first-child { +.column:first-child, .columns:first-child { margin-left: 0; } +.container .row { + display: flex; } + .three.columns { - width: 22%; + width: 25.0%; + height: 100vh; + position: sticky; + top: 0px; + overflow-y: auto; + padding: 2px; } .nine.columns { - width: 77.0%; } + width: 75.0%; + padding-left: 1.5em; } .twelve.columns { width: 100%; @@ -255,27 +260,32 @@ a.reference-toplevel { font-weight: bold; } +a.nimdoc { + word-spacing: 0.3em; +} + a.toc-backref { text-decoration: none; - color: var(--text); } + color: var(--text); +} a.link-seesrc { color: #607c9f; font-size: 0.9em; - font-style: italic; } + font-style: italic; +} -a:hover, -a:focus { +a:hover, a:focus { color: var(--anchor-focus); - text-decoration: underline; } + text-decoration: underline; +} a:hover span.Identifier { color: var(--anchor); } -sub, -sup { +sub, sup { position: relative; font-size: 75%; line-height: 0; @@ -302,8 +312,7 @@ img { background: transparent !important; box-shadow: none !important; } - a, - a:visited { + a, a:visited { text-decoration: underline; } a[href]:after { @@ -317,16 +326,14 @@ img { a[href^="#"]:after { content: ""; } - pre, - blockquote { + pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } - tr, - img { + tr, img { page-break-inside: avoid; } img { @@ -341,22 +348,18 @@ img { h1.title { page-break-before: avoid; } - p, - h2, - h3 { + p, h2, h3 { orphans: 3; widows: 3; } - h2, - h3 { + h2, h3 { page-break-after: avoid; } } p { margin-top: 0.5em; - margin-bottom: 0.5em; -} + margin-bottom: 0.5em; } small { font-size: 85%; } @@ -364,8 +367,7 @@ small { strong { font-weight: 600; font-size: 0.95em; - color: var(--strong); -} + color: var(--strong); } em { font-style: italic; } @@ -386,8 +388,7 @@ h1.title { text-align: center; font-weight: 900; margin-top: 0.75em; - margin-bottom: 0em; -} + margin-bottom: 0em; } h2 { font-size: 1.3em; @@ -414,36 +415,29 @@ h6 { font-size: 1.1em; } -ul, -ol { +ul, ol { padding: 0; margin-top: 0.5em; margin-left: 0.75em; } -ul ul, -ul ol, -ol ol, -ol ul { +ul ul, ul ol, ol ol, ol ul { margin-bottom: 0; margin-left: 1.25em; } ul.simple > li { - list-style-type: circle; -} + list-style-type: circle; } ul.simple-boot li { - list-style-type: none; - margin-left: 0em; - margin-bottom: 0.5em; -} + list-style-type: none; + margin-left: 0em; + margin-bottom: 0.5em; } ol.simple > li, ul.simple > li { margin-bottom: 0.2em; margin-left: 0.4em } ul.simple.simple-toc > li { - margin-top: 1em; -} + margin-top: 1em; } ul.simple-toc { list-style: none; @@ -452,8 +446,7 @@ ul.simple-toc { margin-top: 1em; } ul.simple-toc > li { - list-style-type: none; -} + list-style-type: none; } ul.simple-toc-section { list-style-type: circle; @@ -463,12 +456,10 @@ ul.simple-toc-section { ul.nested-toc-section { list-style-type: circle; margin-left: -0.75em; - color: var(--text); -} + color: var(--text); } ul.nested-toc-section > li { - margin-left: 1.25em; -} + margin-left: 1.25em; } ol.arabic { @@ -515,7 +506,8 @@ hr.footnote { margin-top: 0.15em; } div.footnote-group { - margin-left: 1em; } + margin-left: 1em; +} div.footnote-label { display: inline-block; min-width: 1.7em; @@ -555,6 +547,11 @@ blockquote { border-left: 5px solid #bbc; } +blockquote.markdown-quote { + font-size: 0.9rem; /* use rem to avoid recursion */ + font-style: normal; +} + .pre, span.tok { font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace; font-weight: 500; @@ -572,6 +569,10 @@ span.tok { margin-right: 0.2em; } +.copyToClipBoard { + position: relative; +} + pre { font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace; color: var(--text); @@ -590,7 +591,25 @@ pre { border: 1px solid var(--border); -webkit-border-radius: 6px; -moz-border-radius: 6px; - border-radius: 6px; } + border-radius: 6px; +} + +.copyToClipBoardBtn { + visibility: hidden; + position: absolute; + width: 24px; + border-radius: 4px; + background-image: var(--clipboard-image); + right: 5px; + top: 13px; + background-color: var(--secondary-background); + padding: 11px; + border: 0; +} + +.copyToClipBoard:hover .copyToClipBoardBtn { + visibility: visible; +} .pre-scrollable { max-height: 340px; @@ -655,8 +674,8 @@ table th { font-weight: bold; } table th.docinfo-name { - background-color: transparent; - text-align: right; + background-color: transparent; + text-align: right; } table tr:hover { @@ -673,31 +692,31 @@ table.borderless td, table.borderless th { padding: 0 0.5em 0 0 !important; } .admonition { - padding: 0.3em; - background-color: var(--secondary-background); - border-left: 0.4em solid #7f7f84; - margin-bottom: 0.5em; - -webkit-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); - -moz-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); - box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); + padding: 0.3em; + background-color: var(--secondary-background); + border-left: 0.4em solid #7f7f84; + margin-bottom: 0.5em; + -webkit-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); + -moz-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); + box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); } .admonition-info { - border-color: var(--info-background); + border-color: var(--info-background); } .admonition-info-text { - color: var(--info-background); + color: var(--info-background); } .admonition-warning { - border-color: var(--warning-background); + border-color: var(--warning-background); } .admonition-warning-text { - color: var(--warning-background); + color: var(--warning-background); } .admonition-error { - border-color: var(--error-background); + border-color: var(--error-background); } .admonition-error-text { - color: var(--error-background); + color: var(--error-background); } .first { @@ -731,8 +750,7 @@ div.footer, div.header { font-size: smaller; } div.footer { - padding-top: 5em; -} + padding-top: 5em; } div.line-block { display: block; @@ -751,17 +769,14 @@ div.search_results { background-color: var(--third-background); margin: 3em; padding: 1em; - border: 1px solid #4d4d4d; -} + border: 1px solid #4d4d4d; } div#global-links ul { margin-left: 0; - list-style-type: none; -} + list-style-type: none; } div#global-links > simple-boot { - margin-left: 3em; -} + margin-left: 3em; } hr.docutils { width: 75%; } @@ -941,8 +956,7 @@ span.Directive { span.option { font-weight: bold; font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace; - color: var(--option); -} + color: var(--option); } span.Prompt { font-weight: bold; @@ -958,11 +972,10 @@ span.program { text-decoration: underline; text-decoration-color: var(--hint); text-decoration-thickness: 0.05em; - text-underline-offset: 0.15em; -} + text-underline-offset: 0.15em; } -span.Command, span.Rule, span.Hyperlink, span.Label, span.Reference, -span.Other { +span.Command, span.Rule, span.Hyperlink, +span.Label, span.Reference, span.Other { color: var(--other); } /* Pop type, const, proc, and iterator defs in nim def blocks */ @@ -1000,17 +1013,14 @@ span.pragmadots { border-radius: 4px; margin: 0 2px; cursor: pointer; - font-size: 0.8em; -} + font-size: 0.8em; } span.pragmadots:hover { - background-color: var(--hint); -} + background-color: var(--hint); } + span.pragmawrap { - display: none; -} + display: none; } span.attachedType { display: none; - visibility: hidden; -} + visibility: hidden; } diff --git a/docs/nimja.html b/docs/nimja.html index 9dae6b6..5462489 100644 --- a/docs/nimja.html +++ b/docs/nimja.html @@ -1,147 +1,93 @@ - + - + - +nimja - - - - -nimja - - - - - + + + -
-
-

nimja

-
+
+
+

nimja

+
-
- -     Dark Mode -
- -
- Search: -
-
- Group by: - -
-
    -
  • +
    + + +
    + +
    + Search: +
    +
    + Group by: + +
    +
-
-
-
- + + + + diff --git a/docs/nimja.idx b/docs/nimja.idx new file mode 100644 index 0000000..941d0dc --- /dev/null +++ b/docs/nimja.idx @@ -0,0 +1 @@ +nimTitle nimja nimja.html module nimja 0 diff --git a/docs/nimja/lexer.html b/docs/nimja/lexer.html index 0f5a29c..8847f25 100644 --- a/docs/nimja/lexer.html +++ b/docs/nimja/lexer.html @@ -1,191 +1,146 @@ - + - + - +nimja/lexer - - - - -nimja/lexer - - - - - + + + -
-
-

nimja/lexer

-
+
+
+

nimja/lexer

+
-
- -     Dark Mode -
- -
- Search: -
-
- Group by: - -
-
+ +
+ Search: +
+
+ Group by: + +
+ +
  • - Iterators - + +
  • -
    -
    - -

    -
    -

    Types

    -
    -
    -
    NwtTokenKind = enum
    +    
    +    
    + +

    +
    +

    Types

    +
    +
    +
    NwtTokenKind = enum
       NwtNone, NwtString, NwtComment, NwtEval, NwtVariable
    -
    - - - -
    +
    + + + +
    -
    Token = object
    +  
    Token = object
       kind*: NwtTokenKind
       value*: string
       line*: int
    -  charinbuf*: int
    -
    -
    - - - -
    + charinbuf*: int
    +
    + + + +
    -
    +
    +
    -

    Iterators

    -
    -
    -
    iterator lex(buf: string): Token {....raises: [ValueError], tags: [].}
    -
    - - +

    Iterators

    +
    +
    +
    +
    iterator lex(buf: string): Token {....raises: [], tags: [], forbids: [].}
    +
    + + + +
    +
    -
    -
    + +
    -
    -
    - + + + + diff --git a/docs/nimja/lexer.idx b/docs/nimja/lexer.idx index eeb323b..d3b270d 100644 --- a/docs/nimja/lexer.idx +++ b/docs/nimja/lexer.idx @@ -1,8 +1,9 @@ -NwtNone nimja/lexer.html#NwtNone NwtTokenKind.NwtNone -NwtString nimja/lexer.html#NwtString NwtTokenKind.NwtString -NwtComment nimja/lexer.html#NwtComment NwtTokenKind.NwtComment -NwtEval nimja/lexer.html#NwtEval NwtTokenKind.NwtEval -NwtVariable nimja/lexer.html#NwtVariable NwtTokenKind.NwtVariable -NwtTokenKind nimja/lexer.html#NwtTokenKind lexer: NwtTokenKind -Token nimja/lexer.html#Token lexer: Token -lex nimja/lexer.html#lex.i,string lexer: lex(buf: string): Token +nimTitle lexer nimja/lexer.html module nimja/lexer 0 +nim NwtNone nimja/lexer.html#NwtNone NwtTokenKind.NwtNone 4 +nim NwtString nimja/lexer.html#NwtString NwtTokenKind.NwtString 4 +nim NwtComment nimja/lexer.html#NwtComment NwtTokenKind.NwtComment 4 +nim NwtEval nimja/lexer.html#NwtEval NwtTokenKind.NwtEval 4 +nim NwtVariable nimja/lexer.html#NwtVariable NwtTokenKind.NwtVariable 4 +nim NwtTokenKind nimja/lexer.html#NwtTokenKind enum NwtTokenKind 4 +nim Token nimja/lexer.html#Token object Token 10 +nim lex nimja/lexer.html#lex.i,string iterator lex(buf: string): Token 136 diff --git a/docs/nimja/nimjautils.html b/docs/nimja/nimjautils.html index a5869b4..0996aa6 100644 --- a/docs/nimja/nimjautils.html +++ b/docs/nimja/nimjautils.html @@ -1,114 +1,60 @@ - + - + - +nimja/nimjautils - - - - -nimja/nimjautils - - - - - + + + -
    -
    -

    nimja/nimjautils

    -
    +
    +
    +

    nimja/nimjautils

    +
    -
    - -     Dark Mode -
    - -
    - Search: -
    -
    - Group by: - -
    - +
  • - Macros - + +
  • - Templates - + +
  • -
    -
    - -

    - + +
    + +

    +
    -

    Types

    -
    -
    -
    Loop[T] = object
    +  

    Types

    +
    +
    +
    Loop[T] = object
       index*: int                ## which element (start from 1)
       index0*: int               ## which elemen (start from 0)
       first*: bool               ## if this is the first loop iteration
    @@ -245,122 +189,151 @@ 

    Types

    nextitem*: Option[T] ## get the item from the next loop iteration length*: int ## the length of the seq, (same as mySeq.len()) revindex0*: int ## which element, counted from the end (last one is 0) - revindex*: int ## which element, counted from the end (last one is 1) -
    -
    - - - -
    + revindex*: int ## which element, counted from the end (last one is 1)
    +
    + + + +
    -
    Loopable[T] = concept x {.explain.}
    +  
    Loopable[T] = concept x {.explain.}
         x.len() is int
         x[int] is T
         x.items is T
    -
    - - - -
    +
    + + + +
    -
    + +
    -

    Consts

    -
    -
    -
    allowedCharsInSlug = {'0'..'9', 'A'..'Z', 'a'..'z'}
    -
    - - - -
    +

    Consts

    +
    +
    +
    allowedCharsInSlug = {'0'..'9', 'A'..'Z', 'a'..'z'}
    +
    + + + +
    -
    +
    +
    -

    Procs

    -
    -
    -
    proc cycle[T](loop: Loop; elems: openArray[T]): T
    -
    - -within a loop you can cycle through elements:
    {% for (loop, row) in rows.loop() %}
    +  

    Procs

    +
    +
    +
    +
    proc cycle[T](loop: Loop; elems: openArray[T]): T
    +
    + + within a loop you can cycle through elements:
    {% for (loop, row) in rows.loop() %}
         <li class="{{ loop.cycle(@["odd", "even"]) }}">{{ row }}</li>
     {% endfor %}
    - -
    + +
    -
    -
    proc includeRaw(path: string): string {....raises: [IOError], tags: [ReadIOEffect].}
    -
    - -Includes the content of a file literally without any parsing Good for documentation etc.. This includes on runtime! For a compile time include see includeRawStatic -
    -
    -
    proc includeRawStatic(path: static string): string
    -
    +
    +
    +
    proc includeRaw(path: string): string {....raises: [IOError], tags: [ReadIOEffect],
    +                                        forbids: [].}
    +
    + + Includes the content of a file literally without any parsing Good for documentation etc.. This includes on runtime! For a compile time include see includeRawStatic + +
    +
    -Includes the content of a file literally without any parsing Good for documentation etc.. This includes at compiletime! For a runtimetime include see includeRaw +
    +
    +
    +
    proc includeRawStatic(path: static string): string
    +
    + + Includes the content of a file literally without any parsing Good for documentation etc.. This includes at compiletime! For a runtimetime include see includeRaw + +
    +
    -
    -
    -
    proc includeStaticAsDataurl(path: static string;
    +
    +
    +
    proc includeStaticAsDataurl(path: static string;
                                 mimeOverride: static string = ""): string
    -
    - -Includes a ressource as a dataurl on compile time. - -
    +
    + + Includes a ressource as a dataurl on compile time. + +
    -
    -
    func nl2br(str: string; keepNl = true): string {....raises: [], tags: [].}
    -
    - -Converts all n to <br> if keepNL == true: newlines will still be in the output. -
    -
    -
    proc slugify(str: string; sperator = "-"; allowedChars = allowedCharsInSlug): string {.
    -    ...raises: [], tags: [].}
    -
    - -converts any string to an url friendly one. Removes any special chars and replaces non ASCII runes to their ASCII representation. - -
    +
    +
    +
    func nl2br(str: string; keepNl = true): string {....raises: [], tags: [],
    +    forbids: [].}
    +
    + + Converts all n to <br> if keepNL == true: newlines will still be in the output. + +
    -
    -
    func spaceless(str: string): string {....raises: [], tags: [].}
    -
    -Removes unneeded whitespaces between html tags, warning, this is NOT smart. So it will destroy <textarea> and <pre> content! +
    +
    +
    +
    proc slugify(str: string; sperator = "-"; allowedChars = allowedCharsInSlug): string {.
    +    ...raises: [], tags: [], forbids: [].}
    +
    + + converts any string to an url friendly one. Removes any special chars and replaces non ASCII runes to their ASCII representation. + +
    +
    -
    -
    -
    proc truncate(str: string; num: Natural; preserveWords = true; suf = "..."): string {.
    -    ...raises: [], tags: [].}
    -
    +
    +
    +
    func spaceless(str: string): string {....raises: [], tags: [], forbids: [].}
    +
    + + Removes unneeded whitespaces between html tags, warning, this is NOT smart. So it will destroy <textarea> and <pre> content! + +
    +
    -truncates a string to "num" characters. when the string was truncated it appends the suf to the text. if preserveWords is true it will not cut words in half but the output string could be shorter than num characters. +
    +
    +
    +
    proc truncate(str: string; num: Natural; preserveWords = true; suf = "..."): string {.
    +    ...raises: [], tags: [], forbids: [].}
    +
    + + truncates a string to "num" characters. when the string was truncated it appends the suf to the text. if preserveWords is true it will not cut words in half but the output string could be shorter than num characters. + +
    +
    -
    -
    + +
    -

    Iterators

    -
    -
    -
    iterator loop[T](a: openArray[T]): tuple[loop: Loop[T], val: T] {.inline.}
    -
    - -yields a Loop object with every item. Inside the loop body you have access to the following fields.
    {% for (loop, row) in rows.loop() %}
    +  

    Iterators

    +
    +
    +
    +
    iterator loop[T](a: openArray[T]): tuple[loop: Loop[T], val: T] {.inline.}
    +
    + + yields a Loop object with every item. Inside the loop body you have access to the following fields.
    {% for (loop, row) in rows.loop() %}
         {{ loop.index0 }}
         {{ loop.index }}
         {{ loop.revindex0 }}
    @@ -372,61 +345,75 @@ 

    Iterators

    {% if loop.nextitem.isSome() %}{{ loop.nextitem.get() }}{% endif %} <li class="{{ loop.cycle(@["odd", "even"]) }}">{{row}}</li> {% endfor %}
    + +
    +
    -
    -
    + +
    -

    Macros

    -
    -
    -
    macro `|`(aa, bb: untyped): string
    -
    - -'filter' alias, often used in other template engines. a | b is an alias to a.b. This enables syntax like this: .. code-block:: Nim

    {{ "foo baa baz" | slugify()}}

    - +

    Macros

    +
    +
    +
    +
    macro `|`(aa, bb: untyped): string
    +
    + + 'filter' alias, often used in other template engines. a | b is an alias to a.b. This enables syntax like this: .. code-block:: Nim {{ "foo baa baz" | slugify()}} + +
    +
    -
    -
    + +
    -

    Templates

    -
    -
    -
    template `?`(con, body: untyped): untyped
    -
    - -shorthand if eg. for toggling html classes.
    <input class="{% ?isDisabled: "disable" %}">
    - -
    +

    Templates

    +
    +
    +
    +
    template `?`(con, body: untyped): untyped
    +
    + + shorthand if eg. for toggling html classes.
    <input class="{% ?isDisabled: "disable" %}">
    + +
    -
    -
    template `~`(aa, bb: untyped): string
    -
    -

    ~ (tilde) Converts all operands into strings and concatenates them. like: $aa & $bb

    +
    +
    +
    +
    template `~`(aa, bb: untyped): string
    +
    + +

    ~ (tilde) Converts all operands into strings and concatenates them. like: $aa & $bb

    {{ "Hello " ~ name ~ "!" }} would return (assuming name is set to 'Nim') Hello Nim!.

    + +
    +
    -
    -
    +
    +
    -
    -
    - + + + + diff --git a/docs/nimja/nimjautils.idx b/docs/nimja/nimjautils.idx index 4cb2dd7..60099a7 100644 --- a/docs/nimja/nimjautils.idx +++ b/docs/nimja/nimjautils.idx @@ -1,15 +1,16 @@ -Loop nimja/nimjautils.html#Loop nimjautils: Loop -Loopable nimja/nimjautils.html#Loopable nimjautils: Loopable -allowedCharsInSlug nimja/nimjautils.html#allowedCharsInSlug nimjautils: allowedCharsInSlug -cycle nimja/nimjautils.html#cycle,Loop,openArray[T] nimjautils: cycle[T](loop: Loop; elems: openArray[T]): T -loop nimja/nimjautils.html#loop.i,openArray[T] nimjautils: loop[T](a: openArray[T]): tuple[loop: Loop[T], val: T] -`~` nimja/nimjautils.html#~.t,untyped,untyped nimjautils: `~`(aa, bb: untyped): string -includeRaw nimja/nimjautils.html#includeRaw,string nimjautils: includeRaw(path: string): string -includeRawStatic nimja/nimjautils.html#includeRawStatic,staticstring nimjautils: includeRawStatic(path: static string): string -includeStaticAsDataurl nimja/nimjautils.html#includeStaticAsDataurl,staticstring,staticstring nimjautils: includeStaticAsDataurl(path: static string; mimeOverride: static string = ""): string -truncate nimja/nimjautils.html#truncate,string,Natural,string nimjautils: truncate(str: string; num: Natural; preserveWords = true; suf = "..."): string -nl2br nimja/nimjautils.html#nl2br,string nimjautils: nl2br(str: string; keepNl = true): string -spaceless nimja/nimjautils.html#spaceless,string nimjautils: spaceless(str: string): string -slugify nimja/nimjautils.html#slugify,string,string nimjautils: slugify(str: string; sperator = "-"; allowedChars = allowedCharsInSlug): string -`?` nimja/nimjautils.html#?.t,untyped,untyped nimjautils: `?`(con, body: untyped): untyped -`|` nimja/nimjautils.html#|.m,untyped,untyped nimjautils: `|`(aa, bb: untyped): string +nimTitle nimjautils nimja/nimjautils.html module nimja/nimjautils 0 +nim Loop nimja/nimjautils.html#Loop object Loop 11 +nim Loopable nimja/nimjautils.html#Loopable type Loopable 21 +nim allowedCharsInSlug nimja/nimjautils.html#allowedCharsInSlug const allowedCharsInSlug 26 +nim cycle nimja/nimjautils.html#cycle,Loop,openArray[T] proc cycle[T](loop: Loop; elems: openArray[T]): T 28 +nim loop nimja/nimjautils.html#loop.i,openArray[T] iterator loop[T](a: openArray[T]): tuple[loop: Loop[T], val: T] 39 +nim `~` nimja/nimjautils.html#~.t,untyped,untyped template `~`(aa, bb: untyped): string 78 +nim includeRaw nimja/nimjautils.html#includeRaw,string proc includeRaw(path: string): string 86 +nim includeRawStatic nimja/nimjautils.html#includeRawStatic,staticstring proc includeRawStatic(path: static string): string 93 +nim includeStaticAsDataurl nimja/nimjautils.html#includeStaticAsDataurl,staticstring,staticstring proc includeStaticAsDataurl(path: static string; mimeOverride: static string = ""): string 101 +nim truncate nimja/nimjautils.html#truncate,string,Natural,string proc truncate(str: string; num: Natural; preserveWords = true; suf = "..."): string 113 +nim nl2br nimja/nimjautils.html#nl2br,string proc nl2br(str: string; keepNl = true): string 132 +nim spaceless nimja/nimjautils.html#spaceless,string proc spaceless(str: string): string 143 +nim slugify nimja/nimjautils.html#slugify,string,string proc slugify(str: string; sperator = "-"; allowedChars = allowedCharsInSlug): string 162 +nim `?` nimja/nimjautils.html#?.t,untyped,untyped template `?`(con, body: untyped): untyped 174 +nim `|` nimja/nimjautils.html#|.m,untyped,untyped macro `|`(aa, bb: untyped): string 185 diff --git a/docs/nimja/parser.html b/docs/nimja/parser.html index c1c7d23..4893264 100644 --- a/docs/nimja/parser.html +++ b/docs/nimja/parser.html @@ -1,169 +1,117 @@ - + - + - +nimja/parser - - - - -nimja/parser - - - - - + + + -
    -
    -

    nimja/parser

    -
    +
    +
    +

    nimja/parser

    +
    -
    -
    - -

    - + +
    + +

    +
    -

    Macros

    -
    -
    -
    macro compileTemplateFile(path: static string; iter: static bool = false;
    +  

    Macros

    +
    +
    +
    +
    macro compileTemplateFile(path: static string; baseDir: static string = "";
    +                          iter: static bool = false;
                               varname: static string = "result";
                               context: untyped = nil): untyped
    -
    - -Compiles a Nimja template from a file.
    proc yourFunc(yourParams: bool): string =
    +  
    + + Compiles a Nimja template from a file.
    proc yourFunc(yourParams: bool): string =
       compileTemplateFile(getScriptDir() / "relative/path.nimja)
     
     echo yourFunc(true)

    If iter = true then the macro can be used in an iterator body this could be used for streaming templates, or to save memory when a big template is rendered and the http server can send data in chunks.

    @@ -182,16 +130,20 @@

    Macros

    var foo = 123 proc render(): string = compileTemplateFile(getScriptDir() / "myTemplate.nimja", {node: rax, baa: foo})
    + +
    +
    -
    -
    -
    macro compileTemplateStr(str: typed; iter: static bool = false;
    +
    +
    +
    macro compileTemplateStr(str: typed; baseDir: static string = "";
    +                         iter: static bool = false;
                              varname: static string = "result";
                              context: untyped = nil): untyped
    -
    - -Compiles a Nimja template from a string.
    proc yourFunc(yourParams: bool): string =
    +  
    + + Compiles a Nimja template from a string.
    proc yourFunc(yourParams: bool): string =
       compileTemplateString("{%if yourParams%}TRUE{%endif%}")
     
     echo yourFunc(true)

    If iter = true then the macro can be used in an iterator body this could be used for streaming templates, or to save memory when a big template is rendered and the http server can send data in chunks.

    @@ -210,28 +162,36 @@

    Macros

    var foo = 123 proc render(): string = compileTemplateString("{{node.bb}}{{baa}}", {node: rax, baa: foo})
    - -
    + +
    -
    -
    macro tmplf(str: static string; context: untyped = nil): string
    -
    -Compiles a Nimja template file and returns directly. Can be used inline, without a wrapper proc.
    echo tmplf("""/some/template.nimja""")

    A context can be supplied to the template, to override the variable names:

    +
    +
    +
    +
    macro tmplf(str: static string; baseDir: static string = "";
    +            context: untyped = nil): string
    +
    + + Compiles a Nimja template file and returns directly. Can be used inline, without a wrapper proc.
    echo tmplf("""/some/template.nimja""")

    A context can be supplied to the template, to override the variable names:

    type
       Rax = object
         aa: string
         bb: float
     var rax = Rax(aa: "aaaa", bb: 13.37)
     echo tmplf("""/some/template.nimja""", {node: rax})
    - -
    + +
    -
    -
    macro tmpls(str: static string; context: untyped = nil): string
    -
    -Compiles a Nimja template string and returns directly. Can be used inline, without a wrapper proc.
    echo tmpls("""{% if true %}Is true!{% endif %}""")

    A context can be supplied to the template, to override the variable names:

    +
    +
    +
    +
    macro tmpls(str: static string; baseDir: static string = "";
    +            context: untyped = nil): string
    +
    + + Compiles a Nimja template string and returns directly. Can be used inline, without a wrapper proc.
    echo tmpls("""{% if true %}Is true!{% endif %}""")

    A context can be supplied to the template, to override the variable names:

    type
       Rax = object
         aa: string
    @@ -239,29 +199,34 @@ 

    Macros

    var rax = Rax(aa: "aaaa", bb: 13.37) var foo = 123 echo tmpls("""{% if node.aa == "aaaa" %}{{node.bb}}{% endif %}{{baa}}""", {node: rax, baa: foo})
    + +
    +
    -
    -
    +
    +
    +

    Exports

    +
    + getScriptDir +
    +
    -
    -
    - + + + + diff --git a/docs/nimja/parser.idx b/docs/nimja/parser.idx index 2d53fac..28a5457 100644 --- a/docs/nimja/parser.idx +++ b/docs/nimja/parser.idx @@ -1,4 +1,5 @@ -compileTemplateStr nimja/parser.html#compileTemplateStr.m,typed,staticbool,staticstring,untyped parser: compileTemplateStr(str: typed; iter: static bool = false;\n varname: static string = "result"; context: untyped = nil): untyped -compileTemplateFile nimja/parser.html#compileTemplateFile.m,staticstring,staticbool,staticstring,untyped parser: compileTemplateFile(path: static string; iter: static bool = false;\n varname: static string = "result"; context: untyped = nil): untyped -tmpls nimja/parser.html#tmpls.m,staticstring,untyped parser: tmpls(str: static string; context: untyped = nil): string -tmplf nimja/parser.html#tmplf.m,staticstring,untyped parser: tmplf(str: static string; context: untyped = nil): string +nimTitle parser nimja/parser.html module nimja/parser 0 +nim compileTemplateStr nimja/parser.html#compileTemplateStr.m,typed,staticstring,staticbool,staticstring,untyped macro compileTemplateStr(str: typed; baseDir: static string = "";\n iter: static bool = false; varname: static string = "result";\n context: untyped = nil): untyped 787 +nim compileTemplateFile nimja/parser.html#compileTemplateFile.m,staticstring,staticstring,staticbool,staticstring,untyped macro compileTemplateFile(path: static string; baseDir: static string = "";\n iter: static bool = false;\n varname: static string = "result"; context: untyped = nil): untyped 833 +nim tmpls nimja/parser.html#tmpls.m,staticstring,staticstring,untyped macro tmpls(str: static string; baseDir: static string = ""; context: untyped = nil): string 881 +nim tmplf nimja/parser.html#tmplf.m,staticstring,staticstring,untyped macro tmplf(str: static string; baseDir: static string = ""; context: untyped = nil): string 908 diff --git a/docs/nimja/sharedhelper.html b/docs/nimja/sharedhelper.html index 57544f7..a742eeb 100644 --- a/docs/nimja/sharedhelper.html +++ b/docs/nimja/sharedhelper.html @@ -1,164 +1,121 @@ - + - + - +nimja/sharedhelper - - - - -nimja/sharedhelper - - - - - + + + -
    -
    -

    nimja/sharedhelper

    -
    +
    +
    +

    nimja/sharedhelper

    +
    -
    - -     Dark Mode -
    - -
    - Search: -
    -
    - Group by: - -
    -
    -
    -
    - -

    -
    -

    Templates

    -
    -
    -
    template getScriptDir(): string
    -
    - -

    Helper for staticRead.

    + +
    + +

    +
    +

    Templates

    +
    +
    +
    +
    template getScriptDir(): string
    +
    + +

    Helper for staticRead.

    returns the absolute path to your project, on compile time.

    - -
    + +
    -
    -
    template read(path: untyped): untyped
    -
    -Internal helper, on compiletime this calls staticRead on runtime this calls readFile +
    +
    +
    +
    template read(path: untyped): untyped
    +
    + + Internal helper, on compiletime this calls staticRead on runtime this calls readFile + +
    +
    -
    -
    + +
    -
    -
    - + + + + diff --git a/docs/nimja/sharedhelper.idx b/docs/nimja/sharedhelper.idx index 61f7b3a..cc6e1ac 100644 --- a/docs/nimja/sharedhelper.idx +++ b/docs/nimja/sharedhelper.idx @@ -1,2 +1,3 @@ -read nimja/sharedhelper.html#read.t,untyped sharedhelper: read(path: untyped): untyped -getScriptDir nimja/sharedhelper.html#getScriptDir.t sharedhelper: getScriptDir(): string +nimTitle sharedhelper nimja/sharedhelper.html module nimja/sharedhelper 0 +nim read nimja/sharedhelper.html#read.t,untyped template read(path: untyped): untyped 3 +nim getScriptDir nimja/sharedhelper.html#getScriptDir.t template getScriptDir(): string 14 diff --git a/docs/theindex.html b/docs/theindex.html index 395a920..127bc12 100644 --- a/docs/theindex.html +++ b/docs/theindex.html @@ -1,206 +1,162 @@ - + - + - +Index - - - - -Index - - - - - + + + -
    -
    -

    Index

    - Modules: nimja/lexer, nimja/nimjautils, nimja/parser, nimja/sharedhelper.

    API symbols

    +
    +
    +

    Index

    + Modules: nimja, nimja/lexer, nimja/nimjautils, nimja/parser, nimja/sharedhelper.

    API symbols

    `?`:
    • nimjautils: `?`(con, body: untyped): untyped
    • + data-doc-search-tag="nimjautils: template `?`(con, body: untyped): untyped" href="nimja/nimjautils.html#%3F.t%2Cuntyped%2Cuntyped">nimjautils: template `?`(con, body: untyped): untyped
    `|`:
    • nimjautils: `|`(aa, bb: untyped): string
    • + data-doc-search-tag="nimjautils: macro `|`(aa, bb: untyped): string" href="nimja/nimjautils.html#%7C.m%2Cuntyped%2Cuntyped">nimjautils: macro `|`(aa, bb: untyped): string
    `~`:
    • nimjautils: `~`(aa, bb: untyped): string
    • + data-doc-search-tag="nimjautils: template `~`(aa, bb: untyped): string" href="nimja/nimjautils.html#~.t%2Cuntyped%2Cuntyped">nimjautils: template `~`(aa, bb: untyped): string
    allowedCharsInSlug:
    • nimjautils: allowedCharsInSlug
    • + data-doc-search-tag="nimjautils: const allowedCharsInSlug" href="nimja/nimjautils.html#allowedCharsInSlug">nimjautils: const allowedCharsInSlug
    compileTemplateFile:
    compileTemplateStr:
    cycle:
    getScriptDir:
    • sharedhelper: getScriptDir(): string
    • + data-doc-search-tag="sharedhelper: template getScriptDir(): string" href="nimja/sharedhelper.html#getScriptDir.t">sharedhelper: template getScriptDir(): string
    includeRaw:
    includeRawStatic:
    includeStaticAsDataurl:
    lex:
    • lexer: lex(buf: string): Token
    • + data-doc-search-tag="lexer: iterator lex(buf: string): Token" href="nimja/lexer.html#lex.i%2Cstring">lexer: iterator lex(buf: string): Token
    Loop:
    • nimjautils: Loop
    • + data-doc-search-tag="nimjautils: object Loop" href="nimja/nimjautils.html#Loop">nimjautils: object Loop
    loop:
    Loopable:
    • nimjautils: Loopable
    • + data-doc-search-tag="nimjautils: type Loopable" href="nimja/nimjautils.html#Loopable">nimjautils: type Loopable
    nl2br:
    NwtComment:
    • NwtTokenKind.NwtComment
    • + data-doc-search-tag="lexer: NwtTokenKind.NwtComment" href="nimja/lexer.html#NwtComment">lexer: NwtTokenKind.NwtComment
    NwtEval:
    • NwtTokenKind.NwtEval
    • + data-doc-search-tag="lexer: NwtTokenKind.NwtEval" href="nimja/lexer.html#NwtEval">lexer: NwtTokenKind.NwtEval
    NwtNone:
    • NwtTokenKind.NwtNone
    • + data-doc-search-tag="lexer: NwtTokenKind.NwtNone" href="nimja/lexer.html#NwtNone">lexer: NwtTokenKind.NwtNone
    NwtString:
    • NwtTokenKind.NwtString
    • + data-doc-search-tag="lexer: NwtTokenKind.NwtString" href="nimja/lexer.html#NwtString">lexer: NwtTokenKind.NwtString
    NwtTokenKind:
    • lexer: NwtTokenKind
    • + data-doc-search-tag="lexer: enum NwtTokenKind" href="nimja/lexer.html#NwtTokenKind">lexer: enum NwtTokenKind
    NwtVariable:
    • NwtTokenKind.NwtVariable
    • + data-doc-search-tag="lexer: NwtTokenKind.NwtVariable" href="nimja/lexer.html#NwtVariable">lexer: NwtTokenKind.NwtVariable
    read:
    • sharedhelper: read(path: untyped): untyped
    • + data-doc-search-tag="sharedhelper: template read(path: untyped): untyped" href="nimja/sharedhelper.html#read.t%2Cuntyped">sharedhelper: template read(path: untyped): untyped
    slugify:
    spaceless:
    • nimjautils: spaceless(str: string): string
    • + data-doc-search-tag="nimjautils: proc spaceless(str: string): string" href="nimja/nimjautils.html#spaceless%2Cstring">nimjautils: proc spaceless(str: string): string
    tmplf:
    • parser: tmplf(str: static string; context: untyped = nil): string
    • + data-doc-search-tag="parser: macro tmplf(str: static string; baseDir: static string = ""; context: untyped = nil): string" href="nimja/parser.html#tmplf.m%2Cstaticstring%2Cstaticstring%2Cuntyped">parser: macro tmplf(str: static string; baseDir: static string = ""; context: untyped = nil): string
    tmpls:
    • parser: tmpls(str: static string; context: untyped = nil): string
    • + data-doc-search-tag="parser: macro tmpls(str: static string; baseDir: static string = ""; context: untyped = nil): string" href="nimja/parser.html#tmpls.m%2Cstaticstring%2Cstaticstring%2Cuntyped">parser: macro tmpls(str: static string; baseDir: static string = ""; context: untyped = nil): string
    Token:
    • lexer: Token
    • + data-doc-search-tag="lexer: object Token" href="nimja/lexer.html#Token">lexer: object Token
    truncate:
    -
    -
    - + + + + diff --git a/examples/hcr/hcrex.nim b/examples/hcr/hcrex.nim index 99fb939..5cdf33d 100644 --- a/examples/hcr/hcrex.nim +++ b/examples/hcr/hcrex.nim @@ -10,15 +10,15 @@ type ProcIS = proc (ii: int, ss: string): string {.gcsafe, stdcall.} # We watch the templates folder for change (and also tmpls.nim implicitly) -var cw = newChangeWatcher(@[getAppDir() / "templates/"]) +let cw = newChangeWatcher(@[getAppDir() / "templates/"]) +cw.ccparams = " " asyncCheck cw.recompile() # if a change is detected we recompile tmpls.nim -var to = TestObj() -to.foo = "foo!" +const to = TestObj(foo: "foo!") routes: get "/": - resp dyn(ProcNoParam, "index") + resp dyn(ProcNoParam, "myindex") get "/id/@id": resp dyn(ProcId, "detail", @"id") diff --git a/examples/hcr/tmpls.nim b/examples/hcr/tmpls.nim index be2328a..6eeb98b 100644 --- a/examples/hcr/tmpls.nim +++ b/examples/hcr/tmpls.nim @@ -8,17 +8,17 @@ import times import os import shared # for the TestObj -proc index*(): string {.exportc, dynlib.} = +proc myindex*(): string {.exportc, dynlib.} = var foos = 1351 - compileTemplateFile(getScriptDir() / "templates/index.nimja") + compileTemplateFile("templates/index.nimja", baseDir = getScriptDir()) proc detail*(id: string): string {.exportc, dynlib.} = - compileTemplateFile(getScriptDir() / "templates/detail.nimja") + compileTemplateFile("templates/detail.nimja", baseDir = getScriptDir()) proc error*(a: seq[string]): string {.exportc, dynlib.} = var a = a a.add("foo") - compileTemplateFile(getScriptDir() / "templates/error.nimja") + compileTemplateFile("templates/error.nimja", baseDir = getScriptDir()) proc about*(a: int, b: string): string {.exportc, dynlib.} = compileTemplateStr(""" @@ -29,7 +29,7 @@ proc about*(a: int, b: string): string {.exportc, dynlib.} = : {{b}}
    {% endblock %} - """) + """, baseDir = getScriptDir()) proc oop*(to: TestObj): string {.exportc, dynlib.} = compileTemplateStr(""" @@ -38,6 +38,5 @@ proc oop*(to: TestObj): string {.exportc, dynlib.} =

    TestObj

    {{to.foo}} {% endblock %} - - """) + """, baseDir = getScriptDir()) diff --git a/nimja.nimble b/nimja.nimble index df1e349..0953fb9 100644 --- a/nimja.nimble +++ b/nimja.nimble @@ -1,6 +1,6 @@ # Package -version = "0.9.0" +version = "0.9.1" author = "David Krause" description = "typed and compiled template engine inspired by jinja2, twig and onionhammer/nim-templates for Nim." diff --git a/src/nimja/hcrutils.nim b/src/nimja/hcrutils.nim index 2014d7d..9b5253e 100644 --- a/src/nimja/hcrutils.nim +++ b/src/nimja/hcrutils.nim @@ -13,29 +13,33 @@ type patterns*: seq[string] paths*: Paths exec*: Exec + ccparams*: string template updateFile(path: string) = - if not cw.paths.hasKey(path): - echo "NEW: ", path - cw.paths[path] = getLastModificationTime(path) - result.add path - else: - let cur = getLastModificationTime(path) - if cur > cw.paths[path]: - echo "CHANGED: ", path - cw.paths[path] = cur + {.cast(gcsafe).}: + if not cw.paths.hasKey(path): + echo "NEW: ", path + cw.paths[path] = getLastModificationTime(path) result.add path + else: + let cur = getLastModificationTime(path) + if cur > cw.paths[path]: + echo "CHANGED: ", path + cw.paths[path] = cur + result.add path proc walk(cw: ChangeWatcher): seq[string] = - for pattern in cw.patterns: - if pattern.fileExists(): - updateFile(pattern) - else: - for path in walkDirRec(pattern): - updateFile(path) + {.cast(gcsafe).}: + for pattern in cw.patterns: + if pattern.fileExists(): + updateFile(pattern) + else: + for path in walkDirRec(pattern): + updateFile(path) proc doRecompile*(cw: ChangeWatcher) = - echo execShellCmd(fmt"nim c --app:lib {getAppDir() / cw.libfile}.nim") + {.cast(gcsafe).}: + echo execShellCmd(fmt"nim c {cw.ccparams} --app:lib {getAppDir() / cw.libfile}.nim") proc newChangeWatcher*(patterns: seq[string], exec: Exec = doRecompile, checkTimeout = 1_000, libfile = "tmpls.nim"): ChangeWatcher = @@ -50,17 +54,23 @@ proc newChangeWatcher*(patterns: seq[string], exec: Exec = doRecompile, checkTim result.lib = loadLib(DynlibFormat % result.libfile) proc recompile*(cw: ChangeWatcher) {.async.} = - echo "Dynamic recompilation is on; watching:" - for pattern in cw.patterns: - echo "\t", pattern - while true: - var changed = cw.walk() - if changed.len > 0: - echo "CHANGED .. RECOMPILE" - cw.lib.unloadLib() - cw.doRecompile() - cw.lib = loadLib(DynlibFormat % cw.libfile) - await sleepAsync(cw.checkTimeout) + {.cast(gcsafe).}: + echo "Dynamic recompilation is on; watching:" + for pattern in cw.patterns: + echo "\t", pattern + while true: + var changed = cw.walk() + if changed.len > 0: + echo "CHANGED .. RECOMPILE" + if not cw.lib.isNil: + cw.lib.unloadLib() + cw.doRecompile() + let dynlibPath = getAppDir() / DynlibFormat % cw.libfile + cw.lib = loadLib(dynlibPath) + if cw.lib.isNil: + echo "COULD NOT LOAD LIB: ", dynlibPath + echo repr loadLib(dynlibPath) + await sleepAsync(cw.checkTimeout) macro dyn*(kind, name: untyped, params: varargs[untyped]): untyped = var ps: string = "" @@ -69,5 +79,13 @@ macro dyn*(kind, name: untyped, params: varargs[untyped]): untyped = ps.add pp if idx < params.len - 1: ps.add ", " - let cc = fmt"""cast[{$kind}](cw.lib.symAddr("{$name}"))({ps})""" - return parseStmt(cc) + + let cc = fmt""" +{{.cast(gcsafe).}}: + let procptr = cw.lib.symAddr("{$name}") + if procptr.isNil: + raise newException(ValueError, "proc not found: {name}") +cast[{$kind}](procptr)({ps}) + """ + result = parseStmt(cc) + # echo repr result diff --git a/src/nimja/parser.nim b/src/nimja/parser.nim index d33a680..7ba7d84 100644 --- a/src/nimja/parser.nim +++ b/src/nimja/parser.nim @@ -826,7 +826,6 @@ macro compileTemplateStr*(str: typed, baseDir: static string = "", iter: static nwtVarname = varname nwtIter = iter nwtBaseDir = baseDir - echo "inCompileTemplateStr: ", nwtBaseDir tmplsMacroImpl() doCompile(str.strVal, result) diff --git a/tests/basic/procmodule/importInChild/macros.nimja b/tests/basic/procmodule/importInChild/macros.nimja new file mode 100644 index 0000000..99f31d5 --- /dev/null +++ b/tests/basic/procmodule/importInChild/macros.nimja @@ -0,0 +1,2 @@ +{%- proc foo(): string = -%}foo{%- endmacro -%} + diff --git a/tests/basic/procmodule/importInChild/master_template.nimja b/tests/basic/procmodule/importInChild/master_template.nimja new file mode 100644 index 0000000..9240773 --- /dev/null +++ b/tests/basic/procmodule/importInChild/master_template.nimja @@ -0,0 +1,2 @@ +{%- importnimja procmodule/importInChild/macros.nimja -%} +{%- block cont -%}{%- endblock cont -%} diff --git a/tests/basic/procmodule/importInChild/template_child.nimja b/tests/basic/procmodule/importInChild/template_child.nimja new file mode 100644 index 0000000..8149cb6 --- /dev/null +++ b/tests/basic/procmodule/importInChild/template_child.nimja @@ -0,0 +1,5 @@ +{% extends procmodule/importInChild/master_template.nimja %} +{%- importnimja procmodule/importInChild/macros.nimja -%} +{%- block cont -%} +{{- foo() -}} +{%- endblock cont -%} diff --git a/tests/basic/procmodule/importInMaster/macros.nimja b/tests/basic/procmodule/importInMaster/macros.nimja new file mode 100644 index 0000000..99f31d5 --- /dev/null +++ b/tests/basic/procmodule/importInMaster/macros.nimja @@ -0,0 +1,2 @@ +{%- proc foo(): string = -%}foo{%- endmacro -%} + diff --git a/tests/basic/procmodule/importInMaster/master_template.nimja b/tests/basic/procmodule/importInMaster/master_template.nimja new file mode 100644 index 0000000..51dee1e --- /dev/null +++ b/tests/basic/procmodule/importInMaster/master_template.nimja @@ -0,0 +1,2 @@ +{%- importnimja procmodule/importInMaster/macros.nimja -%} +{%- block cont -%}{%- endblock cont -%} diff --git a/tests/basic/procmodule/importInMaster/template_child.nimja b/tests/basic/procmodule/importInMaster/template_child.nimja new file mode 100644 index 0000000..0e1a60a --- /dev/null +++ b/tests/basic/procmodule/importInMaster/template_child.nimja @@ -0,0 +1,2 @@ +{%- extends procmodule/importInMaster/master_template.nimja -%} +{%- block cont -%}{{- foo() -}}{%- endblock cont -%} diff --git a/tests/basic/procmodule/master_template.nimja b/tests/basic/procmodule/master_template.nimja new file mode 100644 index 0000000..afd4eb3 --- /dev/null +++ b/tests/basic/procmodule/master_template.nimja @@ -0,0 +1 @@ +{% block cont %}{% endblock cont %} diff --git a/tests/basic/test_procmodule b/tests/basic/test_procmodule new file mode 100755 index 0000000..ee361ff Binary files /dev/null and b/tests/basic/test_procmodule differ diff --git a/tests/basic/test_procmodule.nim b/tests/basic/test_procmodule.nim new file mode 100644 index 0000000..b0bcdd0 --- /dev/null +++ b/tests/basic/test_procmodule.nim @@ -0,0 +1,18 @@ +discard """ + joinable: false +""" +import ../../src/nimja +import unittest +import strutils + +test "import proc module in master": + proc tchild(): string = + compileTemplateFile("procmodule/importInMaster/template_child.nimja", baseDir = getScriptDir()) + check "foo" == tchild() + +test "import proc module in child": + proc tchild(): string = + compileTemplateFile("procmodule/importInChild/template_child.nimja", baseDir = getScriptDir()) + check "foo" == tchild() + +