From efbd93ab9343d647e371584135980fdcd6a56d30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=94=84=EB=A6=AC=EB=A7=88?= Date: Tue, 20 Aug 2024 13:00:54 -0300 Subject: [PATCH] tests --- apps/documents/documents.fsx | 19210 +++++++++++++++++---------------- apps/documents/documents.rs | 4353 ++++---- 2 files changed, 11819 insertions(+), 11744 deletions(-) diff --git a/apps/documents/documents.fsx b/apps/documents/documents.fsx index 264bf540..bfdacaa7 100644 --- a/apps/documents/documents.fsx +++ b/apps/documents/documents.fsx @@ -580,52 +580,52 @@ and method3 (v0 : string) : string = let v67 : unit = () let v68 : (unit -> unit) = closure4(v61, v66) let v69 : unit = (fun () -> v68 (); v67) () - let v70 : US1 option = _v64.Value - let v81 : US1 = US1_1 - let v82 : US1 = v70 |> Option.defaultValue v81 - let v89 : string = - match v82 with + let v72 : US1 option = _v64.Value + let v83 : US1 = US1_1 + let v84 : US1 = v72 |> Option.defaultValue v83 + let v91 : string = + match v84 with | US1_1 -> (* None *) - let v87 : string = "" - v87 - | US1_0(v86) -> (* Some *) - v86 - let _v1 = v89 + let v89 : string = "" + v89 + | US1_0(v88) -> (* Some *) + v88 + let _v1 = v91 #endif #else - let v90 : (string -> string) = System.Environment.GetEnvironmentVariable - let v91 : string = v90 v0 - let mutable _v91 = None + let v92 : (string -> string) = System.Environment.GetEnvironmentVariable + let v93 : string = v92 v0 + let mutable _v93 = None #if !FABLE_COMPILER && !WASM && !CONTRACT - let v92 : (string -> string option) = Option.ofObj - let v93 : string option = v92 v91 - v93 + let v94 : (string -> string option) = Option.ofObj + let v95 : string option = v94 v93 + v95 #else - Some v91 + Some v93 #endif - |> fun x -> _v91 <- Some x - let v94 : string option = match _v91 with Some x -> x | None -> failwith "optionm'.of_obj / _v91=None" - let v97 : US1 option = None - let _v97 = ref v97 - let v98 : US1 option ref = _v97 - let v99 : (US1 option -> US1 option ref) = closure3(v98) - let v100 : unit = () - let v101 : (unit -> unit) = closure4(v94, v99) - let v102 : unit = (fun () -> v101 (); v100) () - let v103 : US1 option = _v97.Value - let v114 : US1 = US1_1 - let v115 : US1 = v103 |> Option.defaultValue v114 - let v122 : string = - match v115 with + |> fun x -> _v93 <- Some x + let v96 : string option = match _v93 with Some x -> x | None -> failwith "optionm'.of_obj / _v93=None" + let v99 : US1 option = None + let _v99 = ref v99 + let v100 : US1 option ref = _v99 + let v101 : (US1 option -> US1 option ref) = closure3(v100) + let v102 : unit = () + let v103 : (unit -> unit) = closure4(v96, v101) + let v104 : unit = (fun () -> v103 (); v102) () + let v107 : US1 option = _v99.Value + let v118 : US1 = US1_1 + let v119 : US1 = v107 |> Option.defaultValue v118 + let v126 : string = + match v119 with | US1_1 -> (* None *) - let v120 : string = "" - v120 - | US1_0(v119) -> (* Some *) - v119 - let _v1 = v122 + let v124 : string = "" + v124 + | US1_0(v123) -> (* Some *) + v123 + let _v1 = v126 #endif - let v123 : string = _v1 - v123 + let v127 : string = _v1 + v127 and method5 () : string = let v0 : string = "AUTOMATION" v0 @@ -1071,414 +1071,423 @@ and closure11 (v0 : Mut4, v1 : string) () : unit = and closure12 () () : string = let v0 : string = $"documents.main" v0 +and closure14 (v0 : string) () : unit = + let v1 : (string -> unit) = System.Console.WriteLine + v1 v0 +and closure13 () (v0 : string) : unit = + let v1 : unit = () + let v2 : (unit -> unit) = closure14(v0) + let v3 : unit = (fun () -> v2 (); v1) () + () and closure6 (v0 : (string [])) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 2 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 2 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Info" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Info" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_bright_green" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_bright_green" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_bright_green" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_bright_green" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_bright_green" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_bright_green" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[92m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[92m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[92m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[92m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[92m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = method9() - let v580 : Mut4 = {l0 = v579} : Mut4 - let v581 : string = "{ " - let v582 : string = $"{v581}" - let v585 : unit = () - let v586 : (unit -> unit) = closure11(v580, v582) - let v587 : unit = (fun () -> v586 (); v585) () - let v588 : string = "args" - let v589 : string = $"{v588}" - let v592 : unit = () - let v593 : (unit -> unit) = closure11(v580, v589) - let v594 : unit = (fun () -> v593 (); v592) () - let v595 : string = " = " - let v596 : string = $"{v595}" - let v599 : unit = () - let v600 : (unit -> unit) = closure11(v580, v596) - let v601 : unit = (fun () -> v600 (); v599) () - let v602 : string = $"%A{v0}" - let v605 : string = $"{v602}" - let v608 : unit = () - let v609 : (unit -> unit) = closure11(v580, v605) - let v610 : unit = (fun () -> v609 (); v608) () - let v611 : string = " }" - let v612 : string = $"{v611}" - let v615 : unit = () - let v616 : (unit -> unit) = closure11(v580, v612) - let v617 : unit = (fun () -> v616 (); v615) () - let v618 : string = v580.l0 - let v619 : (unit -> string) = closure12() - let v620 : string = $"{v439} {v572} #{v578} %s{v619 ()} / {v618}" - let v623 : char list = [] - let v624 : (char list -> (char [])) = List.toArray - let v625 : (char []) = v624 v623 - let v628 : string = v620.TrimStart v625 - let v646 : char list = [] - let v647 : char list = '/' :: v646 - let v650 : char list = ' ' :: v647 - let v653 : (char list -> (char [])) = List.toArray - let v654 : (char []) = v653 v650 - let v657 : string = v628.TrimEnd v654 - let v675 : unit = () + let v614 : string = "\u001b[92m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = method9() + let v626 : Mut4 = {l0 = v625} : Mut4 + let v627 : string = "{ " + let v628 : string = $"{v627}" + let v631 : unit = () + let v632 : (unit -> unit) = closure11(v626, v628) + let v633 : unit = (fun () -> v632 (); v631) () + let v636 : string = "args" + let v637 : string = $"{v636}" + let v640 : unit = () + let v641 : (unit -> unit) = closure11(v626, v637) + let v642 : unit = (fun () -> v641 (); v640) () + let v645 : string = " = " + let v646 : string = $"{v645}" + let v649 : unit = () + let v650 : (unit -> unit) = closure11(v626, v646) + let v651 : unit = (fun () -> v650 (); v649) () + let v654 : string = $"%A{v0}" + let v657 : string = $"{v654}" + let v660 : unit = () + let v661 : (unit -> unit) = closure11(v626, v657) + let v662 : unit = (fun () -> v661 (); v660) () + let v665 : string = " }" + let v666 : string = $"{v665}" + let v669 : unit = () + let v670 : (unit -> unit) = closure11(v626, v666) + let v671 : unit = (fun () -> v670 (); v669) () + let v674 : string = v626.l0 + let v675 : (unit -> string) = closure12() + let v676 : string = $"{v483} {v618} #{v624} %s{v675 ()} / {v674}" + let v679 : char list = [] + let v680 : (char list -> (char [])) = List.toArray + let v681 : (char []) = v680 v679 + let v684 : string = v676.TrimStart v681 + let v702 : char list = [] + let v703 : char list = '/' :: v702 + let v706 : char list = ' ' :: v703 + let v709 : (char list -> (char [])) = List.toArray + let v710 : (char []) = v709 v706 + let v713 : string = v684.TrimEnd v710 + let v731 : (string -> unit) = closure13() + let v732 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v676 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v657 v676 - let _v675 = () + let v733 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v713 v733 + let _v732 = () #endif #if FABLE_COMPILER_RUST && WASM - let v677 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v657 v677 - let _v675 = () + let v734 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v713 v734 + let _v732 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v678 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v657 v678 - let _v675 = () + let v735 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v713 v735 + let _v732 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v657 - let _v675 = () + v731 v713 + let _v732 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v657 - let _v675 = () + v731 v713 + let _v732 = () #endif #else - System.Console.WriteLine v657 - let _v675 = () + v731 v713 + let _v732 = () #endif - _v675 - let v679 : (string -> unit) = v7.l0 - v679 v657 + _v732 + let v736 : (string -> unit) = v17.l0 + v736 v713 and method10 () : string = let v0 : string = "source-dir" v0 -and closure13 (v0 : US4 option ref) (v1 : US4 option) : US4 option ref = +and closure15 (v0 : US4 option ref) (v1 : US4 option) : US4 option ref = v0.Value <- v1 v0 -and closure14 (v0 : std_string_String option, v1 : (US4 option -> US4 option ref)) () : unit = +and closure16 (v0 : std_string_String option, v1 : (US4 option -> US4 option ref)) () : unit = match v0 with | Some x -> ( (fun () -> @@ -1771,10 +1780,10 @@ and method21 (v0 : string) : string option = | US1_0(v90) -> (* Some *) let v91 : string option = Some v90 v91 -and closure15 () (v0 : string) : string option = +and closure17 () (v0 : string) : string option = method21(v0) and method20 () : (string -> string option) = - closure15() + closure17() and method22 (v0 : string, v1 : string, v2 : string) : US7 = let v3 : string = method15(v2, v0) let v4 : bool = method19(v3) @@ -1790,15 +1799,15 @@ and method22 (v0 : string, v1 : string, v2 : string) : US7 = let v11 : unit = () let v12 : (unit -> unit) = closure4(v7, v10) let v13 : unit = (fun () -> v12 (); v11) () - let v14 : US1 option = _v8.Value - let v25 : US1 = US1_1 - let v26 : US1 = v14 |> Option.defaultValue v25 - match v26 with + let v16 : US1 option = _v8.Value + let v27 : US1 = US1_1 + let v28 : US1 = v16 |> Option.defaultValue v27 + match v28 with | US1_1 -> (* None *) - let v32 : string = $"""No parent for {if false then "file" else "dir"} '{v0}' at '{v1}' (until '{v2}')""" - US7_1(v32) - | US1_0(v30) -> (* Some *) - method22(v0, v1, v30) + let v34 : string = $"""No parent for {if false then "file" else "dir"} '{v0}' at '{v1}' (until '{v2}')""" + US7_1(v34) + | US1_0(v32) -> (* Some *) + method22(v0, v1, v32) and method18 (v0 : string, v1 : string) : US7 = let v2 : string = method15(v1, v0) let v3 : bool = method19(v2) @@ -1814,418 +1823,419 @@ and method18 (v0 : string, v1 : string) : US7 = let v10 : unit = () let v11 : (unit -> unit) = closure4(v6, v9) let v12 : unit = (fun () -> v11 (); v10) () - let v13 : US1 option = _v7.Value - let v24 : US1 = US1_1 - let v25 : US1 = v13 |> Option.defaultValue v24 - match v25 with + let v15 : US1 option = _v7.Value + let v26 : US1 = US1_1 + let v27 : US1 = v15 |> Option.defaultValue v26 + match v27 with | US1_1 -> (* None *) - let v31 : string = $"""No parent for {if false then "file" else "dir"} '{v0}' at '{v1}' (until '{v1}')""" - US7_1(v31) - | US1_0(v29) -> (* Some *) - method22(v0, v1, v29) -and closure17 () () : string = + let v33 : string = $"""No parent for {if false then "file" else "dir"} '{v0}' at '{v1}' (until '{v1}')""" + US7_1(v33) + | US1_0(v31) -> (* Some *) + method22(v0, v1, v31) +and closure19 () () : string = let v0 : string = "file_system.get_workspace_root" v0 -and closure16 (v0 : string) () : unit = +and closure18 (v0 : string) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 3 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 3 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Warning" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Warning" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_yellow" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_yellow" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_yellow" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_yellow" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_yellow" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_yellow" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[93m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[93m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[93m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[93m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[93m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = method9() - let v580 : Mut4 = {l0 = v579} : Mut4 - let v581 : string = "{ " - let v582 : string = $"{v581}" - let v585 : unit = () - let v586 : (unit -> unit) = closure11(v580, v582) - let v587 : unit = (fun () -> v586 (); v585) () - let v588 : string = "error" - let v589 : string = $"{v588}" - let v592 : unit = () - let v593 : (unit -> unit) = closure11(v580, v589) - let v594 : unit = (fun () -> v593 (); v592) () - let v595 : string = " = " - let v596 : string = $"{v595}" - let v599 : unit = () - let v600 : (unit -> unit) = closure11(v580, v596) - let v601 : unit = (fun () -> v600 (); v599) () - let v602 : string = $"{v0}" - let v605 : unit = () - let v606 : (unit -> unit) = closure11(v580, v602) - let v607 : unit = (fun () -> v606 (); v605) () - let v608 : string = " }" - let v609 : string = $"{v608}" - let v612 : unit = () - let v613 : (unit -> unit) = closure11(v580, v609) - let v614 : unit = (fun () -> v613 (); v612) () - let v615 : string = v580.l0 - let v616 : (unit -> string) = closure17() - let v617 : string = $"{v439} {v572} #{v578} %s{v616 ()} / {v615}" - let v620 : char list = [] - let v621 : (char list -> (char [])) = List.toArray - let v622 : (char []) = v621 v620 - let v625 : string = v617.TrimStart v622 - let v643 : char list = [] - let v644 : char list = '/' :: v643 - let v647 : char list = ' ' :: v644 - let v650 : (char list -> (char [])) = List.toArray - let v651 : (char []) = v650 v647 - let v654 : string = v625.TrimEnd v651 - let v672 : unit = () + let v614 : string = "\u001b[93m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = method9() + let v626 : Mut4 = {l0 = v625} : Mut4 + let v627 : string = "{ " + let v628 : string = $"{v627}" + let v631 : unit = () + let v632 : (unit -> unit) = closure11(v626, v628) + let v633 : unit = (fun () -> v632 (); v631) () + let v636 : string = "error" + let v637 : string = $"{v636}" + let v640 : unit = () + let v641 : (unit -> unit) = closure11(v626, v637) + let v642 : unit = (fun () -> v641 (); v640) () + let v645 : string = " = " + let v646 : string = $"{v645}" + let v649 : unit = () + let v650 : (unit -> unit) = closure11(v626, v646) + let v651 : unit = (fun () -> v650 (); v649) () + let v654 : string = $"{v0}" + let v657 : unit = () + let v658 : (unit -> unit) = closure11(v626, v654) + let v659 : unit = (fun () -> v658 (); v657) () + let v662 : string = " }" + let v663 : string = $"{v662}" + let v666 : unit = () + let v667 : (unit -> unit) = closure11(v626, v663) + let v668 : unit = (fun () -> v667 (); v666) () + let v671 : string = v626.l0 + let v672 : (unit -> string) = closure19() + let v673 : string = $"{v483} {v618} #{v624} %s{v672 ()} / {v671}" + let v676 : char list = [] + let v677 : (char list -> (char [])) = List.toArray + let v678 : (char []) = v677 v676 + let v681 : string = v673.TrimStart v678 + let v699 : char list = [] + let v700 : char list = '/' :: v699 + let v703 : char list = ' ' :: v700 + let v706 : (char list -> (char [])) = List.toArray + let v707 : (char []) = v706 v703 + let v710 : string = v681.TrimEnd v707 + let v728 : (string -> unit) = closure13() + let v729 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v673 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v654 v673 - let _v672 = () + let v730 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v710 v730 + let _v729 = () #endif #if FABLE_COMPILER_RUST && WASM - let v674 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v654 v674 - let _v672 = () + let v731 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v710 v731 + let _v729 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v675 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v654 v675 - let _v672 = () + let v732 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v710 v732 + let _v729 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v654 - let _v672 = () + v728 v710 + let _v729 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v654 - let _v672 = () + v728 v710 + let _v729 = () #endif #else - System.Console.WriteLine v654 - let _v672 = () + v728 v710 + let _v729 = () #endif - _v672 - let v676 : (string -> unit) = v7.l0 - v676 v654 + _v729 + let v733 : (string -> unit) = v17.l0 + v733 v710 and method23 () : string = let v0 : unit = () @@ -2567,464 +2577,465 @@ and method24 (v0 : string) : string = #endif let v131 : string = _v1 v131 -and closure19 () () : string = +and closure21 () () : string = let v0 : string = "documents.run" v0 -and closure18 (v0 : string, v1 : string, v2 : string, v3 : string) () : unit = +and closure20 (v0 : string, v1 : string, v2 : string, v3 : string) () : unit = let v4 : unit = () let v5 : (unit -> unit) = closure7() let v6 : unit = (fun () -> v5 (); v4) () - let struct (v9 : Mut0, v10 : Mut1, v11 : Mut2, v12 : Mut3, v13 : int64 option) = State.trace_state.Value - let v24 : unit = () - let v25 : unit = (fun () -> v5 (); v24) () - let struct (v28 : Mut0, v29 : Mut1, v30 : Mut2, v31 : Mut3, v32 : int64 option) = State.trace_state.Value - let v43 : US0 = v31.l0 - let v44 : bool = v30.l0 - let v45 : bool = v44 = false - let v48 : bool = - if v45 then + let struct (v19 : Mut0, v20 : Mut1, v21 : Mut2, v22 : Mut3, v23 : int64 option) = State.trace_state.Value + let v34 : unit = () + let v35 : unit = (fun () -> v5 (); v34) () + let struct (v48 : Mut0, v49 : Mut1, v50 : Mut2, v51 : Mut3, v52 : int64 option) = State.trace_state.Value + let v63 : US0 = v51.l0 + let v64 : bool = v50.l0 + let v65 : bool = v64 = false + let v68 : bool = + if v65 then false else - let v46 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v43 - let v47 : bool = 1 >= v46 - v47 - if v48 then - let v49 : unit = () - let v50 : (unit -> unit) = closure8(v9) - let v51 : unit = (fun () -> v50 (); v49) () - let v52 : unit = () - let v53 : unit = (fun () -> v5 (); v52) () - let struct (v56 : Mut0, v57 : Mut1, v58 : Mut2, v59 : Mut3, v60 : int64 option) = State.trace_state.Value - let v71 : unit = () + let v66 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v63 + let v67 : bool = 1 >= v66 + v67 + if v68 then + let v69 : unit = () + let v70 : (unit -> unit) = closure8(v19) + let v71 : unit = (fun () -> v70 (); v69) () + let v74 : unit = () + let v75 : unit = (fun () -> v5 (); v74) () + let struct (v88 : Mut0, v89 : Mut1, v90 : Mut2, v91 : Mut3, v92 : int64 option) = State.trace_state.Value + let v103 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v72 : US3 option = None - let _v72 = ref v72 - let v73 : US3 option ref = _v72 - let v74 : (US3 option -> US3 option ref) = closure9(v73) - let v75 : unit = () - let v76 : (unit -> unit) = closure10(v60, v74) - let v77 : unit = (fun () -> v76 (); v75) () - let v78 : US3 option = _v72.Value - let v89 : US3 = US3_1 - let v90 : US3 = v78 |> Option.defaultValue v89 - let v130 : System.DateTime = - match v90 with + let v104 : US3 option = None + let _v104 = ref v104 + let v105 : US3 option ref = _v104 + let v106 : (US3 option -> US3 option ref) = closure9(v105) + let v107 : unit = () + let v108 : (unit -> unit) = closure10(v92, v106) + let v109 : unit = (fun () -> v108 (); v107) () + let v112 : US3 option = _v104.Value + let v123 : US3 = US3_1 + let v124 : US3 = v112 |> Option.defaultValue v123 + let v164 : System.DateTime = + match v124 with | US3_1 -> (* None *) - let v126 : System.DateTime = System.DateTime.Now - v126 - | US3_0(v94) -> (* Some *) - let v95 : System.DateTime = System.DateTime.Now - let v98 : (System.DateTime -> int64) = _.Ticks - let v99 : int64 = v98 v95 - let v102 : int64 = v99 - v94 - let v103 : (int64 -> System.TimeSpan) = System.TimeSpan - let v104 : System.TimeSpan = v103 v102 - let v107 : (System.TimeSpan -> int32) = _.Hours - let v108 : int32 = v107 v104 - let v111 : (System.TimeSpan -> int32) = _.Minutes - let v112 : int32 = v111 v104 - let v115 : (System.TimeSpan -> int32) = _.Seconds - let v116 : int32 = v115 v104 - let v119 : (System.TimeSpan -> int32) = _.Milliseconds - let v120 : int32 = v119 v104 - let v123 : System.DateTime = System.DateTime (1, 1, 1, v108, v112, v116, v120) - v123 - let v131 : string = method6() - let v134 : (string -> string) = v130.ToString - let v135 : string = v134 v131 - let _v71 = v135 + let v160 : System.DateTime = System.DateTime.Now + v160 + | US3_0(v128) -> (* Some *) + let v129 : System.DateTime = System.DateTime.Now + let v132 : (System.DateTime -> int64) = _.Ticks + let v133 : int64 = v132 v129 + let v136 : int64 = v133 - v128 + let v137 : (int64 -> System.TimeSpan) = System.TimeSpan + let v138 : System.TimeSpan = v137 v136 + let v141 : (System.TimeSpan -> int32) = _.Hours + let v142 : int32 = v141 v138 + let v145 : (System.TimeSpan -> int32) = _.Minutes + let v146 : int32 = v145 v138 + let v149 : (System.TimeSpan -> int32) = _.Seconds + let v150 : int32 = v149 v138 + let v153 : (System.TimeSpan -> int32) = _.Milliseconds + let v154 : int32 = v153 v138 + let v157 : System.DateTime = System.DateTime (1, 1, 1, v142, v146, v150, v154) + v157 + let v165 : string = method6() + let v168 : (string -> string) = v164.ToString + let v169 : string = v168 v165 + let _v103 = v169 #endif #if FABLE_COMPILER_RUST && WASM - let v138 : US3 option = None - let _v138 = ref v138 - let v139 : US3 option ref = _v138 - let v140 : (US3 option -> US3 option ref) = closure9(v139) - let v141 : unit = () - let v142 : (unit -> unit) = closure10(v60, v140) - let v143 : unit = (fun () -> v142 (); v141) () - let v144 : US3 option = _v138.Value - let v155 : US3 = US3_1 - let v156 : US3 = v144 |> Option.defaultValue v155 - let v196 : System.DateTime = - match v156 with + let v172 : US3 option = None + let _v172 = ref v172 + let v173 : US3 option ref = _v172 + let v174 : (US3 option -> US3 option ref) = closure9(v173) + let v175 : unit = () + let v176 : (unit -> unit) = closure10(v92, v174) + let v177 : unit = (fun () -> v176 (); v175) () + let v180 : US3 option = _v172.Value + let v191 : US3 = US3_1 + let v192 : US3 = v180 |> Option.defaultValue v191 + let v232 : System.DateTime = + match v192 with | US3_1 -> (* None *) - let v192 : System.DateTime = System.DateTime.Now - v192 - | US3_0(v160) -> (* Some *) - let v161 : System.DateTime = System.DateTime.Now - let v164 : (System.DateTime -> int64) = _.Ticks - let v165 : int64 = v164 v161 - let v168 : int64 = v165 - v160 - let v169 : (int64 -> System.TimeSpan) = System.TimeSpan - let v170 : System.TimeSpan = v169 v168 - let v173 : (System.TimeSpan -> int32) = _.Hours - let v174 : int32 = v173 v170 - let v177 : (System.TimeSpan -> int32) = _.Minutes - let v178 : int32 = v177 v170 - let v181 : (System.TimeSpan -> int32) = _.Seconds - let v182 : int32 = v181 v170 - let v185 : (System.TimeSpan -> int32) = _.Milliseconds - let v186 : int32 = v185 v170 - let v189 : System.DateTime = System.DateTime (1, 1, 1, v174, v178, v182, v186) - v189 - let v197 : string = method6() - let v200 : (string -> string) = v196.ToString - let v201 : string = v200 v197 - let _v71 = v201 + let v228 : System.DateTime = System.DateTime.Now + v228 + | US3_0(v196) -> (* Some *) + let v197 : System.DateTime = System.DateTime.Now + let v200 : (System.DateTime -> int64) = _.Ticks + let v201 : int64 = v200 v197 + let v204 : int64 = v201 - v196 + let v205 : (int64 -> System.TimeSpan) = System.TimeSpan + let v206 : System.TimeSpan = v205 v204 + let v209 : (System.TimeSpan -> int32) = _.Hours + let v210 : int32 = v209 v206 + let v213 : (System.TimeSpan -> int32) = _.Minutes + let v214 : int32 = v213 v206 + let v217 : (System.TimeSpan -> int32) = _.Seconds + let v218 : int32 = v217 v206 + let v221 : (System.TimeSpan -> int32) = _.Milliseconds + let v222 : int32 = v221 v206 + let v225 : System.DateTime = System.DateTime (1, 1, 1, v210, v214, v218, v222) + v225 + let v233 : string = method6() + let v236 : (string -> string) = v232.ToString + let v237 : string = v236 v233 + let _v103 = v237 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v204 : string = $"near_sdk::env::block_timestamp()" - let v205 : uint64 = Fable.Core.RustInterop.emitRustExpr () v204 - let v206 : US3 option = None - let _v206 = ref v206 - let v207 : US3 option ref = _v206 - let v208 : (US3 option -> US3 option ref) = closure9(v207) - let v209 : unit = () - let v210 : (unit -> unit) = closure10(v60, v208) - let v211 : unit = (fun () -> v210 (); v209) () - let v212 : US3 option = _v206.Value - let v223 : US3 = US3_1 - let v224 : US3 = v212 |> Option.defaultValue v223 - let v233 : uint64 = - match v224 with - | US3_1 -> (* None *) - v205 - | US3_0(v228) -> (* Some *) - let v229 : (int64 -> uint64) = uint64 - let v230 : uint64 = v229 v228 - let v231 : uint64 = v205 - v230 - v231 - let v234 : uint64 = v233 / 1000000000UL - let v235 : uint64 = v234 % 60UL - let v236 : uint64 = v234 / 60UL - let v237 : uint64 = v236 % 60UL - let v238 : uint64 = v234 / 3600UL - let v239 : uint64 = v238 % 24UL - let v240 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v241 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v239, v237, v235) v240 - let v242 : string = "fable_library_rust::String_::fromString($0)" - let v243 : string = Fable.Core.RustInterop.emitRustExpr v241 v242 - let _v71 = v243 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v244 : US3 option = None - let _v244 = ref v244 - let v245 : US3 option ref = _v244 - let v246 : (US3 option -> US3 option ref) = closure9(v245) - let v247 : unit = () - let v248 : (unit -> unit) = closure10(v60, v246) - let v249 : unit = (fun () -> v248 (); v247) () - let v250 : US3 option = _v244.Value + let v240 : string = $"near_sdk::env::block_timestamp()" + let v241 : uint64 = Fable.Core.RustInterop.emitRustExpr () v240 + let v242 : US3 option = None + let _v242 = ref v242 + let v243 : US3 option ref = _v242 + let v244 : (US3 option -> US3 option ref) = closure9(v243) + let v245 : unit = () + let v246 : (unit -> unit) = closure10(v92, v244) + let v247 : unit = (fun () -> v246 (); v245) () + let v250 : US3 option = _v242.Value let v261 : US3 = US3_1 let v262 : US3 = v250 |> Option.defaultValue v261 - let v302 : System.DateTime = + let v271 : uint64 = match v262 with | US3_1 -> (* None *) - let v298 : System.DateTime = System.DateTime.Now - v298 + v241 | US3_0(v266) -> (* Some *) - let v267 : System.DateTime = System.DateTime.Now - let v270 : (System.DateTime -> int64) = _.Ticks - let v271 : int64 = v270 v267 - let v274 : int64 = v271 - v266 - let v275 : (int64 -> System.TimeSpan) = System.TimeSpan - let v276 : System.TimeSpan = v275 v274 - let v279 : (System.TimeSpan -> int32) = _.Hours - let v280 : int32 = v279 v276 - let v283 : (System.TimeSpan -> int32) = _.Minutes - let v284 : int32 = v283 v276 - let v287 : (System.TimeSpan -> int32) = _.Seconds - let v288 : int32 = v287 v276 - let v291 : (System.TimeSpan -> int32) = _.Milliseconds - let v292 : int32 = v291 v276 - let v295 : System.DateTime = System.DateTime (1, 1, 1, v280, v284, v288, v292) - v295 - let v303 : string = method7() - let v306 : (string -> string) = v302.ToString - let v307 : string = v306 v303 - let _v71 = v307 + let v267 : (int64 -> uint64) = uint64 + let v268 : uint64 = v267 v266 + let v269 : uint64 = v241 - v268 + v269 + let v272 : uint64 = v271 / 1000000000UL + let v273 : uint64 = v272 % 60UL + let v274 : uint64 = v272 / 60UL + let v275 : uint64 = v274 % 60UL + let v276 : uint64 = v272 / 3600UL + let v277 : uint64 = v276 % 24UL + let v278 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v279 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v277, v275, v273) v278 + let v280 : string = "fable_library_rust::String_::fromString($0)" + let v281 : string = Fable.Core.RustInterop.emitRustExpr v279 v280 + let _v103 = v281 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v282 : US3 option = None + let _v282 = ref v282 + let v283 : US3 option ref = _v282 + let v284 : (US3 option -> US3 option ref) = closure9(v283) + let v285 : unit = () + let v286 : (unit -> unit) = closure10(v92, v284) + let v287 : unit = (fun () -> v286 (); v285) () + let v290 : US3 option = _v282.Value + let v301 : US3 = US3_1 + let v302 : US3 = v290 |> Option.defaultValue v301 + let v342 : System.DateTime = + match v302 with + | US3_1 -> (* None *) + let v338 : System.DateTime = System.DateTime.Now + v338 + | US3_0(v306) -> (* Some *) + let v307 : System.DateTime = System.DateTime.Now + let v310 : (System.DateTime -> int64) = _.Ticks + let v311 : int64 = v310 v307 + let v314 : int64 = v311 - v306 + let v315 : (int64 -> System.TimeSpan) = System.TimeSpan + let v316 : System.TimeSpan = v315 v314 + let v319 : (System.TimeSpan -> int32) = _.Hours + let v320 : int32 = v319 v316 + let v323 : (System.TimeSpan -> int32) = _.Minutes + let v324 : int32 = v323 v316 + let v327 : (System.TimeSpan -> int32) = _.Seconds + let v328 : int32 = v327 v316 + let v331 : (System.TimeSpan -> int32) = _.Milliseconds + let v332 : int32 = v331 v316 + let v335 : System.DateTime = System.DateTime (1, 1, 1, v320, v324, v328, v332) + v335 + let v343 : string = method7() + let v346 : (string -> string) = v342.ToString + let v347 : string = v346 v343 + let _v103 = v347 #endif #if FABLE_COMPILER_PYTHON - let v310 : US3 option = None - let _v310 = ref v310 - let v311 : US3 option ref = _v310 - let v312 : (US3 option -> US3 option ref) = closure9(v311) - let v313 : unit = () - let v314 : (unit -> unit) = closure10(v60, v312) - let v315 : unit = (fun () -> v314 (); v313) () - let v316 : US3 option = _v310.Value - let v327 : US3 = US3_1 - let v328 : US3 = v316 |> Option.defaultValue v327 - let v368 : System.DateTime = - match v328 with + let v350 : US3 option = None + let _v350 = ref v350 + let v351 : US3 option ref = _v350 + let v352 : (US3 option -> US3 option ref) = closure9(v351) + let v353 : unit = () + let v354 : (unit -> unit) = closure10(v92, v352) + let v355 : unit = (fun () -> v354 (); v353) () + let v358 : US3 option = _v350.Value + let v369 : US3 = US3_1 + let v370 : US3 = v358 |> Option.defaultValue v369 + let v410 : System.DateTime = + match v370 with | US3_1 -> (* None *) - let v364 : System.DateTime = System.DateTime.Now - v364 - | US3_0(v332) -> (* Some *) - let v333 : System.DateTime = System.DateTime.Now - let v336 : (System.DateTime -> int64) = _.Ticks - let v337 : int64 = v336 v333 - let v340 : int64 = v337 - v332 - let v341 : (int64 -> System.TimeSpan) = System.TimeSpan - let v342 : System.TimeSpan = v341 v340 - let v345 : (System.TimeSpan -> int32) = _.Hours - let v346 : int32 = v345 v342 - let v349 : (System.TimeSpan -> int32) = _.Minutes - let v350 : int32 = v349 v342 - let v353 : (System.TimeSpan -> int32) = _.Seconds - let v354 : int32 = v353 v342 - let v357 : (System.TimeSpan -> int32) = _.Milliseconds - let v358 : int32 = v357 v342 - let v361 : System.DateTime = System.DateTime (1, 1, 1, v346, v350, v354, v358) - v361 - let v369 : string = method7() - let v372 : (string -> string) = v368.ToString - let v373 : string = v372 v369 - let _v71 = v373 + let v406 : System.DateTime = System.DateTime.Now + v406 + | US3_0(v374) -> (* Some *) + let v375 : System.DateTime = System.DateTime.Now + let v378 : (System.DateTime -> int64) = _.Ticks + let v379 : int64 = v378 v375 + let v382 : int64 = v379 - v374 + let v383 : (int64 -> System.TimeSpan) = System.TimeSpan + let v384 : System.TimeSpan = v383 v382 + let v387 : (System.TimeSpan -> int32) = _.Hours + let v388 : int32 = v387 v384 + let v391 : (System.TimeSpan -> int32) = _.Minutes + let v392 : int32 = v391 v384 + let v395 : (System.TimeSpan -> int32) = _.Seconds + let v396 : int32 = v395 v384 + let v399 : (System.TimeSpan -> int32) = _.Milliseconds + let v400 : int32 = v399 v384 + let v403 : System.DateTime = System.DateTime (1, 1, 1, v388, v392, v396, v400) + v403 + let v411 : string = method7() + let v414 : (string -> string) = v410.ToString + let v415 : string = v414 v411 + let _v103 = v415 #endif #else - let v376 : US3 option = None - let _v376 = ref v376 - let v377 : US3 option ref = _v376 - let v378 : (US3 option -> US3 option ref) = closure9(v377) - let v379 : unit = () - let v380 : (unit -> unit) = closure10(v60, v378) - let v381 : unit = (fun () -> v380 (); v379) () - let v382 : US3 option = _v376.Value - let v393 : US3 = US3_1 - let v394 : US3 = v382 |> Option.defaultValue v393 - let v434 : System.DateTime = - match v394 with + let v418 : US3 option = None + let _v418 = ref v418 + let v419 : US3 option ref = _v418 + let v420 : (US3 option -> US3 option ref) = closure9(v419) + let v421 : unit = () + let v422 : (unit -> unit) = closure10(v92, v420) + let v423 : unit = (fun () -> v422 (); v421) () + let v426 : US3 option = _v418.Value + let v437 : US3 = US3_1 + let v438 : US3 = v426 |> Option.defaultValue v437 + let v478 : System.DateTime = + match v438 with | US3_1 -> (* None *) - let v430 : System.DateTime = System.DateTime.Now - v430 - | US3_0(v398) -> (* Some *) - let v399 : System.DateTime = System.DateTime.Now - let v402 : (System.DateTime -> int64) = _.Ticks - let v403 : int64 = v402 v399 - let v406 : int64 = v403 - v398 - let v407 : (int64 -> System.TimeSpan) = System.TimeSpan - let v408 : System.TimeSpan = v407 v406 - let v411 : (System.TimeSpan -> int32) = _.Hours - let v412 : int32 = v411 v408 - let v415 : (System.TimeSpan -> int32) = _.Minutes - let v416 : int32 = v415 v408 - let v419 : (System.TimeSpan -> int32) = _.Seconds - let v420 : int32 = v419 v408 - let v423 : (System.TimeSpan -> int32) = _.Milliseconds - let v424 : int32 = v423 v408 - let v427 : System.DateTime = System.DateTime (1, 1, 1, v412, v416, v420, v424) - v427 - let v435 : string = method7() - let v438 : (string -> string) = v434.ToString - let v439 : string = v438 v435 - let _v71 = v439 - #endif - let v442 : string = _v71 - let v510 : string = "Debug" - let v511 : (unit -> string) = v510.ToLower - let v512 : string = v511 () - let v515 : string = v512.PadLeft (7, ' ') - let v529 : unit = () + let v474 : System.DateTime = System.DateTime.Now + v474 + | US3_0(v442) -> (* Some *) + let v443 : System.DateTime = System.DateTime.Now + let v446 : (System.DateTime -> int64) = _.Ticks + let v447 : int64 = v446 v443 + let v450 : int64 = v447 - v442 + let v451 : (int64 -> System.TimeSpan) = System.TimeSpan + let v452 : System.TimeSpan = v451 v450 + let v455 : (System.TimeSpan -> int32) = _.Hours + let v456 : int32 = v455 v452 + let v459 : (System.TimeSpan -> int32) = _.Minutes + let v460 : int32 = v459 v452 + let v463 : (System.TimeSpan -> int32) = _.Seconds + let v464 : int32 = v463 v452 + let v467 : (System.TimeSpan -> int32) = _.Milliseconds + let v468 : int32 = v467 v452 + let v471 : System.DateTime = System.DateTime (1, 1, 1, v456, v460, v464, v468) + v471 + let v479 : string = method7() + let v482 : (string -> string) = v478.ToString + let v483 : string = v482 v479 + let _v103 = v483 + #endif + let v486 : string = _v103 + let v556 : string = "Debug" + let v557 : (unit -> string) = v556.ToLower + let v558 : string = v557 () + let v561 : string = v558.PadLeft (7, ' ') + let v575 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v530 : string = "inline_colorization::color_bright_blue" - let v531 : Ref = Fable.Core.RustInterop.emitRustExpr () v530 - let v532 : string = "&*$0" - let v533 : Ref = Fable.Core.RustInterop.emitRustExpr v515 v532 - let v534 : string = "inline_colorization::color_reset" - let v535 : Ref = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "\"{v531}{v533}{v535}\"" - let v537 : string = @$"format!(" + v536 + ")" - let v538 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v537 - let v539 : string = "fable_library_rust::String_::fromString($0)" - let v540 : string = Fable.Core.RustInterop.emitRustExpr v538 v539 - let _v529 = v540 + let v576 : string = "inline_colorization::color_bright_blue" + let v577 : Ref = Fable.Core.RustInterop.emitRustExpr () v576 + let v578 : string = "&*$0" + let v579 : Ref = Fable.Core.RustInterop.emitRustExpr v561 v578 + let v580 : string = "inline_colorization::color_reset" + let v581 : Ref = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "\"{v577}{v579}{v581}\"" + let v583 : string = @$"format!(" + v582 + ")" + let v584 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v583 + let v585 : string = "fable_library_rust::String_::fromString($0)" + let v586 : string = Fable.Core.RustInterop.emitRustExpr v584 v585 + let _v575 = v586 #endif #if FABLE_COMPILER_RUST && WASM - let v541 : string = "inline_colorization::color_bright_blue" - let v542 : Ref = Fable.Core.RustInterop.emitRustExpr () v541 - let v543 : string = "&*$0" - let v544 : Ref = Fable.Core.RustInterop.emitRustExpr v515 v543 - let v545 : string = "inline_colorization::color_reset" - let v546 : Ref = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "\"{v542}{v544}{v546}\"" - let v548 : string = @$"format!(" + v547 + ")" - let v549 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v548 - let v550 : string = "fable_library_rust::String_::fromString($0)" - let v551 : string = Fable.Core.RustInterop.emitRustExpr v549 v550 - let _v529 = v551 + let v587 : string = "inline_colorization::color_bright_blue" + let v588 : Ref = Fable.Core.RustInterop.emitRustExpr () v587 + let v589 : string = "&*$0" + let v590 : Ref = Fable.Core.RustInterop.emitRustExpr v561 v589 + let v591 : string = "inline_colorization::color_reset" + let v592 : Ref = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "\"{v588}{v590}{v592}\"" + let v594 : string = @$"format!(" + v593 + ")" + let v595 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v594 + let v596 : string = "fable_library_rust::String_::fromString($0)" + let v597 : string = Fable.Core.RustInterop.emitRustExpr v595 v596 + let _v575 = v597 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v552 : string = "inline_colorization::color_bright_blue" - let v553 : Ref = Fable.Core.RustInterop.emitRustExpr () v552 - let v554 : string = "&*$0" - let v555 : Ref = Fable.Core.RustInterop.emitRustExpr v515 v554 - let v556 : string = "inline_colorization::color_reset" - let v557 : Ref = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "\"{v553}{v555}{v557}\"" - let v559 : string = @$"format!(" + v558 + ")" - let v560 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v559 - let v561 : string = "fable_library_rust::String_::fromString($0)" - let v562 : string = Fable.Core.RustInterop.emitRustExpr v560 v561 - let _v529 = v562 + let v598 : string = "inline_colorization::color_bright_blue" + let v599 : Ref = Fable.Core.RustInterop.emitRustExpr () v598 + let v600 : string = "&*$0" + let v601 : Ref = Fable.Core.RustInterop.emitRustExpr v561 v600 + let v602 : string = "inline_colorization::color_reset" + let v603 : Ref = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "\"{v599}{v601}{v603}\"" + let v605 : string = @$"format!(" + v604 + ")" + let v606 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v605 + let v607 : string = "fable_library_rust::String_::fromString($0)" + let v608 : string = Fable.Core.RustInterop.emitRustExpr v606 v607 + let _v575 = v608 #endif #if FABLE_COMPILER_TYPESCRIPT - let v563 : string = "\u001b[94m" - let v564 : string = method8() - let v565 : string = v563 + v515 - let v566 : string = v565 + v564 - let _v529 = v566 + let v609 : string = "\u001b[94m" + let v610 : string = method8() + let v611 : string = v609 + v561 + let v612 : string = v611 + v610 + let _v575 = v612 #endif #if FABLE_COMPILER_PYTHON - let v567 : string = "\u001b[94m" - let v568 : string = method8() - let v569 : string = v567 + v515 - let v570 : string = v569 + v568 - let _v529 = v570 + let v613 : string = "\u001b[94m" + let v614 : string = method8() + let v615 : string = v613 + v561 + let v616 : string = v615 + v614 + let _v575 = v616 #endif #else - let v571 : string = "\u001b[94m" - let v572 : string = method8() - let v573 : string = v571 + v515 - let v574 : string = v573 + v572 - let _v529 = v574 - #endif - let v575 : string = _v529 - let v581 : int64 = v56.l0 - let v582 : string = method9() - let v583 : Mut4 = {l0 = v582} : Mut4 - let v584 : string = "{ " - let v585 : string = $"{v584}" - let v588 : unit = () - let v589 : (unit -> unit) = closure11(v583, v585) - let v590 : unit = (fun () -> v589 (); v588) () - let v591 : string = "source_dir" - let v592 : string = $"{v591}" - let v595 : unit = () - let v596 : (unit -> unit) = closure11(v583, v592) - let v597 : unit = (fun () -> v596 (); v595) () - let v598 : string = " = " - let v599 : string = $"{v598}" - let v602 : unit = () - let v603 : (unit -> unit) = closure11(v583, v599) - let v604 : unit = (fun () -> v603 (); v602) () - let v605 : string = $"{v1}" - let v608 : unit = () - let v609 : (unit -> unit) = closure11(v583, v605) - let v610 : unit = (fun () -> v609 (); v608) () - let v611 : string = "; " - let v612 : string = $"{v611}" - let v615 : unit = () - let v616 : (unit -> unit) = closure11(v583, v612) - let v617 : unit = (fun () -> v616 (); v615) () - let v618 : string = "dist_dir" - let v619 : string = $"{v618}" - let v622 : unit = () - let v623 : (unit -> unit) = closure11(v583, v619) - let v624 : unit = (fun () -> v623 (); v622) () - let v625 : string = $"{v598}" - let v628 : unit = () - let v629 : (unit -> unit) = closure11(v583, v625) - let v630 : unit = (fun () -> v629 (); v628) () - let v631 : string = $"{v2}" + let v617 : string = "\u001b[94m" + let v618 : string = method8() + let v619 : string = v617 + v561 + let v620 : string = v619 + v618 + let _v575 = v620 + #endif + let v621 : string = _v575 + let v627 : int64 = v88.l0 + let v628 : string = method9() + let v629 : Mut4 = {l0 = v628} : Mut4 + let v630 : string = "{ " + let v631 : string = $"{v630}" let v634 : unit = () - let v635 : (unit -> unit) = closure11(v583, v631) + let v635 : (unit -> unit) = closure11(v629, v631) let v636 : unit = (fun () -> v635 (); v634) () - let v637 : string = $"{v611}" - let v640 : unit = () - let v641 : (unit -> unit) = closure11(v583, v637) - let v642 : unit = (fun () -> v641 (); v640) () - let v643 : string = "cache_dir" - let v644 : string = $"{v643}" - let v647 : unit = () - let v648 : (unit -> unit) = closure11(v583, v644) - let v649 : unit = (fun () -> v648 (); v647) () - let v650 : string = $"{v598}" - let v653 : unit = () - let v654 : (unit -> unit) = closure11(v583, v650) - let v655 : unit = (fun () -> v654 (); v653) () - let v656 : string = $"{v3}" - let v659 : unit = () - let v660 : (unit -> unit) = closure11(v583, v656) - let v661 : unit = (fun () -> v660 (); v659) () - let v662 : string = $"{v611}" - let v665 : unit = () - let v666 : (unit -> unit) = closure11(v583, v662) - let v667 : unit = (fun () -> v666 (); v665) () - let v668 : string = "hangul_spec" - let v669 : string = $"{v668}" - let v672 : unit = () - let v673 : (unit -> unit) = closure11(v583, v669) - let v674 : unit = (fun () -> v673 (); v672) () - let v675 : string = $"{v598}" + let v639 : string = "source_dir" + let v640 : string = $"{v639}" + let v643 : unit = () + let v644 : (unit -> unit) = closure11(v629, v640) + let v645 : unit = (fun () -> v644 (); v643) () + let v648 : string = " = " + let v649 : string = $"{v648}" + let v652 : unit = () + let v653 : (unit -> unit) = closure11(v629, v649) + let v654 : unit = (fun () -> v653 (); v652) () + let v657 : string = $"{v1}" + let v660 : unit = () + let v661 : (unit -> unit) = closure11(v629, v657) + let v662 : unit = (fun () -> v661 (); v660) () + let v665 : string = "; " + let v666 : string = $"{v665}" + let v669 : unit = () + let v670 : (unit -> unit) = closure11(v629, v666) + let v671 : unit = (fun () -> v670 (); v669) () + let v674 : string = "dist_dir" + let v675 : string = $"{v674}" let v678 : unit = () - let v679 : (unit -> unit) = closure11(v583, v675) + let v679 : (unit -> unit) = closure11(v629, v675) let v680 : unit = (fun () -> v679 (); v678) () - let v681 : string = $"{v0}" - let v684 : unit = () - let v685 : (unit -> unit) = closure11(v583, v681) - let v686 : unit = (fun () -> v685 (); v684) () - let v687 : string = " }" - let v688 : string = $"{v687}" - let v691 : unit = () - let v692 : (unit -> unit) = closure11(v583, v688) - let v693 : unit = (fun () -> v692 (); v691) () - let v694 : string = v583.l0 - let v695 : (unit -> string) = closure19() - let v696 : string = $"{v442} {v575} #{v581} %s{v695 ()} / {v694}" - let v699 : char list = [] - let v700 : (char list -> (char [])) = List.toArray - let v701 : (char []) = v700 v699 - let v704 : string = v696.TrimStart v701 - let v722 : char list = [] - let v723 : char list = '/' :: v722 - let v726 : char list = ' ' :: v723 - let v729 : (char list -> (char [])) = List.toArray - let v730 : (char []) = v729 v726 - let v733 : string = v704.TrimEnd v730 - let v751 : unit = () + let v683 : string = $"{v648}" + let v686 : unit = () + let v687 : (unit -> unit) = closure11(v629, v683) + let v688 : unit = (fun () -> v687 (); v686) () + let v691 : string = $"{v2}" + let v694 : unit = () + let v695 : (unit -> unit) = closure11(v629, v691) + let v696 : unit = (fun () -> v695 (); v694) () + let v699 : string = $"{v665}" + let v702 : unit = () + let v703 : (unit -> unit) = closure11(v629, v699) + let v704 : unit = (fun () -> v703 (); v702) () + let v707 : string = "cache_dir" + let v708 : string = $"{v707}" + let v711 : unit = () + let v712 : (unit -> unit) = closure11(v629, v708) + let v713 : unit = (fun () -> v712 (); v711) () + let v716 : string = $"{v648}" + let v719 : unit = () + let v720 : (unit -> unit) = closure11(v629, v716) + let v721 : unit = (fun () -> v720 (); v719) () + let v724 : string = $"{v3}" + let v727 : unit = () + let v728 : (unit -> unit) = closure11(v629, v724) + let v729 : unit = (fun () -> v728 (); v727) () + let v732 : string = $"{v665}" + let v735 : unit = () + let v736 : (unit -> unit) = closure11(v629, v732) + let v737 : unit = (fun () -> v736 (); v735) () + let v740 : string = "hangul_spec" + let v741 : string = $"{v740}" + let v744 : unit = () + let v745 : (unit -> unit) = closure11(v629, v741) + let v746 : unit = (fun () -> v745 (); v744) () + let v749 : string = $"{v648}" + let v752 : unit = () + let v753 : (unit -> unit) = closure11(v629, v749) + let v754 : unit = (fun () -> v753 (); v752) () + let v757 : string = $"{v0}" + let v760 : unit = () + let v761 : (unit -> unit) = closure11(v629, v757) + let v762 : unit = (fun () -> v761 (); v760) () + let v765 : string = " }" + let v766 : string = $"{v765}" + let v769 : unit = () + let v770 : (unit -> unit) = closure11(v629, v766) + let v771 : unit = (fun () -> v770 (); v769) () + let v774 : string = v629.l0 + let v775 : (unit -> string) = closure21() + let v776 : string = $"{v486} {v621} #{v627} %s{v775 ()} / {v774}" + let v779 : char list = [] + let v780 : (char list -> (char [])) = List.toArray + let v781 : (char []) = v780 v779 + let v784 : string = v776.TrimStart v781 + let v802 : char list = [] + let v803 : char list = '/' :: v802 + let v806 : char list = ' ' :: v803 + let v809 : (char list -> (char [])) = List.toArray + let v810 : (char []) = v809 v806 + let v813 : string = v784.TrimEnd v810 + let v831 : (string -> unit) = closure13() + let v832 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v752 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v733 v752 - let _v751 = () + let v833 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v813 v833 + let _v832 = () #endif #if FABLE_COMPILER_RUST && WASM - let v753 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v733 v753 - let _v751 = () + let v834 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v813 v834 + let _v832 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v754 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v733 v754 - let _v751 = () + let v835 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v813 v835 + let _v832 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v733 - let _v751 = () + v831 v813 + let _v832 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v733 - let _v751 = () + v831 v813 + let _v832 = () #endif #else - System.Console.WriteLine v733 - let _v751 = () + v831 v813 + let _v832 = () #endif - _v751 - let v755 : (string -> unit) = v10.l0 - v755 v733 + _v832 + let v836 : (string -> unit) = v20.l0 + v836 v813 and method30 (v0 : async_walkdir_DirEntry) : async_walkdir_DirEntry = v0 -and closure21 () (v0 : std_io_Error) : std_string_String = +and closure23 () (v0 : std_io_Error) : std_string_String = let v1 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -3059,10 +3070,10 @@ and closure21 () (v0 : std_io_Error) : std_string_String = let v17 : std_string_String = _v1 v17 and method31 () : (std_io_Error -> std_string_String) = - closure21() -and closure22 () (v0 : std_fs_FileType) : US8 = + closure23() +and closure24 () (v0 : std_fs_FileType) : US8 = US8_0(v0) -and closure23 () (v0 : std_string_String) : US8 = +and closure25 () (v0 : std_string_String) : US8 = US8_1(v0) and method32 (v0 : std_fs_FileType) : std_fs_FileType = v0 @@ -3070,7 +3081,7 @@ and method33 (v0 : US9) : US9 = v0 and method34 (v0 : async_walkdir_Filtering) : async_walkdir_Filtering = v0 -and closure20 () (v0 : async_walkdir_DirEntry) : std_pin_Pin>, Send>>>>> = +and closure22 () (v0 : async_walkdir_DirEntry) : std_pin_Pin>, Send>>>>> = let v1 : string = "true; let __result = Box::pin(async { //" let v2 : bool = Fable.Core.RustInterop.emitRustExpr () v1 let v3 : string = "true; let __result = Box::pin(async move { //" @@ -3083,8 +3094,8 @@ and closure20 () (v0 : async_walkdir_DirEntry) : std_pin_Pin std_string_String) = method31() let v11 : string = "$0.map_err(|x| $1(x))" let v12 : Result = Fable.Core.RustInterop.emitRustExpr struct (v9, v10) v11 - let v13 : (std_fs_FileType -> US8) = closure22() - let v14 : (std_string_String -> US8) = closure23() + let v13 : (std_fs_FileType -> US8) = closure24() + let v14 : (std_string_String -> US8) = closure25() let v15 : US8 = match v12 with Ok x -> v13 x | Error x -> v14 x let v94 : US9 = match v15 with @@ -3235,7 +3246,7 @@ and closure20 () (v0 : async_walkdir_DirEntry) : std_pin_Pin>, Send>>>>> = Fable.Core.RustInterop.emitRustExpr () v122 v123 -and closure25 () (v0 : async_walkdir_Error) : std_string_String = +and closure27 () (v0 : async_walkdir_Error) : std_string_String = let v1 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -3270,464 +3281,465 @@ and closure25 () (v0 : async_walkdir_Error) : std_string_String = let v17 : std_string_String = _v1 v17 and method36 () : (async_walkdir_Error -> std_string_String) = - closure25() -and closure26 () (v0 : async_walkdir_DirEntry) : US10 = + closure27() +and closure28 () (v0 : async_walkdir_DirEntry) : US10 = US10_0(v0) -and closure27 () (v0 : std_string_String) : US10 = +and closure29 () (v0 : std_string_String) : US10 = US10_1(v0) -and closure29 () () : string = +and closure31 () () : string = let v0 : string = "documents.run / stream_filter_map" v0 -and closure28 (v0 : std_string_String) () : unit = +and closure30 (v0 : std_string_String) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 4 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 4 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Critical" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Critical" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_bright_red" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_bright_red" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_bright_red" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_bright_red" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_bright_red" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_bright_red" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[91m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[91m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[91m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[91m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[91m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = method9() - let v580 : Mut4 = {l0 = v579} : Mut4 - let v581 : string = "{ " - let v582 : string = $"{v581}" - let v585 : unit = () - let v586 : (unit -> unit) = closure11(v580, v582) - let v587 : unit = (fun () -> v586 (); v585) () - let v588 : string = "error" - let v589 : string = $"{v588}" - let v592 : unit = () - let v593 : (unit -> unit) = closure11(v580, v589) - let v594 : unit = (fun () -> v593 (); v592) () - let v595 : string = " = " - let v596 : string = $"{v595}" - let v599 : unit = () - let v600 : (unit -> unit) = closure11(v580, v596) - let v601 : unit = (fun () -> v600 (); v599) () - let v602 : unit = () + let v614 : string = "\u001b[91m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = method9() + let v626 : Mut4 = {l0 = v625} : Mut4 + let v627 : string = "{ " + let v628 : string = $"{v627}" + let v631 : unit = () + let v632 : (unit -> unit) = closure11(v626, v628) + let v633 : unit = (fun () -> v632 (); v631) () + let v636 : string = "error" + let v637 : string = $"{v636}" + let v640 : unit = () + let v641 : (unit -> unit) = closure11(v626, v637) + let v642 : unit = (fun () -> v641 (); v640) () + let v645 : string = " = " + let v646 : string = $"{v645}" + let v649 : unit = () + let v650 : (unit -> unit) = closure11(v626, v646) + let v651 : unit = (fun () -> v650 (); v649) () + let v654 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v603 : string = "format!(\"{:#?}\", $0)" - let v604 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v603 - let v605 : string = "fable_library_rust::String_::fromString($0)" - let v606 : string = Fable.Core.RustInterop.emitRustExpr v604 v605 - let _v602 = v606 + let v655 : string = "format!(\"{:#?}\", $0)" + let v656 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v655 + let v657 : string = "fable_library_rust::String_::fromString($0)" + let v658 : string = Fable.Core.RustInterop.emitRustExpr v656 v657 + let _v654 = v658 #endif #if FABLE_COMPILER_RUST && WASM - let v607 : string = "format!(\"{:#?}\", $0)" - let v608 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v607 - let v609 : string = "fable_library_rust::String_::fromString($0)" - let v610 : string = Fable.Core.RustInterop.emitRustExpr v608 v609 - let _v602 = v610 + let v659 : string = "format!(\"{:#?}\", $0)" + let v660 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v659 + let v661 : string = "fable_library_rust::String_::fromString($0)" + let v662 : string = Fable.Core.RustInterop.emitRustExpr v660 v661 + let _v654 = v662 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v611 : string = "format!(\"{:#?}\", $0)" - let v612 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v611 - let v613 : string = "fable_library_rust::String_::fromString($0)" - let v614 : string = Fable.Core.RustInterop.emitRustExpr v612 v613 - let _v602 = v614 + let v663 : string = "format!(\"{:#?}\", $0)" + let v664 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v663 + let v665 : string = "fable_library_rust::String_::fromString($0)" + let v666 : string = Fable.Core.RustInterop.emitRustExpr v664 v665 + let _v654 = v666 #endif #if FABLE_COMPILER_TYPESCRIPT - let v615 : string = $"%A{v0}" - let _v602 = v615 + let v667 : string = $"%A{v0}" + let _v654 = v667 #endif #if FABLE_COMPILER_PYTHON - let v618 : string = $"%A{v0}" - let _v602 = v618 + let v670 : string = $"%A{v0}" + let _v654 = v670 #endif #else - let v621 : string = $"%A{v0}" - let _v602 = v621 + let v673 : string = $"%A{v0}" + let _v654 = v673 #endif - let v624 : string = _v602 - let v629 : string = $"{v624}" - let v632 : unit = () - let v633 : (unit -> unit) = closure11(v580, v629) - let v634 : unit = (fun () -> v633 (); v632) () - let v635 : string = " }" - let v636 : string = $"{v635}" - let v639 : unit = () - let v640 : (unit -> unit) = closure11(v580, v636) - let v641 : unit = (fun () -> v640 (); v639) () - let v642 : string = v580.l0 - let v643 : (unit -> string) = closure29() - let v644 : string = $"{v439} {v572} #{v578} %s{v643 ()} / {v642}" - let v647 : char list = [] - let v648 : (char list -> (char [])) = List.toArray - let v649 : (char []) = v648 v647 - let v652 : string = v644.TrimStart v649 - let v670 : char list = [] - let v671 : char list = '/' :: v670 - let v674 : char list = ' ' :: v671 - let v677 : (char list -> (char [])) = List.toArray - let v678 : (char []) = v677 v674 - let v681 : string = v652.TrimEnd v678 - let v699 : unit = () + let v676 : string = _v654 + let v681 : string = $"{v676}" + let v684 : unit = () + let v685 : (unit -> unit) = closure11(v626, v681) + let v686 : unit = (fun () -> v685 (); v684) () + let v689 : string = " }" + let v690 : string = $"{v689}" + let v693 : unit = () + let v694 : (unit -> unit) = closure11(v626, v690) + let v695 : unit = (fun () -> v694 (); v693) () + let v698 : string = v626.l0 + let v699 : (unit -> string) = closure31() + let v700 : string = $"{v483} {v618} #{v624} %s{v699 ()} / {v698}" + let v703 : char list = [] + let v704 : (char list -> (char [])) = List.toArray + let v705 : (char []) = v704 v703 + let v708 : string = v700.TrimStart v705 + let v726 : char list = [] + let v727 : char list = '/' :: v726 + let v730 : char list = ' ' :: v727 + let v733 : (char list -> (char [])) = List.toArray + let v734 : (char []) = v733 v730 + let v737 : string = v708.TrimEnd v734 + let v755 : (string -> unit) = closure13() + let v756 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v700 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v700 - let _v699 = () + let v757 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v757 + let _v756 = () #endif #if FABLE_COMPILER_RUST && WASM - let v701 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v701 - let _v699 = () + let v758 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v758 + let _v756 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v702 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v702 - let _v699 = () + let v759 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v759 + let _v756 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif #else - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif - _v699 - let v703 : (string -> unit) = v7.l0 - v703 v681 -and closure24 () (v0 : Result) : string option = + _v756 + let v760 : (string -> unit) = v17.l0 + v760 v737 +and closure26 () (v0 : Result) : string option = let v1 : (async_walkdir_Error -> std_string_String) = method36() let v2 : string = "$0.map_err(|x| $1(x))" let v3 : Result = Fable.Core.RustInterop.emitRustExpr struct (v0, v1) v2 - let v4 : (async_walkdir_DirEntry -> US10) = closure26() - let v5 : (std_string_String -> US10) = closure27() + let v4 : (async_walkdir_DirEntry -> US10) = closure28() + let v5 : (std_string_String -> US10) = closure29() let v6 : US10 = match v3 with Ok x -> v4 x | Error x -> v5 x - let v42 : US1 = + let v802 : US1 = match v6 with | US10_1(v36) -> (* Error *) let v37 : unit = () - let v38 : (unit -> unit) = closure28(v36) + let v38 : (unit -> unit) = closure30(v36) let v39 : unit = (fun () -> v38 (); v37) () US1_1 | US10_0(v7) -> (* Ok *) @@ -3770,458 +3782,459 @@ and closure24 () (v0 : Result) : st let v33 : string = "fable_library_rust::String_::fromString($0)" let v34 : string = Fable.Core.RustInterop.emitRustExpr v28 v33 US1_0(v34) - match v42 with + match v802 with | US1_1 -> (* None *) - let v47 : string option = None - v47 - | US1_0(v43) -> (* Some *) - let v44 : string option = Some v43 - v44 + let v807 : string option = None + v807 + | US1_0(v803) -> (* Some *) + let v804 : string option = Some v803 + v804 and method35 () : (Result -> string option) = - closure24() -and closure31 () () : string = + closure26() +and closure33 () () : string = let v0 : string = "documents.run" v0 -and closure30 (v0 : Vec) () : unit = +and closure32 (v0 : Vec) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 1 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 1 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Debug" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Debug" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_bright_blue" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_bright_blue" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_bright_blue" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_bright_blue" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_bright_blue" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_bright_blue" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[94m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[94m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[94m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[94m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[94m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = "$0.len()" - let v580 : unativeint = Fable.Core.RustInterop.emitRustExpr v0 v579 - let v581 : string = method9() - let v582 : Mut4 = {l0 = v581} : Mut4 - let v583 : string = "{ " - let v584 : string = $"{v583}" - let v587 : unit = () - let v588 : (unit -> unit) = closure11(v582, v584) - let v589 : unit = (fun () -> v588 (); v587) () - let v590 : string = "files_len" - let v591 : string = $"{v590}" - let v594 : unit = () - let v595 : (unit -> unit) = closure11(v582, v591) - let v596 : unit = (fun () -> v595 (); v594) () - let v597 : string = " = " - let v598 : string = $"{v597}" - let v601 : unit = () - let v602 : (unit -> unit) = closure11(v582, v598) - let v603 : unit = (fun () -> v602 (); v601) () - let v604 : unit = () + let v614 : string = "\u001b[94m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = "$0.len()" + let v626 : unativeint = Fable.Core.RustInterop.emitRustExpr v0 v625 + let v627 : string = method9() + let v628 : Mut4 = {l0 = v627} : Mut4 + let v629 : string = "{ " + let v630 : string = $"{v629}" + let v633 : unit = () + let v634 : (unit -> unit) = closure11(v628, v630) + let v635 : unit = (fun () -> v634 (); v633) () + let v638 : string = "files_len" + let v639 : string = $"{v638}" + let v642 : unit = () + let v643 : (unit -> unit) = closure11(v628, v639) + let v644 : unit = (fun () -> v643 (); v642) () + let v647 : string = " = " + let v648 : string = $"{v647}" + let v651 : unit = () + let v652 : (unit -> unit) = closure11(v628, v648) + let v653 : unit = (fun () -> v652 (); v651) () + let v656 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v605 : string = "format!(\"{:#?}\", $0)" - let v606 : std_string_String = Fable.Core.RustInterop.emitRustExpr v580 v605 - let v607 : string = "fable_library_rust::String_::fromString($0)" - let v608 : string = Fable.Core.RustInterop.emitRustExpr v606 v607 - let _v604 = v608 + let v657 : string = "format!(\"{:#?}\", $0)" + let v658 : std_string_String = Fable.Core.RustInterop.emitRustExpr v626 v657 + let v659 : string = "fable_library_rust::String_::fromString($0)" + let v660 : string = Fable.Core.RustInterop.emitRustExpr v658 v659 + let _v656 = v660 #endif #if FABLE_COMPILER_RUST && WASM - let v609 : string = "format!(\"{:#?}\", $0)" - let v610 : std_string_String = Fable.Core.RustInterop.emitRustExpr v580 v609 - let v611 : string = "fable_library_rust::String_::fromString($0)" - let v612 : string = Fable.Core.RustInterop.emitRustExpr v610 v611 - let _v604 = v612 + let v661 : string = "format!(\"{:#?}\", $0)" + let v662 : std_string_String = Fable.Core.RustInterop.emitRustExpr v626 v661 + let v663 : string = "fable_library_rust::String_::fromString($0)" + let v664 : string = Fable.Core.RustInterop.emitRustExpr v662 v663 + let _v656 = v664 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v613 : string = "format!(\"{:#?}\", $0)" - let v614 : std_string_String = Fable.Core.RustInterop.emitRustExpr v580 v613 - let v615 : string = "fable_library_rust::String_::fromString($0)" - let v616 : string = Fable.Core.RustInterop.emitRustExpr v614 v615 - let _v604 = v616 + let v665 : string = "format!(\"{:#?}\", $0)" + let v666 : std_string_String = Fable.Core.RustInterop.emitRustExpr v626 v665 + let v667 : string = "fable_library_rust::String_::fromString($0)" + let v668 : string = Fable.Core.RustInterop.emitRustExpr v666 v667 + let _v656 = v668 #endif #if FABLE_COMPILER_TYPESCRIPT - let v617 : string = $"%A{v580}" - let _v604 = v617 + let v669 : string = $"%A{v626}" + let _v656 = v669 #endif #if FABLE_COMPILER_PYTHON - let v620 : string = $"%A{v580}" - let _v604 = v620 + let v672 : string = $"%A{v626}" + let _v656 = v672 #endif #else - let v623 : string = $"%A{v580}" - let _v604 = v623 - #endif - let v626 : string = _v604 - let v631 : string = $"{v626}" - let v634 : unit = () - let v635 : (unit -> unit) = closure11(v582, v631) - let v636 : unit = (fun () -> v635 (); v634) () - let v637 : string = " }" - let v638 : string = $"{v637}" - let v641 : unit = () - let v642 : (unit -> unit) = closure11(v582, v638) - let v643 : unit = (fun () -> v642 (); v641) () - let v644 : string = v582.l0 - let v645 : (unit -> string) = closure31() - let v646 : string = $"{v439} {v572} #{v578} %s{v645 ()} / {v644}" - let v649 : char list = [] - let v650 : (char list -> (char [])) = List.toArray - let v651 : (char []) = v650 v649 - let v654 : string = v646.TrimStart v651 - let v672 : char list = [] - let v673 : char list = '/' :: v672 - let v676 : char list = ' ' :: v673 - let v679 : (char list -> (char [])) = List.toArray - let v680 : (char []) = v679 v676 - let v683 : string = v654.TrimEnd v680 - let v701 : unit = () + let v675 : string = $"%A{v626}" + let _v656 = v675 + #endif + let v678 : string = _v656 + let v683 : string = $"{v678}" + let v686 : unit = () + let v687 : (unit -> unit) = closure11(v628, v683) + let v688 : unit = (fun () -> v687 (); v686) () + let v691 : string = " }" + let v692 : string = $"{v691}" + let v695 : unit = () + let v696 : (unit -> unit) = closure11(v628, v692) + let v697 : unit = (fun () -> v696 (); v695) () + let v700 : string = v628.l0 + let v701 : (unit -> string) = closure33() + let v702 : string = $"{v483} {v618} #{v624} %s{v701 ()} / {v700}" + let v705 : char list = [] + let v706 : (char list -> (char [])) = List.toArray + let v707 : (char []) = v706 v705 + let v710 : string = v702.TrimStart v707 + let v728 : char list = [] + let v729 : char list = '/' :: v728 + let v732 : char list = ' ' :: v729 + let v735 : (char list -> (char [])) = List.toArray + let v736 : (char []) = v735 v732 + let v739 : string = v710.TrimEnd v736 + let v757 : (string -> unit) = closure13() + let v758 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v702 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v683 v702 - let _v701 = () + let v759 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v739 v759 + let _v758 = () #endif #if FABLE_COMPILER_RUST && WASM - let v703 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v683 v703 - let _v701 = () + let v760 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v739 v760 + let _v758 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v704 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v683 v704 - let _v701 = () + let v761 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v739 v761 + let _v758 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v683 - let _v701 = () + v757 v739 + let _v758 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v683 - let _v701 = () + v757 v739 + let _v758 = () #endif #else - System.Console.WriteLine v683 - let _v701 = () + v757 v739 + let _v758 = () #endif - _v701 - let v705 : (string -> unit) = v7.l0 - v705 v683 + _v758 + let v762 : (string -> unit) = v17.l0 + v762 v739 and method37 () : string = let v0 : string = "" v0 @@ -4230,12 +4243,12 @@ and method38 (v0 : string) : string = method25(v1) and method40 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) : string = v0 -and closure35 (v0 : char) (v1 : UH0) : UH0 = +and closure37 (v0 : char) (v1 : UH0) : UH0 = UH0_1(v0, v1) -and closure34 () (v0 : char) : (UH0 -> UH0) = - closure35(v0) +and closure36 () (v0 : char) : (UH0 -> UH0) = + closure37(v0) and method42 () : (char -> (UH0 -> UH0)) = - closure34() + closure36() and method43 (v0 : UH0, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : struct (System.Text.StringBuilder * int32 * int32) = match v0 with | UH0_1(v4, v5) -> (* Cons *) @@ -4261,7 +4274,7 @@ and method43 (v0 : UH0, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) method43(v5, v19, v9, v10) | UH0_0 -> (* Nil *) struct (v1, v2, v3) -and closure33 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : US12 = +and closure35 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : US12 = let v4 : bool = "" = v0 if v4 then let v5 : string = $"parsing.p_char / unexpected end of input / s: %A{struct (v1, v2, v3)}" @@ -4328,7 +4341,7 @@ and closure33 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 {v63} " US12_1(v64) -and closure36 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : US12 = +and closure38 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : US12 = let v4 : bool = "" = v0 if v4 then let v5 : string = $"parsing.p_char / unexpected end of input / s: %A{struct (v1, v2, v3)}" @@ -4702,8 +4715,8 @@ and method41 (v0 : string) : US11 = let v7 : string = v3 |> Option.defaultValue v6 let v10 : (string -> System.Text.StringBuilder) = System.Text.StringBuilder let v11 : System.Text.StringBuilder = v10 v6 - let v12 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US12) = closure33() - let v13 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US12) = closure36() + let v12 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US12) = closure35() + let v13 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US12) = closure38() let v14 : UH1 = UH1_0 let v15 : UH1 = UH1_1(v13, v14) let v16 : UH1 = UH1_1(v12, v15) @@ -5202,7 +5215,7 @@ and method57 (v0 : char, v1 : int64) : bool = else let v21 : int64 = v1 + 1L method57(v0, v21) -and closure37 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : US13 = +and closure39 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : US13 = let v4 : bool = "" = v0 let v67 : US12 = if v4 then @@ -5315,7 +5328,7 @@ and closure37 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32 | US12_0(v115, v116, v117, v118, v119) -> (* Ok *) let v120 : string = $"{'\\'}{v115}" US13_0(v120, v116, v117, v118, v119) -and closure38 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : US13 = +and closure40 () struct (v0 : string, v1 : System.Text.StringBuilder, v2 : int32, v3 : int32) : US13 = let v4 : bool = "" = v0 let v67 : US12 = if v4 then @@ -5513,8 +5526,8 @@ and method56 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, let v104 : US13 = match v90 with | US13_1(v96) -> (* Error *) - let v97 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US13) = closure37() - let v98 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US13) = closure38() + let v97 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US13) = closure39() + let v98 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US13) = closure40() let v99 : UH3 = UH3_0 let v100 : UH3 = UH3_1(v98, v99) let v101 : UH3 = UH3_1(v97, v100) @@ -5855,8 +5868,8 @@ and method53 (v0 : UH2, v1 : string, v2 : System.Text.StringBuilder, v3 : int32, US13_0(v194, v264, v265, v266, v267) match v282 with | US13_1(v288) -> (* Error *) - let v289 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US13) = closure37() - let v290 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US13) = closure38() + let v289 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US13) = closure39() + let v290 : (struct (string * System.Text.StringBuilder * int32 * int32) -> US13) = closure40() let v291 : UH3 = UH3_0 let v292 : UH3 = UH3_1(v290, v291) let v293 : UH3 = UH3_1(v289, v292) @@ -5950,2045 +5963,2046 @@ and method52 (v0 : string) : US19 = let v23 : (string list -> (string [])) = List.toArray let v24 : (string []) = v23 v22 US19_0(v24) -and closure40 () () : string = +and closure42 () () : string = let v0 : string = $"runtime.execute_with_options" v0 -and closure39 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option, v7 : string, v8 : Vec) () : unit = +and closure41 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option, v7 : string, v8 : Vec) () : unit = let v9 : unit = () let v10 : (unit -> unit) = closure7() let v11 : unit = (fun () -> v10 (); v9) () - let struct (v14 : Mut0, v15 : Mut1, v16 : Mut2, v17 : Mut3, v18 : int64 option) = State.trace_state.Value - let v29 : unit = () - let v30 : unit = (fun () -> v10 (); v29) () - let struct (v33 : Mut0, v34 : Mut1, v35 : Mut2, v36 : Mut3, v37 : int64 option) = State.trace_state.Value - let v48 : US0 = v36.l0 - let v49 : bool = v35.l0 - let v50 : bool = v49 = false - let v53 : bool = - if v50 then + let struct (v24 : Mut0, v25 : Mut1, v26 : Mut2, v27 : Mut3, v28 : int64 option) = State.trace_state.Value + let v39 : unit = () + let v40 : unit = (fun () -> v10 (); v39) () + let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value + let v68 : US0 = v56.l0 + let v69 : bool = v55.l0 + let v70 : bool = v69 = false + let v73 : bool = + if v70 then false else - let v51 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v48 - let v52 : bool = 1 >= v51 - v52 - if v53 then - let v54 : unit = () - let v55 : (unit -> unit) = closure8(v14) - let v56 : unit = (fun () -> v55 (); v54) () - let v57 : unit = () - let v58 : unit = (fun () -> v10 (); v57) () - let struct (v61 : Mut0, v62 : Mut1, v63 : Mut2, v64 : Mut3, v65 : int64 option) = State.trace_state.Value - let v76 : unit = () + let v71 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v68 + let v72 : bool = 1 >= v71 + v72 + if v73 then + let v74 : unit = () + let v75 : (unit -> unit) = closure8(v24) + let v76 : unit = (fun () -> v75 (); v74) () + let v79 : unit = () + let v80 : unit = (fun () -> v10 (); v79) () + let struct (v93 : Mut0, v94 : Mut1, v95 : Mut2, v96 : Mut3, v97 : int64 option) = State.trace_state.Value + let v108 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v77 : US3 option = None - let _v77 = ref v77 - let v78 : US3 option ref = _v77 - let v79 : (US3 option -> US3 option ref) = closure9(v78) - let v80 : unit = () - let v81 : (unit -> unit) = closure10(v65, v79) - let v82 : unit = (fun () -> v81 (); v80) () - let v83 : US3 option = _v77.Value - let v94 : US3 = US3_1 - let v95 : US3 = v83 |> Option.defaultValue v94 - let v135 : System.DateTime = - match v95 with + let v109 : US3 option = None + let _v109 = ref v109 + let v110 : US3 option ref = _v109 + let v111 : (US3 option -> US3 option ref) = closure9(v110) + let v112 : unit = () + let v113 : (unit -> unit) = closure10(v97, v111) + let v114 : unit = (fun () -> v113 (); v112) () + let v117 : US3 option = _v109.Value + let v128 : US3 = US3_1 + let v129 : US3 = v117 |> Option.defaultValue v128 + let v169 : System.DateTime = + match v129 with | US3_1 -> (* None *) - let v131 : System.DateTime = System.DateTime.Now - v131 - | US3_0(v99) -> (* Some *) - let v100 : System.DateTime = System.DateTime.Now - let v103 : (System.DateTime -> int64) = _.Ticks - let v104 : int64 = v103 v100 - let v107 : int64 = v104 - v99 - let v108 : (int64 -> System.TimeSpan) = System.TimeSpan - let v109 : System.TimeSpan = v108 v107 - let v112 : (System.TimeSpan -> int32) = _.Hours - let v113 : int32 = v112 v109 - let v116 : (System.TimeSpan -> int32) = _.Minutes - let v117 : int32 = v116 v109 - let v120 : (System.TimeSpan -> int32) = _.Seconds - let v121 : int32 = v120 v109 - let v124 : (System.TimeSpan -> int32) = _.Milliseconds - let v125 : int32 = v124 v109 - let v128 : System.DateTime = System.DateTime (1, 1, 1, v113, v117, v121, v125) - v128 - let v136 : string = method6() - let v139 : (string -> string) = v135.ToString - let v140 : string = v139 v136 - let _v76 = v140 + let v165 : System.DateTime = System.DateTime.Now + v165 + | US3_0(v133) -> (* Some *) + let v134 : System.DateTime = System.DateTime.Now + let v137 : (System.DateTime -> int64) = _.Ticks + let v138 : int64 = v137 v134 + let v141 : int64 = v138 - v133 + let v142 : (int64 -> System.TimeSpan) = System.TimeSpan + let v143 : System.TimeSpan = v142 v141 + let v146 : (System.TimeSpan -> int32) = _.Hours + let v147 : int32 = v146 v143 + let v150 : (System.TimeSpan -> int32) = _.Minutes + let v151 : int32 = v150 v143 + let v154 : (System.TimeSpan -> int32) = _.Seconds + let v155 : int32 = v154 v143 + let v158 : (System.TimeSpan -> int32) = _.Milliseconds + let v159 : int32 = v158 v143 + let v162 : System.DateTime = System.DateTime (1, 1, 1, v147, v151, v155, v159) + v162 + let v170 : string = method6() + let v173 : (string -> string) = v169.ToString + let v174 : string = v173 v170 + let _v108 = v174 #endif #if FABLE_COMPILER_RUST && WASM - let v143 : US3 option = None - let _v143 = ref v143 - let v144 : US3 option ref = _v143 - let v145 : (US3 option -> US3 option ref) = closure9(v144) - let v146 : unit = () - let v147 : (unit -> unit) = closure10(v65, v145) - let v148 : unit = (fun () -> v147 (); v146) () - let v149 : US3 option = _v143.Value - let v160 : US3 = US3_1 - let v161 : US3 = v149 |> Option.defaultValue v160 - let v201 : System.DateTime = - match v161 with + let v177 : US3 option = None + let _v177 = ref v177 + let v178 : US3 option ref = _v177 + let v179 : (US3 option -> US3 option ref) = closure9(v178) + let v180 : unit = () + let v181 : (unit -> unit) = closure10(v97, v179) + let v182 : unit = (fun () -> v181 (); v180) () + let v185 : US3 option = _v177.Value + let v196 : US3 = US3_1 + let v197 : US3 = v185 |> Option.defaultValue v196 + let v237 : System.DateTime = + match v197 with | US3_1 -> (* None *) - let v197 : System.DateTime = System.DateTime.Now - v197 - | US3_0(v165) -> (* Some *) - let v166 : System.DateTime = System.DateTime.Now - let v169 : (System.DateTime -> int64) = _.Ticks - let v170 : int64 = v169 v166 - let v173 : int64 = v170 - v165 - let v174 : (int64 -> System.TimeSpan) = System.TimeSpan - let v175 : System.TimeSpan = v174 v173 - let v178 : (System.TimeSpan -> int32) = _.Hours - let v179 : int32 = v178 v175 - let v182 : (System.TimeSpan -> int32) = _.Minutes - let v183 : int32 = v182 v175 - let v186 : (System.TimeSpan -> int32) = _.Seconds - let v187 : int32 = v186 v175 - let v190 : (System.TimeSpan -> int32) = _.Milliseconds - let v191 : int32 = v190 v175 - let v194 : System.DateTime = System.DateTime (1, 1, 1, v179, v183, v187, v191) - v194 - let v202 : string = method6() - let v205 : (string -> string) = v201.ToString - let v206 : string = v205 v202 - let _v76 = v206 + let v233 : System.DateTime = System.DateTime.Now + v233 + | US3_0(v201) -> (* Some *) + let v202 : System.DateTime = System.DateTime.Now + let v205 : (System.DateTime -> int64) = _.Ticks + let v206 : int64 = v205 v202 + let v209 : int64 = v206 - v201 + let v210 : (int64 -> System.TimeSpan) = System.TimeSpan + let v211 : System.TimeSpan = v210 v209 + let v214 : (System.TimeSpan -> int32) = _.Hours + let v215 : int32 = v214 v211 + let v218 : (System.TimeSpan -> int32) = _.Minutes + let v219 : int32 = v218 v211 + let v222 : (System.TimeSpan -> int32) = _.Seconds + let v223 : int32 = v222 v211 + let v226 : (System.TimeSpan -> int32) = _.Milliseconds + let v227 : int32 = v226 v211 + let v230 : System.DateTime = System.DateTime (1, 1, 1, v215, v219, v223, v227) + v230 + let v238 : string = method6() + let v241 : (string -> string) = v237.ToString + let v242 : string = v241 v238 + let _v108 = v242 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v209 : string = $"near_sdk::env::block_timestamp()" - let v210 : uint64 = Fable.Core.RustInterop.emitRustExpr () v209 - let v211 : US3 option = None - let _v211 = ref v211 - let v212 : US3 option ref = _v211 - let v213 : (US3 option -> US3 option ref) = closure9(v212) - let v214 : unit = () - let v215 : (unit -> unit) = closure10(v65, v213) - let v216 : unit = (fun () -> v215 (); v214) () - let v217 : US3 option = _v211.Value - let v228 : US3 = US3_1 - let v229 : US3 = v217 |> Option.defaultValue v228 - let v238 : uint64 = - match v229 with - | US3_1 -> (* None *) - v210 - | US3_0(v233) -> (* Some *) - let v234 : (int64 -> uint64) = uint64 - let v235 : uint64 = v234 v233 - let v236 : uint64 = v210 - v235 - v236 - let v239 : uint64 = v238 / 1000000000UL - let v240 : uint64 = v239 % 60UL - let v241 : uint64 = v239 / 60UL - let v242 : uint64 = v241 % 60UL - let v243 : uint64 = v239 / 3600UL - let v244 : uint64 = v243 % 24UL - let v245 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v246 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v244, v242, v240) v245 - let v247 : string = "fable_library_rust::String_::fromString($0)" - let v248 : string = Fable.Core.RustInterop.emitRustExpr v246 v247 - let _v76 = v248 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v249 : US3 option = None - let _v249 = ref v249 - let v250 : US3 option ref = _v249 - let v251 : (US3 option -> US3 option ref) = closure9(v250) - let v252 : unit = () - let v253 : (unit -> unit) = closure10(v65, v251) - let v254 : unit = (fun () -> v253 (); v252) () - let v255 : US3 option = _v249.Value + let v245 : string = $"near_sdk::env::block_timestamp()" + let v246 : uint64 = Fable.Core.RustInterop.emitRustExpr () v245 + let v247 : US3 option = None + let _v247 = ref v247 + let v248 : US3 option ref = _v247 + let v249 : (US3 option -> US3 option ref) = closure9(v248) + let v250 : unit = () + let v251 : (unit -> unit) = closure10(v97, v249) + let v252 : unit = (fun () -> v251 (); v250) () + let v255 : US3 option = _v247.Value let v266 : US3 = US3_1 let v267 : US3 = v255 |> Option.defaultValue v266 - let v307 : System.DateTime = + let v276 : uint64 = match v267 with | US3_1 -> (* None *) - let v303 : System.DateTime = System.DateTime.Now - v303 + v246 | US3_0(v271) -> (* Some *) - let v272 : System.DateTime = System.DateTime.Now - let v275 : (System.DateTime -> int64) = _.Ticks - let v276 : int64 = v275 v272 - let v279 : int64 = v276 - v271 - let v280 : (int64 -> System.TimeSpan) = System.TimeSpan - let v281 : System.TimeSpan = v280 v279 - let v284 : (System.TimeSpan -> int32) = _.Hours - let v285 : int32 = v284 v281 - let v288 : (System.TimeSpan -> int32) = _.Minutes - let v289 : int32 = v288 v281 - let v292 : (System.TimeSpan -> int32) = _.Seconds - let v293 : int32 = v292 v281 - let v296 : (System.TimeSpan -> int32) = _.Milliseconds - let v297 : int32 = v296 v281 - let v300 : System.DateTime = System.DateTime (1, 1, 1, v285, v289, v293, v297) - v300 - let v308 : string = method7() - let v311 : (string -> string) = v307.ToString - let v312 : string = v311 v308 - let _v76 = v312 + let v272 : (int64 -> uint64) = uint64 + let v273 : uint64 = v272 v271 + let v274 : uint64 = v246 - v273 + v274 + let v277 : uint64 = v276 / 1000000000UL + let v278 : uint64 = v277 % 60UL + let v279 : uint64 = v277 / 60UL + let v280 : uint64 = v279 % 60UL + let v281 : uint64 = v277 / 3600UL + let v282 : uint64 = v281 % 24UL + let v283 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v284 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v282, v280, v278) v283 + let v285 : string = "fable_library_rust::String_::fromString($0)" + let v286 : string = Fable.Core.RustInterop.emitRustExpr v284 v285 + let _v108 = v286 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v287 : US3 option = None + let _v287 = ref v287 + let v288 : US3 option ref = _v287 + let v289 : (US3 option -> US3 option ref) = closure9(v288) + let v290 : unit = () + let v291 : (unit -> unit) = closure10(v97, v289) + let v292 : unit = (fun () -> v291 (); v290) () + let v295 : US3 option = _v287.Value + let v306 : US3 = US3_1 + let v307 : US3 = v295 |> Option.defaultValue v306 + let v347 : System.DateTime = + match v307 with + | US3_1 -> (* None *) + let v343 : System.DateTime = System.DateTime.Now + v343 + | US3_0(v311) -> (* Some *) + let v312 : System.DateTime = System.DateTime.Now + let v315 : (System.DateTime -> int64) = _.Ticks + let v316 : int64 = v315 v312 + let v319 : int64 = v316 - v311 + let v320 : (int64 -> System.TimeSpan) = System.TimeSpan + let v321 : System.TimeSpan = v320 v319 + let v324 : (System.TimeSpan -> int32) = _.Hours + let v325 : int32 = v324 v321 + let v328 : (System.TimeSpan -> int32) = _.Minutes + let v329 : int32 = v328 v321 + let v332 : (System.TimeSpan -> int32) = _.Seconds + let v333 : int32 = v332 v321 + let v336 : (System.TimeSpan -> int32) = _.Milliseconds + let v337 : int32 = v336 v321 + let v340 : System.DateTime = System.DateTime (1, 1, 1, v325, v329, v333, v337) + v340 + let v348 : string = method7() + let v351 : (string -> string) = v347.ToString + let v352 : string = v351 v348 + let _v108 = v352 #endif #if FABLE_COMPILER_PYTHON - let v315 : US3 option = None - let _v315 = ref v315 - let v316 : US3 option ref = _v315 - let v317 : (US3 option -> US3 option ref) = closure9(v316) - let v318 : unit = () - let v319 : (unit -> unit) = closure10(v65, v317) - let v320 : unit = (fun () -> v319 (); v318) () - let v321 : US3 option = _v315.Value - let v332 : US3 = US3_1 - let v333 : US3 = v321 |> Option.defaultValue v332 - let v373 : System.DateTime = - match v333 with + let v355 : US3 option = None + let _v355 = ref v355 + let v356 : US3 option ref = _v355 + let v357 : (US3 option -> US3 option ref) = closure9(v356) + let v358 : unit = () + let v359 : (unit -> unit) = closure10(v97, v357) + let v360 : unit = (fun () -> v359 (); v358) () + let v363 : US3 option = _v355.Value + let v374 : US3 = US3_1 + let v375 : US3 = v363 |> Option.defaultValue v374 + let v415 : System.DateTime = + match v375 with | US3_1 -> (* None *) - let v369 : System.DateTime = System.DateTime.Now - v369 - | US3_0(v337) -> (* Some *) - let v338 : System.DateTime = System.DateTime.Now - let v341 : (System.DateTime -> int64) = _.Ticks - let v342 : int64 = v341 v338 - let v345 : int64 = v342 - v337 - let v346 : (int64 -> System.TimeSpan) = System.TimeSpan - let v347 : System.TimeSpan = v346 v345 - let v350 : (System.TimeSpan -> int32) = _.Hours - let v351 : int32 = v350 v347 - let v354 : (System.TimeSpan -> int32) = _.Minutes - let v355 : int32 = v354 v347 - let v358 : (System.TimeSpan -> int32) = _.Seconds - let v359 : int32 = v358 v347 - let v362 : (System.TimeSpan -> int32) = _.Milliseconds - let v363 : int32 = v362 v347 - let v366 : System.DateTime = System.DateTime (1, 1, 1, v351, v355, v359, v363) - v366 - let v374 : string = method7() - let v377 : (string -> string) = v373.ToString - let v378 : string = v377 v374 - let _v76 = v378 + let v411 : System.DateTime = System.DateTime.Now + v411 + | US3_0(v379) -> (* Some *) + let v380 : System.DateTime = System.DateTime.Now + let v383 : (System.DateTime -> int64) = _.Ticks + let v384 : int64 = v383 v380 + let v387 : int64 = v384 - v379 + let v388 : (int64 -> System.TimeSpan) = System.TimeSpan + let v389 : System.TimeSpan = v388 v387 + let v392 : (System.TimeSpan -> int32) = _.Hours + let v393 : int32 = v392 v389 + let v396 : (System.TimeSpan -> int32) = _.Minutes + let v397 : int32 = v396 v389 + let v400 : (System.TimeSpan -> int32) = _.Seconds + let v401 : int32 = v400 v389 + let v404 : (System.TimeSpan -> int32) = _.Milliseconds + let v405 : int32 = v404 v389 + let v408 : System.DateTime = System.DateTime (1, 1, 1, v393, v397, v401, v405) + v408 + let v416 : string = method7() + let v419 : (string -> string) = v415.ToString + let v420 : string = v419 v416 + let _v108 = v420 #endif #else - let v381 : US3 option = None - let _v381 = ref v381 - let v382 : US3 option ref = _v381 - let v383 : (US3 option -> US3 option ref) = closure9(v382) - let v384 : unit = () - let v385 : (unit -> unit) = closure10(v65, v383) - let v386 : unit = (fun () -> v385 (); v384) () - let v387 : US3 option = _v381.Value - let v398 : US3 = US3_1 - let v399 : US3 = v387 |> Option.defaultValue v398 - let v439 : System.DateTime = - match v399 with + let v423 : US3 option = None + let _v423 = ref v423 + let v424 : US3 option ref = _v423 + let v425 : (US3 option -> US3 option ref) = closure9(v424) + let v426 : unit = () + let v427 : (unit -> unit) = closure10(v97, v425) + let v428 : unit = (fun () -> v427 (); v426) () + let v431 : US3 option = _v423.Value + let v442 : US3 = US3_1 + let v443 : US3 = v431 |> Option.defaultValue v442 + let v483 : System.DateTime = + match v443 with | US3_1 -> (* None *) - let v435 : System.DateTime = System.DateTime.Now - v435 - | US3_0(v403) -> (* Some *) - let v404 : System.DateTime = System.DateTime.Now - let v407 : (System.DateTime -> int64) = _.Ticks - let v408 : int64 = v407 v404 - let v411 : int64 = v408 - v403 - let v412 : (int64 -> System.TimeSpan) = System.TimeSpan - let v413 : System.TimeSpan = v412 v411 - let v416 : (System.TimeSpan -> int32) = _.Hours - let v417 : int32 = v416 v413 - let v420 : (System.TimeSpan -> int32) = _.Minutes - let v421 : int32 = v420 v413 - let v424 : (System.TimeSpan -> int32) = _.Seconds - let v425 : int32 = v424 v413 - let v428 : (System.TimeSpan -> int32) = _.Milliseconds - let v429 : int32 = v428 v413 - let v432 : System.DateTime = System.DateTime (1, 1, 1, v417, v421, v425, v429) - v432 - let v440 : string = method7() - let v443 : (string -> string) = v439.ToString - let v444 : string = v443 v440 - let _v76 = v444 - #endif - let v447 : string = _v76 - let v515 : string = "Debug" - let v516 : (unit -> string) = v515.ToLower - let v517 : string = v516 () - let v520 : string = v517.PadLeft (7, ' ') - let v534 : unit = () + let v479 : System.DateTime = System.DateTime.Now + v479 + | US3_0(v447) -> (* Some *) + let v448 : System.DateTime = System.DateTime.Now + let v451 : (System.DateTime -> int64) = _.Ticks + let v452 : int64 = v451 v448 + let v455 : int64 = v452 - v447 + let v456 : (int64 -> System.TimeSpan) = System.TimeSpan + let v457 : System.TimeSpan = v456 v455 + let v460 : (System.TimeSpan -> int32) = _.Hours + let v461 : int32 = v460 v457 + let v464 : (System.TimeSpan -> int32) = _.Minutes + let v465 : int32 = v464 v457 + let v468 : (System.TimeSpan -> int32) = _.Seconds + let v469 : int32 = v468 v457 + let v472 : (System.TimeSpan -> int32) = _.Milliseconds + let v473 : int32 = v472 v457 + let v476 : System.DateTime = System.DateTime (1, 1, 1, v461, v465, v469, v473) + v476 + let v484 : string = method7() + let v487 : (string -> string) = v483.ToString + let v488 : string = v487 v484 + let _v108 = v488 + #endif + let v491 : string = _v108 + let v561 : string = "Debug" + let v562 : (unit -> string) = v561.ToLower + let v563 : string = v562 () + let v566 : string = v563.PadLeft (7, ' ') + let v580 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v535 : string = "inline_colorization::color_bright_blue" - let v536 : Ref = Fable.Core.RustInterop.emitRustExpr () v535 - let v537 : string = "&*$0" - let v538 : Ref = Fable.Core.RustInterop.emitRustExpr v520 v537 - let v539 : string = "inline_colorization::color_reset" - let v540 : Ref = Fable.Core.RustInterop.emitRustExpr () v539 - let v541 : string = "\"{v536}{v538}{v540}\"" - let v542 : string = @$"format!(" + v541 + ")" - let v543 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "fable_library_rust::String_::fromString($0)" - let v545 : string = Fable.Core.RustInterop.emitRustExpr v543 v544 - let _v534 = v545 + let v581 : string = "inline_colorization::color_bright_blue" + let v582 : Ref = Fable.Core.RustInterop.emitRustExpr () v581 + let v583 : string = "&*$0" + let v584 : Ref = Fable.Core.RustInterop.emitRustExpr v566 v583 + let v585 : string = "inline_colorization::color_reset" + let v586 : Ref = Fable.Core.RustInterop.emitRustExpr () v585 + let v587 : string = "\"{v582}{v584}{v586}\"" + let v588 : string = @$"format!(" + v587 + ")" + let v589 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "fable_library_rust::String_::fromString($0)" + let v591 : string = Fable.Core.RustInterop.emitRustExpr v589 v590 + let _v580 = v591 #endif #if FABLE_COMPILER_RUST && WASM - let v546 : string = "inline_colorization::color_bright_blue" - let v547 : Ref = Fable.Core.RustInterop.emitRustExpr () v546 - let v548 : string = "&*$0" - let v549 : Ref = Fable.Core.RustInterop.emitRustExpr v520 v548 - let v550 : string = "inline_colorization::color_reset" - let v551 : Ref = Fable.Core.RustInterop.emitRustExpr () v550 - let v552 : string = "\"{v547}{v549}{v551}\"" - let v553 : string = @$"format!(" + v552 + ")" - let v554 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "fable_library_rust::String_::fromString($0)" - let v556 : string = Fable.Core.RustInterop.emitRustExpr v554 v555 - let _v534 = v556 + let v592 : string = "inline_colorization::color_bright_blue" + let v593 : Ref = Fable.Core.RustInterop.emitRustExpr () v592 + let v594 : string = "&*$0" + let v595 : Ref = Fable.Core.RustInterop.emitRustExpr v566 v594 + let v596 : string = "inline_colorization::color_reset" + let v597 : Ref = Fable.Core.RustInterop.emitRustExpr () v596 + let v598 : string = "\"{v593}{v595}{v597}\"" + let v599 : string = @$"format!(" + v598 + ")" + let v600 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "fable_library_rust::String_::fromString($0)" + let v602 : string = Fable.Core.RustInterop.emitRustExpr v600 v601 + let _v580 = v602 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v557 : string = "inline_colorization::color_bright_blue" - let v558 : Ref = Fable.Core.RustInterop.emitRustExpr () v557 - let v559 : string = "&*$0" - let v560 : Ref = Fable.Core.RustInterop.emitRustExpr v520 v559 - let v561 : string = "inline_colorization::color_reset" - let v562 : Ref = Fable.Core.RustInterop.emitRustExpr () v561 - let v563 : string = "\"{v558}{v560}{v562}\"" - let v564 : string = @$"format!(" + v563 + ")" - let v565 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v564 - let v566 : string = "fable_library_rust::String_::fromString($0)" - let v567 : string = Fable.Core.RustInterop.emitRustExpr v565 v566 - let _v534 = v567 + let v603 : string = "inline_colorization::color_bright_blue" + let v604 : Ref = Fable.Core.RustInterop.emitRustExpr () v603 + let v605 : string = "&*$0" + let v606 : Ref = Fable.Core.RustInterop.emitRustExpr v566 v605 + let v607 : string = "inline_colorization::color_reset" + let v608 : Ref = Fable.Core.RustInterop.emitRustExpr () v607 + let v609 : string = "\"{v604}{v606}{v608}\"" + let v610 : string = @$"format!(" + v609 + ")" + let v611 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v610 + let v612 : string = "fable_library_rust::String_::fromString($0)" + let v613 : string = Fable.Core.RustInterop.emitRustExpr v611 v612 + let _v580 = v613 #endif #if FABLE_COMPILER_TYPESCRIPT - let v568 : string = "\u001b[94m" - let v569 : string = method8() - let v570 : string = v568 + v520 - let v571 : string = v570 + v569 - let _v534 = v571 + let v614 : string = "\u001b[94m" + let v615 : string = method8() + let v616 : string = v614 + v566 + let v617 : string = v616 + v615 + let _v580 = v617 #endif #if FABLE_COMPILER_PYTHON - let v572 : string = "\u001b[94m" - let v573 : string = method8() - let v574 : string = v572 + v520 - let v575 : string = v574 + v573 - let _v534 = v575 + let v618 : string = "\u001b[94m" + let v619 : string = method8() + let v620 : string = v618 + v566 + let v621 : string = v620 + v619 + let _v580 = v621 #endif #else - let v576 : string = "\u001b[94m" - let v577 : string = method8() - let v578 : string = v576 + v520 - let v579 : string = v578 + v577 - let _v534 = v579 - #endif - let v580 : string = _v534 - let v586 : int64 = v61.l0 - let v587 : string = method9() - let v588 : Mut4 = {l0 = v587} : Mut4 - let v589 : string = "{ " - let v590 : string = $"{v589}" - let v593 : unit = () - let v594 : (unit -> unit) = closure11(v588, v590) - let v595 : unit = (fun () -> v594 (); v593) () - let v596 : string = "file_name" - let v597 : string = $"{v596}" - let v600 : unit = () - let v601 : (unit -> unit) = closure11(v588, v597) - let v602 : unit = (fun () -> v601 (); v600) () - let v603 : string = " = " - let v604 : string = $"{v603}" - let v607 : unit = () - let v608 : (unit -> unit) = closure11(v588, v604) - let v609 : unit = (fun () -> v608 (); v607) () - let v610 : string = $"{v7}" - let v613 : unit = () - let v614 : (unit -> unit) = closure11(v588, v610) - let v615 : unit = (fun () -> v614 (); v613) () - let v616 : string = "; " - let v617 : string = $"{v616}" - let v620 : unit = () - let v621 : (unit -> unit) = closure11(v588, v617) - let v622 : unit = (fun () -> v621 (); v620) () - let v623 : string = "arguments" - let v624 : string = $"{v623}" - let v627 : unit = () - let v628 : (unit -> unit) = closure11(v588, v624) - let v629 : unit = (fun () -> v628 (); v627) () - let v630 : string = $"{v603}" - let v633 : unit = () - let v634 : (unit -> unit) = closure11(v588, v630) - let v635 : unit = (fun () -> v634 (); v633) () - let v636 : unit = () + let v622 : string = "\u001b[94m" + let v623 : string = method8() + let v624 : string = v622 + v566 + let v625 : string = v624 + v623 + let _v580 = v625 + #endif + let v626 : string = _v580 + let v632 : int64 = v93.l0 + let v633 : string = method9() + let v634 : Mut4 = {l0 = v633} : Mut4 + let v635 : string = "{ " + let v636 : string = $"{v635}" + let v639 : unit = () + let v640 : (unit -> unit) = closure11(v634, v636) + let v641 : unit = (fun () -> v640 (); v639) () + let v644 : string = "file_name" + let v645 : string = $"{v644}" + let v648 : unit = () + let v649 : (unit -> unit) = closure11(v634, v645) + let v650 : unit = (fun () -> v649 (); v648) () + let v653 : string = " = " + let v654 : string = $"{v653}" + let v657 : unit = () + let v658 : (unit -> unit) = closure11(v634, v654) + let v659 : unit = (fun () -> v658 (); v657) () + let v662 : string = $"{v7}" + let v665 : unit = () + let v666 : (unit -> unit) = closure11(v634, v662) + let v667 : unit = (fun () -> v666 (); v665) () + let v670 : string = "; " + let v671 : string = $"{v670}" + let v674 : unit = () + let v675 : (unit -> unit) = closure11(v634, v671) + let v676 : unit = (fun () -> v675 (); v674) () + let v679 : string = "arguments" + let v680 : string = $"{v679}" + let v683 : unit = () + let v684 : (unit -> unit) = closure11(v634, v680) + let v685 : unit = (fun () -> v684 (); v683) () + let v688 : string = $"{v653}" + let v691 : unit = () + let v692 : (unit -> unit) = closure11(v634, v688) + let v693 : unit = (fun () -> v692 (); v691) () + let v696 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v637 : string = "format!(\"{:#?}\", $0)" - let v638 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v637 - let v639 : string = "fable_library_rust::String_::fromString($0)" - let v640 : string = Fable.Core.RustInterop.emitRustExpr v638 v639 - let _v636 = v640 + let v697 : string = "format!(\"{:#?}\", $0)" + let v698 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v697 + let v699 : string = "fable_library_rust::String_::fromString($0)" + let v700 : string = Fable.Core.RustInterop.emitRustExpr v698 v699 + let _v696 = v700 #endif #if FABLE_COMPILER_RUST && WASM - let v641 : string = "format!(\"{:#?}\", $0)" - let v642 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v641 - let v643 : string = "fable_library_rust::String_::fromString($0)" - let v644 : string = Fable.Core.RustInterop.emitRustExpr v642 v643 - let _v636 = v644 + let v701 : string = "format!(\"{:#?}\", $0)" + let v702 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v701 + let v703 : string = "fable_library_rust::String_::fromString($0)" + let v704 : string = Fable.Core.RustInterop.emitRustExpr v702 v703 + let _v696 = v704 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v645 : string = "format!(\"{:#?}\", $0)" - let v646 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v645 - let v647 : string = "fable_library_rust::String_::fromString($0)" - let v648 : string = Fable.Core.RustInterop.emitRustExpr v646 v647 - let _v636 = v648 + let v705 : string = "format!(\"{:#?}\", $0)" + let v706 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v705 + let v707 : string = "fable_library_rust::String_::fromString($0)" + let v708 : string = Fable.Core.RustInterop.emitRustExpr v706 v707 + let _v696 = v708 #endif #if FABLE_COMPILER_TYPESCRIPT - let v649 : string = $"%A{v8}" - let _v636 = v649 + let v709 : string = $"%A{v8}" + let _v696 = v709 #endif #if FABLE_COMPILER_PYTHON - let v652 : string = $"%A{v8}" - let _v636 = v652 + let v712 : string = $"%A{v8}" + let _v696 = v712 #endif #else - let v655 : string = $"%A{v8}" - let _v636 = v655 + let v715 : string = $"%A{v8}" + let _v696 = v715 #endif - let v658 : string = _v636 - let v663 : string = $"{v658}" - let v666 : unit = () - let v667 : (unit -> unit) = closure11(v588, v663) - let v668 : unit = (fun () -> v667 (); v666) () - let v669 : string = $"{v616}" - let v672 : unit = () - let v673 : (unit -> unit) = closure11(v588, v669) - let v674 : unit = (fun () -> v673 (); v672) () - let v675 : string = "options" - let v676 : string = $"{v675}" - let v679 : unit = () - let v680 : (unit -> unit) = closure11(v588, v676) - let v681 : unit = (fun () -> v680 (); v679) () - let v682 : string = $"{v603}" - let v685 : unit = () - let v686 : (unit -> unit) = closure11(v588, v682) - let v687 : unit = (fun () -> v686 (); v685) () - let v688 : string = $"{v589}" - let v691 : unit = () - let v692 : (unit -> unit) = closure11(v588, v688) - let v693 : unit = (fun () -> v692 (); v691) () - let v694 : string = "command" - let v695 : string = $"{v694}" - let v698 : unit = () - let v699 : (unit -> unit) = closure11(v588, v695) - let v700 : unit = (fun () -> v699 (); v698) () - let v701 : string = $"{v603}" - let v704 : unit = () - let v705 : (unit -> unit) = closure11(v588, v701) - let v706 : unit = (fun () -> v705 (); v704) () - let v707 : string = $"{v0}" - let v710 : unit = () - let v711 : (unit -> unit) = closure11(v588, v707) - let v712 : unit = (fun () -> v711 (); v710) () - let v713 : string = $"{v616}" - let v716 : unit = () - let v717 : (unit -> unit) = closure11(v588, v713) - let v718 : unit = (fun () -> v717 (); v716) () - let v719 : string = "cancellation_token" - let v720 : string = $"{v719}" - let v723 : unit = () - let v724 : (unit -> unit) = closure11(v588, v720) - let v725 : unit = (fun () -> v724 (); v723) () - let v726 : string = $"{v603}" - let v729 : unit = () - let v730 : (unit -> unit) = closure11(v588, v726) - let v731 : unit = (fun () -> v730 (); v729) () - let v732 : unit = () + let v718 : string = _v696 + let v723 : string = $"{v718}" + let v726 : unit = () + let v727 : (unit -> unit) = closure11(v634, v723) + let v728 : unit = (fun () -> v727 (); v726) () + let v731 : string = $"{v670}" + let v734 : unit = () + let v735 : (unit -> unit) = closure11(v634, v731) + let v736 : unit = (fun () -> v735 (); v734) () + let v739 : string = "options" + let v740 : string = $"{v739}" + let v743 : unit = () + let v744 : (unit -> unit) = closure11(v634, v740) + let v745 : unit = (fun () -> v744 (); v743) () + let v748 : string = $"{v653}" + let v751 : unit = () + let v752 : (unit -> unit) = closure11(v634, v748) + let v753 : unit = (fun () -> v752 (); v751) () + let v756 : string = $"{v635}" + let v759 : unit = () + let v760 : (unit -> unit) = closure11(v634, v756) + let v761 : unit = (fun () -> v760 (); v759) () + let v764 : string = "command" + let v765 : string = $"{v764}" + let v768 : unit = () + let v769 : (unit -> unit) = closure11(v634, v765) + let v770 : unit = (fun () -> v769 (); v768) () + let v773 : string = $"{v653}" + let v776 : unit = () + let v777 : (unit -> unit) = closure11(v634, v773) + let v778 : unit = (fun () -> v777 (); v776) () + let v781 : string = $"{v0}" + let v784 : unit = () + let v785 : (unit -> unit) = closure11(v634, v781) + let v786 : unit = (fun () -> v785 (); v784) () + let v789 : string = $"{v670}" + let v792 : unit = () + let v793 : (unit -> unit) = closure11(v634, v789) + let v794 : unit = (fun () -> v793 (); v792) () + let v797 : string = "cancellation_token" + let v798 : string = $"{v797}" + let v801 : unit = () + let v802 : (unit -> unit) = closure11(v634, v798) + let v803 : unit = (fun () -> v802 (); v801) () + let v806 : string = $"{v653}" + let v809 : unit = () + let v810 : (unit -> unit) = closure11(v634, v806) + let v811 : unit = (fun () -> v810 (); v809) () + let v814 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v733 : string = "format!(\"{:#?}\", $0)" - let v734 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v733 - let v735 : string = "fable_library_rust::String_::fromString($0)" - let v736 : string = Fable.Core.RustInterop.emitRustExpr v734 v735 - let _v732 = v736 + let v815 : string = "format!(\"{:#?}\", $0)" + let v816 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v815 + let v817 : string = "fable_library_rust::String_::fromString($0)" + let v818 : string = Fable.Core.RustInterop.emitRustExpr v816 v817 + let _v814 = v818 #endif #if FABLE_COMPILER_RUST && WASM - let v737 : string = "format!(\"{:#?}\", $0)" - let v738 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v737 - let v739 : string = "fable_library_rust::String_::fromString($0)" - let v740 : string = Fable.Core.RustInterop.emitRustExpr v738 v739 - let _v732 = v740 + let v819 : string = "format!(\"{:#?}\", $0)" + let v820 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v819 + let v821 : string = "fable_library_rust::String_::fromString($0)" + let v822 : string = Fable.Core.RustInterop.emitRustExpr v820 v821 + let _v814 = v822 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v741 : string = "format!(\"{:#?}\", $0)" - let v742 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v741 - let v743 : string = "fable_library_rust::String_::fromString($0)" - let v744 : string = Fable.Core.RustInterop.emitRustExpr v742 v743 - let _v732 = v744 + let v823 : string = "format!(\"{:#?}\", $0)" + let v824 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v823 + let v825 : string = "fable_library_rust::String_::fromString($0)" + let v826 : string = Fable.Core.RustInterop.emitRustExpr v824 v825 + let _v814 = v826 #endif #if FABLE_COMPILER_TYPESCRIPT - let v745 : string = $"%A{v1}" - let _v732 = v745 + let v827 : string = $"%A{v1}" + let _v814 = v827 #endif #if FABLE_COMPILER_PYTHON - let v748 : string = $"%A{v1}" - let _v732 = v748 + let v830 : string = $"%A{v1}" + let _v814 = v830 #endif #else - let v751 : string = $"%A{v1}" - let _v732 = v751 - #endif - let v754 : string = _v732 - let v759 : string = $"{v754}" - let v762 : unit = () - let v763 : (unit -> unit) = closure11(v588, v759) - let v764 : unit = (fun () -> v763 (); v762) () - let v765 : string = $"{v616}" - let v768 : unit = () - let v769 : (unit -> unit) = closure11(v588, v765) - let v770 : unit = (fun () -> v769 (); v768) () - let v771 : string = "environment_variables" - let v772 : string = $"{v771}" - let v775 : unit = () - let v776 : (unit -> unit) = closure11(v588, v772) - let v777 : unit = (fun () -> v776 (); v775) () - let v778 : string = $"{v603}" - let v781 : unit = () - let v782 : (unit -> unit) = closure11(v588, v778) - let v783 : unit = (fun () -> v782 (); v781) () - let v784 : string = $"%A{v2}" - let v787 : string = $"{v784}" - let v790 : unit = () - let v791 : (unit -> unit) = closure11(v588, v787) - let v792 : unit = (fun () -> v791 (); v790) () - let v793 : string = $"{v616}" - let v796 : unit = () - let v797 : (unit -> unit) = closure11(v588, v793) - let v798 : unit = (fun () -> v797 (); v796) () - let v799 : string = "on_line" - let v800 : string = $"{v799}" - let v803 : unit = () - let v804 : (unit -> unit) = closure11(v588, v800) - let v805 : unit = (fun () -> v804 (); v803) () - let v806 : string = $"{v603}" - let v809 : unit = () - let v810 : (unit -> unit) = closure11(v588, v806) - let v811 : unit = (fun () -> v810 (); v809) () - let v812 : unit = () + let v833 : string = $"%A{v1}" + let _v814 = v833 + #endif + let v836 : string = _v814 + let v841 : string = $"{v836}" + let v844 : unit = () + let v845 : (unit -> unit) = closure11(v634, v841) + let v846 : unit = (fun () -> v845 (); v844) () + let v849 : string = $"{v670}" + let v852 : unit = () + let v853 : (unit -> unit) = closure11(v634, v849) + let v854 : unit = (fun () -> v853 (); v852) () + let v857 : string = "environment_variables" + let v858 : string = $"{v857}" + let v861 : unit = () + let v862 : (unit -> unit) = closure11(v634, v858) + let v863 : unit = (fun () -> v862 (); v861) () + let v866 : string = $"{v653}" + let v869 : unit = () + let v870 : (unit -> unit) = closure11(v634, v866) + let v871 : unit = (fun () -> v870 (); v869) () + let v874 : string = $"%A{v2}" + let v877 : string = $"{v874}" + let v880 : unit = () + let v881 : (unit -> unit) = closure11(v634, v877) + let v882 : unit = (fun () -> v881 (); v880) () + let v885 : string = $"{v670}" + let v888 : unit = () + let v889 : (unit -> unit) = closure11(v634, v885) + let v890 : unit = (fun () -> v889 (); v888) () + let v893 : string = "on_line" + let v894 : string = $"{v893}" + let v897 : unit = () + let v898 : (unit -> unit) = closure11(v634, v894) + let v899 : unit = (fun () -> v898 (); v897) () + let v902 : string = $"{v653}" + let v905 : unit = () + let v906 : (unit -> unit) = closure11(v634, v902) + let v907 : unit = (fun () -> v906 (); v905) () + let v910 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v813 : string = "format!(\"{:#?}\", $0)" - let v814 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v813 - let v815 : string = "fable_library_rust::String_::fromString($0)" - let v816 : string = Fable.Core.RustInterop.emitRustExpr v814 v815 - let _v812 = v816 + let v911 : string = "format!(\"{:#?}\", $0)" + let v912 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v911 + let v913 : string = "fable_library_rust::String_::fromString($0)" + let v914 : string = Fable.Core.RustInterop.emitRustExpr v912 v913 + let _v910 = v914 #endif #if FABLE_COMPILER_RUST && WASM - let v817 : string = "format!(\"{:#?}\", $0)" - let v818 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v817 - let v819 : string = "fable_library_rust::String_::fromString($0)" - let v820 : string = Fable.Core.RustInterop.emitRustExpr v818 v819 - let _v812 = v820 + let v915 : string = "format!(\"{:#?}\", $0)" + let v916 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v915 + let v917 : string = "fable_library_rust::String_::fromString($0)" + let v918 : string = Fable.Core.RustInterop.emitRustExpr v916 v917 + let _v910 = v918 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v821 : string = "format!(\"{:#?}\", $0)" - let v822 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v821 - let v823 : string = "fable_library_rust::String_::fromString($0)" - let v824 : string = Fable.Core.RustInterop.emitRustExpr v822 v823 - let _v812 = v824 + let v919 : string = "format!(\"{:#?}\", $0)" + let v920 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v919 + let v921 : string = "fable_library_rust::String_::fromString($0)" + let v922 : string = Fable.Core.RustInterop.emitRustExpr v920 v921 + let _v910 = v922 #endif #if FABLE_COMPILER_TYPESCRIPT - let v825 : string = $"%A{v3}" - let _v812 = v825 + let v923 : string = $"%A{v3}" + let _v910 = v923 #endif #if FABLE_COMPILER_PYTHON - let v828 : string = $"%A{v3}" - let _v812 = v828 + let v926 : string = $"%A{v3}" + let _v910 = v926 #endif #else - let v831 : string = $"%A{v3}" - let _v812 = v831 - #endif - let v834 : string = _v812 - let v839 : string = $"{v834}" - let v842 : unit = () - let v843 : (unit -> unit) = closure11(v588, v839) - let v844 : unit = (fun () -> v843 (); v842) () - let v845 : string = $"{v616}" - let v848 : unit = () - let v849 : (unit -> unit) = closure11(v588, v845) - let v850 : unit = (fun () -> v849 (); v848) () - let v851 : string = "stdin" - let v852 : string = $"{v851}" - let v855 : unit = () - let v856 : (unit -> unit) = closure11(v588, v852) - let v857 : unit = (fun () -> v856 (); v855) () - let v858 : string = $"{v603}" - let v861 : unit = () - let v862 : (unit -> unit) = closure11(v588, v858) - let v863 : unit = (fun () -> v862 (); v861) () - let v864 : unit = () + let v929 : string = $"%A{v3}" + let _v910 = v929 + #endif + let v932 : string = _v910 + let v937 : string = $"{v932}" + let v940 : unit = () + let v941 : (unit -> unit) = closure11(v634, v937) + let v942 : unit = (fun () -> v941 (); v940) () + let v945 : string = $"{v670}" + let v948 : unit = () + let v949 : (unit -> unit) = closure11(v634, v945) + let v950 : unit = (fun () -> v949 (); v948) () + let v953 : string = "stdin" + let v954 : string = $"{v953}" + let v957 : unit = () + let v958 : (unit -> unit) = closure11(v634, v954) + let v959 : unit = (fun () -> v958 (); v957) () + let v962 : string = $"{v653}" + let v965 : unit = () + let v966 : (unit -> unit) = closure11(v634, v962) + let v967 : unit = (fun () -> v966 (); v965) () + let v970 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v865 : string = "format!(\"{:#?}\", $0)" - let v866 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v865 - let v867 : string = "fable_library_rust::String_::fromString($0)" - let v868 : string = Fable.Core.RustInterop.emitRustExpr v866 v867 - let _v864 = v868 + let v971 : string = "format!(\"{:#?}\", $0)" + let v972 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v971 + let v973 : string = "fable_library_rust::String_::fromString($0)" + let v974 : string = Fable.Core.RustInterop.emitRustExpr v972 v973 + let _v970 = v974 #endif #if FABLE_COMPILER_RUST && WASM - let v869 : string = "format!(\"{:#?}\", $0)" - let v870 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v869 - let v871 : string = "fable_library_rust::String_::fromString($0)" - let v872 : string = Fable.Core.RustInterop.emitRustExpr v870 v871 - let _v864 = v872 + let v975 : string = "format!(\"{:#?}\", $0)" + let v976 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v975 + let v977 : string = "fable_library_rust::String_::fromString($0)" + let v978 : string = Fable.Core.RustInterop.emitRustExpr v976 v977 + let _v970 = v978 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v873 : string = "format!(\"{:#?}\", $0)" - let v874 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v873 - let v875 : string = "fable_library_rust::String_::fromString($0)" - let v876 : string = Fable.Core.RustInterop.emitRustExpr v874 v875 - let _v864 = v876 + let v979 : string = "format!(\"{:#?}\", $0)" + let v980 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v979 + let v981 : string = "fable_library_rust::String_::fromString($0)" + let v982 : string = Fable.Core.RustInterop.emitRustExpr v980 v981 + let _v970 = v982 #endif #if FABLE_COMPILER_TYPESCRIPT - let v877 : string = $"%A{v4}" - let _v864 = v877 + let v983 : string = $"%A{v4}" + let _v970 = v983 #endif #if FABLE_COMPILER_PYTHON - let v880 : string = $"%A{v4}" - let _v864 = v880 + let v986 : string = $"%A{v4}" + let _v970 = v986 #endif #else - let v883 : string = $"%A{v4}" - let _v864 = v883 - #endif - let v886 : string = _v864 - let v891 : string = $"{v886}" - let v894 : unit = () - let v895 : (unit -> unit) = closure11(v588, v891) - let v896 : unit = (fun () -> v895 (); v894) () - let v897 : string = $"{v616}" - let v900 : unit = () - let v901 : (unit -> unit) = closure11(v588, v897) - let v902 : unit = (fun () -> v901 (); v900) () - let v903 : string = "trace" - let v904 : string = $"{v903}" - let v907 : unit = () - let v908 : (unit -> unit) = closure11(v588, v904) - let v909 : unit = (fun () -> v908 (); v907) () - let v910 : string = $"{v603}" - let v913 : unit = () - let v914 : (unit -> unit) = closure11(v588, v910) - let v915 : unit = (fun () -> v914 (); v913) () - let v918 : string = + let v989 : string = $"%A{v4}" + let _v970 = v989 + #endif + let v992 : string = _v970 + let v997 : string = $"{v992}" + let v1000 : unit = () + let v1001 : (unit -> unit) = closure11(v634, v997) + let v1002 : unit = (fun () -> v1001 (); v1000) () + let v1005 : string = $"{v670}" + let v1008 : unit = () + let v1009 : (unit -> unit) = closure11(v634, v1005) + let v1010 : unit = (fun () -> v1009 (); v1008) () + let v1013 : string = "trace" + let v1014 : string = $"{v1013}" + let v1017 : unit = () + let v1018 : (unit -> unit) = closure11(v634, v1014) + let v1019 : unit = (fun () -> v1018 (); v1017) () + let v1022 : string = $"{v653}" + let v1025 : unit = () + let v1026 : (unit -> unit) = closure11(v634, v1022) + let v1027 : unit = (fun () -> v1026 (); v1025) () + let v1032 : string = if v5 then - let v916 : string = "true" - v916 + let v1030 : string = "true" + v1030 else - let v917 : string = "false" - v917 - let v919 : string = $"{v918}" - let v922 : unit = () - let v923 : (unit -> unit) = closure11(v588, v919) - let v924 : unit = (fun () -> v923 (); v922) () - let v925 : string = $"{v616}" - let v928 : unit = () - let v929 : (unit -> unit) = closure11(v588, v925) - let v930 : unit = (fun () -> v929 (); v928) () - let v931 : string = "working_directory" - let v932 : string = $"{v931}" - let v935 : unit = () - let v936 : (unit -> unit) = closure11(v588, v932) - let v937 : unit = (fun () -> v936 (); v935) () - let v938 : string = $"{v603}" - let v941 : unit = () - let v942 : (unit -> unit) = closure11(v588, v938) - let v943 : unit = (fun () -> v942 (); v941) () - let v944 : unit = () + let v1031 : string = "false" + v1031 + let v1033 : string = $"{v1032}" + let v1036 : unit = () + let v1037 : (unit -> unit) = closure11(v634, v1033) + let v1038 : unit = (fun () -> v1037 (); v1036) () + let v1041 : string = $"{v670}" + let v1044 : unit = () + let v1045 : (unit -> unit) = closure11(v634, v1041) + let v1046 : unit = (fun () -> v1045 (); v1044) () + let v1049 : string = "working_directory" + let v1050 : string = $"{v1049}" + let v1053 : unit = () + let v1054 : (unit -> unit) = closure11(v634, v1050) + let v1055 : unit = (fun () -> v1054 (); v1053) () + let v1058 : string = $"{v653}" + let v1061 : unit = () + let v1062 : (unit -> unit) = closure11(v634, v1058) + let v1063 : unit = (fun () -> v1062 (); v1061) () + let v1066 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v945 : string = "format!(\"{:#?}\", $0)" - let v946 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v945 - let v947 : string = "fable_library_rust::String_::fromString($0)" - let v948 : string = Fable.Core.RustInterop.emitRustExpr v946 v947 - let _v944 = v948 + let v1067 : string = "format!(\"{:#?}\", $0)" + let v1068 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v1067 + let v1069 : string = "fable_library_rust::String_::fromString($0)" + let v1070 : string = Fable.Core.RustInterop.emitRustExpr v1068 v1069 + let _v1066 = v1070 #endif #if FABLE_COMPILER_RUST && WASM - let v949 : string = "format!(\"{:#?}\", $0)" - let v950 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v949 - let v951 : string = "fable_library_rust::String_::fromString($0)" - let v952 : string = Fable.Core.RustInterop.emitRustExpr v950 v951 - let _v944 = v952 + let v1071 : string = "format!(\"{:#?}\", $0)" + let v1072 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v1071 + let v1073 : string = "fable_library_rust::String_::fromString($0)" + let v1074 : string = Fable.Core.RustInterop.emitRustExpr v1072 v1073 + let _v1066 = v1074 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v953 : string = "format!(\"{:#?}\", $0)" - let v954 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v953 - let v955 : string = "fable_library_rust::String_::fromString($0)" - let v956 : string = Fable.Core.RustInterop.emitRustExpr v954 v955 - let _v944 = v956 + let v1075 : string = "format!(\"{:#?}\", $0)" + let v1076 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v1075 + let v1077 : string = "fable_library_rust::String_::fromString($0)" + let v1078 : string = Fable.Core.RustInterop.emitRustExpr v1076 v1077 + let _v1066 = v1078 #endif #if FABLE_COMPILER_TYPESCRIPT - let v957 : string = $"%A{v6}" - let _v944 = v957 + let v1079 : string = $"%A{v6}" + let _v1066 = v1079 #endif #if FABLE_COMPILER_PYTHON - let v960 : string = $"%A{v6}" - let _v944 = v960 + let v1082 : string = $"%A{v6}" + let _v1066 = v1082 #endif #else - let v963 : string = $"%A{v6}" - let _v944 = v963 - #endif - let v966 : string = _v944 - let v971 : string = $"{v966}" - let v974 : unit = () - let v975 : (unit -> unit) = closure11(v588, v971) - let v976 : unit = (fun () -> v975 (); v974) () - let v977 : string = " }" - let v978 : string = $"{v977}" - let v981 : unit = () - let v982 : (unit -> unit) = closure11(v588, v978) - let v983 : unit = (fun () -> v982 (); v981) () - let v984 : string = $"{v977}" - let v987 : unit = () - let v988 : (unit -> unit) = closure11(v588, v984) - let v989 : unit = (fun () -> v988 (); v987) () - let v990 : string = v588.l0 - let v991 : (unit -> string) = closure40() - let v992 : string = $"{v447} {v580} #{v586} %s{v991 ()} / {v990}" - let v995 : char list = [] - let v996 : (char list -> (char [])) = List.toArray - let v997 : (char []) = v996 v995 - let v1000 : string = v992.TrimStart v997 - let v1018 : char list = [] - let v1019 : char list = '/' :: v1018 - let v1022 : char list = ' ' :: v1019 - let v1025 : (char list -> (char [])) = List.toArray - let v1026 : (char []) = v1025 v1022 - let v1029 : string = v1000.TrimEnd v1026 - let v1047 : unit = () + let v1085 : string = $"%A{v6}" + let _v1066 = v1085 + #endif + let v1088 : string = _v1066 + let v1093 : string = $"{v1088}" + let v1096 : unit = () + let v1097 : (unit -> unit) = closure11(v634, v1093) + let v1098 : unit = (fun () -> v1097 (); v1096) () + let v1101 : string = " }" + let v1102 : string = $"{v1101}" + let v1105 : unit = () + let v1106 : (unit -> unit) = closure11(v634, v1102) + let v1107 : unit = (fun () -> v1106 (); v1105) () + let v1110 : string = $"{v1101}" + let v1113 : unit = () + let v1114 : (unit -> unit) = closure11(v634, v1110) + let v1115 : unit = (fun () -> v1114 (); v1113) () + let v1118 : string = v634.l0 + let v1119 : (unit -> string) = closure42() + let v1120 : string = $"{v491} {v626} #{v632} %s{v1119 ()} / {v1118}" + let v1123 : char list = [] + let v1124 : (char list -> (char [])) = List.toArray + let v1125 : (char []) = v1124 v1123 + let v1128 : string = v1120.TrimStart v1125 + let v1146 : char list = [] + let v1147 : char list = '/' :: v1146 + let v1150 : char list = ' ' :: v1147 + let v1153 : (char list -> (char [])) = List.toArray + let v1154 : (char []) = v1153 v1150 + let v1157 : string = v1128.TrimEnd v1154 + let v1175 : (string -> unit) = closure13() + let v1176 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v1048 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v1029 v1048 - let _v1047 = () + let v1177 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v1157 v1177 + let _v1176 = () #endif #if FABLE_COMPILER_RUST && WASM - let v1049 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v1029 v1049 - let _v1047 = () + let v1178 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v1157 v1178 + let _v1176 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v1050 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v1029 v1050 - let _v1047 = () + let v1179 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v1157 v1179 + let _v1176 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v1029 - let _v1047 = () + v1175 v1157 + let _v1176 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v1029 - let _v1047 = () + v1175 v1157 + let _v1176 = () #endif #else - System.Console.WriteLine v1029 - let _v1047 = () + v1175 v1157 + let _v1176 = () #endif - _v1047 - let v1051 : (string -> unit) = v15.l0 - v1051 v1029 -and closure41 () (v0 : std_sync_Arc>) : US21 = + _v1176 + let v1180 : (string -> unit) = v25.l0 + v1180 v1157 +and closure43 () (v0 : std_sync_Arc>) : US21 = US21_0(v0) and method63 () : (std_sync_Arc> -> US21) = - closure41() -and closure42 () (v0 : std_string_String) : US21 = + closure43() +and closure44 () (v0 : std_string_String) : US21 = US21_1(v0) and method64 () : (std_string_String -> US21) = - closure42() -and closure44 () () : string = + closure44() +and closure46 () () : string = let v0 : string = $"runtime.execute_with_options / child error" v0 -and closure43 (v0 : std_string_String) () : unit = +and closure45 (v0 : std_string_String) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 4 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 4 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Critical" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Critical" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_bright_red" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_bright_red" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_bright_red" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_bright_red" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_bright_red" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_bright_red" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[91m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[91m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[91m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[91m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[91m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = method9() - let v580 : Mut4 = {l0 = v579} : Mut4 - let v581 : string = "{ " - let v582 : string = $"{v581}" - let v585 : unit = () - let v586 : (unit -> unit) = closure11(v580, v582) - let v587 : unit = (fun () -> v586 (); v585) () - let v588 : string = "error" - let v589 : string = $"{v588}" - let v592 : unit = () - let v593 : (unit -> unit) = closure11(v580, v589) - let v594 : unit = (fun () -> v593 (); v592) () - let v595 : string = " = " - let v596 : string = $"{v595}" - let v599 : unit = () - let v600 : (unit -> unit) = closure11(v580, v596) - let v601 : unit = (fun () -> v600 (); v599) () - let v602 : unit = () + let v614 : string = "\u001b[91m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = method9() + let v626 : Mut4 = {l0 = v625} : Mut4 + let v627 : string = "{ " + let v628 : string = $"{v627}" + let v631 : unit = () + let v632 : (unit -> unit) = closure11(v626, v628) + let v633 : unit = (fun () -> v632 (); v631) () + let v636 : string = "error" + let v637 : string = $"{v636}" + let v640 : unit = () + let v641 : (unit -> unit) = closure11(v626, v637) + let v642 : unit = (fun () -> v641 (); v640) () + let v645 : string = " = " + let v646 : string = $"{v645}" + let v649 : unit = () + let v650 : (unit -> unit) = closure11(v626, v646) + let v651 : unit = (fun () -> v650 (); v649) () + let v654 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v603 : string = "format!(\"{:#?}\", $0)" - let v604 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v603 - let v605 : string = "fable_library_rust::String_::fromString($0)" - let v606 : string = Fable.Core.RustInterop.emitRustExpr v604 v605 - let _v602 = v606 + let v655 : string = "format!(\"{:#?}\", $0)" + let v656 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v655 + let v657 : string = "fable_library_rust::String_::fromString($0)" + let v658 : string = Fable.Core.RustInterop.emitRustExpr v656 v657 + let _v654 = v658 #endif #if FABLE_COMPILER_RUST && WASM - let v607 : string = "format!(\"{:#?}\", $0)" - let v608 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v607 - let v609 : string = "fable_library_rust::String_::fromString($0)" - let v610 : string = Fable.Core.RustInterop.emitRustExpr v608 v609 - let _v602 = v610 + let v659 : string = "format!(\"{:#?}\", $0)" + let v660 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v659 + let v661 : string = "fable_library_rust::String_::fromString($0)" + let v662 : string = Fable.Core.RustInterop.emitRustExpr v660 v661 + let _v654 = v662 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v611 : string = "format!(\"{:#?}\", $0)" - let v612 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v611 - let v613 : string = "fable_library_rust::String_::fromString($0)" - let v614 : string = Fable.Core.RustInterop.emitRustExpr v612 v613 - let _v602 = v614 + let v663 : string = "format!(\"{:#?}\", $0)" + let v664 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v663 + let v665 : string = "fable_library_rust::String_::fromString($0)" + let v666 : string = Fable.Core.RustInterop.emitRustExpr v664 v665 + let _v654 = v666 #endif #if FABLE_COMPILER_TYPESCRIPT - let v615 : string = $"%A{v0}" - let _v602 = v615 + let v667 : string = $"%A{v0}" + let _v654 = v667 #endif #if FABLE_COMPILER_PYTHON - let v618 : string = $"%A{v0}" - let _v602 = v618 + let v670 : string = $"%A{v0}" + let _v654 = v670 #endif #else - let v621 : string = $"%A{v0}" - let _v602 = v621 + let v673 : string = $"%A{v0}" + let _v654 = v673 #endif - let v624 : string = _v602 - let v629 : string = $"{v624}" - let v632 : unit = () - let v633 : (unit -> unit) = closure11(v580, v629) - let v634 : unit = (fun () -> v633 (); v632) () - let v635 : string = " }" - let v636 : string = $"{v635}" - let v639 : unit = () - let v640 : (unit -> unit) = closure11(v580, v636) - let v641 : unit = (fun () -> v640 (); v639) () - let v642 : string = v580.l0 - let v643 : (unit -> string) = closure44() - let v644 : string = $"{v439} {v572} #{v578} %s{v643 ()} / {v642}" - let v647 : char list = [] - let v648 : (char list -> (char [])) = List.toArray - let v649 : (char []) = v648 v647 - let v652 : string = v644.TrimStart v649 - let v670 : char list = [] - let v671 : char list = '/' :: v670 - let v674 : char list = ' ' :: v671 - let v677 : (char list -> (char [])) = List.toArray - let v678 : (char []) = v677 v674 - let v681 : string = v652.TrimEnd v678 - let v699 : unit = () + let v676 : string = _v654 + let v681 : string = $"{v676}" + let v684 : unit = () + let v685 : (unit -> unit) = closure11(v626, v681) + let v686 : unit = (fun () -> v685 (); v684) () + let v689 : string = " }" + let v690 : string = $"{v689}" + let v693 : unit = () + let v694 : (unit -> unit) = closure11(v626, v690) + let v695 : unit = (fun () -> v694 (); v693) () + let v698 : string = v626.l0 + let v699 : (unit -> string) = closure46() + let v700 : string = $"{v483} {v618} #{v624} %s{v699 ()} / {v698}" + let v703 : char list = [] + let v704 : (char list -> (char [])) = List.toArray + let v705 : (char []) = v704 v703 + let v708 : string = v700.TrimStart v705 + let v726 : char list = [] + let v727 : char list = '/' :: v726 + let v730 : char list = ' ' :: v727 + let v733 : (char list -> (char [])) = List.toArray + let v734 : (char []) = v733 v730 + let v737 : string = v708.TrimEnd v734 + let v755 : (string -> unit) = closure13() + let v756 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v700 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v700 - let _v699 = () + let v757 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v757 + let _v756 = () #endif #if FABLE_COMPILER_RUST && WASM - let v701 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v701 - let _v699 = () + let v758 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v758 + let _v756 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v702 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v702 - let _v699 = () + let v759 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v759 + let _v756 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif #else - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif - _v699 - let v703 : (string -> unit) = v7.l0 - v703 v681 + _v756 + let v760 : (string -> unit) = v17.l0 + v760 v737 and method65 (v0 : std_sync_Arc>) : std_sync_Arc> = v0 -and closure45 () (v0 : std_string_String) : US23 = +and closure47 () (v0 : std_string_String) : US23 = US23_0(v0) and method66 () : (std_string_String -> US23) = - closure45() -and closure46 () (v0 : std_string_String) : US23 = + closure47() +and closure48 () (v0 : std_string_String) : US23 = US23_1(v0) and method67 () : (std_string_String -> US23) = - closure46() -and closure48 () () : string = + closure48() +and closure50 () () : string = let v0 : string = $"runtime.stdio_line" v0 -and closure47 (v0 : std_string_String) () : unit = +and closure49 (v0 : std_string_String) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 4 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 4 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Critical" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Critical" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_bright_red" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_bright_red" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_bright_red" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_bright_red" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_bright_red" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_bright_red" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[91m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[91m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[91m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[91m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[91m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = method9() - let v580 : Mut4 = {l0 = v579} : Mut4 - let v581 : string = "{ " - let v582 : string = $"{v581}" - let v585 : unit = () - let v586 : (unit -> unit) = closure11(v580, v582) - let v587 : unit = (fun () -> v586 (); v585) () - let v588 : string = "e" - let v589 : string = $"{v588}" - let v592 : unit = () - let v593 : (unit -> unit) = closure11(v580, v589) - let v594 : unit = (fun () -> v593 (); v592) () - let v595 : string = " = " - let v596 : string = $"{v595}" - let v599 : unit = () - let v600 : (unit -> unit) = closure11(v580, v596) - let v601 : unit = (fun () -> v600 (); v599) () - let v602 : unit = () + let v614 : string = "\u001b[91m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = method9() + let v626 : Mut4 = {l0 = v625} : Mut4 + let v627 : string = "{ " + let v628 : string = $"{v627}" + let v631 : unit = () + let v632 : (unit -> unit) = closure11(v626, v628) + let v633 : unit = (fun () -> v632 (); v631) () + let v636 : string = "e" + let v637 : string = $"{v636}" + let v640 : unit = () + let v641 : (unit -> unit) = closure11(v626, v637) + let v642 : unit = (fun () -> v641 (); v640) () + let v645 : string = " = " + let v646 : string = $"{v645}" + let v649 : unit = () + let v650 : (unit -> unit) = closure11(v626, v646) + let v651 : unit = (fun () -> v650 (); v649) () + let v654 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v603 : string = "format!(\"{:#?}\", $0)" - let v604 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v603 - let v605 : string = "fable_library_rust::String_::fromString($0)" - let v606 : string = Fable.Core.RustInterop.emitRustExpr v604 v605 - let _v602 = v606 + let v655 : string = "format!(\"{:#?}\", $0)" + let v656 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v655 + let v657 : string = "fable_library_rust::String_::fromString($0)" + let v658 : string = Fable.Core.RustInterop.emitRustExpr v656 v657 + let _v654 = v658 #endif #if FABLE_COMPILER_RUST && WASM - let v607 : string = "format!(\"{:#?}\", $0)" - let v608 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v607 - let v609 : string = "fable_library_rust::String_::fromString($0)" - let v610 : string = Fable.Core.RustInterop.emitRustExpr v608 v609 - let _v602 = v610 + let v659 : string = "format!(\"{:#?}\", $0)" + let v660 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v659 + let v661 : string = "fable_library_rust::String_::fromString($0)" + let v662 : string = Fable.Core.RustInterop.emitRustExpr v660 v661 + let _v654 = v662 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v611 : string = "format!(\"{:#?}\", $0)" - let v612 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v611 - let v613 : string = "fable_library_rust::String_::fromString($0)" - let v614 : string = Fable.Core.RustInterop.emitRustExpr v612 v613 - let _v602 = v614 + let v663 : string = "format!(\"{:#?}\", $0)" + let v664 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v663 + let v665 : string = "fable_library_rust::String_::fromString($0)" + let v666 : string = Fable.Core.RustInterop.emitRustExpr v664 v665 + let _v654 = v666 #endif #if FABLE_COMPILER_TYPESCRIPT - let v615 : string = $"%A{v0}" - let _v602 = v615 + let v667 : string = $"%A{v0}" + let _v654 = v667 #endif #if FABLE_COMPILER_PYTHON - let v618 : string = $"%A{v0}" - let _v602 = v618 + let v670 : string = $"%A{v0}" + let _v654 = v670 #endif #else - let v621 : string = $"%A{v0}" - let _v602 = v621 + let v673 : string = $"%A{v0}" + let _v654 = v673 #endif - let v624 : string = _v602 - let v629 : string = $"{v624}" - let v632 : unit = () - let v633 : (unit -> unit) = closure11(v580, v629) - let v634 : unit = (fun () -> v633 (); v632) () - let v635 : string = " }" - let v636 : string = $"{v635}" - let v639 : unit = () - let v640 : (unit -> unit) = closure11(v580, v636) - let v641 : unit = (fun () -> v640 (); v639) () - let v642 : string = v580.l0 - let v643 : (unit -> string) = closure48() - let v644 : string = $"{v439} {v572} #{v578} %s{v643 ()} / {v642}" - let v647 : char list = [] - let v648 : (char list -> (char [])) = List.toArray - let v649 : (char []) = v648 v647 - let v652 : string = v644.TrimStart v649 - let v670 : char list = [] - let v671 : char list = '/' :: v670 - let v674 : char list = ' ' :: v671 - let v677 : (char list -> (char [])) = List.toArray - let v678 : (char []) = v677 v674 - let v681 : string = v652.TrimEnd v678 - let v699 : unit = () + let v676 : string = _v654 + let v681 : string = $"{v676}" + let v684 : unit = () + let v685 : (unit -> unit) = closure11(v626, v681) + let v686 : unit = (fun () -> v685 (); v684) () + let v689 : string = " }" + let v690 : string = $"{v689}" + let v693 : unit = () + let v694 : (unit -> unit) = closure11(v626, v690) + let v695 : unit = (fun () -> v694 (); v693) () + let v698 : string = v626.l0 + let v699 : (unit -> string) = closure50() + let v700 : string = $"{v483} {v618} #{v624} %s{v699 ()} / {v698}" + let v703 : char list = [] + let v704 : (char list -> (char [])) = List.toArray + let v705 : (char []) = v704 v703 + let v708 : string = v700.TrimStart v705 + let v726 : char list = [] + let v727 : char list = '/' :: v726 + let v730 : char list = ' ' :: v727 + let v733 : (char list -> (char [])) = List.toArray + let v734 : (char []) = v733 v730 + let v737 : string = v708.TrimEnd v734 + let v755 : (string -> unit) = closure13() + let v756 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v700 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v700 - let _v699 = () + let v757 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v757 + let _v756 = () #endif #if FABLE_COMPILER_RUST && WASM - let v701 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v701 - let _v699 = () + let v758 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v758 + let _v756 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v702 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v702 - let _v699 = () + let v759 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v759 + let _v756 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif #else - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif - _v699 - let v703 : (string -> unit) = v7.l0 - v703 v681 -and closure50 (v0 : string) () : string = + _v756 + let v760 : (string -> unit) = v17.l0 + v760 v737 +and closure52 (v0 : string) () : string = v0 -and closure49 (v0 : string) () : unit = +and closure51 (v0 : string) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 0 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 0 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Verbose" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Verbose" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_bright_black" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_bright_black" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_bright_black" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_bright_black" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_bright_black" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_bright_black" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[90m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[90m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[90m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[90m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[90m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = method9() - let v580 : Mut4 = {l0 = v579} : Mut4 - let v581 : string = v580.l0 - let v582 : (unit -> string) = closure50(v0) - let v583 : string = $"{v439} {v572} #{v578} %s{v582 ()} / {v581}" - let v586 : char list = [] - let v587 : (char list -> (char [])) = List.toArray - let v588 : (char []) = v587 v586 - let v591 : string = v583.TrimStart v588 - let v609 : char list = [] - let v610 : char list = '/' :: v609 - let v613 : char list = ' ' :: v610 - let v616 : (char list -> (char [])) = List.toArray - let v617 : (char []) = v616 v613 - let v620 : string = v591.TrimEnd v617 - let v638 : unit = () + let v614 : string = "\u001b[90m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = method9() + let v626 : Mut4 = {l0 = v625} : Mut4 + let v627 : string = v626.l0 + let v628 : (unit -> string) = closure52(v0) + let v629 : string = $"{v483} {v618} #{v624} %s{v628 ()} / {v627}" + let v632 : char list = [] + let v633 : (char list -> (char [])) = List.toArray + let v634 : (char []) = v633 v632 + let v637 : string = v629.TrimStart v634 + let v655 : char list = [] + let v656 : char list = '/' :: v655 + let v659 : char list = ' ' :: v656 + let v662 : (char list -> (char [])) = List.toArray + let v663 : (char []) = v662 v659 + let v666 : string = v637.TrimEnd v663 + let v684 : (string -> unit) = closure13() + let v685 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v639 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v620 v639 - let _v638 = () + let v686 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v666 v686 + let _v685 = () #endif #if FABLE_COMPILER_RUST && WASM - let v640 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v620 v640 - let _v638 = () + let v687 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v666 v687 + let _v685 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v641 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v620 v641 - let _v638 = () + let v688 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v666 v688 + let _v685 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v620 - let _v638 = () + v684 v666 + let _v685 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v620 - let _v638 = () + v684 v666 + let _v685 = () #endif #else - System.Console.WriteLine v620 - let _v638 = () + v684 v666 + let _v685 = () #endif - _v638 - let v642 : (string -> unit) = v7.l0 - v642 v620 -and closure51 (v0 : string) () : unit = - let v1 : (string -> unit) = System.Console.WriteLine - v1 v0 + _v685 + let v689 : (string -> unit) = v17.l0 + v689 v666 and method68 (v0 : std_sync_Arc>>) : std_sync_Arc>> = v0 -and closure52 () (v0 : std_sync_mpsc_SendError) : std_string_String = +and closure53 () (v0 : std_sync_mpsc_SendError) : std_string_String = let v1 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -8023,13 +8037,13 @@ and closure52 () (v0 : std_sync_mpsc_SendError) : std_string_ let v17 : std_string_String = _v1 v17 and method69 () : (std_sync_mpsc_SendError -> std_string_String) = - closure52() + closure53() and method70 (v0 : Result) : Result = v0 -and closure53 (v0 : US24 option ref) (v1 : US24 option) : US24 option ref = +and closure54 (v0 : US24 option ref) (v1 : US24 option) : US24 option ref = v0.Value <- v1 v0 -and closure54 (v0 : (std_sync_Arc> -> unit) option, v1 : (US24 option -> US24 option ref)) () : unit = +and closure55 (v0 : (std_sync_Arc> -> unit) option, v1 : (US24 option -> US24 option ref)) () : unit = match v0 with | Some x -> ( (fun () -> @@ -8044,10 +8058,10 @@ and closure54 (v0 : (std_sync_Arc> -> uni () and method71 (v0 : std_sync_Arc>) : std_sync_Arc> = v0 -and closure55 (v0 : US25 option ref) (v1 : US25 option) : US25 option ref = +and closure56 (v0 : US25 option ref) (v1 : US25 option) : US25 option ref = v0.Value <- v1 v0 -and closure56 (v0 : std_sync_Arc> option, v1 : (US25 option -> US25 option ref)) () : unit = +and closure57 (v0 : std_sync_Arc> option, v1 : (US25 option -> US25 option ref)) () : unit = match v0 with | Some x -> ( (fun () -> @@ -8066,455 +8080,456 @@ and method73 (v0 : std_sync_MutexGuard) : std_sync_Mutex v0 and method74 (v0 : std_thread_JoinHandle>) : std_thread_JoinHandle> = v0 -and closure57 () (v0 : std_process_Output) : US26 = +and closure58 () (v0 : std_process_Output) : US26 = US26_0(v0) -and closure58 () (v0 : std_string_String) : US26 = +and closure59 () (v0 : std_string_String) : US26 = US26_1(v0) -and closure60 () () : string = +and closure61 () () : string = let v0 : string = $"runtime.execute_with_options / output error" v0 -and closure59 (v0 : std_string_String) () : unit = +and closure60 (v0 : std_string_String) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 4 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 4 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Critical" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Critical" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_bright_red" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_bright_red" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_bright_red" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_bright_red" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_bright_red" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_bright_red" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[91m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[91m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[91m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[91m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[91m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = method9() - let v580 : Mut4 = {l0 = v579} : Mut4 - let v581 : string = "{ " - let v582 : string = $"{v581}" - let v585 : unit = () - let v586 : (unit -> unit) = closure11(v580, v582) - let v587 : unit = (fun () -> v586 (); v585) () - let v588 : string = "error" - let v589 : string = $"{v588}" - let v592 : unit = () - let v593 : (unit -> unit) = closure11(v580, v589) - let v594 : unit = (fun () -> v593 (); v592) () - let v595 : string = " = " - let v596 : string = $"{v595}" - let v599 : unit = () - let v600 : (unit -> unit) = closure11(v580, v596) - let v601 : unit = (fun () -> v600 (); v599) () - let v602 : unit = () + let v614 : string = "\u001b[91m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = method9() + let v626 : Mut4 = {l0 = v625} : Mut4 + let v627 : string = "{ " + let v628 : string = $"{v627}" + let v631 : unit = () + let v632 : (unit -> unit) = closure11(v626, v628) + let v633 : unit = (fun () -> v632 (); v631) () + let v636 : string = "error" + let v637 : string = $"{v636}" + let v640 : unit = () + let v641 : (unit -> unit) = closure11(v626, v637) + let v642 : unit = (fun () -> v641 (); v640) () + let v645 : string = " = " + let v646 : string = $"{v645}" + let v649 : unit = () + let v650 : (unit -> unit) = closure11(v626, v646) + let v651 : unit = (fun () -> v650 (); v649) () + let v654 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v603 : string = "format!(\"{:#?}\", $0)" - let v604 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v603 - let v605 : string = "fable_library_rust::String_::fromString($0)" - let v606 : string = Fable.Core.RustInterop.emitRustExpr v604 v605 - let _v602 = v606 + let v655 : string = "format!(\"{:#?}\", $0)" + let v656 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v655 + let v657 : string = "fable_library_rust::String_::fromString($0)" + let v658 : string = Fable.Core.RustInterop.emitRustExpr v656 v657 + let _v654 = v658 #endif #if FABLE_COMPILER_RUST && WASM - let v607 : string = "format!(\"{:#?}\", $0)" - let v608 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v607 - let v609 : string = "fable_library_rust::String_::fromString($0)" - let v610 : string = Fable.Core.RustInterop.emitRustExpr v608 v609 - let _v602 = v610 + let v659 : string = "format!(\"{:#?}\", $0)" + let v660 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v659 + let v661 : string = "fable_library_rust::String_::fromString($0)" + let v662 : string = Fable.Core.RustInterop.emitRustExpr v660 v661 + let _v654 = v662 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v611 : string = "format!(\"{:#?}\", $0)" - let v612 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v611 - let v613 : string = "fable_library_rust::String_::fromString($0)" - let v614 : string = Fable.Core.RustInterop.emitRustExpr v612 v613 - let _v602 = v614 + let v663 : string = "format!(\"{:#?}\", $0)" + let v664 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v663 + let v665 : string = "fable_library_rust::String_::fromString($0)" + let v666 : string = Fable.Core.RustInterop.emitRustExpr v664 v665 + let _v654 = v666 #endif #if FABLE_COMPILER_TYPESCRIPT - let v615 : string = $"%A{v0}" - let _v602 = v615 + let v667 : string = $"%A{v0}" + let _v654 = v667 #endif #if FABLE_COMPILER_PYTHON - let v618 : string = $"%A{v0}" - let _v602 = v618 + let v670 : string = $"%A{v0}" + let _v654 = v670 #endif #else - let v621 : string = $"%A{v0}" - let _v602 = v621 + let v673 : string = $"%A{v0}" + let _v654 = v673 #endif - let v624 : string = _v602 - let v629 : string = $"{v624}" - let v632 : unit = () - let v633 : (unit -> unit) = closure11(v580, v629) - let v634 : unit = (fun () -> v633 (); v632) () - let v635 : string = " }" - let v636 : string = $"{v635}" - let v639 : unit = () - let v640 : (unit -> unit) = closure11(v580, v636) - let v641 : unit = (fun () -> v640 (); v639) () - let v642 : string = v580.l0 - let v643 : (unit -> string) = closure60() - let v644 : string = $"{v439} {v572} #{v578} %s{v643 ()} / {v642}" - let v647 : char list = [] - let v648 : (char list -> (char [])) = List.toArray - let v649 : (char []) = v648 v647 - let v652 : string = v644.TrimStart v649 - let v670 : char list = [] - let v671 : char list = '/' :: v670 - let v674 : char list = ' ' :: v671 - let v677 : (char list -> (char [])) = List.toArray - let v678 : (char []) = v677 v674 - let v681 : string = v652.TrimEnd v678 - let v699 : unit = () + let v676 : string = _v654 + let v681 : string = $"{v676}" + let v684 : unit = () + let v685 : (unit -> unit) = closure11(v626, v681) + let v686 : unit = (fun () -> v685 (); v684) () + let v689 : string = " }" + let v690 : string = $"{v689}" + let v693 : unit = () + let v694 : (unit -> unit) = closure11(v626, v690) + let v695 : unit = (fun () -> v694 (); v693) () + let v698 : string = v626.l0 + let v699 : (unit -> string) = closure61() + let v700 : string = $"{v483} {v618} #{v624} %s{v699 ()} / {v698}" + let v703 : char list = [] + let v704 : (char list -> (char [])) = List.toArray + let v705 : (char []) = v704 v703 + let v708 : string = v700.TrimStart v705 + let v726 : char list = [] + let v727 : char list = '/' :: v726 + let v730 : char list = ' ' :: v727 + let v733 : (char list -> (char [])) = List.toArray + let v734 : (char []) = v733 v730 + let v737 : string = v708.TrimEnd v734 + let v755 : (string -> unit) = closure13() + let v756 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v700 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v700 - let _v699 = () + let v757 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v757 + let _v756 = () #endif #if FABLE_COMPILER_RUST && WASM - let v701 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v701 - let _v699 = () + let v758 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v758 + let _v756 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v702 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v702 - let _v699 = () + let v759 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v759 + let _v756 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif #else - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif - _v699 - let v703 : (string -> unit) = v7.l0 - v703 v681 -and closure61 (v0 : US27 option ref) (v1 : US27 option) : US27 option ref = + _v756 + let v760 : (string -> unit) = v17.l0 + v760 v737 +and closure62 (v0 : US27 option ref) (v1 : US27 option) : US27 option ref = v0.Value <- v1 v0 -and closure62 (v0 : int32 option, v1 : (US27 option -> US27 option ref)) () : unit = +and closure63 (v0 : int32 option, v1 : (US27 option -> US27 option ref)) () : unit = match v0 with | Some x -> ( (fun () -> @@ -8529,1115 +8544,1117 @@ and closure62 (v0 : int32 option, v1 : (US27 option -> US27 option ref)) () : un () and method75 (v0 : std_sync_Arc>>>) : std_sync_Arc>>> = v0 -and closure64 () () : string = +and closure65 () () : string = let v0 : string = $"runtime.execute_with_options / result" v0 -and closure63 (v0 : int32, v1 : string) () : unit = +and closure64 (v0 : int32, v1 : string) () : unit = let v2 : unit = () let v3 : (unit -> unit) = closure7() let v4 : unit = (fun () -> v3 (); v2) () - let struct (v7 : Mut0, v8 : Mut1, v9 : Mut2, v10 : Mut3, v11 : int64 option) = State.trace_state.Value - let v22 : unit = () - let v23 : unit = (fun () -> v3 (); v22) () - let struct (v26 : Mut0, v27 : Mut1, v28 : Mut2, v29 : Mut3, v30 : int64 option) = State.trace_state.Value - let v41 : US0 = v29.l0 - let v42 : bool = v28.l0 - let v43 : bool = v42 = false - let v46 : bool = - if v43 then + let struct (v17 : Mut0, v18 : Mut1, v19 : Mut2, v20 : Mut3, v21 : int64 option) = State.trace_state.Value + let v32 : unit = () + let v33 : unit = (fun () -> v3 (); v32) () + let struct (v46 : Mut0, v47 : Mut1, v48 : Mut2, v49 : Mut3, v50 : int64 option) = State.trace_state.Value + let v61 : US0 = v49.l0 + let v62 : bool = v48.l0 + let v63 : bool = v62 = false + let v66 : bool = + if v63 then false else - let v44 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v41 - let v45 : bool = 0 >= v44 - v45 - if v46 then - let v47 : unit = () - let v48 : (unit -> unit) = closure8(v7) - let v49 : unit = (fun () -> v48 (); v47) () - let v50 : unit = () - let v51 : unit = (fun () -> v3 (); v50) () - let struct (v54 : Mut0, v55 : Mut1, v56 : Mut2, v57 : Mut3, v58 : int64 option) = State.trace_state.Value - let v69 : unit = () + let v64 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v61 + let v65 : bool = 0 >= v64 + v65 + if v66 then + let v67 : unit = () + let v68 : (unit -> unit) = closure8(v17) + let v69 : unit = (fun () -> v68 (); v67) () + let v72 : unit = () + let v73 : unit = (fun () -> v3 (); v72) () + let struct (v86 : Mut0, v87 : Mut1, v88 : Mut2, v89 : Mut3, v90 : int64 option) = State.trace_state.Value + let v101 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v70 : US3 option = None - let _v70 = ref v70 - let v71 : US3 option ref = _v70 - let v72 : (US3 option -> US3 option ref) = closure9(v71) - let v73 : unit = () - let v74 : (unit -> unit) = closure10(v58, v72) - let v75 : unit = (fun () -> v74 (); v73) () - let v76 : US3 option = _v70.Value - let v87 : US3 = US3_1 - let v88 : US3 = v76 |> Option.defaultValue v87 - let v128 : System.DateTime = - match v88 with + let v102 : US3 option = None + let _v102 = ref v102 + let v103 : US3 option ref = _v102 + let v104 : (US3 option -> US3 option ref) = closure9(v103) + let v105 : unit = () + let v106 : (unit -> unit) = closure10(v90, v104) + let v107 : unit = (fun () -> v106 (); v105) () + let v110 : US3 option = _v102.Value + let v121 : US3 = US3_1 + let v122 : US3 = v110 |> Option.defaultValue v121 + let v162 : System.DateTime = + match v122 with | US3_1 -> (* None *) - let v124 : System.DateTime = System.DateTime.Now - v124 - | US3_0(v92) -> (* Some *) - let v93 : System.DateTime = System.DateTime.Now - let v96 : (System.DateTime -> int64) = _.Ticks - let v97 : int64 = v96 v93 - let v100 : int64 = v97 - v92 - let v101 : (int64 -> System.TimeSpan) = System.TimeSpan - let v102 : System.TimeSpan = v101 v100 - let v105 : (System.TimeSpan -> int32) = _.Hours - let v106 : int32 = v105 v102 - let v109 : (System.TimeSpan -> int32) = _.Minutes - let v110 : int32 = v109 v102 - let v113 : (System.TimeSpan -> int32) = _.Seconds - let v114 : int32 = v113 v102 - let v117 : (System.TimeSpan -> int32) = _.Milliseconds - let v118 : int32 = v117 v102 - let v121 : System.DateTime = System.DateTime (1, 1, 1, v106, v110, v114, v118) - v121 - let v129 : string = method6() - let v132 : (string -> string) = v128.ToString - let v133 : string = v132 v129 - let _v69 = v133 + let v158 : System.DateTime = System.DateTime.Now + v158 + | US3_0(v126) -> (* Some *) + let v127 : System.DateTime = System.DateTime.Now + let v130 : (System.DateTime -> int64) = _.Ticks + let v131 : int64 = v130 v127 + let v134 : int64 = v131 - v126 + let v135 : (int64 -> System.TimeSpan) = System.TimeSpan + let v136 : System.TimeSpan = v135 v134 + let v139 : (System.TimeSpan -> int32) = _.Hours + let v140 : int32 = v139 v136 + let v143 : (System.TimeSpan -> int32) = _.Minutes + let v144 : int32 = v143 v136 + let v147 : (System.TimeSpan -> int32) = _.Seconds + let v148 : int32 = v147 v136 + let v151 : (System.TimeSpan -> int32) = _.Milliseconds + let v152 : int32 = v151 v136 + let v155 : System.DateTime = System.DateTime (1, 1, 1, v140, v144, v148, v152) + v155 + let v163 : string = method6() + let v166 : (string -> string) = v162.ToString + let v167 : string = v166 v163 + let _v101 = v167 #endif #if FABLE_COMPILER_RUST && WASM - let v136 : US3 option = None - let _v136 = ref v136 - let v137 : US3 option ref = _v136 - let v138 : (US3 option -> US3 option ref) = closure9(v137) - let v139 : unit = () - let v140 : (unit -> unit) = closure10(v58, v138) - let v141 : unit = (fun () -> v140 (); v139) () - let v142 : US3 option = _v136.Value - let v153 : US3 = US3_1 - let v154 : US3 = v142 |> Option.defaultValue v153 - let v194 : System.DateTime = - match v154 with + let v170 : US3 option = None + let _v170 = ref v170 + let v171 : US3 option ref = _v170 + let v172 : (US3 option -> US3 option ref) = closure9(v171) + let v173 : unit = () + let v174 : (unit -> unit) = closure10(v90, v172) + let v175 : unit = (fun () -> v174 (); v173) () + let v178 : US3 option = _v170.Value + let v189 : US3 = US3_1 + let v190 : US3 = v178 |> Option.defaultValue v189 + let v230 : System.DateTime = + match v190 with | US3_1 -> (* None *) - let v190 : System.DateTime = System.DateTime.Now - v190 - | US3_0(v158) -> (* Some *) - let v159 : System.DateTime = System.DateTime.Now - let v162 : (System.DateTime -> int64) = _.Ticks - let v163 : int64 = v162 v159 - let v166 : int64 = v163 - v158 - let v167 : (int64 -> System.TimeSpan) = System.TimeSpan - let v168 : System.TimeSpan = v167 v166 - let v171 : (System.TimeSpan -> int32) = _.Hours - let v172 : int32 = v171 v168 - let v175 : (System.TimeSpan -> int32) = _.Minutes - let v176 : int32 = v175 v168 - let v179 : (System.TimeSpan -> int32) = _.Seconds - let v180 : int32 = v179 v168 - let v183 : (System.TimeSpan -> int32) = _.Milliseconds - let v184 : int32 = v183 v168 - let v187 : System.DateTime = System.DateTime (1, 1, 1, v172, v176, v180, v184) - v187 - let v195 : string = method6() - let v198 : (string -> string) = v194.ToString - let v199 : string = v198 v195 - let _v69 = v199 + let v226 : System.DateTime = System.DateTime.Now + v226 + | US3_0(v194) -> (* Some *) + let v195 : System.DateTime = System.DateTime.Now + let v198 : (System.DateTime -> int64) = _.Ticks + let v199 : int64 = v198 v195 + let v202 : int64 = v199 - v194 + let v203 : (int64 -> System.TimeSpan) = System.TimeSpan + let v204 : System.TimeSpan = v203 v202 + let v207 : (System.TimeSpan -> int32) = _.Hours + let v208 : int32 = v207 v204 + let v211 : (System.TimeSpan -> int32) = _.Minutes + let v212 : int32 = v211 v204 + let v215 : (System.TimeSpan -> int32) = _.Seconds + let v216 : int32 = v215 v204 + let v219 : (System.TimeSpan -> int32) = _.Milliseconds + let v220 : int32 = v219 v204 + let v223 : System.DateTime = System.DateTime (1, 1, 1, v208, v212, v216, v220) + v223 + let v231 : string = method6() + let v234 : (string -> string) = v230.ToString + let v235 : string = v234 v231 + let _v101 = v235 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v202 : string = $"near_sdk::env::block_timestamp()" - let v203 : uint64 = Fable.Core.RustInterop.emitRustExpr () v202 - let v204 : US3 option = None - let _v204 = ref v204 - let v205 : US3 option ref = _v204 - let v206 : (US3 option -> US3 option ref) = closure9(v205) - let v207 : unit = () - let v208 : (unit -> unit) = closure10(v58, v206) - let v209 : unit = (fun () -> v208 (); v207) () - let v210 : US3 option = _v204.Value - let v221 : US3 = US3_1 - let v222 : US3 = v210 |> Option.defaultValue v221 - let v231 : uint64 = - match v222 with - | US3_1 -> (* None *) - v203 - | US3_0(v226) -> (* Some *) - let v227 : (int64 -> uint64) = uint64 - let v228 : uint64 = v227 v226 - let v229 : uint64 = v203 - v228 - v229 - let v232 : uint64 = v231 / 1000000000UL - let v233 : uint64 = v232 % 60UL - let v234 : uint64 = v232 / 60UL - let v235 : uint64 = v234 % 60UL - let v236 : uint64 = v232 / 3600UL - let v237 : uint64 = v236 % 24UL - let v238 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v239 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v237, v235, v233) v238 - let v240 : string = "fable_library_rust::String_::fromString($0)" - let v241 : string = Fable.Core.RustInterop.emitRustExpr v239 v240 - let _v69 = v241 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v242 : US3 option = None - let _v242 = ref v242 - let v243 : US3 option ref = _v242 - let v244 : (US3 option -> US3 option ref) = closure9(v243) - let v245 : unit = () - let v246 : (unit -> unit) = closure10(v58, v244) - let v247 : unit = (fun () -> v246 (); v245) () - let v248 : US3 option = _v242.Value + let v238 : string = $"near_sdk::env::block_timestamp()" + let v239 : uint64 = Fable.Core.RustInterop.emitRustExpr () v238 + let v240 : US3 option = None + let _v240 = ref v240 + let v241 : US3 option ref = _v240 + let v242 : (US3 option -> US3 option ref) = closure9(v241) + let v243 : unit = () + let v244 : (unit -> unit) = closure10(v90, v242) + let v245 : unit = (fun () -> v244 (); v243) () + let v248 : US3 option = _v240.Value let v259 : US3 = US3_1 let v260 : US3 = v248 |> Option.defaultValue v259 - let v300 : System.DateTime = + let v269 : uint64 = match v260 with | US3_1 -> (* None *) - let v296 : System.DateTime = System.DateTime.Now - v296 + v239 | US3_0(v264) -> (* Some *) - let v265 : System.DateTime = System.DateTime.Now - let v268 : (System.DateTime -> int64) = _.Ticks - let v269 : int64 = v268 v265 - let v272 : int64 = v269 - v264 - let v273 : (int64 -> System.TimeSpan) = System.TimeSpan - let v274 : System.TimeSpan = v273 v272 - let v277 : (System.TimeSpan -> int32) = _.Hours - let v278 : int32 = v277 v274 - let v281 : (System.TimeSpan -> int32) = _.Minutes - let v282 : int32 = v281 v274 - let v285 : (System.TimeSpan -> int32) = _.Seconds - let v286 : int32 = v285 v274 - let v289 : (System.TimeSpan -> int32) = _.Milliseconds - let v290 : int32 = v289 v274 - let v293 : System.DateTime = System.DateTime (1, 1, 1, v278, v282, v286, v290) - v293 - let v301 : string = method7() - let v304 : (string -> string) = v300.ToString - let v305 : string = v304 v301 - let _v69 = v305 + let v265 : (int64 -> uint64) = uint64 + let v266 : uint64 = v265 v264 + let v267 : uint64 = v239 - v266 + v267 + let v270 : uint64 = v269 / 1000000000UL + let v271 : uint64 = v270 % 60UL + let v272 : uint64 = v270 / 60UL + let v273 : uint64 = v272 % 60UL + let v274 : uint64 = v270 / 3600UL + let v275 : uint64 = v274 % 24UL + let v276 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v277 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v275, v273, v271) v276 + let v278 : string = "fable_library_rust::String_::fromString($0)" + let v279 : string = Fable.Core.RustInterop.emitRustExpr v277 v278 + let _v101 = v279 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v280 : US3 option = None + let _v280 = ref v280 + let v281 : US3 option ref = _v280 + let v282 : (US3 option -> US3 option ref) = closure9(v281) + let v283 : unit = () + let v284 : (unit -> unit) = closure10(v90, v282) + let v285 : unit = (fun () -> v284 (); v283) () + let v288 : US3 option = _v280.Value + let v299 : US3 = US3_1 + let v300 : US3 = v288 |> Option.defaultValue v299 + let v340 : System.DateTime = + match v300 with + | US3_1 -> (* None *) + let v336 : System.DateTime = System.DateTime.Now + v336 + | US3_0(v304) -> (* Some *) + let v305 : System.DateTime = System.DateTime.Now + let v308 : (System.DateTime -> int64) = _.Ticks + let v309 : int64 = v308 v305 + let v312 : int64 = v309 - v304 + let v313 : (int64 -> System.TimeSpan) = System.TimeSpan + let v314 : System.TimeSpan = v313 v312 + let v317 : (System.TimeSpan -> int32) = _.Hours + let v318 : int32 = v317 v314 + let v321 : (System.TimeSpan -> int32) = _.Minutes + let v322 : int32 = v321 v314 + let v325 : (System.TimeSpan -> int32) = _.Seconds + let v326 : int32 = v325 v314 + let v329 : (System.TimeSpan -> int32) = _.Milliseconds + let v330 : int32 = v329 v314 + let v333 : System.DateTime = System.DateTime (1, 1, 1, v318, v322, v326, v330) + v333 + let v341 : string = method7() + let v344 : (string -> string) = v340.ToString + let v345 : string = v344 v341 + let _v101 = v345 #endif #if FABLE_COMPILER_PYTHON - let v308 : US3 option = None - let _v308 = ref v308 - let v309 : US3 option ref = _v308 - let v310 : (US3 option -> US3 option ref) = closure9(v309) - let v311 : unit = () - let v312 : (unit -> unit) = closure10(v58, v310) - let v313 : unit = (fun () -> v312 (); v311) () - let v314 : US3 option = _v308.Value - let v325 : US3 = US3_1 - let v326 : US3 = v314 |> Option.defaultValue v325 - let v366 : System.DateTime = - match v326 with + let v348 : US3 option = None + let _v348 = ref v348 + let v349 : US3 option ref = _v348 + let v350 : (US3 option -> US3 option ref) = closure9(v349) + let v351 : unit = () + let v352 : (unit -> unit) = closure10(v90, v350) + let v353 : unit = (fun () -> v352 (); v351) () + let v356 : US3 option = _v348.Value + let v367 : US3 = US3_1 + let v368 : US3 = v356 |> Option.defaultValue v367 + let v408 : System.DateTime = + match v368 with | US3_1 -> (* None *) - let v362 : System.DateTime = System.DateTime.Now - v362 - | US3_0(v330) -> (* Some *) - let v331 : System.DateTime = System.DateTime.Now - let v334 : (System.DateTime -> int64) = _.Ticks - let v335 : int64 = v334 v331 - let v338 : int64 = v335 - v330 - let v339 : (int64 -> System.TimeSpan) = System.TimeSpan - let v340 : System.TimeSpan = v339 v338 - let v343 : (System.TimeSpan -> int32) = _.Hours - let v344 : int32 = v343 v340 - let v347 : (System.TimeSpan -> int32) = _.Minutes - let v348 : int32 = v347 v340 - let v351 : (System.TimeSpan -> int32) = _.Seconds - let v352 : int32 = v351 v340 - let v355 : (System.TimeSpan -> int32) = _.Milliseconds - let v356 : int32 = v355 v340 - let v359 : System.DateTime = System.DateTime (1, 1, 1, v344, v348, v352, v356) - v359 - let v367 : string = method7() - let v370 : (string -> string) = v366.ToString - let v371 : string = v370 v367 - let _v69 = v371 + let v404 : System.DateTime = System.DateTime.Now + v404 + | US3_0(v372) -> (* Some *) + let v373 : System.DateTime = System.DateTime.Now + let v376 : (System.DateTime -> int64) = _.Ticks + let v377 : int64 = v376 v373 + let v380 : int64 = v377 - v372 + let v381 : (int64 -> System.TimeSpan) = System.TimeSpan + let v382 : System.TimeSpan = v381 v380 + let v385 : (System.TimeSpan -> int32) = _.Hours + let v386 : int32 = v385 v382 + let v389 : (System.TimeSpan -> int32) = _.Minutes + let v390 : int32 = v389 v382 + let v393 : (System.TimeSpan -> int32) = _.Seconds + let v394 : int32 = v393 v382 + let v397 : (System.TimeSpan -> int32) = _.Milliseconds + let v398 : int32 = v397 v382 + let v401 : System.DateTime = System.DateTime (1, 1, 1, v386, v390, v394, v398) + v401 + let v409 : string = method7() + let v412 : (string -> string) = v408.ToString + let v413 : string = v412 v409 + let _v101 = v413 #endif #else - let v374 : US3 option = None - let _v374 = ref v374 - let v375 : US3 option ref = _v374 - let v376 : (US3 option -> US3 option ref) = closure9(v375) - let v377 : unit = () - let v378 : (unit -> unit) = closure10(v58, v376) - let v379 : unit = (fun () -> v378 (); v377) () - let v380 : US3 option = _v374.Value - let v391 : US3 = US3_1 - let v392 : US3 = v380 |> Option.defaultValue v391 - let v432 : System.DateTime = - match v392 with + let v416 : US3 option = None + let _v416 = ref v416 + let v417 : US3 option ref = _v416 + let v418 : (US3 option -> US3 option ref) = closure9(v417) + let v419 : unit = () + let v420 : (unit -> unit) = closure10(v90, v418) + let v421 : unit = (fun () -> v420 (); v419) () + let v424 : US3 option = _v416.Value + let v435 : US3 = US3_1 + let v436 : US3 = v424 |> Option.defaultValue v435 + let v476 : System.DateTime = + match v436 with | US3_1 -> (* None *) - let v428 : System.DateTime = System.DateTime.Now - v428 - | US3_0(v396) -> (* Some *) - let v397 : System.DateTime = System.DateTime.Now - let v400 : (System.DateTime -> int64) = _.Ticks - let v401 : int64 = v400 v397 - let v404 : int64 = v401 - v396 - let v405 : (int64 -> System.TimeSpan) = System.TimeSpan - let v406 : System.TimeSpan = v405 v404 - let v409 : (System.TimeSpan -> int32) = _.Hours - let v410 : int32 = v409 v406 - let v413 : (System.TimeSpan -> int32) = _.Minutes - let v414 : int32 = v413 v406 - let v417 : (System.TimeSpan -> int32) = _.Seconds - let v418 : int32 = v417 v406 - let v421 : (System.TimeSpan -> int32) = _.Milliseconds - let v422 : int32 = v421 v406 - let v425 : System.DateTime = System.DateTime (1, 1, 1, v410, v414, v418, v422) - v425 - let v433 : string = method7() - let v436 : (string -> string) = v432.ToString - let v437 : string = v436 v433 - let _v69 = v437 - #endif - let v440 : string = _v69 - let v508 : string = "Verbose" - let v509 : (unit -> string) = v508.ToLower - let v510 : string = v509 () - let v513 : string = v510.PadLeft (7, ' ') - let v527 : unit = () + let v472 : System.DateTime = System.DateTime.Now + v472 + | US3_0(v440) -> (* Some *) + let v441 : System.DateTime = System.DateTime.Now + let v444 : (System.DateTime -> int64) = _.Ticks + let v445 : int64 = v444 v441 + let v448 : int64 = v445 - v440 + let v449 : (int64 -> System.TimeSpan) = System.TimeSpan + let v450 : System.TimeSpan = v449 v448 + let v453 : (System.TimeSpan -> int32) = _.Hours + let v454 : int32 = v453 v450 + let v457 : (System.TimeSpan -> int32) = _.Minutes + let v458 : int32 = v457 v450 + let v461 : (System.TimeSpan -> int32) = _.Seconds + let v462 : int32 = v461 v450 + let v465 : (System.TimeSpan -> int32) = _.Milliseconds + let v466 : int32 = v465 v450 + let v469 : System.DateTime = System.DateTime (1, 1, 1, v454, v458, v462, v466) + v469 + let v477 : string = method7() + let v480 : (string -> string) = v476.ToString + let v481 : string = v480 v477 + let _v101 = v481 + #endif + let v484 : string = _v101 + let v554 : string = "Verbose" + let v555 : (unit -> string) = v554.ToLower + let v556 : string = v555 () + let v559 : string = v556.PadLeft (7, ' ') + let v573 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v528 : string = "inline_colorization::color_bright_black" - let v529 : Ref = Fable.Core.RustInterop.emitRustExpr () v528 - let v530 : string = "&*$0" - let v531 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v530 - let v532 : string = "inline_colorization::color_reset" - let v533 : Ref = Fable.Core.RustInterop.emitRustExpr () v532 - let v534 : string = "\"{v529}{v531}{v533}\"" - let v535 : string = @$"format!(" + v534 + ")" - let v536 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v535 - let v537 : string = "fable_library_rust::String_::fromString($0)" - let v538 : string = Fable.Core.RustInterop.emitRustExpr v536 v537 - let _v527 = v538 + let v574 : string = "inline_colorization::color_bright_black" + let v575 : Ref = Fable.Core.RustInterop.emitRustExpr () v574 + let v576 : string = "&*$0" + let v577 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v576 + let v578 : string = "inline_colorization::color_reset" + let v579 : Ref = Fable.Core.RustInterop.emitRustExpr () v578 + let v580 : string = "\"{v575}{v577}{v579}\"" + let v581 : string = @$"format!(" + v580 + ")" + let v582 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v581 + let v583 : string = "fable_library_rust::String_::fromString($0)" + let v584 : string = Fable.Core.RustInterop.emitRustExpr v582 v583 + let _v573 = v584 #endif #if FABLE_COMPILER_RUST && WASM - let v539 : string = "inline_colorization::color_bright_black" - let v540 : Ref = Fable.Core.RustInterop.emitRustExpr () v539 - let v541 : string = "&*$0" - let v542 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v541 - let v543 : string = "inline_colorization::color_reset" - let v544 : Ref = Fable.Core.RustInterop.emitRustExpr () v543 - let v545 : string = "\"{v540}{v542}{v544}\"" - let v546 : string = @$"format!(" + v545 + ")" - let v547 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v546 - let v548 : string = "fable_library_rust::String_::fromString($0)" - let v549 : string = Fable.Core.RustInterop.emitRustExpr v547 v548 - let _v527 = v549 + let v585 : string = "inline_colorization::color_bright_black" + let v586 : Ref = Fable.Core.RustInterop.emitRustExpr () v585 + let v587 : string = "&*$0" + let v588 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v587 + let v589 : string = "inline_colorization::color_reset" + let v590 : Ref = Fable.Core.RustInterop.emitRustExpr () v589 + let v591 : string = "\"{v586}{v588}{v590}\"" + let v592 : string = @$"format!(" + v591 + ")" + let v593 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v592 + let v594 : string = "fable_library_rust::String_::fromString($0)" + let v595 : string = Fable.Core.RustInterop.emitRustExpr v593 v594 + let _v573 = v595 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v550 : string = "inline_colorization::color_bright_black" - let v551 : Ref = Fable.Core.RustInterop.emitRustExpr () v550 - let v552 : string = "&*$0" - let v553 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v552 - let v554 : string = "inline_colorization::color_reset" - let v555 : Ref = Fable.Core.RustInterop.emitRustExpr () v554 - let v556 : string = "\"{v551}{v553}{v555}\"" - let v557 : string = @$"format!(" + v556 + ")" - let v558 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v557 - let v559 : string = "fable_library_rust::String_::fromString($0)" - let v560 : string = Fable.Core.RustInterop.emitRustExpr v558 v559 - let _v527 = v560 + let v596 : string = "inline_colorization::color_bright_black" + let v597 : Ref = Fable.Core.RustInterop.emitRustExpr () v596 + let v598 : string = "&*$0" + let v599 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v598 + let v600 : string = "inline_colorization::color_reset" + let v601 : Ref = Fable.Core.RustInterop.emitRustExpr () v600 + let v602 : string = "\"{v597}{v599}{v601}\"" + let v603 : string = @$"format!(" + v602 + ")" + let v604 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v603 + let v605 : string = "fable_library_rust::String_::fromString($0)" + let v606 : string = Fable.Core.RustInterop.emitRustExpr v604 v605 + let _v573 = v606 #endif #if FABLE_COMPILER_TYPESCRIPT - let v561 : string = "\u001b[90m" - let v562 : string = method8() - let v563 : string = v561 + v513 - let v564 : string = v563 + v562 - let _v527 = v564 + let v607 : string = "\u001b[90m" + let v608 : string = method8() + let v609 : string = v607 + v559 + let v610 : string = v609 + v608 + let _v573 = v610 #endif #if FABLE_COMPILER_PYTHON - let v565 : string = "\u001b[90m" - let v566 : string = method8() - let v567 : string = v565 + v513 - let v568 : string = v567 + v566 - let _v527 = v568 + let v611 : string = "\u001b[90m" + let v612 : string = method8() + let v613 : string = v611 + v559 + let v614 : string = v613 + v612 + let _v573 = v614 #endif #else - let v569 : string = "\u001b[90m" - let v570 : string = method8() - let v571 : string = v569 + v513 - let v572 : string = v571 + v570 - let _v527 = v572 - #endif - let v573 : string = _v527 - let v579 : int64 = v54.l0 - let v580 : int32 = v1.Length - let v581 : string = method9() - let v582 : Mut4 = {l0 = v581} : Mut4 - let v583 : string = "{ " - let v584 : string = $"{v583}" - let v587 : unit = () - let v588 : (unit -> unit) = closure11(v582, v584) - let v589 : unit = (fun () -> v588 (); v587) () - let v590 : string = "exit_code" - let v591 : string = $"{v590}" - let v594 : unit = () - let v595 : (unit -> unit) = closure11(v582, v591) - let v596 : unit = (fun () -> v595 (); v594) () - let v597 : string = " = " - let v598 : string = $"{v597}" - let v601 : unit = () - let v602 : (unit -> unit) = closure11(v582, v598) - let v603 : unit = (fun () -> v602 (); v601) () - let v604 : string = $"{v0}" - let v607 : unit = () - let v608 : (unit -> unit) = closure11(v582, v604) - let v609 : unit = (fun () -> v608 (); v607) () - let v610 : string = "; " - let v611 : string = $"{v610}" - let v614 : unit = () - let v615 : (unit -> unit) = closure11(v582, v611) - let v616 : unit = (fun () -> v615 (); v614) () - let v617 : string = "std_trace_length" - let v618 : string = $"{v617}" - let v621 : unit = () - let v622 : (unit -> unit) = closure11(v582, v618) - let v623 : unit = (fun () -> v622 (); v621) () - let v624 : string = $"{v597}" - let v627 : unit = () - let v628 : (unit -> unit) = closure11(v582, v624) - let v629 : unit = (fun () -> v628 (); v627) () - let v630 : string = $"{v580}" + let v615 : string = "\u001b[90m" + let v616 : string = method8() + let v617 : string = v615 + v559 + let v618 : string = v617 + v616 + let _v573 = v618 + #endif + let v619 : string = _v573 + let v625 : int64 = v86.l0 + let v626 : int32 = v1.Length + let v627 : string = method9() + let v628 : Mut4 = {l0 = v627} : Mut4 + let v629 : string = "{ " + let v630 : string = $"{v629}" let v633 : unit = () - let v634 : (unit -> unit) = closure11(v582, v630) + let v634 : (unit -> unit) = closure11(v628, v630) let v635 : unit = (fun () -> v634 (); v633) () - let v636 : string = " }" - let v637 : string = $"{v636}" - let v640 : unit = () - let v641 : (unit -> unit) = closure11(v582, v637) - let v642 : unit = (fun () -> v641 (); v640) () - let v643 : string = v582.l0 - let v644 : (unit -> string) = closure64() - let v645 : string = $"{v440} {v573} #{v579} %s{v644 ()} / {v643}" - let v648 : char list = [] - let v649 : (char list -> (char [])) = List.toArray - let v650 : (char []) = v649 v648 - let v653 : string = v645.TrimStart v650 - let v671 : char list = [] - let v672 : char list = '/' :: v671 - let v675 : char list = ' ' :: v672 - let v678 : (char list -> (char [])) = List.toArray - let v679 : (char []) = v678 v675 - let v682 : string = v653.TrimEnd v679 - let v700 : unit = () + let v638 : string = "exit_code" + let v639 : string = $"{v638}" + let v642 : unit = () + let v643 : (unit -> unit) = closure11(v628, v639) + let v644 : unit = (fun () -> v643 (); v642) () + let v647 : string = " = " + let v648 : string = $"{v647}" + let v651 : unit = () + let v652 : (unit -> unit) = closure11(v628, v648) + let v653 : unit = (fun () -> v652 (); v651) () + let v656 : string = $"{v0}" + let v659 : unit = () + let v660 : (unit -> unit) = closure11(v628, v656) + let v661 : unit = (fun () -> v660 (); v659) () + let v664 : string = "; " + let v665 : string = $"{v664}" + let v668 : unit = () + let v669 : (unit -> unit) = closure11(v628, v665) + let v670 : unit = (fun () -> v669 (); v668) () + let v673 : string = "std_trace_length" + let v674 : string = $"{v673}" + let v677 : unit = () + let v678 : (unit -> unit) = closure11(v628, v674) + let v679 : unit = (fun () -> v678 (); v677) () + let v682 : string = $"{v647}" + let v685 : unit = () + let v686 : (unit -> unit) = closure11(v628, v682) + let v687 : unit = (fun () -> v686 (); v685) () + let v690 : string = $"{v626}" + let v693 : unit = () + let v694 : (unit -> unit) = closure11(v628, v690) + let v695 : unit = (fun () -> v694 (); v693) () + let v698 : string = " }" + let v699 : string = $"{v698}" + let v702 : unit = () + let v703 : (unit -> unit) = closure11(v628, v699) + let v704 : unit = (fun () -> v703 (); v702) () + let v707 : string = v628.l0 + let v708 : (unit -> string) = closure65() + let v709 : string = $"{v484} {v619} #{v625} %s{v708 ()} / {v707}" + let v712 : char list = [] + let v713 : (char list -> (char [])) = List.toArray + let v714 : (char []) = v713 v712 + let v717 : string = v709.TrimStart v714 + let v735 : char list = [] + let v736 : char list = '/' :: v735 + let v739 : char list = ' ' :: v736 + let v742 : (char list -> (char [])) = List.toArray + let v743 : (char []) = v742 v739 + let v746 : string = v717.TrimEnd v743 + let v764 : (string -> unit) = closure13() + let v765 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v701 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v682 v701 - let _v700 = () + let v766 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v746 v766 + let _v765 = () #endif #if FABLE_COMPILER_RUST && WASM - let v702 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v682 v702 - let _v700 = () + let v767 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v746 v767 + let _v765 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v703 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v682 v703 - let _v700 = () + let v768 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v746 v768 + let _v765 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v682 - let _v700 = () + v764 v746 + let _v765 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v682 - let _v700 = () + v764 v746 + let _v765 = () #endif #else - System.Console.WriteLine v682 - let _v700 = () + v764 v746 + let _v765 = () #endif - _v700 - let v704 : (string -> unit) = v8.l0 - v704 v682 -and closure66 () () : string = + _v765 + let v769 : (string -> unit) = v18.l0 + v769 v746 +and closure67 () () : string = let v0 : string = $"runtime.execute_with_options_async" v0 -and closure65 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) () : unit = +and closure66 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) () : unit = let v7 : unit = () let v8 : (unit -> unit) = closure7() let v9 : unit = (fun () -> v8 (); v7) () - let struct (v12 : Mut0, v13 : Mut1, v14 : Mut2, v15 : Mut3, v16 : int64 option) = State.trace_state.Value - let v27 : unit = () - let v28 : unit = (fun () -> v8 (); v27) () - let struct (v31 : Mut0, v32 : Mut1, v33 : Mut2, v34 : Mut3, v35 : int64 option) = State.trace_state.Value - let v46 : US0 = v34.l0 - let v47 : bool = v33.l0 - let v48 : bool = v47 = false - let v51 : bool = - if v48 then + let struct (v22 : Mut0, v23 : Mut1, v24 : Mut2, v25 : Mut3, v26 : int64 option) = State.trace_state.Value + let v37 : unit = () + let v38 : unit = (fun () -> v8 (); v37) () + let struct (v51 : Mut0, v52 : Mut1, v53 : Mut2, v54 : Mut3, v55 : int64 option) = State.trace_state.Value + let v66 : US0 = v54.l0 + let v67 : bool = v53.l0 + let v68 : bool = v67 = false + let v71 : bool = + if v68 then false else - let v49 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v46 - let v50 : bool = 1 >= v49 - v50 - if v51 then - let v52 : unit = () - let v53 : (unit -> unit) = closure8(v12) - let v54 : unit = (fun () -> v53 (); v52) () - let v55 : unit = () - let v56 : unit = (fun () -> v8 (); v55) () - let struct (v59 : Mut0, v60 : Mut1, v61 : Mut2, v62 : Mut3, v63 : int64 option) = State.trace_state.Value - let v74 : unit = () + let v69 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v66 + let v70 : bool = 1 >= v69 + v70 + if v71 then + let v72 : unit = () + let v73 : (unit -> unit) = closure8(v22) + let v74 : unit = (fun () -> v73 (); v72) () + let v77 : unit = () + let v78 : unit = (fun () -> v8 (); v77) () + let struct (v91 : Mut0, v92 : Mut1, v93 : Mut2, v94 : Mut3, v95 : int64 option) = State.trace_state.Value + let v106 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v75 : US3 option = None - let _v75 = ref v75 - let v76 : US3 option ref = _v75 - let v77 : (US3 option -> US3 option ref) = closure9(v76) - let v78 : unit = () - let v79 : (unit -> unit) = closure10(v63, v77) - let v80 : unit = (fun () -> v79 (); v78) () - let v81 : US3 option = _v75.Value - let v92 : US3 = US3_1 - let v93 : US3 = v81 |> Option.defaultValue v92 - let v133 : System.DateTime = - match v93 with + let v107 : US3 option = None + let _v107 = ref v107 + let v108 : US3 option ref = _v107 + let v109 : (US3 option -> US3 option ref) = closure9(v108) + let v110 : unit = () + let v111 : (unit -> unit) = closure10(v95, v109) + let v112 : unit = (fun () -> v111 (); v110) () + let v115 : US3 option = _v107.Value + let v126 : US3 = US3_1 + let v127 : US3 = v115 |> Option.defaultValue v126 + let v167 : System.DateTime = + match v127 with | US3_1 -> (* None *) - let v129 : System.DateTime = System.DateTime.Now - v129 - | US3_0(v97) -> (* Some *) - let v98 : System.DateTime = System.DateTime.Now - let v101 : (System.DateTime -> int64) = _.Ticks - let v102 : int64 = v101 v98 - let v105 : int64 = v102 - v97 - let v106 : (int64 -> System.TimeSpan) = System.TimeSpan - let v107 : System.TimeSpan = v106 v105 - let v110 : (System.TimeSpan -> int32) = _.Hours - let v111 : int32 = v110 v107 - let v114 : (System.TimeSpan -> int32) = _.Minutes - let v115 : int32 = v114 v107 - let v118 : (System.TimeSpan -> int32) = _.Seconds - let v119 : int32 = v118 v107 - let v122 : (System.TimeSpan -> int32) = _.Milliseconds - let v123 : int32 = v122 v107 - let v126 : System.DateTime = System.DateTime (1, 1, 1, v111, v115, v119, v123) - v126 - let v134 : string = method6() - let v137 : (string -> string) = v133.ToString - let v138 : string = v137 v134 - let _v74 = v138 + let v163 : System.DateTime = System.DateTime.Now + v163 + | US3_0(v131) -> (* Some *) + let v132 : System.DateTime = System.DateTime.Now + let v135 : (System.DateTime -> int64) = _.Ticks + let v136 : int64 = v135 v132 + let v139 : int64 = v136 - v131 + let v140 : (int64 -> System.TimeSpan) = System.TimeSpan + let v141 : System.TimeSpan = v140 v139 + let v144 : (System.TimeSpan -> int32) = _.Hours + let v145 : int32 = v144 v141 + let v148 : (System.TimeSpan -> int32) = _.Minutes + let v149 : int32 = v148 v141 + let v152 : (System.TimeSpan -> int32) = _.Seconds + let v153 : int32 = v152 v141 + let v156 : (System.TimeSpan -> int32) = _.Milliseconds + let v157 : int32 = v156 v141 + let v160 : System.DateTime = System.DateTime (1, 1, 1, v145, v149, v153, v157) + v160 + let v168 : string = method6() + let v171 : (string -> string) = v167.ToString + let v172 : string = v171 v168 + let _v106 = v172 #endif #if FABLE_COMPILER_RUST && WASM - let v141 : US3 option = None - let _v141 = ref v141 - let v142 : US3 option ref = _v141 - let v143 : (US3 option -> US3 option ref) = closure9(v142) - let v144 : unit = () - let v145 : (unit -> unit) = closure10(v63, v143) - let v146 : unit = (fun () -> v145 (); v144) () - let v147 : US3 option = _v141.Value - let v158 : US3 = US3_1 - let v159 : US3 = v147 |> Option.defaultValue v158 - let v199 : System.DateTime = - match v159 with + let v175 : US3 option = None + let _v175 = ref v175 + let v176 : US3 option ref = _v175 + let v177 : (US3 option -> US3 option ref) = closure9(v176) + let v178 : unit = () + let v179 : (unit -> unit) = closure10(v95, v177) + let v180 : unit = (fun () -> v179 (); v178) () + let v183 : US3 option = _v175.Value + let v194 : US3 = US3_1 + let v195 : US3 = v183 |> Option.defaultValue v194 + let v235 : System.DateTime = + match v195 with | US3_1 -> (* None *) - let v195 : System.DateTime = System.DateTime.Now - v195 - | US3_0(v163) -> (* Some *) - let v164 : System.DateTime = System.DateTime.Now - let v167 : (System.DateTime -> int64) = _.Ticks - let v168 : int64 = v167 v164 - let v171 : int64 = v168 - v163 - let v172 : (int64 -> System.TimeSpan) = System.TimeSpan - let v173 : System.TimeSpan = v172 v171 - let v176 : (System.TimeSpan -> int32) = _.Hours - let v177 : int32 = v176 v173 - let v180 : (System.TimeSpan -> int32) = _.Minutes - let v181 : int32 = v180 v173 - let v184 : (System.TimeSpan -> int32) = _.Seconds - let v185 : int32 = v184 v173 - let v188 : (System.TimeSpan -> int32) = _.Milliseconds - let v189 : int32 = v188 v173 - let v192 : System.DateTime = System.DateTime (1, 1, 1, v177, v181, v185, v189) - v192 - let v200 : string = method6() - let v203 : (string -> string) = v199.ToString - let v204 : string = v203 v200 - let _v74 = v204 + let v231 : System.DateTime = System.DateTime.Now + v231 + | US3_0(v199) -> (* Some *) + let v200 : System.DateTime = System.DateTime.Now + let v203 : (System.DateTime -> int64) = _.Ticks + let v204 : int64 = v203 v200 + let v207 : int64 = v204 - v199 + let v208 : (int64 -> System.TimeSpan) = System.TimeSpan + let v209 : System.TimeSpan = v208 v207 + let v212 : (System.TimeSpan -> int32) = _.Hours + let v213 : int32 = v212 v209 + let v216 : (System.TimeSpan -> int32) = _.Minutes + let v217 : int32 = v216 v209 + let v220 : (System.TimeSpan -> int32) = _.Seconds + let v221 : int32 = v220 v209 + let v224 : (System.TimeSpan -> int32) = _.Milliseconds + let v225 : int32 = v224 v209 + let v228 : System.DateTime = System.DateTime (1, 1, 1, v213, v217, v221, v225) + v228 + let v236 : string = method6() + let v239 : (string -> string) = v235.ToString + let v240 : string = v239 v236 + let _v106 = v240 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v207 : string = $"near_sdk::env::block_timestamp()" - let v208 : uint64 = Fable.Core.RustInterop.emitRustExpr () v207 - let v209 : US3 option = None - let _v209 = ref v209 - let v210 : US3 option ref = _v209 - let v211 : (US3 option -> US3 option ref) = closure9(v210) - let v212 : unit = () - let v213 : (unit -> unit) = closure10(v63, v211) - let v214 : unit = (fun () -> v213 (); v212) () - let v215 : US3 option = _v209.Value - let v226 : US3 = US3_1 - let v227 : US3 = v215 |> Option.defaultValue v226 - let v236 : uint64 = - match v227 with - | US3_1 -> (* None *) - v208 - | US3_0(v231) -> (* Some *) - let v232 : (int64 -> uint64) = uint64 - let v233 : uint64 = v232 v231 - let v234 : uint64 = v208 - v233 - v234 - let v237 : uint64 = v236 / 1000000000UL - let v238 : uint64 = v237 % 60UL - let v239 : uint64 = v237 / 60UL - let v240 : uint64 = v239 % 60UL - let v241 : uint64 = v237 / 3600UL - let v242 : uint64 = v241 % 24UL - let v243 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v244 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v242, v240, v238) v243 - let v245 : string = "fable_library_rust::String_::fromString($0)" - let v246 : string = Fable.Core.RustInterop.emitRustExpr v244 v245 - let _v74 = v246 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v247 : US3 option = None - let _v247 = ref v247 - let v248 : US3 option ref = _v247 - let v249 : (US3 option -> US3 option ref) = closure9(v248) - let v250 : unit = () - let v251 : (unit -> unit) = closure10(v63, v249) - let v252 : unit = (fun () -> v251 (); v250) () - let v253 : US3 option = _v247.Value + let v243 : string = $"near_sdk::env::block_timestamp()" + let v244 : uint64 = Fable.Core.RustInterop.emitRustExpr () v243 + let v245 : US3 option = None + let _v245 = ref v245 + let v246 : US3 option ref = _v245 + let v247 : (US3 option -> US3 option ref) = closure9(v246) + let v248 : unit = () + let v249 : (unit -> unit) = closure10(v95, v247) + let v250 : unit = (fun () -> v249 (); v248) () + let v253 : US3 option = _v245.Value let v264 : US3 = US3_1 let v265 : US3 = v253 |> Option.defaultValue v264 - let v305 : System.DateTime = + let v274 : uint64 = match v265 with | US3_1 -> (* None *) - let v301 : System.DateTime = System.DateTime.Now - v301 + v244 | US3_0(v269) -> (* Some *) - let v270 : System.DateTime = System.DateTime.Now - let v273 : (System.DateTime -> int64) = _.Ticks - let v274 : int64 = v273 v270 - let v277 : int64 = v274 - v269 - let v278 : (int64 -> System.TimeSpan) = System.TimeSpan - let v279 : System.TimeSpan = v278 v277 - let v282 : (System.TimeSpan -> int32) = _.Hours - let v283 : int32 = v282 v279 - let v286 : (System.TimeSpan -> int32) = _.Minutes - let v287 : int32 = v286 v279 - let v290 : (System.TimeSpan -> int32) = _.Seconds - let v291 : int32 = v290 v279 - let v294 : (System.TimeSpan -> int32) = _.Milliseconds - let v295 : int32 = v294 v279 - let v298 : System.DateTime = System.DateTime (1, 1, 1, v283, v287, v291, v295) - v298 - let v306 : string = method7() - let v309 : (string -> string) = v305.ToString - let v310 : string = v309 v306 - let _v74 = v310 + let v270 : (int64 -> uint64) = uint64 + let v271 : uint64 = v270 v269 + let v272 : uint64 = v244 - v271 + v272 + let v275 : uint64 = v274 / 1000000000UL + let v276 : uint64 = v275 % 60UL + let v277 : uint64 = v275 / 60UL + let v278 : uint64 = v277 % 60UL + let v279 : uint64 = v275 / 3600UL + let v280 : uint64 = v279 % 24UL + let v281 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v282 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v280, v278, v276) v281 + let v283 : string = "fable_library_rust::String_::fromString($0)" + let v284 : string = Fable.Core.RustInterop.emitRustExpr v282 v283 + let _v106 = v284 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v285 : US3 option = None + let _v285 = ref v285 + let v286 : US3 option ref = _v285 + let v287 : (US3 option -> US3 option ref) = closure9(v286) + let v288 : unit = () + let v289 : (unit -> unit) = closure10(v95, v287) + let v290 : unit = (fun () -> v289 (); v288) () + let v293 : US3 option = _v285.Value + let v304 : US3 = US3_1 + let v305 : US3 = v293 |> Option.defaultValue v304 + let v345 : System.DateTime = + match v305 with + | US3_1 -> (* None *) + let v341 : System.DateTime = System.DateTime.Now + v341 + | US3_0(v309) -> (* Some *) + let v310 : System.DateTime = System.DateTime.Now + let v313 : (System.DateTime -> int64) = _.Ticks + let v314 : int64 = v313 v310 + let v317 : int64 = v314 - v309 + let v318 : (int64 -> System.TimeSpan) = System.TimeSpan + let v319 : System.TimeSpan = v318 v317 + let v322 : (System.TimeSpan -> int32) = _.Hours + let v323 : int32 = v322 v319 + let v326 : (System.TimeSpan -> int32) = _.Minutes + let v327 : int32 = v326 v319 + let v330 : (System.TimeSpan -> int32) = _.Seconds + let v331 : int32 = v330 v319 + let v334 : (System.TimeSpan -> int32) = _.Milliseconds + let v335 : int32 = v334 v319 + let v338 : System.DateTime = System.DateTime (1, 1, 1, v323, v327, v331, v335) + v338 + let v346 : string = method7() + let v349 : (string -> string) = v345.ToString + let v350 : string = v349 v346 + let _v106 = v350 #endif #if FABLE_COMPILER_PYTHON - let v313 : US3 option = None - let _v313 = ref v313 - let v314 : US3 option ref = _v313 - let v315 : (US3 option -> US3 option ref) = closure9(v314) - let v316 : unit = () - let v317 : (unit -> unit) = closure10(v63, v315) - let v318 : unit = (fun () -> v317 (); v316) () - let v319 : US3 option = _v313.Value - let v330 : US3 = US3_1 - let v331 : US3 = v319 |> Option.defaultValue v330 - let v371 : System.DateTime = - match v331 with + let v353 : US3 option = None + let _v353 = ref v353 + let v354 : US3 option ref = _v353 + let v355 : (US3 option -> US3 option ref) = closure9(v354) + let v356 : unit = () + let v357 : (unit -> unit) = closure10(v95, v355) + let v358 : unit = (fun () -> v357 (); v356) () + let v361 : US3 option = _v353.Value + let v372 : US3 = US3_1 + let v373 : US3 = v361 |> Option.defaultValue v372 + let v413 : System.DateTime = + match v373 with | US3_1 -> (* None *) - let v367 : System.DateTime = System.DateTime.Now - v367 - | US3_0(v335) -> (* Some *) - let v336 : System.DateTime = System.DateTime.Now - let v339 : (System.DateTime -> int64) = _.Ticks - let v340 : int64 = v339 v336 - let v343 : int64 = v340 - v335 - let v344 : (int64 -> System.TimeSpan) = System.TimeSpan - let v345 : System.TimeSpan = v344 v343 - let v348 : (System.TimeSpan -> int32) = _.Hours - let v349 : int32 = v348 v345 - let v352 : (System.TimeSpan -> int32) = _.Minutes - let v353 : int32 = v352 v345 - let v356 : (System.TimeSpan -> int32) = _.Seconds - let v357 : int32 = v356 v345 - let v360 : (System.TimeSpan -> int32) = _.Milliseconds - let v361 : int32 = v360 v345 - let v364 : System.DateTime = System.DateTime (1, 1, 1, v349, v353, v357, v361) - v364 - let v372 : string = method7() - let v375 : (string -> string) = v371.ToString - let v376 : string = v375 v372 - let _v74 = v376 + let v409 : System.DateTime = System.DateTime.Now + v409 + | US3_0(v377) -> (* Some *) + let v378 : System.DateTime = System.DateTime.Now + let v381 : (System.DateTime -> int64) = _.Ticks + let v382 : int64 = v381 v378 + let v385 : int64 = v382 - v377 + let v386 : (int64 -> System.TimeSpan) = System.TimeSpan + let v387 : System.TimeSpan = v386 v385 + let v390 : (System.TimeSpan -> int32) = _.Hours + let v391 : int32 = v390 v387 + let v394 : (System.TimeSpan -> int32) = _.Minutes + let v395 : int32 = v394 v387 + let v398 : (System.TimeSpan -> int32) = _.Seconds + let v399 : int32 = v398 v387 + let v402 : (System.TimeSpan -> int32) = _.Milliseconds + let v403 : int32 = v402 v387 + let v406 : System.DateTime = System.DateTime (1, 1, 1, v391, v395, v399, v403) + v406 + let v414 : string = method7() + let v417 : (string -> string) = v413.ToString + let v418 : string = v417 v414 + let _v106 = v418 #endif #else - let v379 : US3 option = None - let _v379 = ref v379 - let v380 : US3 option ref = _v379 - let v381 : (US3 option -> US3 option ref) = closure9(v380) - let v382 : unit = () - let v383 : (unit -> unit) = closure10(v63, v381) - let v384 : unit = (fun () -> v383 (); v382) () - let v385 : US3 option = _v379.Value - let v396 : US3 = US3_1 - let v397 : US3 = v385 |> Option.defaultValue v396 - let v437 : System.DateTime = - match v397 with + let v421 : US3 option = None + let _v421 = ref v421 + let v422 : US3 option ref = _v421 + let v423 : (US3 option -> US3 option ref) = closure9(v422) + let v424 : unit = () + let v425 : (unit -> unit) = closure10(v95, v423) + let v426 : unit = (fun () -> v425 (); v424) () + let v429 : US3 option = _v421.Value + let v440 : US3 = US3_1 + let v441 : US3 = v429 |> Option.defaultValue v440 + let v481 : System.DateTime = + match v441 with | US3_1 -> (* None *) - let v433 : System.DateTime = System.DateTime.Now - v433 - | US3_0(v401) -> (* Some *) - let v402 : System.DateTime = System.DateTime.Now - let v405 : (System.DateTime -> int64) = _.Ticks - let v406 : int64 = v405 v402 - let v409 : int64 = v406 - v401 - let v410 : (int64 -> System.TimeSpan) = System.TimeSpan - let v411 : System.TimeSpan = v410 v409 - let v414 : (System.TimeSpan -> int32) = _.Hours - let v415 : int32 = v414 v411 - let v418 : (System.TimeSpan -> int32) = _.Minutes - let v419 : int32 = v418 v411 - let v422 : (System.TimeSpan -> int32) = _.Seconds - let v423 : int32 = v422 v411 - let v426 : (System.TimeSpan -> int32) = _.Milliseconds - let v427 : int32 = v426 v411 - let v430 : System.DateTime = System.DateTime (1, 1, 1, v415, v419, v423, v427) - v430 - let v438 : string = method7() - let v441 : (string -> string) = v437.ToString - let v442 : string = v441 v438 - let _v74 = v442 - #endif - let v445 : string = _v74 - let v513 : string = "Debug" - let v514 : (unit -> string) = v513.ToLower - let v515 : string = v514 () - let v518 : string = v515.PadLeft (7, ' ') - let v532 : unit = () + let v477 : System.DateTime = System.DateTime.Now + v477 + | US3_0(v445) -> (* Some *) + let v446 : System.DateTime = System.DateTime.Now + let v449 : (System.DateTime -> int64) = _.Ticks + let v450 : int64 = v449 v446 + let v453 : int64 = v450 - v445 + let v454 : (int64 -> System.TimeSpan) = System.TimeSpan + let v455 : System.TimeSpan = v454 v453 + let v458 : (System.TimeSpan -> int32) = _.Hours + let v459 : int32 = v458 v455 + let v462 : (System.TimeSpan -> int32) = _.Minutes + let v463 : int32 = v462 v455 + let v466 : (System.TimeSpan -> int32) = _.Seconds + let v467 : int32 = v466 v455 + let v470 : (System.TimeSpan -> int32) = _.Milliseconds + let v471 : int32 = v470 v455 + let v474 : System.DateTime = System.DateTime (1, 1, 1, v459, v463, v467, v471) + v474 + let v482 : string = method7() + let v485 : (string -> string) = v481.ToString + let v486 : string = v485 v482 + let _v106 = v486 + #endif + let v489 : string = _v106 + let v559 : string = "Debug" + let v560 : (unit -> string) = v559.ToLower + let v561 : string = v560 () + let v564 : string = v561.PadLeft (7, ' ') + let v578 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v533 : string = "inline_colorization::color_bright_blue" - let v534 : Ref = Fable.Core.RustInterop.emitRustExpr () v533 - let v535 : string = "&*$0" - let v536 : Ref = Fable.Core.RustInterop.emitRustExpr v518 v535 - let v537 : string = "inline_colorization::color_reset" - let v538 : Ref = Fable.Core.RustInterop.emitRustExpr () v537 - let v539 : string = "\"{v534}{v536}{v538}\"" - let v540 : string = @$"format!(" + v539 + ")" - let v541 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v540 - let v542 : string = "fable_library_rust::String_::fromString($0)" - let v543 : string = Fable.Core.RustInterop.emitRustExpr v541 v542 - let _v532 = v543 + let v579 : string = "inline_colorization::color_bright_blue" + let v580 : Ref = Fable.Core.RustInterop.emitRustExpr () v579 + let v581 : string = "&*$0" + let v582 : Ref = Fable.Core.RustInterop.emitRustExpr v564 v581 + let v583 : string = "inline_colorization::color_reset" + let v584 : Ref = Fable.Core.RustInterop.emitRustExpr () v583 + let v585 : string = "\"{v580}{v582}{v584}\"" + let v586 : string = @$"format!(" + v585 + ")" + let v587 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v586 + let v588 : string = "fable_library_rust::String_::fromString($0)" + let v589 : string = Fable.Core.RustInterop.emitRustExpr v587 v588 + let _v578 = v589 #endif #if FABLE_COMPILER_RUST && WASM - let v544 : string = "inline_colorization::color_bright_blue" - let v545 : Ref = Fable.Core.RustInterop.emitRustExpr () v544 - let v546 : string = "&*$0" - let v547 : Ref = Fable.Core.RustInterop.emitRustExpr v518 v546 - let v548 : string = "inline_colorization::color_reset" - let v549 : Ref = Fable.Core.RustInterop.emitRustExpr () v548 - let v550 : string = "\"{v545}{v547}{v549}\"" - let v551 : string = @$"format!(" + v550 + ")" - let v552 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v551 - let v553 : string = "fable_library_rust::String_::fromString($0)" - let v554 : string = Fable.Core.RustInterop.emitRustExpr v552 v553 - let _v532 = v554 + let v590 : string = "inline_colorization::color_bright_blue" + let v591 : Ref = Fable.Core.RustInterop.emitRustExpr () v590 + let v592 : string = "&*$0" + let v593 : Ref = Fable.Core.RustInterop.emitRustExpr v564 v592 + let v594 : string = "inline_colorization::color_reset" + let v595 : Ref = Fable.Core.RustInterop.emitRustExpr () v594 + let v596 : string = "\"{v591}{v593}{v595}\"" + let v597 : string = @$"format!(" + v596 + ")" + let v598 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v597 + let v599 : string = "fable_library_rust::String_::fromString($0)" + let v600 : string = Fable.Core.RustInterop.emitRustExpr v598 v599 + let _v578 = v600 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v555 : string = "inline_colorization::color_bright_blue" - let v556 : Ref = Fable.Core.RustInterop.emitRustExpr () v555 - let v557 : string = "&*$0" - let v558 : Ref = Fable.Core.RustInterop.emitRustExpr v518 v557 - let v559 : string = "inline_colorization::color_reset" - let v560 : Ref = Fable.Core.RustInterop.emitRustExpr () v559 - let v561 : string = "\"{v556}{v558}{v560}\"" - let v562 : string = @$"format!(" + v561 + ")" - let v563 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v562 - let v564 : string = "fable_library_rust::String_::fromString($0)" - let v565 : string = Fable.Core.RustInterop.emitRustExpr v563 v564 - let _v532 = v565 + let v601 : string = "inline_colorization::color_bright_blue" + let v602 : Ref = Fable.Core.RustInterop.emitRustExpr () v601 + let v603 : string = "&*$0" + let v604 : Ref = Fable.Core.RustInterop.emitRustExpr v564 v603 + let v605 : string = "inline_colorization::color_reset" + let v606 : Ref = Fable.Core.RustInterop.emitRustExpr () v605 + let v607 : string = "\"{v602}{v604}{v606}\"" + let v608 : string = @$"format!(" + v607 + ")" + let v609 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v608 + let v610 : string = "fable_library_rust::String_::fromString($0)" + let v611 : string = Fable.Core.RustInterop.emitRustExpr v609 v610 + let _v578 = v611 #endif #if FABLE_COMPILER_TYPESCRIPT - let v566 : string = "\u001b[94m" - let v567 : string = method8() - let v568 : string = v566 + v518 - let v569 : string = v568 + v567 - let _v532 = v569 + let v612 : string = "\u001b[94m" + let v613 : string = method8() + let v614 : string = v612 + v564 + let v615 : string = v614 + v613 + let _v578 = v615 #endif #if FABLE_COMPILER_PYTHON - let v570 : string = "\u001b[94m" - let v571 : string = method8() - let v572 : string = v570 + v518 - let v573 : string = v572 + v571 - let _v532 = v573 + let v616 : string = "\u001b[94m" + let v617 : string = method8() + let v618 : string = v616 + v564 + let v619 : string = v618 + v617 + let _v578 = v619 #endif #else - let v574 : string = "\u001b[94m" - let v575 : string = method8() - let v576 : string = v574 + v518 - let v577 : string = v576 + v575 - let _v532 = v577 - #endif - let v578 : string = _v532 - let v584 : int64 = v59.l0 - let v585 : string = method9() - let v586 : Mut4 = {l0 = v585} : Mut4 - let v587 : string = "{ " - let v588 : string = $"{v587}" - let v591 : unit = () - let v592 : (unit -> unit) = closure11(v586, v588) - let v593 : unit = (fun () -> v592 (); v591) () - let v594 : string = "options" - let v595 : string = $"{v594}" - let v598 : unit = () - let v599 : (unit -> unit) = closure11(v586, v595) - let v600 : unit = (fun () -> v599 (); v598) () - let v601 : string = " = " - let v602 : string = $"{v601}" - let v605 : unit = () - let v606 : (unit -> unit) = closure11(v586, v602) - let v607 : unit = (fun () -> v606 (); v605) () - let v608 : string = $"{v587}" - let v611 : unit = () - let v612 : (unit -> unit) = closure11(v586, v608) - let v613 : unit = (fun () -> v612 (); v611) () - let v614 : string = "command" - let v615 : string = $"{v614}" - let v618 : unit = () - let v619 : (unit -> unit) = closure11(v586, v615) - let v620 : unit = (fun () -> v619 (); v618) () - let v621 : string = $"{v601}" - let v624 : unit = () - let v625 : (unit -> unit) = closure11(v586, v621) - let v626 : unit = (fun () -> v625 (); v624) () - let v627 : string = $"{v0}" - let v630 : unit = () - let v631 : (unit -> unit) = closure11(v586, v627) - let v632 : unit = (fun () -> v631 (); v630) () - let v633 : string = "; " + let v620 : string = "\u001b[94m" + let v621 : string = method8() + let v622 : string = v620 + v564 + let v623 : string = v622 + v621 + let _v578 = v623 + #endif + let v624 : string = _v578 + let v630 : int64 = v91.l0 + let v631 : string = method9() + let v632 : Mut4 = {l0 = v631} : Mut4 + let v633 : string = "{ " let v634 : string = $"{v633}" let v637 : unit = () - let v638 : (unit -> unit) = closure11(v586, v634) + let v638 : (unit -> unit) = closure11(v632, v634) let v639 : unit = (fun () -> v638 (); v637) () - let v640 : string = "cancellation_token" - let v641 : string = $"{v640}" - let v644 : unit = () - let v645 : (unit -> unit) = closure11(v586, v641) - let v646 : unit = (fun () -> v645 (); v644) () - let v647 : string = $"{v601}" - let v650 : unit = () - let v651 : (unit -> unit) = closure11(v586, v647) - let v652 : unit = (fun () -> v651 (); v650) () - let v653 : unit = () + let v642 : string = "options" + let v643 : string = $"{v642}" + let v646 : unit = () + let v647 : (unit -> unit) = closure11(v632, v643) + let v648 : unit = (fun () -> v647 (); v646) () + let v651 : string = " = " + let v652 : string = $"{v651}" + let v655 : unit = () + let v656 : (unit -> unit) = closure11(v632, v652) + let v657 : unit = (fun () -> v656 (); v655) () + let v660 : string = $"{v633}" + let v663 : unit = () + let v664 : (unit -> unit) = closure11(v632, v660) + let v665 : unit = (fun () -> v664 (); v663) () + let v668 : string = "command" + let v669 : string = $"{v668}" + let v672 : unit = () + let v673 : (unit -> unit) = closure11(v632, v669) + let v674 : unit = (fun () -> v673 (); v672) () + let v677 : string = $"{v651}" + let v680 : unit = () + let v681 : (unit -> unit) = closure11(v632, v677) + let v682 : unit = (fun () -> v681 (); v680) () + let v685 : string = $"{v0}" + let v688 : unit = () + let v689 : (unit -> unit) = closure11(v632, v685) + let v690 : unit = (fun () -> v689 (); v688) () + let v693 : string = "; " + let v694 : string = $"{v693}" + let v697 : unit = () + let v698 : (unit -> unit) = closure11(v632, v694) + let v699 : unit = (fun () -> v698 (); v697) () + let v702 : string = "cancellation_token" + let v703 : string = $"{v702}" + let v706 : unit = () + let v707 : (unit -> unit) = closure11(v632, v703) + let v708 : unit = (fun () -> v707 (); v706) () + let v711 : string = $"{v651}" + let v714 : unit = () + let v715 : (unit -> unit) = closure11(v632, v711) + let v716 : unit = (fun () -> v715 (); v714) () + let v719 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v654 : string = "format!(\"{:#?}\", $0)" - let v655 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v654 - let v656 : string = "fable_library_rust::String_::fromString($0)" - let v657 : string = Fable.Core.RustInterop.emitRustExpr v655 v656 - let _v653 = v657 + let v720 : string = "format!(\"{:#?}\", $0)" + let v721 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v720 + let v722 : string = "fable_library_rust::String_::fromString($0)" + let v723 : string = Fable.Core.RustInterop.emitRustExpr v721 v722 + let _v719 = v723 #endif #if FABLE_COMPILER_RUST && WASM - let v658 : string = "format!(\"{:#?}\", $0)" - let v659 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v658 - let v660 : string = "fable_library_rust::String_::fromString($0)" - let v661 : string = Fable.Core.RustInterop.emitRustExpr v659 v660 - let _v653 = v661 + let v724 : string = "format!(\"{:#?}\", $0)" + let v725 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v724 + let v726 : string = "fable_library_rust::String_::fromString($0)" + let v727 : string = Fable.Core.RustInterop.emitRustExpr v725 v726 + let _v719 = v727 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v662 : string = "format!(\"{:#?}\", $0)" - let v663 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v662 - let v664 : string = "fable_library_rust::String_::fromString($0)" - let v665 : string = Fable.Core.RustInterop.emitRustExpr v663 v664 - let _v653 = v665 + let v728 : string = "format!(\"{:#?}\", $0)" + let v729 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v728 + let v730 : string = "fable_library_rust::String_::fromString($0)" + let v731 : string = Fable.Core.RustInterop.emitRustExpr v729 v730 + let _v719 = v731 #endif #if FABLE_COMPILER_TYPESCRIPT - let v666 : string = $"%A{v1}" - let _v653 = v666 + let v732 : string = $"%A{v1}" + let _v719 = v732 #endif #if FABLE_COMPILER_PYTHON - let v669 : string = $"%A{v1}" - let _v653 = v669 + let v735 : string = $"%A{v1}" + let _v719 = v735 #endif #else - let v672 : string = $"%A{v1}" - let _v653 = v672 - #endif - let v675 : string = _v653 - let v680 : string = $"{v675}" - let v683 : unit = () - let v684 : (unit -> unit) = closure11(v586, v680) - let v685 : unit = (fun () -> v684 (); v683) () - let v686 : string = $"{v633}" - let v689 : unit = () - let v690 : (unit -> unit) = closure11(v586, v686) - let v691 : unit = (fun () -> v690 (); v689) () - let v692 : string = "environment_variables" - let v693 : string = $"{v692}" - let v696 : unit = () - let v697 : (unit -> unit) = closure11(v586, v693) - let v698 : unit = (fun () -> v697 (); v696) () - let v699 : string = $"{v601}" - let v702 : unit = () - let v703 : (unit -> unit) = closure11(v586, v699) - let v704 : unit = (fun () -> v703 (); v702) () - let v705 : string = $"%A{v2}" - let v708 : string = $"{v705}" - let v711 : unit = () - let v712 : (unit -> unit) = closure11(v586, v708) - let v713 : unit = (fun () -> v712 (); v711) () - let v714 : string = $"{v633}" - let v717 : unit = () - let v718 : (unit -> unit) = closure11(v586, v714) - let v719 : unit = (fun () -> v718 (); v717) () - let v720 : string = "on_line" - let v721 : string = $"{v720}" - let v724 : unit = () - let v725 : (unit -> unit) = closure11(v586, v721) - let v726 : unit = (fun () -> v725 (); v724) () - let v727 : string = $"{v601}" - let v730 : unit = () - let v731 : (unit -> unit) = closure11(v586, v727) - let v732 : unit = (fun () -> v731 (); v730) () - let v733 : unit = () + let v738 : string = $"%A{v1}" + let _v719 = v738 + #endif + let v741 : string = _v719 + let v746 : string = $"{v741}" + let v749 : unit = () + let v750 : (unit -> unit) = closure11(v632, v746) + let v751 : unit = (fun () -> v750 (); v749) () + let v754 : string = $"{v693}" + let v757 : unit = () + let v758 : (unit -> unit) = closure11(v632, v754) + let v759 : unit = (fun () -> v758 (); v757) () + let v762 : string = "environment_variables" + let v763 : string = $"{v762}" + let v766 : unit = () + let v767 : (unit -> unit) = closure11(v632, v763) + let v768 : unit = (fun () -> v767 (); v766) () + let v771 : string = $"{v651}" + let v774 : unit = () + let v775 : (unit -> unit) = closure11(v632, v771) + let v776 : unit = (fun () -> v775 (); v774) () + let v779 : string = $"%A{v2}" + let v782 : string = $"{v779}" + let v785 : unit = () + let v786 : (unit -> unit) = closure11(v632, v782) + let v787 : unit = (fun () -> v786 (); v785) () + let v790 : string = $"{v693}" + let v793 : unit = () + let v794 : (unit -> unit) = closure11(v632, v790) + let v795 : unit = (fun () -> v794 (); v793) () + let v798 : string = "on_line" + let v799 : string = $"{v798}" + let v802 : unit = () + let v803 : (unit -> unit) = closure11(v632, v799) + let v804 : unit = (fun () -> v803 (); v802) () + let v807 : string = $"{v651}" + let v810 : unit = () + let v811 : (unit -> unit) = closure11(v632, v807) + let v812 : unit = (fun () -> v811 (); v810) () + let v815 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v734 : string = "format!(\"{:#?}\", $0)" - let v735 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v734 - let v736 : string = "fable_library_rust::String_::fromString($0)" - let v737 : string = Fable.Core.RustInterop.emitRustExpr v735 v736 - let _v733 = v737 + let v816 : string = "format!(\"{:#?}\", $0)" + let v817 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v816 + let v818 : string = "fable_library_rust::String_::fromString($0)" + let v819 : string = Fable.Core.RustInterop.emitRustExpr v817 v818 + let _v815 = v819 #endif #if FABLE_COMPILER_RUST && WASM - let v738 : string = "format!(\"{:#?}\", $0)" - let v739 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v738 - let v740 : string = "fable_library_rust::String_::fromString($0)" - let v741 : string = Fable.Core.RustInterop.emitRustExpr v739 v740 - let _v733 = v741 + let v820 : string = "format!(\"{:#?}\", $0)" + let v821 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v820 + let v822 : string = "fable_library_rust::String_::fromString($0)" + let v823 : string = Fable.Core.RustInterop.emitRustExpr v821 v822 + let _v815 = v823 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v742 : string = "format!(\"{:#?}\", $0)" - let v743 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v742 - let v744 : string = "fable_library_rust::String_::fromString($0)" - let v745 : string = Fable.Core.RustInterop.emitRustExpr v743 v744 - let _v733 = v745 + let v824 : string = "format!(\"{:#?}\", $0)" + let v825 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v824 + let v826 : string = "fable_library_rust::String_::fromString($0)" + let v827 : string = Fable.Core.RustInterop.emitRustExpr v825 v826 + let _v815 = v827 #endif #if FABLE_COMPILER_TYPESCRIPT - let v746 : string = $"%A{v3}" - let _v733 = v746 + let v828 : string = $"%A{v3}" + let _v815 = v828 #endif #if FABLE_COMPILER_PYTHON - let v749 : string = $"%A{v3}" - let _v733 = v749 + let v831 : string = $"%A{v3}" + let _v815 = v831 #endif #else - let v752 : string = $"%A{v3}" - let _v733 = v752 - #endif - let v755 : string = _v733 - let v760 : string = $"{v755}" - let v763 : unit = () - let v764 : (unit -> unit) = closure11(v586, v760) - let v765 : unit = (fun () -> v764 (); v763) () - let v766 : string = $"{v633}" - let v769 : unit = () - let v770 : (unit -> unit) = closure11(v586, v766) - let v771 : unit = (fun () -> v770 (); v769) () - let v772 : string = "stdin" - let v773 : string = $"{v772}" - let v776 : unit = () - let v777 : (unit -> unit) = closure11(v586, v773) - let v778 : unit = (fun () -> v777 (); v776) () - let v779 : string = $"{v601}" - let v782 : unit = () - let v783 : (unit -> unit) = closure11(v586, v779) - let v784 : unit = (fun () -> v783 (); v782) () - let v785 : unit = () + let v834 : string = $"%A{v3}" + let _v815 = v834 + #endif + let v837 : string = _v815 + let v842 : string = $"{v837}" + let v845 : unit = () + let v846 : (unit -> unit) = closure11(v632, v842) + let v847 : unit = (fun () -> v846 (); v845) () + let v850 : string = $"{v693}" + let v853 : unit = () + let v854 : (unit -> unit) = closure11(v632, v850) + let v855 : unit = (fun () -> v854 (); v853) () + let v858 : string = "stdin" + let v859 : string = $"{v858}" + let v862 : unit = () + let v863 : (unit -> unit) = closure11(v632, v859) + let v864 : unit = (fun () -> v863 (); v862) () + let v867 : string = $"{v651}" + let v870 : unit = () + let v871 : (unit -> unit) = closure11(v632, v867) + let v872 : unit = (fun () -> v871 (); v870) () + let v875 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v786 : string = "format!(\"{:#?}\", $0)" - let v787 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v786 - let v788 : string = "fable_library_rust::String_::fromString($0)" - let v789 : string = Fable.Core.RustInterop.emitRustExpr v787 v788 - let _v785 = v789 + let v876 : string = "format!(\"{:#?}\", $0)" + let v877 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v876 + let v878 : string = "fable_library_rust::String_::fromString($0)" + let v879 : string = Fable.Core.RustInterop.emitRustExpr v877 v878 + let _v875 = v879 #endif #if FABLE_COMPILER_RUST && WASM - let v790 : string = "format!(\"{:#?}\", $0)" - let v791 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v790 - let v792 : string = "fable_library_rust::String_::fromString($0)" - let v793 : string = Fable.Core.RustInterop.emitRustExpr v791 v792 - let _v785 = v793 + let v880 : string = "format!(\"{:#?}\", $0)" + let v881 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v880 + let v882 : string = "fable_library_rust::String_::fromString($0)" + let v883 : string = Fable.Core.RustInterop.emitRustExpr v881 v882 + let _v875 = v883 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v794 : string = "format!(\"{:#?}\", $0)" - let v795 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v794 - let v796 : string = "fable_library_rust::String_::fromString($0)" - let v797 : string = Fable.Core.RustInterop.emitRustExpr v795 v796 - let _v785 = v797 + let v884 : string = "format!(\"{:#?}\", $0)" + let v885 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4 v884 + let v886 : string = "fable_library_rust::String_::fromString($0)" + let v887 : string = Fable.Core.RustInterop.emitRustExpr v885 v886 + let _v875 = v887 #endif #if FABLE_COMPILER_TYPESCRIPT - let v798 : string = $"%A{v4}" - let _v785 = v798 + let v888 : string = $"%A{v4}" + let _v875 = v888 #endif #if FABLE_COMPILER_PYTHON - let v801 : string = $"%A{v4}" - let _v785 = v801 + let v891 : string = $"%A{v4}" + let _v875 = v891 #endif #else - let v804 : string = $"%A{v4}" - let _v785 = v804 - #endif - let v807 : string = _v785 - let v812 : string = $"{v807}" - let v815 : unit = () - let v816 : (unit -> unit) = closure11(v586, v812) - let v817 : unit = (fun () -> v816 (); v815) () - let v818 : string = $"{v633}" - let v821 : unit = () - let v822 : (unit -> unit) = closure11(v586, v818) - let v823 : unit = (fun () -> v822 (); v821) () - let v824 : string = "trace" - let v825 : string = $"{v824}" - let v828 : unit = () - let v829 : (unit -> unit) = closure11(v586, v825) - let v830 : unit = (fun () -> v829 (); v828) () - let v831 : string = $"{v601}" - let v834 : unit = () - let v835 : (unit -> unit) = closure11(v586, v831) - let v836 : unit = (fun () -> v835 (); v834) () - let v839 : string = + let v894 : string = $"%A{v4}" + let _v875 = v894 + #endif + let v897 : string = _v875 + let v902 : string = $"{v897}" + let v905 : unit = () + let v906 : (unit -> unit) = closure11(v632, v902) + let v907 : unit = (fun () -> v906 (); v905) () + let v910 : string = $"{v693}" + let v913 : unit = () + let v914 : (unit -> unit) = closure11(v632, v910) + let v915 : unit = (fun () -> v914 (); v913) () + let v918 : string = "trace" + let v919 : string = $"{v918}" + let v922 : unit = () + let v923 : (unit -> unit) = closure11(v632, v919) + let v924 : unit = (fun () -> v923 (); v922) () + let v927 : string = $"{v651}" + let v930 : unit = () + let v931 : (unit -> unit) = closure11(v632, v927) + let v932 : unit = (fun () -> v931 (); v930) () + let v937 : string = if v5 then - let v837 : string = "true" - v837 + let v935 : string = "true" + v935 else - let v838 : string = "false" - v838 - let v840 : string = $"{v839}" - let v843 : unit = () - let v844 : (unit -> unit) = closure11(v586, v840) - let v845 : unit = (fun () -> v844 (); v843) () - let v846 : string = $"{v633}" - let v849 : unit = () - let v850 : (unit -> unit) = closure11(v586, v846) - let v851 : unit = (fun () -> v850 (); v849) () - let v852 : string = "working_directory" - let v853 : string = $"{v852}" - let v856 : unit = () - let v857 : (unit -> unit) = closure11(v586, v853) - let v858 : unit = (fun () -> v857 (); v856) () - let v859 : string = $"{v601}" - let v862 : unit = () - let v863 : (unit -> unit) = closure11(v586, v859) - let v864 : unit = (fun () -> v863 (); v862) () - let v865 : unit = () + let v936 : string = "false" + v936 + let v938 : string = $"{v937}" + let v941 : unit = () + let v942 : (unit -> unit) = closure11(v632, v938) + let v943 : unit = (fun () -> v942 (); v941) () + let v946 : string = $"{v693}" + let v949 : unit = () + let v950 : (unit -> unit) = closure11(v632, v946) + let v951 : unit = (fun () -> v950 (); v949) () + let v954 : string = "working_directory" + let v955 : string = $"{v954}" + let v958 : unit = () + let v959 : (unit -> unit) = closure11(v632, v955) + let v960 : unit = (fun () -> v959 (); v958) () + let v963 : string = $"{v651}" + let v966 : unit = () + let v967 : (unit -> unit) = closure11(v632, v963) + let v968 : unit = (fun () -> v967 (); v966) () + let v971 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v866 : string = "format!(\"{:#?}\", $0)" - let v867 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v866 - let v868 : string = "fable_library_rust::String_::fromString($0)" - let v869 : string = Fable.Core.RustInterop.emitRustExpr v867 v868 - let _v865 = v869 + let v972 : string = "format!(\"{:#?}\", $0)" + let v973 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v972 + let v974 : string = "fable_library_rust::String_::fromString($0)" + let v975 : string = Fable.Core.RustInterop.emitRustExpr v973 v974 + let _v971 = v975 #endif #if FABLE_COMPILER_RUST && WASM - let v870 : string = "format!(\"{:#?}\", $0)" - let v871 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v870 - let v872 : string = "fable_library_rust::String_::fromString($0)" - let v873 : string = Fable.Core.RustInterop.emitRustExpr v871 v872 - let _v865 = v873 + let v976 : string = "format!(\"{:#?}\", $0)" + let v977 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v976 + let v978 : string = "fable_library_rust::String_::fromString($0)" + let v979 : string = Fable.Core.RustInterop.emitRustExpr v977 v978 + let _v971 = v979 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v874 : string = "format!(\"{:#?}\", $0)" - let v875 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v874 - let v876 : string = "fable_library_rust::String_::fromString($0)" - let v877 : string = Fable.Core.RustInterop.emitRustExpr v875 v876 - let _v865 = v877 + let v980 : string = "format!(\"{:#?}\", $0)" + let v981 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v980 + let v982 : string = "fable_library_rust::String_::fromString($0)" + let v983 : string = Fable.Core.RustInterop.emitRustExpr v981 v982 + let _v971 = v983 #endif #if FABLE_COMPILER_TYPESCRIPT - let v878 : string = $"%A{v6}" - let _v865 = v878 + let v984 : string = $"%A{v6}" + let _v971 = v984 #endif #if FABLE_COMPILER_PYTHON - let v881 : string = $"%A{v6}" - let _v865 = v881 + let v987 : string = $"%A{v6}" + let _v971 = v987 #endif #else - let v884 : string = $"%A{v6}" - let _v865 = v884 - #endif - let v887 : string = _v865 - let v892 : string = $"{v887}" - let v895 : unit = () - let v896 : (unit -> unit) = closure11(v586, v892) - let v897 : unit = (fun () -> v896 (); v895) () - let v898 : string = " }" - let v899 : string = $"{v898}" - let v902 : unit = () - let v903 : (unit -> unit) = closure11(v586, v899) - let v904 : unit = (fun () -> v903 (); v902) () - let v905 : string = $"{v898}" - let v908 : unit = () - let v909 : (unit -> unit) = closure11(v586, v905) - let v910 : unit = (fun () -> v909 (); v908) () - let v911 : string = v586.l0 - let v912 : (unit -> string) = closure66() - let v913 : string = $"{v445} {v578} #{v584} %s{v912 ()} / {v911}" - let v916 : char list = [] - let v917 : (char list -> (char [])) = List.toArray - let v918 : (char []) = v917 v916 - let v921 : string = v913.TrimStart v918 - let v939 : char list = [] - let v940 : char list = '/' :: v939 - let v943 : char list = ' ' :: v940 - let v946 : (char list -> (char [])) = List.toArray - let v947 : (char []) = v946 v943 - let v950 : string = v921.TrimEnd v947 - let v968 : unit = () + let v990 : string = $"%A{v6}" + let _v971 = v990 + #endif + let v993 : string = _v971 + let v998 : string = $"{v993}" + let v1001 : unit = () + let v1002 : (unit -> unit) = closure11(v632, v998) + let v1003 : unit = (fun () -> v1002 (); v1001) () + let v1006 : string = " }" + let v1007 : string = $"{v1006}" + let v1010 : unit = () + let v1011 : (unit -> unit) = closure11(v632, v1007) + let v1012 : unit = (fun () -> v1011 (); v1010) () + let v1015 : string = $"{v1006}" + let v1018 : unit = () + let v1019 : (unit -> unit) = closure11(v632, v1015) + let v1020 : unit = (fun () -> v1019 (); v1018) () + let v1023 : string = v632.l0 + let v1024 : (unit -> string) = closure67() + let v1025 : string = $"{v489} {v624} #{v630} %s{v1024 ()} / {v1023}" + let v1028 : char list = [] + let v1029 : (char list -> (char [])) = List.toArray + let v1030 : (char []) = v1029 v1028 + let v1033 : string = v1025.TrimStart v1030 + let v1051 : char list = [] + let v1052 : char list = '/' :: v1051 + let v1055 : char list = ' ' :: v1052 + let v1058 : (char list -> (char [])) = List.toArray + let v1059 : (char []) = v1058 v1055 + let v1062 : string = v1033.TrimEnd v1059 + let v1080 : (string -> unit) = closure13() + let v1081 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v969 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v950 v969 - let _v968 = () + let v1082 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v1062 v1082 + let _v1081 = () #endif #if FABLE_COMPILER_RUST && WASM - let v970 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v950 v970 - let _v968 = () + let v1083 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v1062 v1083 + let _v1081 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v971 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v950 v971 - let _v968 = () + let v1084 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v1062 v1084 + let _v1081 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v950 - let _v968 = () + v1080 v1062 + let _v1081 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v950 - let _v968 = () + v1080 v1062 + let _v1081 = () #endif #else - System.Console.WriteLine v950 - let _v968 = () + v1080 v1062 + let _v1081 = () #endif - _v968 - let v972 : (string -> unit) = v13.l0 - v972 v950 -and closure68 (v0 : US28 option ref) (v1 : US28 option) : US28 option ref = + _v1081 + let v1085 : (string -> unit) = v23.l0 + v1085 v1062 +and closure69 (v0 : US28 option ref) (v1 : US28 option) : US28 option ref = v0.Value <- v1 v0 -and closure69 (v0 : (struct (int32 * string * bool) -> Async) option, v1 : (US28 option -> US28 option ref)) () : unit = +and closure70 (v0 : (struct (int32 * string * bool) -> Async) option, v1 : (US28 option -> US28 option ref)) () : unit = match v0 with | Some x -> ( (fun () -> @@ -9650,385 +9667,386 @@ and closure69 (v0 : (struct (int32 * string * bool) -> Async) option, v1 : ) () ) | None -> None |> v1 |> ignore () -and closure71 (v0 : string) () : string = +and closure72 (v0 : string) () : string = v0 -and closure70 (v0 : string) () : unit = +and closure71 (v0 : string) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 0 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 0 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Verbose" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Verbose" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_bright_black" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_bright_black" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_bright_black" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_bright_black" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_bright_black" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_bright_black" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[90m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[90m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[90m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[90m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[90m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = method9() - let v580 : Mut4 = {l0 = v579} : Mut4 - let v581 : string = v580.l0 - let v582 : (unit -> string) = closure71(v0) - let v583 : string = $"{v439} {v572} #{v578} %s{v582 ()} / {v581}" - let v586 : char list = [] - let v587 : (char list -> (char [])) = List.toArray - let v588 : (char []) = v587 v586 - let v591 : string = v583.TrimStart v588 - let v609 : char list = [] - let v610 : char list = '/' :: v609 - let v613 : char list = ' ' :: v610 - let v616 : (char list -> (char [])) = List.toArray - let v617 : (char []) = v616 v613 - let v620 : string = v591.TrimEnd v617 - let v638 : unit = () + let v614 : string = "\u001b[90m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = method9() + let v626 : Mut4 = {l0 = v625} : Mut4 + let v627 : string = v626.l0 + let v628 : (unit -> string) = closure72(v0) + let v629 : string = $"{v483} {v618} #{v624} %s{v628 ()} / {v627}" + let v632 : char list = [] + let v633 : (char list -> (char [])) = List.toArray + let v634 : (char []) = v633 v632 + let v637 : string = v629.TrimStart v634 + let v655 : char list = [] + let v656 : char list = '/' :: v655 + let v659 : char list = ' ' :: v656 + let v662 : (char list -> (char [])) = List.toArray + let v663 : (char []) = v662 v659 + let v666 : string = v637.TrimEnd v663 + let v684 : (string -> unit) = closure13() + let v685 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v639 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v620 v639 - let _v638 = () + let v686 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v666 v686 + let _v685 = () #endif #if FABLE_COMPILER_RUST && WASM - let v640 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v620 v640 - let _v638 = () + let v687 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v666 v687 + let _v685 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v641 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v620 v641 - let _v638 = () + let v688 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v666 v688 + let _v685 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v620 - let _v638 = () + v684 v666 + let _v685 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v620 - let _v638 = () + v684 v666 + let _v685 = () #endif #else - System.Console.WriteLine v620 - let _v638 = () + v684 v666 + let _v685 = () #endif - _v638 - let v642 : (string -> unit) = v7.l0 - v642 v620 -and closure67 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option, v7 : System.Diagnostics.Process, v8 : System.Collections.Concurrent.ConcurrentStack) (v9 : System.Diagnostics.DataReceivedEventArgs) : unit = + _v685 + let v689 : (string -> unit) = v17.l0 + v689 v666 +and closure68 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option, v7 : System.Diagnostics.Process, v8 : System.Collections.Concurrent.ConcurrentStack) (v9 : System.Diagnostics.DataReceivedEventArgs) : unit = let v10 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -10065,74 +10083,75 @@ and closure67 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v33 : US28 option = None let _v33 = ref v33 let v34 : US28 option ref = _v33 - let v35 : (US28 option -> US28 option ref) = closure68(v34) + let v35 : (US28 option -> US28 option ref) = closure69(v34) let v36 : unit = () - let v37 : (unit -> unit) = closure69(v3, v35) + let v37 : (unit -> unit) = closure70(v3, v35) let v38 : unit = (fun () -> v37 (); v36) () - let v39 : US28 option = _v33.Value - let v50 : US28 = US28_1 - let v51 : US28 = v39 |> Option.defaultValue v50 - match v51 with + let v41 : US28 option = _v33.Value + let v52 : US28 = US28_1 + let v53 : US28 = v41 |> Option.defaultValue v52 + match v53 with | US28_1 -> (* None *) () - | US28_0(v55) -> (* Some *) - let v56 : int32 = v7.Id - let v57 : Async = v55 struct (v56, v27, false) - do! v57 + | US28_0(v57) -> (* Some *) + let v58 : int32 = v7.Id + let v59 : Async = v57 struct (v58, v27, false) + do! v59 () - let v58 : string = $"> {v27}" + let v60 : string = $"> {v27}" if v5 then - let v59 : unit = () - let v60 : (unit -> unit) = closure70(v58) - let v61 : unit = (fun () -> v60 (); v59) () + let v61 : unit = () + let v62 : (unit -> unit) = closure71(v60) + let v63 : unit = (fun () -> v62 (); v61) () () else - let v62 : unit = () - let v63 : (unit -> unit) = closure51(v58) - let v64 : unit = (fun () -> v63 (); v62) () + let v753 : unit = () + let v754 : (unit -> unit) = closure14(v60) + let v755 : unit = (fun () -> v754 (); v753) () () - let v65 : string = "" - let v66 : string = $"{v65}{v27}{v65}" - let v67 : (string -> unit) = v8.Push - v67 v66 + let v757 : string = "" + let v758 : string = $"{v757}{v27}{v757}" + let v759 : (string -> unit) = v8.Push + v759 v758 + () } |> fun x -> _v26 <- Some x - let v68 : Async = match _v26 with Some x -> x | None -> failwith "async.new_async_unit / _v26=None" - let _v10 = v68 + let v760 : Async = match _v26 with Some x -> x | None -> failwith "async.new_async_unit / _v26=None" + let _v10 = v760 #endif - let v69 : Async = _v10 - let v74 : unit = () + let v761 : Async = _v10 + let v766 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT null |> unbox - let _v74 = () + let _v766 = () #endif #if FABLE_COMPILER_RUST && WASM null |> unbox - let _v74 = () + let _v766 = () #endif #if FABLE_COMPILER_RUST && CONTRACT null |> unbox - let _v74 = () + let _v766 = () #endif #if FABLE_COMPILER_TYPESCRIPT null |> unbox - let _v74 = () + let _v766 = () #endif #if FABLE_COMPILER_PYTHON null |> unbox - let _v74 = () + let _v766 = () #endif #else - let v75 : (Async -> unit) = Async.StartImmediate - v75 v69 - let _v74 = () + let v767 : (Async -> unit) = Async.StartImmediate + v767 v761 + let _v766 = () #endif - _v74 + _v766 () -and closure72 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option, v7 : System.Diagnostics.Process, v8 : System.Collections.Concurrent.ConcurrentStack) (v9 : System.Diagnostics.DataReceivedEventArgs) : unit = +and closure73 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option, v7 : System.Diagnostics.Process, v8 : System.Collections.Concurrent.ConcurrentStack) (v9 : System.Diagnostics.DataReceivedEventArgs) : unit = let v10 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -10169,78 +10188,79 @@ and closure72 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v33 : US28 option = None let _v33 = ref v33 let v34 : US28 option ref = _v33 - let v35 : (US28 option -> US28 option ref) = closure68(v34) + let v35 : (US28 option -> US28 option ref) = closure69(v34) let v36 : unit = () - let v37 : (unit -> unit) = closure69(v3, v35) + let v37 : (unit -> unit) = closure70(v3, v35) let v38 : unit = (fun () -> v37 (); v36) () - let v39 : US28 option = _v33.Value - let v50 : US28 = US28_1 - let v51 : US28 = v39 |> Option.defaultValue v50 - match v51 with + let v41 : US28 option = _v33.Value + let v52 : US28 = US28_1 + let v53 : US28 = v41 |> Option.defaultValue v52 + match v53 with | US28_1 -> (* None *) () - | US28_0(v55) -> (* Some *) - let v56 : int32 = v7.Id - let v57 : Async = v55 struct (v56, v27, true) - do! v57 + | US28_0(v57) -> (* Some *) + let v58 : int32 = v7.Id + let v59 : Async = v57 struct (v58, v27, true) + do! v59 () - let v58 : string = $"! {v27}" + let v60 : string = $"! {v27}" if v5 then - let v59 : unit = () - let v60 : (unit -> unit) = closure70(v58) - let v61 : unit = (fun () -> v60 (); v59) () + let v61 : unit = () + let v62 : (unit -> unit) = closure71(v60) + let v63 : unit = (fun () -> v62 (); v61) () () else - let v62 : unit = () - let v63 : (unit -> unit) = closure51(v58) - let v64 : unit = (fun () -> v63 (); v62) () + let v753 : unit = () + let v754 : (unit -> unit) = closure14(v60) + let v755 : unit = (fun () -> v754 (); v753) () () - let v65 : string = "\u001b[7;4m" - let v66 : string = "\u001b[0m" - let v67 : string = $"{v65}{v27}{v66}" - let v68 : (string -> unit) = v8.Push - v68 v67 + let v757 : string = "\u001b[7;4m" + let v758 : string = "\u001b[0m" + let v759 : string = $"{v757}{v27}{v758}" + let v760 : (string -> unit) = v8.Push + v760 v759 + () } |> fun x -> _v26 <- Some x - let v69 : Async = match _v26 with Some x -> x | None -> failwith "async.new_async_unit / _v26=None" - let _v10 = v69 + let v761 : Async = match _v26 with Some x -> x | None -> failwith "async.new_async_unit / _v26=None" + let _v10 = v761 #endif - let v70 : Async = _v10 - let v75 : unit = () + let v762 : Async = _v10 + let v767 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT null |> unbox - let _v75 = () + let _v767 = () #endif #if FABLE_COMPILER_RUST && WASM null |> unbox - let _v75 = () + let _v767 = () #endif #if FABLE_COMPILER_RUST && CONTRACT null |> unbox - let _v75 = () + let _v767 = () #endif #if FABLE_COMPILER_TYPESCRIPT null |> unbox - let _v75 = () + let _v767 = () #endif #if FABLE_COMPILER_PYTHON null |> unbox - let _v75 = () + let _v767 = () #endif #else - let v76 : (Async -> unit) = Async.StartImmediate - v76 v70 - let _v75 = () + let v768 : (Async -> unit) = Async.StartImmediate + v768 v762 + let _v767 = () #endif - _v75 + _v767 () -and closure73 (v0 : US29 option ref) (v1 : US29 option) : US29 option ref = +and closure74 (v0 : US29 option ref) (v1 : US29 option) : US29 option ref = v0.Value <- v1 v0 -and closure74 (v0 : System.Threading.CancellationToken option, v1 : (US29 option -> US29 option ref)) () : unit = +and closure75 (v0 : System.Threading.CancellationToken option, v1 : (US29 option -> US29 option ref)) () : unit = match v0 with | Some x -> ( (fun () -> @@ -10253,7 +10273,7 @@ and closure74 (v0 : System.Threading.CancellationToken option, v1 : (US29 option ) () ) | None -> None |> v1 |> ignore () -and closure75 (v0 : System.Diagnostics.Process) () : unit = +and closure76 (v0 : System.Diagnostics.Process) () : unit = let v1 : unit = () #if FABLE_COMPILER || WASM || CONTRACT @@ -10311,869 +10331,871 @@ and closure75 (v0 : System.Diagnostics.Process) () : unit = #endif _v24 () -and closure77 () () : string = +and closure78 () () : string = let v0 : string = $"runtime.execute_with_options_async / WaitForExitAsync" v0 -and closure76 (v0 : System.Threading.Tasks.TaskCanceledException) () : unit = +and closure77 (v0 : System.Threading.Tasks.TaskCanceledException) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 3 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 3 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Warning" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Warning" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_yellow" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_yellow" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_yellow" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_yellow" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_yellow" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_yellow" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[93m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[93m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[93m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[93m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[93m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = method9() - let v580 : Mut4 = {l0 = v579} : Mut4 - let v581 : string = "{ " - let v582 : string = $"{v581}" - let v585 : unit = () - let v586 : (unit -> unit) = closure11(v580, v582) - let v587 : unit = (fun () -> v586 (); v585) () - let v588 : string = "ex" - let v589 : string = $"{v588}" - let v592 : unit = () - let v593 : (unit -> unit) = closure11(v580, v589) - let v594 : unit = (fun () -> v593 (); v592) () - let v595 : string = " = " - let v596 : string = $"{v595}" - let v599 : unit = () - let v600 : (unit -> unit) = closure11(v580, v596) - let v601 : unit = (fun () -> v600 (); v599) () - let v602 : unit = () + let v614 : string = "\u001b[93m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = method9() + let v626 : Mut4 = {l0 = v625} : Mut4 + let v627 : string = "{ " + let v628 : string = $"{v627}" + let v631 : unit = () + let v632 : (unit -> unit) = closure11(v626, v628) + let v633 : unit = (fun () -> v632 (); v631) () + let v636 : string = "ex" + let v637 : string = $"{v636}" + let v640 : unit = () + let v641 : (unit -> unit) = closure11(v626, v637) + let v642 : unit = (fun () -> v641 (); v640) () + let v645 : string = " = " + let v646 : string = $"{v645}" + let v649 : unit = () + let v650 : (unit -> unit) = closure11(v626, v646) + let v651 : unit = (fun () -> v650 (); v649) () + let v654 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v603 : string = "format!(\"{:#?}\", $0)" - let v604 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v603 - let v605 : string = "fable_library_rust::String_::fromString($0)" - let v606 : string = Fable.Core.RustInterop.emitRustExpr v604 v605 - let _v602 = v606 + let v655 : string = "format!(\"{:#?}\", $0)" + let v656 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v655 + let v657 : string = "fable_library_rust::String_::fromString($0)" + let v658 : string = Fable.Core.RustInterop.emitRustExpr v656 v657 + let _v654 = v658 #endif #if FABLE_COMPILER_RUST && WASM - let v607 : string = "format!(\"{:#?}\", $0)" - let v608 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v607 - let v609 : string = "fable_library_rust::String_::fromString($0)" - let v610 : string = Fable.Core.RustInterop.emitRustExpr v608 v609 - let _v602 = v610 + let v659 : string = "format!(\"{:#?}\", $0)" + let v660 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v659 + let v661 : string = "fable_library_rust::String_::fromString($0)" + let v662 : string = Fable.Core.RustInterop.emitRustExpr v660 v661 + let _v654 = v662 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v611 : string = "format!(\"{:#?}\", $0)" - let v612 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v611 - let v613 : string = "fable_library_rust::String_::fromString($0)" - let v614 : string = Fable.Core.RustInterop.emitRustExpr v612 v613 - let _v602 = v614 + let v663 : string = "format!(\"{:#?}\", $0)" + let v664 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v663 + let v665 : string = "fable_library_rust::String_::fromString($0)" + let v666 : string = Fable.Core.RustInterop.emitRustExpr v664 v665 + let _v654 = v666 #endif #if FABLE_COMPILER_TYPESCRIPT - let v615 : string = $"%A{v0}" - let _v602 = v615 + let v667 : string = $"%A{v0}" + let _v654 = v667 #endif #if FABLE_COMPILER_PYTHON - let v618 : string = $"%A{v0}" - let _v602 = v618 + let v670 : string = $"%A{v0}" + let _v654 = v670 #endif #else - let v621 : string = $"%A{v0}" - let _v602 = v621 + let v673 : string = $"%A{v0}" + let _v654 = v673 #endif - let v624 : string = _v602 - let v629 : string = $"{v624}" - let v632 : unit = () - let v633 : (unit -> unit) = closure11(v580, v629) - let v634 : unit = (fun () -> v633 (); v632) () - let v635 : string = " }" - let v636 : string = $"{v635}" - let v639 : unit = () - let v640 : (unit -> unit) = closure11(v580, v636) - let v641 : unit = (fun () -> v640 (); v639) () - let v642 : string = v580.l0 - let v643 : (unit -> string) = closure77() - let v644 : string = $"{v439} {v572} #{v578} %s{v643 ()} / {v642}" - let v647 : char list = [] - let v648 : (char list -> (char [])) = List.toArray - let v649 : (char []) = v648 v647 - let v652 : string = v644.TrimStart v649 - let v670 : char list = [] - let v671 : char list = '/' :: v670 - let v674 : char list = ' ' :: v671 - let v677 : (char list -> (char [])) = List.toArray - let v678 : (char []) = v677 v674 - let v681 : string = v652.TrimEnd v678 - let v699 : unit = () + let v676 : string = _v654 + let v681 : string = $"{v676}" + let v684 : unit = () + let v685 : (unit -> unit) = closure11(v626, v681) + let v686 : unit = (fun () -> v685 (); v684) () + let v689 : string = " }" + let v690 : string = $"{v689}" + let v693 : unit = () + let v694 : (unit -> unit) = closure11(v626, v690) + let v695 : unit = (fun () -> v694 (); v693) () + let v698 : string = v626.l0 + let v699 : (unit -> string) = closure78() + let v700 : string = $"{v483} {v618} #{v624} %s{v699 ()} / {v698}" + let v703 : char list = [] + let v704 : (char list -> (char [])) = List.toArray + let v705 : (char []) = v704 v703 + let v708 : string = v700.TrimStart v705 + let v726 : char list = [] + let v727 : char list = '/' :: v726 + let v730 : char list = ' ' :: v727 + let v733 : (char list -> (char [])) = List.toArray + let v734 : (char []) = v733 v730 + let v737 : string = v708.TrimEnd v734 + let v755 : (string -> unit) = closure13() + let v756 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v700 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v700 - let _v699 = () + let v757 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v757 + let _v756 = () #endif #if FABLE_COMPILER_RUST && WASM - let v701 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v701 - let _v699 = () + let v758 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v758 + let _v756 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v702 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v702 - let _v699 = () + let v759 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v737 v759 + let _v756 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif #else - System.Console.WriteLine v681 - let _v699 = () + v755 v737 + let _v756 = () #endif - _v699 - let v703 : (string -> unit) = v7.l0 - v703 v681 -and closure79 () () : string = + _v756 + let v760 : (string -> unit) = v17.l0 + v760 v737 +and closure80 () () : string = let v0 : string = $"runtime.execute_with_options_async" v0 -and closure78 (v0 : int32, v1 : string) () : unit = +and closure79 (v0 : int32, v1 : string) () : unit = let v2 : unit = () let v3 : (unit -> unit) = closure7() let v4 : unit = (fun () -> v3 (); v2) () - let struct (v7 : Mut0, v8 : Mut1, v9 : Mut2, v10 : Mut3, v11 : int64 option) = State.trace_state.Value - let v22 : unit = () - let v23 : unit = (fun () -> v3 (); v22) () - let struct (v26 : Mut0, v27 : Mut1, v28 : Mut2, v29 : Mut3, v30 : int64 option) = State.trace_state.Value - let v41 : US0 = v29.l0 - let v42 : bool = v28.l0 - let v43 : bool = v42 = false - let v46 : bool = - if v43 then + let struct (v17 : Mut0, v18 : Mut1, v19 : Mut2, v20 : Mut3, v21 : int64 option) = State.trace_state.Value + let v32 : unit = () + let v33 : unit = (fun () -> v3 (); v32) () + let struct (v46 : Mut0, v47 : Mut1, v48 : Mut2, v49 : Mut3, v50 : int64 option) = State.trace_state.Value + let v61 : US0 = v49.l0 + let v62 : bool = v48.l0 + let v63 : bool = v62 = false + let v66 : bool = + if v63 then false else - let v44 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v41 - let v45 : bool = 1 >= v44 - v45 - if v46 then - let v47 : unit = () - let v48 : (unit -> unit) = closure8(v7) - let v49 : unit = (fun () -> v48 (); v47) () - let v50 : unit = () - let v51 : unit = (fun () -> v3 (); v50) () - let struct (v54 : Mut0, v55 : Mut1, v56 : Mut2, v57 : Mut3, v58 : int64 option) = State.trace_state.Value - let v69 : unit = () + let v64 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v61 + let v65 : bool = 1 >= v64 + v65 + if v66 then + let v67 : unit = () + let v68 : (unit -> unit) = closure8(v17) + let v69 : unit = (fun () -> v68 (); v67) () + let v72 : unit = () + let v73 : unit = (fun () -> v3 (); v72) () + let struct (v86 : Mut0, v87 : Mut1, v88 : Mut2, v89 : Mut3, v90 : int64 option) = State.trace_state.Value + let v101 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v70 : US3 option = None - let _v70 = ref v70 - let v71 : US3 option ref = _v70 - let v72 : (US3 option -> US3 option ref) = closure9(v71) - let v73 : unit = () - let v74 : (unit -> unit) = closure10(v58, v72) - let v75 : unit = (fun () -> v74 (); v73) () - let v76 : US3 option = _v70.Value - let v87 : US3 = US3_1 - let v88 : US3 = v76 |> Option.defaultValue v87 - let v128 : System.DateTime = - match v88 with + let v102 : US3 option = None + let _v102 = ref v102 + let v103 : US3 option ref = _v102 + let v104 : (US3 option -> US3 option ref) = closure9(v103) + let v105 : unit = () + let v106 : (unit -> unit) = closure10(v90, v104) + let v107 : unit = (fun () -> v106 (); v105) () + let v110 : US3 option = _v102.Value + let v121 : US3 = US3_1 + let v122 : US3 = v110 |> Option.defaultValue v121 + let v162 : System.DateTime = + match v122 with | US3_1 -> (* None *) - let v124 : System.DateTime = System.DateTime.Now - v124 - | US3_0(v92) -> (* Some *) - let v93 : System.DateTime = System.DateTime.Now - let v96 : (System.DateTime -> int64) = _.Ticks - let v97 : int64 = v96 v93 - let v100 : int64 = v97 - v92 - let v101 : (int64 -> System.TimeSpan) = System.TimeSpan - let v102 : System.TimeSpan = v101 v100 - let v105 : (System.TimeSpan -> int32) = _.Hours - let v106 : int32 = v105 v102 - let v109 : (System.TimeSpan -> int32) = _.Minutes - let v110 : int32 = v109 v102 - let v113 : (System.TimeSpan -> int32) = _.Seconds - let v114 : int32 = v113 v102 - let v117 : (System.TimeSpan -> int32) = _.Milliseconds - let v118 : int32 = v117 v102 - let v121 : System.DateTime = System.DateTime (1, 1, 1, v106, v110, v114, v118) - v121 - let v129 : string = method6() - let v132 : (string -> string) = v128.ToString - let v133 : string = v132 v129 - let _v69 = v133 + let v158 : System.DateTime = System.DateTime.Now + v158 + | US3_0(v126) -> (* Some *) + let v127 : System.DateTime = System.DateTime.Now + let v130 : (System.DateTime -> int64) = _.Ticks + let v131 : int64 = v130 v127 + let v134 : int64 = v131 - v126 + let v135 : (int64 -> System.TimeSpan) = System.TimeSpan + let v136 : System.TimeSpan = v135 v134 + let v139 : (System.TimeSpan -> int32) = _.Hours + let v140 : int32 = v139 v136 + let v143 : (System.TimeSpan -> int32) = _.Minutes + let v144 : int32 = v143 v136 + let v147 : (System.TimeSpan -> int32) = _.Seconds + let v148 : int32 = v147 v136 + let v151 : (System.TimeSpan -> int32) = _.Milliseconds + let v152 : int32 = v151 v136 + let v155 : System.DateTime = System.DateTime (1, 1, 1, v140, v144, v148, v152) + v155 + let v163 : string = method6() + let v166 : (string -> string) = v162.ToString + let v167 : string = v166 v163 + let _v101 = v167 #endif #if FABLE_COMPILER_RUST && WASM - let v136 : US3 option = None - let _v136 = ref v136 - let v137 : US3 option ref = _v136 - let v138 : (US3 option -> US3 option ref) = closure9(v137) - let v139 : unit = () - let v140 : (unit -> unit) = closure10(v58, v138) - let v141 : unit = (fun () -> v140 (); v139) () - let v142 : US3 option = _v136.Value - let v153 : US3 = US3_1 - let v154 : US3 = v142 |> Option.defaultValue v153 - let v194 : System.DateTime = - match v154 with + let v170 : US3 option = None + let _v170 = ref v170 + let v171 : US3 option ref = _v170 + let v172 : (US3 option -> US3 option ref) = closure9(v171) + let v173 : unit = () + let v174 : (unit -> unit) = closure10(v90, v172) + let v175 : unit = (fun () -> v174 (); v173) () + let v178 : US3 option = _v170.Value + let v189 : US3 = US3_1 + let v190 : US3 = v178 |> Option.defaultValue v189 + let v230 : System.DateTime = + match v190 with | US3_1 -> (* None *) - let v190 : System.DateTime = System.DateTime.Now - v190 - | US3_0(v158) -> (* Some *) - let v159 : System.DateTime = System.DateTime.Now - let v162 : (System.DateTime -> int64) = _.Ticks - let v163 : int64 = v162 v159 - let v166 : int64 = v163 - v158 - let v167 : (int64 -> System.TimeSpan) = System.TimeSpan - let v168 : System.TimeSpan = v167 v166 - let v171 : (System.TimeSpan -> int32) = _.Hours - let v172 : int32 = v171 v168 - let v175 : (System.TimeSpan -> int32) = _.Minutes - let v176 : int32 = v175 v168 - let v179 : (System.TimeSpan -> int32) = _.Seconds - let v180 : int32 = v179 v168 - let v183 : (System.TimeSpan -> int32) = _.Milliseconds - let v184 : int32 = v183 v168 - let v187 : System.DateTime = System.DateTime (1, 1, 1, v172, v176, v180, v184) - v187 - let v195 : string = method6() - let v198 : (string -> string) = v194.ToString - let v199 : string = v198 v195 - let _v69 = v199 + let v226 : System.DateTime = System.DateTime.Now + v226 + | US3_0(v194) -> (* Some *) + let v195 : System.DateTime = System.DateTime.Now + let v198 : (System.DateTime -> int64) = _.Ticks + let v199 : int64 = v198 v195 + let v202 : int64 = v199 - v194 + let v203 : (int64 -> System.TimeSpan) = System.TimeSpan + let v204 : System.TimeSpan = v203 v202 + let v207 : (System.TimeSpan -> int32) = _.Hours + let v208 : int32 = v207 v204 + let v211 : (System.TimeSpan -> int32) = _.Minutes + let v212 : int32 = v211 v204 + let v215 : (System.TimeSpan -> int32) = _.Seconds + let v216 : int32 = v215 v204 + let v219 : (System.TimeSpan -> int32) = _.Milliseconds + let v220 : int32 = v219 v204 + let v223 : System.DateTime = System.DateTime (1, 1, 1, v208, v212, v216, v220) + v223 + let v231 : string = method6() + let v234 : (string -> string) = v230.ToString + let v235 : string = v234 v231 + let _v101 = v235 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v202 : string = $"near_sdk::env::block_timestamp()" - let v203 : uint64 = Fable.Core.RustInterop.emitRustExpr () v202 - let v204 : US3 option = None - let _v204 = ref v204 - let v205 : US3 option ref = _v204 - let v206 : (US3 option -> US3 option ref) = closure9(v205) - let v207 : unit = () - let v208 : (unit -> unit) = closure10(v58, v206) - let v209 : unit = (fun () -> v208 (); v207) () - let v210 : US3 option = _v204.Value - let v221 : US3 = US3_1 - let v222 : US3 = v210 |> Option.defaultValue v221 - let v231 : uint64 = - match v222 with - | US3_1 -> (* None *) - v203 - | US3_0(v226) -> (* Some *) - let v227 : (int64 -> uint64) = uint64 - let v228 : uint64 = v227 v226 - let v229 : uint64 = v203 - v228 - v229 - let v232 : uint64 = v231 / 1000000000UL - let v233 : uint64 = v232 % 60UL - let v234 : uint64 = v232 / 60UL - let v235 : uint64 = v234 % 60UL - let v236 : uint64 = v232 / 3600UL - let v237 : uint64 = v236 % 24UL - let v238 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v239 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v237, v235, v233) v238 - let v240 : string = "fable_library_rust::String_::fromString($0)" - let v241 : string = Fable.Core.RustInterop.emitRustExpr v239 v240 - let _v69 = v241 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v242 : US3 option = None - let _v242 = ref v242 - let v243 : US3 option ref = _v242 - let v244 : (US3 option -> US3 option ref) = closure9(v243) - let v245 : unit = () - let v246 : (unit -> unit) = closure10(v58, v244) - let v247 : unit = (fun () -> v246 (); v245) () - let v248 : US3 option = _v242.Value + let v238 : string = $"near_sdk::env::block_timestamp()" + let v239 : uint64 = Fable.Core.RustInterop.emitRustExpr () v238 + let v240 : US3 option = None + let _v240 = ref v240 + let v241 : US3 option ref = _v240 + let v242 : (US3 option -> US3 option ref) = closure9(v241) + let v243 : unit = () + let v244 : (unit -> unit) = closure10(v90, v242) + let v245 : unit = (fun () -> v244 (); v243) () + let v248 : US3 option = _v240.Value let v259 : US3 = US3_1 let v260 : US3 = v248 |> Option.defaultValue v259 - let v300 : System.DateTime = + let v269 : uint64 = match v260 with | US3_1 -> (* None *) - let v296 : System.DateTime = System.DateTime.Now - v296 + v239 | US3_0(v264) -> (* Some *) - let v265 : System.DateTime = System.DateTime.Now - let v268 : (System.DateTime -> int64) = _.Ticks - let v269 : int64 = v268 v265 - let v272 : int64 = v269 - v264 - let v273 : (int64 -> System.TimeSpan) = System.TimeSpan - let v274 : System.TimeSpan = v273 v272 - let v277 : (System.TimeSpan -> int32) = _.Hours - let v278 : int32 = v277 v274 - let v281 : (System.TimeSpan -> int32) = _.Minutes - let v282 : int32 = v281 v274 - let v285 : (System.TimeSpan -> int32) = _.Seconds - let v286 : int32 = v285 v274 - let v289 : (System.TimeSpan -> int32) = _.Milliseconds - let v290 : int32 = v289 v274 - let v293 : System.DateTime = System.DateTime (1, 1, 1, v278, v282, v286, v290) - v293 - let v301 : string = method7() - let v304 : (string -> string) = v300.ToString - let v305 : string = v304 v301 - let _v69 = v305 + let v265 : (int64 -> uint64) = uint64 + let v266 : uint64 = v265 v264 + let v267 : uint64 = v239 - v266 + v267 + let v270 : uint64 = v269 / 1000000000UL + let v271 : uint64 = v270 % 60UL + let v272 : uint64 = v270 / 60UL + let v273 : uint64 = v272 % 60UL + let v274 : uint64 = v270 / 3600UL + let v275 : uint64 = v274 % 24UL + let v276 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v277 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v275, v273, v271) v276 + let v278 : string = "fable_library_rust::String_::fromString($0)" + let v279 : string = Fable.Core.RustInterop.emitRustExpr v277 v278 + let _v101 = v279 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v280 : US3 option = None + let _v280 = ref v280 + let v281 : US3 option ref = _v280 + let v282 : (US3 option -> US3 option ref) = closure9(v281) + let v283 : unit = () + let v284 : (unit -> unit) = closure10(v90, v282) + let v285 : unit = (fun () -> v284 (); v283) () + let v288 : US3 option = _v280.Value + let v299 : US3 = US3_1 + let v300 : US3 = v288 |> Option.defaultValue v299 + let v340 : System.DateTime = + match v300 with + | US3_1 -> (* None *) + let v336 : System.DateTime = System.DateTime.Now + v336 + | US3_0(v304) -> (* Some *) + let v305 : System.DateTime = System.DateTime.Now + let v308 : (System.DateTime -> int64) = _.Ticks + let v309 : int64 = v308 v305 + let v312 : int64 = v309 - v304 + let v313 : (int64 -> System.TimeSpan) = System.TimeSpan + let v314 : System.TimeSpan = v313 v312 + let v317 : (System.TimeSpan -> int32) = _.Hours + let v318 : int32 = v317 v314 + let v321 : (System.TimeSpan -> int32) = _.Minutes + let v322 : int32 = v321 v314 + let v325 : (System.TimeSpan -> int32) = _.Seconds + let v326 : int32 = v325 v314 + let v329 : (System.TimeSpan -> int32) = _.Milliseconds + let v330 : int32 = v329 v314 + let v333 : System.DateTime = System.DateTime (1, 1, 1, v318, v322, v326, v330) + v333 + let v341 : string = method7() + let v344 : (string -> string) = v340.ToString + let v345 : string = v344 v341 + let _v101 = v345 #endif #if FABLE_COMPILER_PYTHON - let v308 : US3 option = None - let _v308 = ref v308 - let v309 : US3 option ref = _v308 - let v310 : (US3 option -> US3 option ref) = closure9(v309) - let v311 : unit = () - let v312 : (unit -> unit) = closure10(v58, v310) - let v313 : unit = (fun () -> v312 (); v311) () - let v314 : US3 option = _v308.Value - let v325 : US3 = US3_1 - let v326 : US3 = v314 |> Option.defaultValue v325 - let v366 : System.DateTime = - match v326 with + let v348 : US3 option = None + let _v348 = ref v348 + let v349 : US3 option ref = _v348 + let v350 : (US3 option -> US3 option ref) = closure9(v349) + let v351 : unit = () + let v352 : (unit -> unit) = closure10(v90, v350) + let v353 : unit = (fun () -> v352 (); v351) () + let v356 : US3 option = _v348.Value + let v367 : US3 = US3_1 + let v368 : US3 = v356 |> Option.defaultValue v367 + let v408 : System.DateTime = + match v368 with | US3_1 -> (* None *) - let v362 : System.DateTime = System.DateTime.Now - v362 - | US3_0(v330) -> (* Some *) - let v331 : System.DateTime = System.DateTime.Now - let v334 : (System.DateTime -> int64) = _.Ticks - let v335 : int64 = v334 v331 - let v338 : int64 = v335 - v330 - let v339 : (int64 -> System.TimeSpan) = System.TimeSpan - let v340 : System.TimeSpan = v339 v338 - let v343 : (System.TimeSpan -> int32) = _.Hours - let v344 : int32 = v343 v340 - let v347 : (System.TimeSpan -> int32) = _.Minutes - let v348 : int32 = v347 v340 - let v351 : (System.TimeSpan -> int32) = _.Seconds - let v352 : int32 = v351 v340 - let v355 : (System.TimeSpan -> int32) = _.Milliseconds - let v356 : int32 = v355 v340 - let v359 : System.DateTime = System.DateTime (1, 1, 1, v344, v348, v352, v356) - v359 - let v367 : string = method7() - let v370 : (string -> string) = v366.ToString - let v371 : string = v370 v367 - let _v69 = v371 + let v404 : System.DateTime = System.DateTime.Now + v404 + | US3_0(v372) -> (* Some *) + let v373 : System.DateTime = System.DateTime.Now + let v376 : (System.DateTime -> int64) = _.Ticks + let v377 : int64 = v376 v373 + let v380 : int64 = v377 - v372 + let v381 : (int64 -> System.TimeSpan) = System.TimeSpan + let v382 : System.TimeSpan = v381 v380 + let v385 : (System.TimeSpan -> int32) = _.Hours + let v386 : int32 = v385 v382 + let v389 : (System.TimeSpan -> int32) = _.Minutes + let v390 : int32 = v389 v382 + let v393 : (System.TimeSpan -> int32) = _.Seconds + let v394 : int32 = v393 v382 + let v397 : (System.TimeSpan -> int32) = _.Milliseconds + let v398 : int32 = v397 v382 + let v401 : System.DateTime = System.DateTime (1, 1, 1, v386, v390, v394, v398) + v401 + let v409 : string = method7() + let v412 : (string -> string) = v408.ToString + let v413 : string = v412 v409 + let _v101 = v413 #endif #else - let v374 : US3 option = None - let _v374 = ref v374 - let v375 : US3 option ref = _v374 - let v376 : (US3 option -> US3 option ref) = closure9(v375) - let v377 : unit = () - let v378 : (unit -> unit) = closure10(v58, v376) - let v379 : unit = (fun () -> v378 (); v377) () - let v380 : US3 option = _v374.Value - let v391 : US3 = US3_1 - let v392 : US3 = v380 |> Option.defaultValue v391 - let v432 : System.DateTime = - match v392 with + let v416 : US3 option = None + let _v416 = ref v416 + let v417 : US3 option ref = _v416 + let v418 : (US3 option -> US3 option ref) = closure9(v417) + let v419 : unit = () + let v420 : (unit -> unit) = closure10(v90, v418) + let v421 : unit = (fun () -> v420 (); v419) () + let v424 : US3 option = _v416.Value + let v435 : US3 = US3_1 + let v436 : US3 = v424 |> Option.defaultValue v435 + let v476 : System.DateTime = + match v436 with | US3_1 -> (* None *) - let v428 : System.DateTime = System.DateTime.Now - v428 - | US3_0(v396) -> (* Some *) - let v397 : System.DateTime = System.DateTime.Now - let v400 : (System.DateTime -> int64) = _.Ticks - let v401 : int64 = v400 v397 - let v404 : int64 = v401 - v396 - let v405 : (int64 -> System.TimeSpan) = System.TimeSpan - let v406 : System.TimeSpan = v405 v404 - let v409 : (System.TimeSpan -> int32) = _.Hours - let v410 : int32 = v409 v406 - let v413 : (System.TimeSpan -> int32) = _.Minutes - let v414 : int32 = v413 v406 - let v417 : (System.TimeSpan -> int32) = _.Seconds - let v418 : int32 = v417 v406 - let v421 : (System.TimeSpan -> int32) = _.Milliseconds - let v422 : int32 = v421 v406 - let v425 : System.DateTime = System.DateTime (1, 1, 1, v410, v414, v418, v422) - v425 - let v433 : string = method7() - let v436 : (string -> string) = v432.ToString - let v437 : string = v436 v433 - let _v69 = v437 - #endif - let v440 : string = _v69 - let v508 : string = "Debug" - let v509 : (unit -> string) = v508.ToLower - let v510 : string = v509 () - let v513 : string = v510.PadLeft (7, ' ') - let v527 : unit = () + let v472 : System.DateTime = System.DateTime.Now + v472 + | US3_0(v440) -> (* Some *) + let v441 : System.DateTime = System.DateTime.Now + let v444 : (System.DateTime -> int64) = _.Ticks + let v445 : int64 = v444 v441 + let v448 : int64 = v445 - v440 + let v449 : (int64 -> System.TimeSpan) = System.TimeSpan + let v450 : System.TimeSpan = v449 v448 + let v453 : (System.TimeSpan -> int32) = _.Hours + let v454 : int32 = v453 v450 + let v457 : (System.TimeSpan -> int32) = _.Minutes + let v458 : int32 = v457 v450 + let v461 : (System.TimeSpan -> int32) = _.Seconds + let v462 : int32 = v461 v450 + let v465 : (System.TimeSpan -> int32) = _.Milliseconds + let v466 : int32 = v465 v450 + let v469 : System.DateTime = System.DateTime (1, 1, 1, v454, v458, v462, v466) + v469 + let v477 : string = method7() + let v480 : (string -> string) = v476.ToString + let v481 : string = v480 v477 + let _v101 = v481 + #endif + let v484 : string = _v101 + let v554 : string = "Debug" + let v555 : (unit -> string) = v554.ToLower + let v556 : string = v555 () + let v559 : string = v556.PadLeft (7, ' ') + let v573 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v528 : string = "inline_colorization::color_bright_blue" - let v529 : Ref = Fable.Core.RustInterop.emitRustExpr () v528 - let v530 : string = "&*$0" - let v531 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v530 - let v532 : string = "inline_colorization::color_reset" - let v533 : Ref = Fable.Core.RustInterop.emitRustExpr () v532 - let v534 : string = "\"{v529}{v531}{v533}\"" - let v535 : string = @$"format!(" + v534 + ")" - let v536 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v535 - let v537 : string = "fable_library_rust::String_::fromString($0)" - let v538 : string = Fable.Core.RustInterop.emitRustExpr v536 v537 - let _v527 = v538 + let v574 : string = "inline_colorization::color_bright_blue" + let v575 : Ref = Fable.Core.RustInterop.emitRustExpr () v574 + let v576 : string = "&*$0" + let v577 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v576 + let v578 : string = "inline_colorization::color_reset" + let v579 : Ref = Fable.Core.RustInterop.emitRustExpr () v578 + let v580 : string = "\"{v575}{v577}{v579}\"" + let v581 : string = @$"format!(" + v580 + ")" + let v582 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v581 + let v583 : string = "fable_library_rust::String_::fromString($0)" + let v584 : string = Fable.Core.RustInterop.emitRustExpr v582 v583 + let _v573 = v584 #endif #if FABLE_COMPILER_RUST && WASM - let v539 : string = "inline_colorization::color_bright_blue" - let v540 : Ref = Fable.Core.RustInterop.emitRustExpr () v539 - let v541 : string = "&*$0" - let v542 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v541 - let v543 : string = "inline_colorization::color_reset" - let v544 : Ref = Fable.Core.RustInterop.emitRustExpr () v543 - let v545 : string = "\"{v540}{v542}{v544}\"" - let v546 : string = @$"format!(" + v545 + ")" - let v547 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v546 - let v548 : string = "fable_library_rust::String_::fromString($0)" - let v549 : string = Fable.Core.RustInterop.emitRustExpr v547 v548 - let _v527 = v549 + let v585 : string = "inline_colorization::color_bright_blue" + let v586 : Ref = Fable.Core.RustInterop.emitRustExpr () v585 + let v587 : string = "&*$0" + let v588 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v587 + let v589 : string = "inline_colorization::color_reset" + let v590 : Ref = Fable.Core.RustInterop.emitRustExpr () v589 + let v591 : string = "\"{v586}{v588}{v590}\"" + let v592 : string = @$"format!(" + v591 + ")" + let v593 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v592 + let v594 : string = "fable_library_rust::String_::fromString($0)" + let v595 : string = Fable.Core.RustInterop.emitRustExpr v593 v594 + let _v573 = v595 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v550 : string = "inline_colorization::color_bright_blue" - let v551 : Ref = Fable.Core.RustInterop.emitRustExpr () v550 - let v552 : string = "&*$0" - let v553 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v552 - let v554 : string = "inline_colorization::color_reset" - let v555 : Ref = Fable.Core.RustInterop.emitRustExpr () v554 - let v556 : string = "\"{v551}{v553}{v555}\"" - let v557 : string = @$"format!(" + v556 + ")" - let v558 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v557 - let v559 : string = "fable_library_rust::String_::fromString($0)" - let v560 : string = Fable.Core.RustInterop.emitRustExpr v558 v559 - let _v527 = v560 + let v596 : string = "inline_colorization::color_bright_blue" + let v597 : Ref = Fable.Core.RustInterop.emitRustExpr () v596 + let v598 : string = "&*$0" + let v599 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v598 + let v600 : string = "inline_colorization::color_reset" + let v601 : Ref = Fable.Core.RustInterop.emitRustExpr () v600 + let v602 : string = "\"{v597}{v599}{v601}\"" + let v603 : string = @$"format!(" + v602 + ")" + let v604 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v603 + let v605 : string = "fable_library_rust::String_::fromString($0)" + let v606 : string = Fable.Core.RustInterop.emitRustExpr v604 v605 + let _v573 = v606 #endif #if FABLE_COMPILER_TYPESCRIPT - let v561 : string = "\u001b[94m" - let v562 : string = method8() - let v563 : string = v561 + v513 - let v564 : string = v563 + v562 - let _v527 = v564 + let v607 : string = "\u001b[94m" + let v608 : string = method8() + let v609 : string = v607 + v559 + let v610 : string = v609 + v608 + let _v573 = v610 #endif #if FABLE_COMPILER_PYTHON - let v565 : string = "\u001b[94m" - let v566 : string = method8() - let v567 : string = v565 + v513 - let v568 : string = v567 + v566 - let _v527 = v568 + let v611 : string = "\u001b[94m" + let v612 : string = method8() + let v613 : string = v611 + v559 + let v614 : string = v613 + v612 + let _v573 = v614 #endif #else - let v569 : string = "\u001b[94m" - let v570 : string = method8() - let v571 : string = v569 + v513 - let v572 : string = v571 + v570 - let _v527 = v572 - #endif - let v573 : string = _v527 - let v579 : int64 = v54.l0 - let v580 : int32 = v1.Length - let v581 : string = method9() - let v582 : Mut4 = {l0 = v581} : Mut4 - let v583 : string = "{ " - let v584 : string = $"{v583}" - let v587 : unit = () - let v588 : (unit -> unit) = closure11(v582, v584) - let v589 : unit = (fun () -> v588 (); v587) () - let v590 : string = "exit_code" - let v591 : string = $"{v590}" - let v594 : unit = () - let v595 : (unit -> unit) = closure11(v582, v591) - let v596 : unit = (fun () -> v595 (); v594) () - let v597 : string = " = " - let v598 : string = $"{v597}" - let v601 : unit = () - let v602 : (unit -> unit) = closure11(v582, v598) - let v603 : unit = (fun () -> v602 (); v601) () - let v604 : string = $"{v0}" - let v607 : unit = () - let v608 : (unit -> unit) = closure11(v582, v604) - let v609 : unit = (fun () -> v608 (); v607) () - let v610 : string = "; " - let v611 : string = $"{v610}" - let v614 : unit = () - let v615 : (unit -> unit) = closure11(v582, v611) - let v616 : unit = (fun () -> v615 (); v614) () - let v617 : string = "output_length" - let v618 : string = $"{v617}" - let v621 : unit = () - let v622 : (unit -> unit) = closure11(v582, v618) - let v623 : unit = (fun () -> v622 (); v621) () - let v624 : string = $"{v597}" - let v627 : unit = () - let v628 : (unit -> unit) = closure11(v582, v624) - let v629 : unit = (fun () -> v628 (); v627) () - let v630 : string = $"{v580}" + let v615 : string = "\u001b[94m" + let v616 : string = method8() + let v617 : string = v615 + v559 + let v618 : string = v617 + v616 + let _v573 = v618 + #endif + let v619 : string = _v573 + let v625 : int64 = v86.l0 + let v626 : int32 = v1.Length + let v627 : string = method9() + let v628 : Mut4 = {l0 = v627} : Mut4 + let v629 : string = "{ " + let v630 : string = $"{v629}" let v633 : unit = () - let v634 : (unit -> unit) = closure11(v582, v630) + let v634 : (unit -> unit) = closure11(v628, v630) let v635 : unit = (fun () -> v634 (); v633) () - let v636 : string = " }" - let v637 : string = $"{v636}" - let v640 : unit = () - let v641 : (unit -> unit) = closure11(v582, v637) - let v642 : unit = (fun () -> v641 (); v640) () - let v643 : string = v582.l0 - let v644 : (unit -> string) = closure79() - let v645 : string = $"{v440} {v573} #{v579} %s{v644 ()} / {v643}" - let v648 : char list = [] - let v649 : (char list -> (char [])) = List.toArray - let v650 : (char []) = v649 v648 - let v653 : string = v645.TrimStart v650 - let v671 : char list = [] - let v672 : char list = '/' :: v671 - let v675 : char list = ' ' :: v672 - let v678 : (char list -> (char [])) = List.toArray - let v679 : (char []) = v678 v675 - let v682 : string = v653.TrimEnd v679 - let v700 : unit = () + let v638 : string = "exit_code" + let v639 : string = $"{v638}" + let v642 : unit = () + let v643 : (unit -> unit) = closure11(v628, v639) + let v644 : unit = (fun () -> v643 (); v642) () + let v647 : string = " = " + let v648 : string = $"{v647}" + let v651 : unit = () + let v652 : (unit -> unit) = closure11(v628, v648) + let v653 : unit = (fun () -> v652 (); v651) () + let v656 : string = $"{v0}" + let v659 : unit = () + let v660 : (unit -> unit) = closure11(v628, v656) + let v661 : unit = (fun () -> v660 (); v659) () + let v664 : string = "; " + let v665 : string = $"{v664}" + let v668 : unit = () + let v669 : (unit -> unit) = closure11(v628, v665) + let v670 : unit = (fun () -> v669 (); v668) () + let v673 : string = "output_length" + let v674 : string = $"{v673}" + let v677 : unit = () + let v678 : (unit -> unit) = closure11(v628, v674) + let v679 : unit = (fun () -> v678 (); v677) () + let v682 : string = $"{v647}" + let v685 : unit = () + let v686 : (unit -> unit) = closure11(v628, v682) + let v687 : unit = (fun () -> v686 (); v685) () + let v690 : string = $"{v626}" + let v693 : unit = () + let v694 : (unit -> unit) = closure11(v628, v690) + let v695 : unit = (fun () -> v694 (); v693) () + let v698 : string = " }" + let v699 : string = $"{v698}" + let v702 : unit = () + let v703 : (unit -> unit) = closure11(v628, v699) + let v704 : unit = (fun () -> v703 (); v702) () + let v707 : string = v628.l0 + let v708 : (unit -> string) = closure80() + let v709 : string = $"{v484} {v619} #{v625} %s{v708 ()} / {v707}" + let v712 : char list = [] + let v713 : (char list -> (char [])) = List.toArray + let v714 : (char []) = v713 v712 + let v717 : string = v709.TrimStart v714 + let v735 : char list = [] + let v736 : char list = '/' :: v735 + let v739 : char list = ' ' :: v736 + let v742 : (char list -> (char [])) = List.toArray + let v743 : (char []) = v742 v739 + let v746 : string = v717.TrimEnd v743 + let v764 : (string -> unit) = closure13() + let v765 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v701 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v682 v701 - let _v700 = () + let v766 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v746 v766 + let _v765 = () #endif #if FABLE_COMPILER_RUST && WASM - let v702 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v682 v702 - let _v700 = () + let v767 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v746 v767 + let _v765 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v703 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v682 v703 - let _v700 = () + let v768 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v746 v768 + let _v765 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v682 - let _v700 = () + v764 v746 + let _v765 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v682 - let _v700 = () + v764 v746 + let _v765 = () #endif #else - System.Console.WriteLine v682 - let _v700 = () + v764 v746 + let _v765 = () #endif - _v700 - let v704 : (string -> unit) = v8.l0 - v704 v682 + _v765 + let v769 : (string -> unit) = v18.l0 + v769 v746 and method76 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) : Async = let v7 : unit = () @@ -11243,292 +11265,292 @@ and method76 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v54 : unit = () let v55 : (unit -> unit) = closure4(v6, v53) let v56 : unit = (fun () -> v55 (); v54) () - let v57 : US1 option = _v51.Value - let v68 : US1 = US1_1 - let v69 : US1 = v57 |> Option.defaultValue v68 - let v76 : string = - match v69 with + let v59 : US1 option = _v51.Value + let v70 : US1 = US1_1 + let v71 : US1 = v59 |> Option.defaultValue v70 + let v78 : string = + match v71 with | US1_1 -> (* None *) - let v74 : string = "" - v74 - | US1_0(v73) -> (* Some *) - v73 - let v77 : unit = () - let v78 : (unit -> unit) = closure65(v0, v1, v2, v3, v4, v5, v6) - let v79 : unit = (fun () -> v78 (); v77) () - let v80 : System.Text.Encoding = System.Text.Encoding.UTF8 - let v84 : string = + let v76 : string = "" + v76 + | US1_0(v75) -> (* Some *) + v75 + let v79 : unit = () + let v80 : (unit -> unit) = closure66(v0, v1, v2, v3, v4, v5, v6) + let v81 : unit = (fun () -> v80 (); v79) () + let v1161 : System.Text.Encoding = System.Text.Encoding.UTF8 + let v1165 : string = match v50 with | US1_1 -> (* None *) - let v82 : string = "" - v82 - | US1_0(v81) -> (* Some *) - v81 + let v1163 : string = "" + v1163 + | US1_0(v1162) -> (* Some *) + v1162 let start_info = System.Diagnostics.ProcessStartInfo ( - Arguments = v84, - StandardOutputEncoding = v80, - WorkingDirectory = v76, + Arguments = v1165, + StandardOutputEncoding = v1161, + WorkingDirectory = v78, FileName = v49, CreateNoWindow = true, RedirectStandardError = true, RedirectStandardOutput = true, UseShellExecute = false ) - let v85 : System.Diagnostics.ProcessStartInfo = start_info - let v86 : int32 = v2.Length - let v87 : Mut6 = {l0 = 0} : Mut6 - while method28(v86, v87) do - let v89 : int32 = v87.l0 - let struct (v90 : string, v91 : string) = v2.[int v89] - v85.EnvironmentVariables.[v90] <- v91 - let v92 : int32 = v89 + 1 - v87.l0 <- v92 + let v1166 : System.Diagnostics.ProcessStartInfo = start_info + let v1167 : int32 = v2.Length + let v1168 : Mut6 = {l0 = 0} : Mut6 + while method28(v1167, v1168) do + let v1170 : int32 = v1168.l0 + let struct (v1171 : string, v1172 : string) = v2.[int v1170] + v1166.EnvironmentVariables.[v1171] <- v1172 + let v1173 : int32 = v1170 + 1 + v1168.l0 <- v1173 () - let v93 : System.Diagnostics.Process = new System.Diagnostics.Process (StartInfo = v85) - use v93 = v93 - let v94 : System.Diagnostics.Process = v93 - let v95 : (unit -> System.Collections.Concurrent.ConcurrentStack) = System.Collections.Concurrent.ConcurrentStack - let v96 : System.Collections.Concurrent.ConcurrentStack = v95 () - let v97 : (System.Diagnostics.DataReceivedEventArgs -> unit) = closure67(v0, v1, v2, v3, v4, v5, v6, v94, v96) - v94.OutputDataReceived.Add v97 - let v98 : (System.Diagnostics.DataReceivedEventArgs -> unit) = closure72(v0, v1, v2, v3, v4, v5, v6, v94, v96) - v94.ErrorDataReceived.Add v98 - let v99 : (unit -> bool) = v94.Start - let v100 : bool = v99 () - let v101 : bool = v100 = false - if v101 then - let v102 : string = $"runtime.execute_with_options_async / process_start error" - failwith v102 - let v103 : (unit -> unit) = v94.BeginErrorReadLine - v103 () - let v104 : (unit -> unit) = v94.BeginOutputReadLine - v104 () - let v105 : US29 option = None - let _v105 = ref v105 - let v106 : US29 option ref = _v105 - let v107 : (US29 option -> US29 option ref) = closure73(v106) - let v108 : unit = () - let v109 : (unit -> unit) = closure74(v1, v107) - let v110 : unit = (fun () -> v109 (); v108) () - let v111 : US29 option = _v105.Value - let v122 : US29 = US29_1 - let v123 : US29 = v111 |> Option.defaultValue v122 - let v130 : System.Threading.CancellationToken = - match v123 with + let v1174 : System.Diagnostics.Process = new System.Diagnostics.Process (StartInfo = v1166) + use v1174 = v1174 + let v1175 : System.Diagnostics.Process = v1174 + let v1176 : (unit -> System.Collections.Concurrent.ConcurrentStack) = System.Collections.Concurrent.ConcurrentStack + let v1177 : System.Collections.Concurrent.ConcurrentStack = v1176 () + let v1178 : (System.Diagnostics.DataReceivedEventArgs -> unit) = closure68(v0, v1, v2, v3, v4, v5, v6, v1175, v1177) + v1175.OutputDataReceived.Add v1178 + let v1179 : (System.Diagnostics.DataReceivedEventArgs -> unit) = closure73(v0, v1, v2, v3, v4, v5, v6, v1175, v1177) + v1175.ErrorDataReceived.Add v1179 + let v1180 : (unit -> bool) = v1175.Start + let v1181 : bool = v1180 () + let v1182 : bool = v1181 = false + if v1182 then + let v1183 : string = $"runtime.execute_with_options_async / process_start error" + failwith v1183 + let v1184 : (unit -> unit) = v1175.BeginErrorReadLine + v1184 () + let v1185 : (unit -> unit) = v1175.BeginOutputReadLine + v1185 () + let v1186 : US29 option = None + let _v1186 = ref v1186 + let v1187 : US29 option ref = _v1186 + let v1188 : (US29 option -> US29 option ref) = closure74(v1187) + let v1189 : unit = () + let v1190 : (unit -> unit) = closure75(v1, v1188) + let v1191 : unit = (fun () -> v1190 (); v1189) () + let v1194 : US29 option = _v1186.Value + let v1205 : US29 = US29_1 + let v1206 : US29 = v1194 |> Option.defaultValue v1205 + let v1213 : System.Threading.CancellationToken = + match v1206 with | US29_1 -> (* None *) - let v128 : System.Threading.CancellationToken = System.Threading.CancellationToken.None - v128 - | US29_0(v127) -> (* Some *) - v127 - let v131 : unit = () + let v1211 : System.Threading.CancellationToken = System.Threading.CancellationToken.None + v1211 + | US29_0(v1210) -> (* Some *) + v1210 + let v1214 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v132 : Async = null |> unbox> - let _v131 = v132 + let v1215 : Async = null |> unbox> + let _v1214 = v1215 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : Async = null |> unbox> - let _v131 = v135 + let v1218 : Async = null |> unbox> + let _v1214 = v1218 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v138 : Async = null |> unbox> - let _v131 = v138 + let v1221 : Async = null |> unbox> + let _v1214 = v1221 #endif #if FABLE_COMPILER_TYPESCRIPT - let v141 : Async = null |> unbox> - let _v131 = v141 + let v1224 : Async = null |> unbox> + let _v1214 = v1224 #endif #if FABLE_COMPILER_PYTHON - let v144 : Async = null |> unbox> - let _v131 = v144 + let v1227 : Async = null |> unbox> + let _v1214 = v1227 #endif #else - let v147 : unit = () + let v1230 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v148 : Async = null |> unbox> - let _v147 = v148 + let v1231 : Async = null |> unbox> + let _v1230 = v1231 #endif #if FABLE_COMPILER_RUST && WASM - let v151 : Async = null |> unbox> - let _v147 = v151 + let v1234 : Async = null |> unbox> + let _v1230 = v1234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v154 : Async = null |> unbox> - let _v147 = v154 + let v1237 : Async = null |> unbox> + let _v1230 = v1237 #endif #if FABLE_COMPILER_TYPESCRIPT - let v157 : Async = null |> unbox> - let _v147 = v157 + let v1240 : Async = null |> unbox> + let _v1230 = v1240 #endif #if FABLE_COMPILER_PYTHON - let v160 : Async = null |> unbox> - let _v147 = v160 + let v1243 : Async = null |> unbox> + let _v1230 = v1243 #endif #else - let v163 : Async option = None - let mutable _v163 = v163 + let v1246 : Async option = None + let mutable _v1246 = v1246 async { - let v164 : Async = Async.CancellationToken - let! v164 = v164 - let v165 : System.Threading.CancellationToken = v164 - let v166 : System.Threading.CancellationToken = Async.DefaultCancellationToken - let v167 : (System.Threading.CancellationToken []) = [|v165; v166; v130|] - let v168 : ((System.Threading.CancellationToken []) -> System.Threading.CancellationTokenSource) = System.Threading.CancellationTokenSource.CreateLinkedTokenSource - let v169 : System.Threading.CancellationTokenSource = v168 v167 - let v170 : System.Threading.CancellationToken = v169.Token - return v170 + let v1247 : Async = Async.CancellationToken + let! v1247 = v1247 + let v1248 : System.Threading.CancellationToken = v1247 + let v1249 : System.Threading.CancellationToken = Async.DefaultCancellationToken + let v1250 : (System.Threading.CancellationToken []) = [|v1248; v1249; v1213|] + let v1251 : ((System.Threading.CancellationToken []) -> System.Threading.CancellationTokenSource) = System.Threading.CancellationTokenSource.CreateLinkedTokenSource + let v1252 : System.Threading.CancellationTokenSource = v1251 v1250 + let v1253 : System.Threading.CancellationToken = v1252.Token + return v1253 } - |> fun x -> _v163 <- Some x - let v171 : Async = match _v163 with Some x -> x | None -> failwith "async.new_async_unit / _v163=None" - let _v147 = v171 + |> fun x -> _v1246 <- Some x + let v1254 : Async = match _v1246 with Some x -> x | None -> failwith "async.new_async_unit / _v1246=None" + let _v1230 = v1254 #endif - let v172 : Async = _v147 - let _v131 = v172 + let v1255 : Async = _v1230 + let _v1214 = v1255 #endif - let v177 : Async = _v131 - let! v177 = v177 - let v182 : System.Threading.CancellationToken = v177 - let v183 : ((unit -> unit) -> System.Threading.CancellationTokenRegistration) = v182.Register - let v184 : (unit -> unit) = closure75(v94) - let v185 : System.Threading.CancellationTokenRegistration = v183 v184 - use v185 = v185 - let v186 : System.Threading.CancellationTokenRegistration = v185 - let v187 : unit = () + let v1260 : Async = _v1214 + let! v1260 = v1260 + let v1265 : System.Threading.CancellationToken = v1260 + let v1266 : ((unit -> unit) -> System.Threading.CancellationTokenRegistration) = v1265.Register + let v1267 : (unit -> unit) = closure76(v1175) + let v1268 : System.Threading.CancellationTokenRegistration = v1266 v1267 + use v1268 = v1268 + let v1269 : System.Threading.CancellationTokenRegistration = v1268 + let v1270 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v188 : Async = null |> unbox> - let _v187 = v188 + let v1271 : Async = null |> unbox> + let _v1270 = v1271 #endif #if FABLE_COMPILER_RUST && WASM - let v191 : Async = null |> unbox> - let _v187 = v191 + let v1274 : Async = null |> unbox> + let _v1270 = v1274 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v194 : Async = null |> unbox> - let _v187 = v194 + let v1277 : Async = null |> unbox> + let _v1270 = v1277 #endif #if FABLE_COMPILER_TYPESCRIPT - let v197 : Async = null |> unbox> - let _v187 = v197 + let v1280 : Async = null |> unbox> + let _v1270 = v1280 #endif #if FABLE_COMPILER_PYTHON - let v200 : Async = null |> unbox> - let _v187 = v200 + let v1283 : Async = null |> unbox> + let _v1270 = v1283 #endif #else - let v203 : Async option = None - let mutable _v203 = v203 + let v1286 : Async option = None + let mutable _v1286 = v1286 async { try - let v204 : System.Threading.Tasks.Task = v94.WaitForExitAsync v182 - let v205 : unit = () + let v1287 : System.Threading.Tasks.Task = v1175.WaitForExitAsync v1265 + let v1288 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v206 : Async = null |> unbox> - let _v205 = v206 + let v1289 : Async = null |> unbox> + let _v1288 = v1289 #endif #if FABLE_COMPILER_RUST && WASM - let v209 : Async = null |> unbox> - let _v205 = v209 + let v1292 : Async = null |> unbox> + let _v1288 = v1292 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v212 : Async = null |> unbox> - let _v205 = v212 + let v1295 : Async = null |> unbox> + let _v1288 = v1295 #endif #if FABLE_COMPILER_TYPESCRIPT - let v215 : Async = null |> unbox> - let _v205 = v215 + let v1298 : Async = null |> unbox> + let _v1288 = v1298 #endif #if FABLE_COMPILER_PYTHON - let v218 : Async = null |> unbox> - let _v205 = v218 + let v1301 : Async = null |> unbox> + let _v1288 = v1301 #endif #else - let v221 : (System.Threading.Tasks.Task -> Async) = Async.AwaitTask - let v222 : Async = v221 v204 - let _v205 = v222 + let v1304 : (System.Threading.Tasks.Task -> Async) = Async.AwaitTask + let v1305 : Async = v1304 v1287 + let _v1288 = v1305 #endif - let v223 : Async = _v205 - do! v223 - let v228 : int32 = v94.ExitCode - return v228 + let v1306 : Async = _v1288 + do! v1306 + let v1311 : int32 = v1175.ExitCode + return v1311 with ex -> - let v229 : exn = ex - let v230 : unit = () + let v1312 : exn = ex + let v1313 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v231 : string = $"%A{v229}" - let _v230 = v231 + let v1314 : string = $"%A{v1312}" + let _v1313 = v1314 #endif #if FABLE_COMPILER_RUST && WASM - let v234 : string = $"%A{v229}" - let _v230 = v234 + let v1317 : string = $"%A{v1312}" + let _v1313 = v1317 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v237 : string = $"%A{v229}" - let _v230 = v237 + let v1320 : string = $"%A{v1312}" + let _v1313 = v1320 #endif #if FABLE_COMPILER_TYPESCRIPT - let v240 : string = $"%A{v229}" - let _v230 = v240 + let v1323 : string = $"%A{v1312}" + let _v1313 = v1323 #endif #if FABLE_COMPILER_PYTHON - let v243 : string = $"%A{v229}" - let _v230 = v243 + let v1326 : string = $"%A{v1312}" + let _v1313 = v1326 #endif #else - let v246 : string = $"{v229.GetType ()}: {v229.Message}" - let _v230 = v246 + let v1329 : string = $"{v1312.GetType ()}: {v1312.Message}" + let _v1313 = v1329 #endif - let v247 : string = _v230 - let v252 : (string -> unit) = v96.Push - v252 v247 - let v253 : System.Threading.Tasks.TaskCanceledException = v229 |> unbox - let v256 : unit = () - let v257 : (unit -> unit) = closure76(v253) - let v258 : unit = (fun () -> v257 (); v256) () + let v1330 : string = _v1313 + let v1335 : (string -> unit) = v1177.Push + v1335 v1330 + let v1336 : System.Threading.Tasks.TaskCanceledException = v1312 |> unbox + let v1339 : unit = () + let v1340 : (unit -> unit) = closure77(v1336) + let v1341 : unit = (fun () -> v1340 (); v1339) () return -2147483648 (* *) } - |> fun x -> _v203 <- Some x - let v259 : Async = match _v203 with Some x -> x | None -> failwith "async.new_async_unit / _v203=None" - let _v187 = v259 + |> fun x -> _v1286 <- Some x + let v2102 : Async = match _v1286 with Some x -> x | None -> failwith "async.new_async_unit / _v1286=None" + let _v1270 = v2102 #endif - let v260 : Async = _v187 - let! v260 = v260 - let v265 : int32 = v260 - let v266 : (System.Collections.Concurrent.ConcurrentStack -> string seq) = Seq.rev - let v267 : string seq = v266 v96 - let v270 : (string -> (string seq -> string)) = String.concat - let v271 : string = "\n" - let v272 : (string seq -> string) = v270 v271 - let v273 : string = v272 v267 - let v276 : unit = () - let v277 : (unit -> unit) = closure78(v265, v273) - let v278 : unit = (fun () -> v277 (); v276) () - return struct (v265, v273) + let v2103 : Async = _v1270 + let! v2103 = v2103 + let v2108 : int32 = v2103 + let v2109 : (System.Collections.Concurrent.ConcurrentStack -> string seq) = Seq.rev + let v2110 : string seq = v2109 v1177 + let v2113 : (string -> (string seq -> string)) = String.concat + let v2114 : string = "\n" + let v2115 : (string seq -> string) = v2113 v2114 + let v2116 : string = v2115 v2110 + let v2119 : unit = () + let v2120 : (unit -> unit) = closure79(v2108, v2116) + let v2121 : unit = (fun () -> v2120 (); v2119) () + return struct (v2108, v2116) } |> fun x -> _v39 <- Some x - let v279 : Async = match _v39 with Some x -> x | None -> failwith "async.new_async_unit / _v39=None" - let _v23 = v279 + let v2890 : Async = match _v39 with Some x -> x | None -> failwith "async.new_async_unit / _v39=None" + let _v23 = v2890 #endif - let v280 : Async = _v23 - let _v7 = v280 + let v2891 : Async = _v23 + let _v7 = v2891 #endif - let v285 : Async = _v7 - v285 + let v2896 : Async = _v7 + v2896 and method39 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : (struct (string * string) []), v3 : (struct (int32 * string * bool) -> Async) option, v4 : (std_sync_Arc> -> unit) option, v5 : bool, v6 : string option) : struct (int32 * string) = let v7 : unit = () @@ -11574,644 +11596,644 @@ and method39 (v0 : string, v1 : System.Threading.CancellationToken option, v2 : let v43 : string = "_result" let v44 : Vec = Fable.Core.RustInterop.emitRustExpr () v43 let v45 : unit = () - let v46 : (unit -> unit) = closure39(v0, v1, v2, v3, v4, v5, v6, v18, v44) + let v46 : (unit -> unit) = closure41(v0, v1, v2, v3, v4, v5, v6, v18, v44) let v47 : unit = (fun () -> v46 (); v45) () - let v48 : bool = true - let mutable _v48 : (int32 * string) option = None + let v1220 : bool = true + let mutable _v1220 : (int32 * string) option = None ( (fun () -> (fun () -> - let v49 : string = "std::process::Command::new(&*$0)" - let v50 : std_process_Command = Fable.Core.RustInterop.emitRustExpr v18 v49 - let v51 : string = "true; let mut v50 = v50" - let v52 : bool = Fable.Core.RustInterop.emitRustExpr () v51 - let v53 : string = "std::process::Command::args(&mut $0, &*$1)" - let v54 : Ref> = Fable.Core.RustInterop.emitRustExpr struct (v50, v44) v53 - let v55 : string = "std::process::Stdio::piped()" - let v56 : std_process_Stdio = Fable.Core.RustInterop.emitRustExpr () v55 - let v57 : string = "std::process::Command::stdout($0, std::process::Stdio::piped())" - let v58 : Ref> = Fable.Core.RustInterop.emitRustExpr v54 v57 - let v59 : string = "std::process::Stdio::piped()" - let v60 : std_process_Stdio = Fable.Core.RustInterop.emitRustExpr () v59 - let v61 : string = "std::process::Command::stderr($0, std::process::Stdio::piped())" - let v62 : Ref> = Fable.Core.RustInterop.emitRustExpr v58 v61 - let v63 : string = "std::process::Stdio::piped()" - let v64 : std_process_Stdio = Fable.Core.RustInterop.emitRustExpr () v63 - let v65 : string = "std::process::Command::stdin($0, std::process::Stdio::piped())" - let v66 : Ref> = Fable.Core.RustInterop.emitRustExpr v62 v65 - let v67 : US1 option = None - let _v67 = ref v67 - let v68 : US1 option ref = _v67 - let v69 : (US1 option -> US1 option ref) = closure3(v68) - let v70 : unit = () - let v71 : (unit -> unit) = closure4(v6, v69) - let v72 : unit = (fun () -> v71 (); v70) () - let v73 : US1 option = _v67.Value - let v84 : US1 = US1_1 - let v85 : US1 = v73 |> Option.defaultValue v84 - let v93 : Ref> = - match v85 with + let v1221 : string = "std::process::Command::new(&*$0)" + let v1222 : std_process_Command = Fable.Core.RustInterop.emitRustExpr v18 v1221 + let v1223 : string = "true; let mut v1222 = v1222" + let v1224 : bool = Fable.Core.RustInterop.emitRustExpr () v1223 + let v1225 : string = "std::process::Command::args(&mut $0, &*$1)" + let v1226 : Ref> = Fable.Core.RustInterop.emitRustExpr struct (v1222, v44) v1225 + let v1227 : string = "std::process::Stdio::piped()" + let v1228 : std_process_Stdio = Fable.Core.RustInterop.emitRustExpr () v1227 + let v1229 : string = "std::process::Command::stdout($0, std::process::Stdio::piped())" + let v1230 : Ref> = Fable.Core.RustInterop.emitRustExpr v1226 v1229 + let v1231 : string = "std::process::Stdio::piped()" + let v1232 : std_process_Stdio = Fable.Core.RustInterop.emitRustExpr () v1231 + let v1233 : string = "std::process::Command::stderr($0, std::process::Stdio::piped())" + let v1234 : Ref> = Fable.Core.RustInterop.emitRustExpr v1230 v1233 + let v1235 : string = "std::process::Stdio::piped()" + let v1236 : std_process_Stdio = Fable.Core.RustInterop.emitRustExpr () v1235 + let v1237 : string = "std::process::Command::stdin($0, std::process::Stdio::piped())" + let v1238 : Ref> = Fable.Core.RustInterop.emitRustExpr v1234 v1237 + let v1239 : US1 option = None + let _v1239 = ref v1239 + let v1240 : US1 option ref = _v1239 + let v1241 : (US1 option -> US1 option ref) = closure3(v1240) + let v1242 : unit = () + let v1243 : (unit -> unit) = closure4(v6, v1241) + let v1244 : unit = (fun () -> v1243 (); v1242) () + let v1247 : US1 option = _v1239.Value + let v1258 : US1 = US1_1 + let v1259 : US1 = v1247 |> Option.defaultValue v1258 + let v1267 : Ref> = + match v1259 with | US1_1 -> (* None *) - v66 - | US1_0(v89) -> (* Some *) - let v90 : string = "std::process::Command::current_dir(v66, &*$0)" - let v91 : Ref> = Fable.Core.RustInterop.emitRustExpr v89 v90 - v91 - let v94 : uint64 = System.Convert.ToUInt64 v2.Length - let v95 : bool = v94 = 0UL - let v111 : Ref> = - if v95 then - v93 + v1238 + | US1_0(v1263) -> (* Some *) + let v1264 : string = "std::process::Command::current_dir(v1238, &*$0)" + let v1265 : Ref> = Fable.Core.RustInterop.emitRustExpr v1263 v1264 + v1265 + let v1268 : uint64 = System.Convert.ToUInt64 v2.Length + let v1269 : bool = v1268 = 0UL + let v1285 : Ref> = + if v1269 then + v1267 else - let v96 : string = "$0.to_vec()" - let v97 : Vec = Fable.Core.RustInterop.emitRustExpr v2 v96 - let v98 : string = "true; let _result = $0.into_iter().fold(v93, |acc, x| { //" - let v99 : bool = Fable.Core.RustInterop.emitRustExpr v97 v98 - let v100 : string = "acc" - let v101 : Ref> = Fable.Core.RustInterop.emitRustExpr () v100 - let v102 : string = "x" - let struct (v103 : string, v104 : string) = Fable.Core.RustInterop.emitRustExpr () v102 - let v105 : string = "std::process::Command::env(v101, &*$0, &*$1)" - let v106 : Ref> = Fable.Core.RustInterop.emitRustExpr struct (v103, v104) v105 - let v107 : string = "true; $0 })" - let v108 : bool = Fable.Core.RustInterop.emitRustExpr v106 v107 - let v109 : string = "_result" - let v110 : Ref> = Fable.Core.RustInterop.emitRustExpr () v109 - v110 - let v112 : string = "std::process::Command::spawn($0)" - let v113 : Result = Fable.Core.RustInterop.emitRustExpr v111 v112 - let v114 : (std_io_Error -> std_string_String) = method31() - let v115 : string = "$0.map_err(|x| $1(x))" - let v116 : Result = Fable.Core.RustInterop.emitRustExpr struct (v113, v114) v115 - let v117 : string = "true; let _result = $0.map(|x| { //" - let v118 : bool = Fable.Core.RustInterop.emitRustExpr v116 v117 - let v119 : string = "x" - let v120 : std_process_Child = Fable.Core.RustInterop.emitRustExpr () v119 - let v121 : std_process_Child option = Some v120 - let v124 : string = "std::sync::Mutex::new($0)" - let v125 : std_sync_Mutex = Fable.Core.RustInterop.emitRustExpr v121 v124 - let v126 : string = "std::sync::Arc::new($0)" - let v127 : std_sync_Arc> = Fable.Core.RustInterop.emitRustExpr v125 v126 - let v128 : string = "true; $0 })" - let v129 : bool = Fable.Core.RustInterop.emitRustExpr v127 v128 - let v130 : string = "_result" - let v131 : Result>, std_string_String> = Fable.Core.RustInterop.emitRustExpr () v130 - let v132 : (std_sync_Arc> -> US21) = method63() - let v133 : (std_string_String -> US21) = method64() - let v134 : string = "match v131 { Ok(x) => $0(x), Err(e) => $1(e) }" - let v135 : US21 = Fable.Core.RustInterop.emitRustExpr struct (v132, v133) v134 - let struct (v587 : int32, v588 : US4, v589 : US22) = - match v135 with - | US21_1(v578) -> (* Error *) - let v579 : unit = () - let v580 : (unit -> unit) = closure43(v578) - let v581 : unit = (fun () -> v580 (); v579) () - let v582 : US4 = US4_0(v578) - let v583 : US22 = US22_1 - struct (-1, v582, v583) - | US21_0(v136) -> (* Ok *) - let v137 : string = "true; let _result = (|| { // rust.capture" - let v138 : bool = Fable.Core.RustInterop.emitRustExpr () v137 - let v139 : std_sync_Arc> = method65(v136) - let v140 : string = "v139.lock()" - let v141 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v140 - let v142 : string = "$0.unwrap()" - let v143 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v141 v142 - let v144 : string = "true; let mut v143 = v143" - let v145 : bool = Fable.Core.RustInterop.emitRustExpr () v144 - let v146 : string = "&mut $0" - let v147 : Ref> = Fable.Core.RustInterop.emitRustExpr v143 v146 - let v148 : string = "$0.as_mut()" - let v149 : Ref> option = Fable.Core.RustInterop.emitRustExpr v147 v148 - let v150 : string = "$0.unwrap()" - let v151 : Ref> = Fable.Core.RustInterop.emitRustExpr v149 v150 - let v152 : string = "&mut v151.stdout" - let v153 : Ref> = Fable.Core.RustInterop.emitRustExpr () v152 - let v154 : string = "Option::take($0)" - let v155 : std_process_ChildStdout option = Fable.Core.RustInterop.emitRustExpr v153 v154 - let v156 : string = "$0.unwrap()" - let v157 : std_process_ChildStdout = Fable.Core.RustInterop.emitRustExpr v155 v156 - let v158 : string = "true; $0 })()" - let v159 : bool = Fable.Core.RustInterop.emitRustExpr v157 v158 - let v160 : string = "_result" - let v161 : std_process_ChildStdout = Fable.Core.RustInterop.emitRustExpr () v160 - let v162 : string = "true; let _result = (|| { // rust.capture" - let v163 : bool = Fable.Core.RustInterop.emitRustExpr () v162 - let v164 : std_sync_Arc> = method65(v136) - let v165 : string = "v164.lock()" - let v166 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v165 - let v167 : string = "$0.unwrap()" - let v168 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v166 v167 - let v169 : string = "true; let mut v168 = v168" - let v170 : bool = Fable.Core.RustInterop.emitRustExpr () v169 - let v171 : string = "&mut $0" - let v172 : Ref> = Fable.Core.RustInterop.emitRustExpr v168 v171 - let v173 : string = "$0.as_mut()" - let v174 : Ref> option = Fable.Core.RustInterop.emitRustExpr v172 v173 - let v175 : string = "$0.unwrap()" - let v176 : Ref> = Fable.Core.RustInterop.emitRustExpr v174 v175 - let v177 : string = "&mut v176.stderr" - let v178 : Ref> = Fable.Core.RustInterop.emitRustExpr () v177 - let v179 : string = "Option::take($0)" - let v180 : std_process_ChildStderr option = Fable.Core.RustInterop.emitRustExpr v178 v179 - let v181 : string = "$0.unwrap()" - let v182 : std_process_ChildStderr = Fable.Core.RustInterop.emitRustExpr v180 v181 - let v183 : string = "true; $0 })()" - let v184 : bool = Fable.Core.RustInterop.emitRustExpr v182 v183 - let v185 : string = "_result" - let v186 : std_process_ChildStderr = Fable.Core.RustInterop.emitRustExpr () v185 - let v187 : string = "true; let _result = (|| { // rust.capture" - let v188 : bool = Fable.Core.RustInterop.emitRustExpr () v187 - let v189 : std_sync_Arc> = method65(v136) - let v190 : string = "v189.lock()" - let v191 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v190 - let v192 : string = "$0.unwrap()" - let v193 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v191 v192 - let v194 : string = "true; let mut v193 = v193" - let v195 : bool = Fable.Core.RustInterop.emitRustExpr () v194 - let v196 : string = "&mut $0" - let v197 : Ref> = Fable.Core.RustInterop.emitRustExpr v193 v196 - let v198 : string = "$0.as_mut()" - let v199 : Ref> option = Fable.Core.RustInterop.emitRustExpr v197 v198 - let v200 : string = "$0.unwrap()" - let v201 : Ref> = Fable.Core.RustInterop.emitRustExpr v199 v200 - let v202 : string = "&mut $0.stdin" - let v203 : Ref> = Fable.Core.RustInterop.emitRustExpr v201 v202 - let v204 : string = "Option::take($0)" - let v205 : std_process_ChildStdin option = Fable.Core.RustInterop.emitRustExpr v203 v204 - let v206 : string = "$0.unwrap()" - let v207 : std_process_ChildStdin = Fable.Core.RustInterop.emitRustExpr v205 v206 - let v208 : std_process_ChildStdin option = Some v207 - let v211 : string = "std::sync::Mutex::new($0)" - let v212 : std_sync_Mutex = Fable.Core.RustInterop.emitRustExpr v208 v211 - let v213 : string = "std::sync::Arc::new($0)" - let v214 : std_sync_Arc> = Fable.Core.RustInterop.emitRustExpr v212 v213 - let v215 : string = "true; $0 })()" - let v216 : bool = Fable.Core.RustInterop.emitRustExpr v214 v215 - let v217 : string = "_result" - let v218 : std_sync_Arc> = Fable.Core.RustInterop.emitRustExpr () v217 - let v219 : string = "{ let (sender, receiver) = std::sync::mpsc::channel(); (sender, std::sync::Arc::new(receiver)) }" - let struct (v220 : std_sync_mpsc_Sender, v221 : std_sync_Arc>) = Fable.Core.RustInterop.emitRustExpr () v219 - let v222 : string = "std::sync::Mutex::new($0)" - let v223 : std_sync_Mutex> = Fable.Core.RustInterop.emitRustExpr v220 v222 - let v224 : string = "std::sync::Arc::new($0)" - let v225 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr v223 v224 - let v226 : string = "std::sync::Mutex::new($0)" - let v227 : std_sync_Mutex> = Fable.Core.RustInterop.emitRustExpr v220 v226 - let v228 : string = "std::sync::Arc::new($0)" - let v229 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr v227 v228 - let v230 : string = "std::sync::Mutex::new($0)" - let v231 : std_sync_Mutex>> = Fable.Core.RustInterop.emitRustExpr v221 v230 - let v232 : string = "std::sync::Arc::new($0)" - let v233 : std_sync_Arc>>> = Fable.Core.RustInterop.emitRustExpr v231 v232 - let v234 : string = "true; let __result = std::thread::spawn(move || { //" - let v235 : bool = Fable.Core.RustInterop.emitRustExpr () v234 - let v236 : string = "encoding_rs_io::DecodeReaderBytesBuilder::new().utf8_passthru(true).build($0)" - let v237 : encoding_rs_io_DecodeReaderBytes> = Fable.Core.RustInterop.emitRustExpr v161 v236 - let v238 : string = "std::io::BufReader::new(v237)" - let v239 : std_io_BufReader>> = Fable.Core.RustInterop.emitRustExpr () v238 - let v240 : string = "std::io::BufRead::lines(v239)" - let v241 : std_io_Lines>>> = Fable.Core.RustInterop.emitRustExpr () v240 - let v242 : string = "true; let mut v241 = v241; let _result = v241.try_for_each(|x| { //" - let v243 : bool = Fable.Core.RustInterop.emitRustExpr () v242 - let v244 : string = "x" - let v245 : Result = Fable.Core.RustInterop.emitRustExpr () v244 - let v246 : string = "$0.clone()" - let v247 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr v225 v246 - let v248 : (std_io_Error -> std_string_String) = method31() - let v249 : string = "$0.map_err(|x| $1(x))" - let v250 : Result = Fable.Core.RustInterop.emitRustExpr struct (v245, v248) v249 - let v251 : (std_string_String -> US23) = method66() - let v252 : (std_string_String -> US23) = method67() - let v253 : string = "match v250 { Ok(x) => $0(x), Err(e) => $1(e) }" - let v254 : US23 = Fable.Core.RustInterop.emitRustExpr struct (v251, v252) v253 - let v289 : std_string_String = - match v254 with - | US23_1(v279) -> (* Error *) - let v280 : unit = () - let v281 : (unit -> unit) = closure47(v279) - let v282 : unit = (fun () -> v281 (); v280) () - let v283 : string = $"\u001b[4;7m{v279}\u001b[0m" - let v284 : string = "&*$0" - let v285 : Ref = Fable.Core.RustInterop.emitRustExpr v283 v284 - let v286 : string = "String::from($0)" - let v287 : std_string_String = Fable.Core.RustInterop.emitRustExpr v285 v286 - v287 - | US23_0(v255) -> (* Ok *) - let v256 : string = "fable_library_rust::String_::fromString($0)" - let v257 : string = Fable.Core.RustInterop.emitRustExpr v255 v256 - let v258 : string = "encoding_rs::UTF_8" - let v259 : Ref = Fable.Core.RustInterop.emitRustExpr () v258 - let v260 : string = "$0.encode(&*$1).0" - let v261 : std_borrow_Cow> = Fable.Core.RustInterop.emitRustExpr struct (v259, v257) v260 - let v262 : string = "$0.as_ref()" - let v263 : Ref> = Fable.Core.RustInterop.emitRustExpr v261 v262 - let v264 : string = "std::str::from_utf8($0)" - let v265 : Result, std_str_Utf8Error> = Fable.Core.RustInterop.emitRustExpr v263 v264 - let v266 : string = "$0.unwrap()" - let v267 : Ref = Fable.Core.RustInterop.emitRustExpr v265 v266 - let v268 : string = "String::from($0)" - let v269 : std_string_String = Fable.Core.RustInterop.emitRustExpr v267 v268 - let v270 : string = "fable_library_rust::String_::fromString($0)" - let v271 : string = Fable.Core.RustInterop.emitRustExpr v269 v270 - let v272 : string = $"> {v271}" + let v1270 : string = "$0.to_vec()" + let v1271 : Vec = Fable.Core.RustInterop.emitRustExpr v2 v1270 + let v1272 : string = "true; let _result = $0.into_iter().fold(v1267, |acc, x| { //" + let v1273 : bool = Fable.Core.RustInterop.emitRustExpr v1271 v1272 + let v1274 : string = "acc" + let v1275 : Ref> = Fable.Core.RustInterop.emitRustExpr () v1274 + let v1276 : string = "x" + let struct (v1277 : string, v1278 : string) = Fable.Core.RustInterop.emitRustExpr () v1276 + let v1279 : string = "std::process::Command::env(v1275, &*$0, &*$1)" + let v1280 : Ref> = Fable.Core.RustInterop.emitRustExpr struct (v1277, v1278) v1279 + let v1281 : string = "true; $0 })" + let v1282 : bool = Fable.Core.RustInterop.emitRustExpr v1280 v1281 + let v1283 : string = "_result" + let v1284 : Ref> = Fable.Core.RustInterop.emitRustExpr () v1283 + v1284 + let v1286 : string = "std::process::Command::spawn($0)" + let v1287 : Result = Fable.Core.RustInterop.emitRustExpr v1285 v1286 + let v1288 : (std_io_Error -> std_string_String) = method31() + let v1289 : string = "$0.map_err(|x| $1(x))" + let v1290 : Result = Fable.Core.RustInterop.emitRustExpr struct (v1287, v1288) v1289 + let v1291 : string = "true; let _result = $0.map(|x| { //" + let v1292 : bool = Fable.Core.RustInterop.emitRustExpr v1290 v1291 + let v1293 : string = "x" + let v1294 : std_process_Child = Fable.Core.RustInterop.emitRustExpr () v1293 + let v1295 : std_process_Child option = Some v1294 + let v1298 : string = "std::sync::Mutex::new($0)" + let v1299 : std_sync_Mutex = Fable.Core.RustInterop.emitRustExpr v1295 v1298 + let v1300 : string = "std::sync::Arc::new($0)" + let v1301 : std_sync_Arc> = Fable.Core.RustInterop.emitRustExpr v1299 v1300 + let v1302 : string = "true; $0 })" + let v1303 : bool = Fable.Core.RustInterop.emitRustExpr v1301 v1302 + let v1304 : string = "_result" + let v1305 : Result>, std_string_String> = Fable.Core.RustInterop.emitRustExpr () v1304 + let v1306 : (std_sync_Arc> -> US21) = method63() + let v1307 : (std_string_String -> US21) = method64() + let v1308 : string = "match v1305 { Ok(x) => $0(x), Err(e) => $1(e) }" + let v1309 : US21 = Fable.Core.RustInterop.emitRustExpr struct (v1306, v1307) v1308 + let struct (v6181 : int32, v6182 : US4, v6183 : US22) = + match v1309 with + | US21_1(v5412) -> (* Error *) + let v5413 : unit = () + let v5414 : (unit -> unit) = closure45(v5412) + let v5415 : unit = (fun () -> v5414 (); v5413) () + let v6176 : US4 = US4_0(v5412) + let v6177 : US22 = US22_1 + struct (-1, v6176, v6177) + | US21_0(v1310) -> (* Ok *) + let v1311 : string = "true; let _result = (|| { // rust.capture" + let v1312 : bool = Fable.Core.RustInterop.emitRustExpr () v1311 + let v1313 : std_sync_Arc> = method65(v1310) + let v1314 : string = "v1313.lock()" + let v1315 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v1314 + let v1316 : string = "$0.unwrap()" + let v1317 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v1315 v1316 + let v1318 : string = "true; let mut v1317 = v1317" + let v1319 : bool = Fable.Core.RustInterop.emitRustExpr () v1318 + let v1320 : string = "&mut $0" + let v1321 : Ref> = Fable.Core.RustInterop.emitRustExpr v1317 v1320 + let v1322 : string = "$0.as_mut()" + let v1323 : Ref> option = Fable.Core.RustInterop.emitRustExpr v1321 v1322 + let v1324 : string = "$0.unwrap()" + let v1325 : Ref> = Fable.Core.RustInterop.emitRustExpr v1323 v1324 + let v1326 : string = "&mut v1325.stdout" + let v1327 : Ref> = Fable.Core.RustInterop.emitRustExpr () v1326 + let v1328 : string = "Option::take($0)" + let v1329 : std_process_ChildStdout option = Fable.Core.RustInterop.emitRustExpr v1327 v1328 + let v1330 : string = "$0.unwrap()" + let v1331 : std_process_ChildStdout = Fable.Core.RustInterop.emitRustExpr v1329 v1330 + let v1332 : string = "true; $0 })()" + let v1333 : bool = Fable.Core.RustInterop.emitRustExpr v1331 v1332 + let v1334 : string = "_result" + let v1335 : std_process_ChildStdout = Fable.Core.RustInterop.emitRustExpr () v1334 + let v1336 : string = "true; let _result = (|| { // rust.capture" + let v1337 : bool = Fable.Core.RustInterop.emitRustExpr () v1336 + let v1338 : std_sync_Arc> = method65(v1310) + let v1339 : string = "v1338.lock()" + let v1340 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v1339 + let v1341 : string = "$0.unwrap()" + let v1342 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v1340 v1341 + let v1343 : string = "true; let mut v1342 = v1342" + let v1344 : bool = Fable.Core.RustInterop.emitRustExpr () v1343 + let v1345 : string = "&mut $0" + let v1346 : Ref> = Fable.Core.RustInterop.emitRustExpr v1342 v1345 + let v1347 : string = "$0.as_mut()" + let v1348 : Ref> option = Fable.Core.RustInterop.emitRustExpr v1346 v1347 + let v1349 : string = "$0.unwrap()" + let v1350 : Ref> = Fable.Core.RustInterop.emitRustExpr v1348 v1349 + let v1351 : string = "&mut v1350.stderr" + let v1352 : Ref> = Fable.Core.RustInterop.emitRustExpr () v1351 + let v1353 : string = "Option::take($0)" + let v1354 : std_process_ChildStderr option = Fable.Core.RustInterop.emitRustExpr v1352 v1353 + let v1355 : string = "$0.unwrap()" + let v1356 : std_process_ChildStderr = Fable.Core.RustInterop.emitRustExpr v1354 v1355 + let v1357 : string = "true; $0 })()" + let v1358 : bool = Fable.Core.RustInterop.emitRustExpr v1356 v1357 + let v1359 : string = "_result" + let v1360 : std_process_ChildStderr = Fable.Core.RustInterop.emitRustExpr () v1359 + let v1361 : string = "true; let _result = (|| { // rust.capture" + let v1362 : bool = Fable.Core.RustInterop.emitRustExpr () v1361 + let v1363 : std_sync_Arc> = method65(v1310) + let v1364 : string = "v1363.lock()" + let v1365 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v1364 + let v1366 : string = "$0.unwrap()" + let v1367 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v1365 v1366 + let v1368 : string = "true; let mut v1367 = v1367" + let v1369 : bool = Fable.Core.RustInterop.emitRustExpr () v1368 + let v1370 : string = "&mut $0" + let v1371 : Ref> = Fable.Core.RustInterop.emitRustExpr v1367 v1370 + let v1372 : string = "$0.as_mut()" + let v1373 : Ref> option = Fable.Core.RustInterop.emitRustExpr v1371 v1372 + let v1374 : string = "$0.unwrap()" + let v1375 : Ref> = Fable.Core.RustInterop.emitRustExpr v1373 v1374 + let v1376 : string = "&mut $0.stdin" + let v1377 : Ref> = Fable.Core.RustInterop.emitRustExpr v1375 v1376 + let v1378 : string = "Option::take($0)" + let v1379 : std_process_ChildStdin option = Fable.Core.RustInterop.emitRustExpr v1377 v1378 + let v1380 : string = "$0.unwrap()" + let v1381 : std_process_ChildStdin = Fable.Core.RustInterop.emitRustExpr v1379 v1380 + let v1382 : std_process_ChildStdin option = Some v1381 + let v1385 : string = "std::sync::Mutex::new($0)" + let v1386 : std_sync_Mutex = Fable.Core.RustInterop.emitRustExpr v1382 v1385 + let v1387 : string = "std::sync::Arc::new($0)" + let v1388 : std_sync_Arc> = Fable.Core.RustInterop.emitRustExpr v1386 v1387 + let v1389 : string = "true; $0 })()" + let v1390 : bool = Fable.Core.RustInterop.emitRustExpr v1388 v1389 + let v1391 : string = "_result" + let v1392 : std_sync_Arc> = Fable.Core.RustInterop.emitRustExpr () v1391 + let v1393 : string = "{ let (sender, receiver) = std::sync::mpsc::channel(); (sender, std::sync::Arc::new(receiver)) }" + let struct (v1394 : std_sync_mpsc_Sender, v1395 : std_sync_Arc>) = Fable.Core.RustInterop.emitRustExpr () v1393 + let v1396 : string = "std::sync::Mutex::new($0)" + let v1397 : std_sync_Mutex> = Fable.Core.RustInterop.emitRustExpr v1394 v1396 + let v1398 : string = "std::sync::Arc::new($0)" + let v1399 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr v1397 v1398 + let v1400 : string = "std::sync::Mutex::new($0)" + let v1401 : std_sync_Mutex> = Fable.Core.RustInterop.emitRustExpr v1394 v1400 + let v1402 : string = "std::sync::Arc::new($0)" + let v1403 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr v1401 v1402 + let v1404 : string = "std::sync::Mutex::new($0)" + let v1405 : std_sync_Mutex>> = Fable.Core.RustInterop.emitRustExpr v1395 v1404 + let v1406 : string = "std::sync::Arc::new($0)" + let v1407 : std_sync_Arc>>> = Fable.Core.RustInterop.emitRustExpr v1405 v1406 + let v1408 : string = "true; let __result = std::thread::spawn(move || { //" + let v1409 : bool = Fable.Core.RustInterop.emitRustExpr () v1408 + let v1410 : string = "encoding_rs_io::DecodeReaderBytesBuilder::new().utf8_passthru(true).build($0)" + let v1411 : encoding_rs_io_DecodeReaderBytes> = Fable.Core.RustInterop.emitRustExpr v1335 v1410 + let v1412 : string = "std::io::BufReader::new(v1411)" + let v1413 : std_io_BufReader>> = Fable.Core.RustInterop.emitRustExpr () v1412 + let v1414 : string = "std::io::BufRead::lines(v1413)" + let v1415 : std_io_Lines>>> = Fable.Core.RustInterop.emitRustExpr () v1414 + let v1416 : string = "true; let mut v1415 = v1415; let _result = v1415.try_for_each(|x| { //" + let v1417 : bool = Fable.Core.RustInterop.emitRustExpr () v1416 + let v1418 : string = "x" + let v1419 : Result = Fable.Core.RustInterop.emitRustExpr () v1418 + let v1420 : string = "$0.clone()" + let v1421 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr v1399 v1420 + let v1422 : (std_io_Error -> std_string_String) = method31() + let v1423 : string = "$0.map_err(|x| $1(x))" + let v1424 : Result = Fable.Core.RustInterop.emitRustExpr struct (v1419, v1422) v1423 + let v1425 : (std_string_String -> US23) = method66() + let v1426 : (std_string_String -> US23) = method67() + let v1427 : string = "match v1424 { Ok(x) => $0(x), Err(e) => $1(e) }" + let v1428 : US23 = Fable.Core.RustInterop.emitRustExpr struct (v1425, v1426) v1427 + let v2913 : std_string_String = + match v1428 with + | US23_1(v2143) -> (* Error *) + let v2144 : unit = () + let v2145 : (unit -> unit) = closure49(v2143) + let v2146 : unit = (fun () -> v2145 (); v2144) () + let v2907 : string = $"\u001b[4;7m{v2143}\u001b[0m" + let v2908 : string = "&*$0" + let v2909 : Ref = Fable.Core.RustInterop.emitRustExpr v2907 v2908 + let v2910 : string = "String::from($0)" + let v2911 : std_string_String = Fable.Core.RustInterop.emitRustExpr v2909 v2910 + v2911 + | US23_0(v1429) -> (* Ok *) + let v1430 : string = "fable_library_rust::String_::fromString($0)" + let v1431 : string = Fable.Core.RustInterop.emitRustExpr v1429 v1430 + let v1432 : string = "encoding_rs::UTF_8" + let v1433 : Ref = Fable.Core.RustInterop.emitRustExpr () v1432 + let v1434 : string = "$0.encode(&*$1).0" + let v1435 : std_borrow_Cow> = Fable.Core.RustInterop.emitRustExpr struct (v1433, v1431) v1434 + let v1436 : string = "$0.as_ref()" + let v1437 : Ref> = Fable.Core.RustInterop.emitRustExpr v1435 v1436 + let v1438 : string = "std::str::from_utf8($0)" + let v1439 : Result, std_str_Utf8Error> = Fable.Core.RustInterop.emitRustExpr v1437 v1438 + let v1440 : string = "$0.unwrap()" + let v1441 : Ref = Fable.Core.RustInterop.emitRustExpr v1439 v1440 + let v1442 : string = "String::from($0)" + let v1443 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1441 v1442 + let v1444 : string = "fable_library_rust::String_::fromString($0)" + let v1445 : string = Fable.Core.RustInterop.emitRustExpr v1443 v1444 + let v1446 : string = $"> {v1445}" if v5 then - let v273 : unit = () - let v274 : (unit -> unit) = closure49(v272) - let v275 : unit = (fun () -> v274 (); v273) () + let v1447 : unit = () + let v1448 : (unit -> unit) = closure51(v1446) + let v1449 : unit = (fun () -> v1448 (); v1447) () () else - let v276 : unit = () - let v277 : (unit -> unit) = closure51(v272) - let v278 : unit = (fun () -> v277 (); v276) () + let v2139 : unit = () + let v2140 : (unit -> unit) = closure14(v1446) + let v2141 : unit = (fun () -> v2140 (); v2139) () () - v269 - let v290 : std_sync_Arc>> = method68(v247) - let v291 : string = "v290.lock()" - let v292 : Result>, std_sync_PoisonError>>> = Fable.Core.RustInterop.emitRustExpr () v291 - let v293 : string = "$0.unwrap()" - let v294 : std_sync_MutexGuard> = Fable.Core.RustInterop.emitRustExpr v292 v293 - let v295 : string = "&$0" - let v296 : Ref> = Fable.Core.RustInterop.emitRustExpr v294 v295 - let v297 : string = "$0.send($1)" - let v298 : Result> = Fable.Core.RustInterop.emitRustExpr struct (v296, v289) v297 - let v299 : (std_sync_mpsc_SendError -> std_string_String) = method69() - let v300 : string = "$0.map_err(|x| $1(x))" - let v301 : Result = Fable.Core.RustInterop.emitRustExpr struct (v298, v299) v300 - let v302 : string = "$0" - let v303 : core_ops_Try = Fable.Core.RustInterop.emitRustExpr v301 v302 - let v304 : string = "true; $0 }); //" - let v305 : bool = Fable.Core.RustInterop.emitRustExpr v303 v304 - let v306 : string = "_result.map_err(|x| x.into())" - let v307 : Result = Fable.Core.RustInterop.emitRustExpr () v306 - let v308 : Result = method70(v307) - let v309 : string = "" - let v310 : string = "}" - let v311 : string = v309 + v310 - let v312 : string = "true; v308 " + v311 + "); " + v309 + " // rust.fix_closure'" - let v313 : bool = Fable.Core.RustInterop.emitRustExpr () v312 - let v314 : string = "__result" - let v315 : std_thread_JoinHandle> = Fable.Core.RustInterop.emitRustExpr () v314 - let v316 : string = "true; let __result = std::thread::spawn(move || { //" - let v317 : bool = Fable.Core.RustInterop.emitRustExpr () v316 - let v318 : string = "encoding_rs_io::DecodeReaderBytesBuilder::new().utf8_passthru(true).build($0)" - let v319 : encoding_rs_io_DecodeReaderBytes> = Fable.Core.RustInterop.emitRustExpr v186 v318 - let v320 : string = "std::io::BufReader::new(v319)" - let v321 : std_io_BufReader>> = Fable.Core.RustInterop.emitRustExpr () v320 - let v322 : string = "std::io::BufRead::lines(v321)" - let v323 : std_io_Lines>>> = Fable.Core.RustInterop.emitRustExpr () v322 - let v324 : string = "true; let mut v323 = v323; let _result = v323.try_for_each(|x| { //" - let v325 : bool = Fable.Core.RustInterop.emitRustExpr () v324 - let v326 : string = "x" - let v327 : Result = Fable.Core.RustInterop.emitRustExpr () v326 - let v328 : string = "$0.clone()" - let v329 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr v229 v328 - let v330 : (std_io_Error -> std_string_String) = method31() - let v331 : string = "$0.map_err(|x| $1(x))" - let v332 : Result = Fable.Core.RustInterop.emitRustExpr struct (v327, v330) v331 - let v333 : (std_string_String -> US23) = method66() - let v334 : (std_string_String -> US23) = method67() - let v335 : string = "match v332 { Ok(x) => $0(x), Err(e) => $1(e) }" - let v336 : US23 = Fable.Core.RustInterop.emitRustExpr struct (v333, v334) v335 - let v376 : std_string_String = - match v336 with - | US23_1(v366) -> (* Error *) - let v367 : unit = () - let v368 : (unit -> unit) = closure47(v366) - let v369 : unit = (fun () -> v368 (); v367) () - let v370 : string = $"\u001b[4;7m{v366}\u001b[0m" - let v371 : string = "&*$0" - let v372 : Ref = Fable.Core.RustInterop.emitRustExpr v370 v371 - let v373 : string = "String::from($0)" - let v374 : std_string_String = Fable.Core.RustInterop.emitRustExpr v372 v373 - v374 - | US23_0(v337) -> (* Ok *) - let v338 : string = "fable_library_rust::String_::fromString($0)" - let v339 : string = Fable.Core.RustInterop.emitRustExpr v337 v338 - let v340 : string = "encoding_rs::UTF_8" - let v341 : Ref = Fable.Core.RustInterop.emitRustExpr () v340 - let v342 : string = "$0.encode(&*$1).0" - let v343 : std_borrow_Cow> = Fable.Core.RustInterop.emitRustExpr struct (v341, v339) v342 - let v344 : string = "$0.as_ref()" - let v345 : Ref> = Fable.Core.RustInterop.emitRustExpr v343 v344 - let v346 : string = "std::str::from_utf8($0)" - let v347 : Result, std_str_Utf8Error> = Fable.Core.RustInterop.emitRustExpr v345 v346 - let v348 : string = "$0.unwrap()" - let v349 : Ref = Fable.Core.RustInterop.emitRustExpr v347 v348 - let v350 : string = "String::from($0)" - let v351 : std_string_String = Fable.Core.RustInterop.emitRustExpr v349 v350 - let v352 : string = "fable_library_rust::String_::fromString($0)" - let v353 : string = Fable.Core.RustInterop.emitRustExpr v351 v352 - let v354 : string = $"! {v353}" + v1443 + let v2914 : std_sync_Arc>> = method68(v1421) + let v2915 : string = "v2914.lock()" + let v2916 : Result>, std_sync_PoisonError>>> = Fable.Core.RustInterop.emitRustExpr () v2915 + let v2917 : string = "$0.unwrap()" + let v2918 : std_sync_MutexGuard> = Fable.Core.RustInterop.emitRustExpr v2916 v2917 + let v2919 : string = "&$0" + let v2920 : Ref> = Fable.Core.RustInterop.emitRustExpr v2918 v2919 + let v2921 : string = "$0.send($1)" + let v2922 : Result> = Fable.Core.RustInterop.emitRustExpr struct (v2920, v2913) v2921 + let v2923 : (std_sync_mpsc_SendError -> std_string_String) = method69() + let v2924 : string = "$0.map_err(|x| $1(x))" + let v2925 : Result = Fable.Core.RustInterop.emitRustExpr struct (v2922, v2923) v2924 + let v2926 : string = "$0" + let v2927 : core_ops_Try = Fable.Core.RustInterop.emitRustExpr v2925 v2926 + let v2928 : string = "true; $0 }); //" + let v2929 : bool = Fable.Core.RustInterop.emitRustExpr v2927 v2928 + let v2930 : string = "_result.map_err(|x| x.into())" + let v2931 : Result = Fable.Core.RustInterop.emitRustExpr () v2930 + let v2932 : Result = method70(v2931) + let v2933 : string = "" + let v2934 : string = "}" + let v2935 : string = v2933 + v2934 + let v2936 : string = "true; v2932 " + v2935 + "); " + v2933 + " // rust.fix_closure'" + let v2937 : bool = Fable.Core.RustInterop.emitRustExpr () v2936 + let v2938 : string = "__result" + let v2939 : std_thread_JoinHandle> = Fable.Core.RustInterop.emitRustExpr () v2938 + let v2940 : string = "true; let __result = std::thread::spawn(move || { //" + let v2941 : bool = Fable.Core.RustInterop.emitRustExpr () v2940 + let v2942 : string = "encoding_rs_io::DecodeReaderBytesBuilder::new().utf8_passthru(true).build($0)" + let v2943 : encoding_rs_io_DecodeReaderBytes> = Fable.Core.RustInterop.emitRustExpr v1360 v2942 + let v2944 : string = "std::io::BufReader::new(v2943)" + let v2945 : std_io_BufReader>> = Fable.Core.RustInterop.emitRustExpr () v2944 + let v2946 : string = "std::io::BufRead::lines(v2945)" + let v2947 : std_io_Lines>>> = Fable.Core.RustInterop.emitRustExpr () v2946 + let v2948 : string = "true; let mut v2947 = v2947; let _result = v2947.try_for_each(|x| { //" + let v2949 : bool = Fable.Core.RustInterop.emitRustExpr () v2948 + let v2950 : string = "x" + let v2951 : Result = Fable.Core.RustInterop.emitRustExpr () v2950 + let v2952 : string = "$0.clone()" + let v2953 : std_sync_Arc>> = Fable.Core.RustInterop.emitRustExpr v1403 v2952 + let v2954 : (std_io_Error -> std_string_String) = method31() + let v2955 : string = "$0.map_err(|x| $1(x))" + let v2956 : Result = Fable.Core.RustInterop.emitRustExpr struct (v2951, v2954) v2955 + let v2957 : (std_string_String -> US23) = method66() + let v2958 : (std_string_String -> US23) = method67() + let v2959 : string = "match v2956 { Ok(x) => $0(x), Err(e) => $1(e) }" + let v2960 : US23 = Fable.Core.RustInterop.emitRustExpr struct (v2957, v2958) v2959 + let v4446 : std_string_String = + match v2960 with + | US23_1(v3678) -> (* Error *) + let v3679 : unit = () + let v3680 : (unit -> unit) = closure49(v3678) + let v3681 : unit = (fun () -> v3680 (); v3679) () + let v4440 : string = $"\u001b[4;7m{v3678}\u001b[0m" + let v4441 : string = "&*$0" + let v4442 : Ref = Fable.Core.RustInterop.emitRustExpr v4440 v4441 + let v4443 : string = "String::from($0)" + let v4444 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4442 v4443 + v4444 + | US23_0(v2961) -> (* Ok *) + let v2962 : string = "fable_library_rust::String_::fromString($0)" + let v2963 : string = Fable.Core.RustInterop.emitRustExpr v2961 v2962 + let v2964 : string = "encoding_rs::UTF_8" + let v2965 : Ref = Fable.Core.RustInterop.emitRustExpr () v2964 + let v2966 : string = "$0.encode(&*$1).0" + let v2967 : std_borrow_Cow> = Fable.Core.RustInterop.emitRustExpr struct (v2965, v2963) v2966 + let v2968 : string = "$0.as_ref()" + let v2969 : Ref> = Fable.Core.RustInterop.emitRustExpr v2967 v2968 + let v2970 : string = "std::str::from_utf8($0)" + let v2971 : Result, std_str_Utf8Error> = Fable.Core.RustInterop.emitRustExpr v2969 v2970 + let v2972 : string = "$0.unwrap()" + let v2973 : Ref = Fable.Core.RustInterop.emitRustExpr v2971 v2972 + let v2974 : string = "String::from($0)" + let v2975 : std_string_String = Fable.Core.RustInterop.emitRustExpr v2973 v2974 + let v2976 : string = "fable_library_rust::String_::fromString($0)" + let v2977 : string = Fable.Core.RustInterop.emitRustExpr v2975 v2976 + let v2978 : string = $"! {v2977}" if v5 then - let v355 : unit = () - let v356 : (unit -> unit) = closure49(v354) - let v357 : unit = (fun () -> v356 (); v355) () + let v2979 : unit = () + let v2980 : (unit -> unit) = closure51(v2978) + let v2981 : unit = (fun () -> v2980 (); v2979) () () else - let v358 : unit = () - let v359 : (unit -> unit) = closure51(v354) - let v360 : unit = (fun () -> v359 (); v358) () + let v3669 : unit = () + let v3670 : (unit -> unit) = closure14(v2978) + let v3671 : unit = (fun () -> v3670 (); v3669) () () - let v361 : string = $"\u001b[4;7m{v351}\u001b[0m" - let v362 : string = "&*$0" - let v363 : Ref = Fable.Core.RustInterop.emitRustExpr v361 v362 - let v364 : string = "String::from($0)" - let v365 : std_string_String = Fable.Core.RustInterop.emitRustExpr v363 v364 - v365 - let v377 : std_sync_Arc>> = method68(v329) - let v378 : string = "v377.lock()" - let v379 : Result>, std_sync_PoisonError>>> = Fable.Core.RustInterop.emitRustExpr () v378 - let v380 : string = "$0.unwrap()" - let v381 : std_sync_MutexGuard> = Fable.Core.RustInterop.emitRustExpr v379 v380 - let v382 : string = "&$0" - let v383 : Ref> = Fable.Core.RustInterop.emitRustExpr v381 v382 - let v384 : string = "$0.send($1)" - let v385 : Result> = Fable.Core.RustInterop.emitRustExpr struct (v383, v376) v384 - let v386 : (std_sync_mpsc_SendError -> std_string_String) = method69() - let v387 : string = "$0.map_err(|x| $1(x))" - let v388 : Result = Fable.Core.RustInterop.emitRustExpr struct (v385, v386) v387 - let v389 : string = "$0" - let v390 : core_ops_Try = Fable.Core.RustInterop.emitRustExpr v388 v389 - let v391 : string = "true; $0 }); //" - let v392 : bool = Fable.Core.RustInterop.emitRustExpr v390 v391 - let v393 : string = "_result.map_err(|x| x.into())" - let v394 : Result = Fable.Core.RustInterop.emitRustExpr () v393 - let v395 : Result = method70(v394) - let v396 : string = v309 + v310 - let v397 : string = "true; v395 " + v396 + "); " + v309 + " // rust.fix_closure'" - let v398 : bool = Fable.Core.RustInterop.emitRustExpr () v397 - let v399 : string = "__result" - let v400 : std_thread_JoinHandle> = Fable.Core.RustInterop.emitRustExpr () v399 - let v401 : US24 option = None - let _v401 = ref v401 - let v402 : US24 option ref = _v401 - let v403 : (US24 option -> US24 option ref) = closure53(v402) - let v404 : unit = () - let v405 : (unit -> unit) = closure54(v4, v403) - let v406 : unit = (fun () -> v405 (); v404) () - let v407 : US24 option = _v401.Value - let v418 : US24 = US24_1 - let v419 : US24 = v407 |> Option.defaultValue v418 - match v419 with + let v3673 : string = $"\u001b[4;7m{v2975}\u001b[0m" + let v3674 : string = "&*$0" + let v3675 : Ref = Fable.Core.RustInterop.emitRustExpr v3673 v3674 + let v3676 : string = "String::from($0)" + let v3677 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3675 v3676 + v3677 + let v4447 : std_sync_Arc>> = method68(v2953) + let v4448 : string = "v4447.lock()" + let v4449 : Result>, std_sync_PoisonError>>> = Fable.Core.RustInterop.emitRustExpr () v4448 + let v4450 : string = "$0.unwrap()" + let v4451 : std_sync_MutexGuard> = Fable.Core.RustInterop.emitRustExpr v4449 v4450 + let v4452 : string = "&$0" + let v4453 : Ref> = Fable.Core.RustInterop.emitRustExpr v4451 v4452 + let v4454 : string = "$0.send($1)" + let v4455 : Result> = Fable.Core.RustInterop.emitRustExpr struct (v4453, v4446) v4454 + let v4456 : (std_sync_mpsc_SendError -> std_string_String) = method69() + let v4457 : string = "$0.map_err(|x| $1(x))" + let v4458 : Result = Fable.Core.RustInterop.emitRustExpr struct (v4455, v4456) v4457 + let v4459 : string = "$0" + let v4460 : core_ops_Try = Fable.Core.RustInterop.emitRustExpr v4458 v4459 + let v4461 : string = "true; $0 }); //" + let v4462 : bool = Fable.Core.RustInterop.emitRustExpr v4460 v4461 + let v4463 : string = "_result.map_err(|x| x.into())" + let v4464 : Result = Fable.Core.RustInterop.emitRustExpr () v4463 + let v4465 : Result = method70(v4464) + let v4466 : string = v2933 + v2934 + let v4467 : string = "true; v4465 " + v4466 + "); " + v2933 + " // rust.fix_closure'" + let v4468 : bool = Fable.Core.RustInterop.emitRustExpr () v4467 + let v4469 : string = "__result" + let v4470 : std_thread_JoinHandle> = Fable.Core.RustInterop.emitRustExpr () v4469 + let v4471 : US24 option = None + let _v4471 = ref v4471 + let v4472 : US24 option ref = _v4471 + let v4473 : (US24 option -> US24 option ref) = closure54(v4472) + let v4474 : unit = () + let v4475 : (unit -> unit) = closure55(v4, v4473) + let v4476 : unit = (fun () -> v4475 (); v4474) () + let v4479 : US24 option = _v4471.Value + let v4490 : US24 = US24_1 + let v4491 : US24 = v4479 |> Option.defaultValue v4490 + match v4491 with | US24_1 -> (* None *) () - | US24_0(v423) -> (* Some *) - let v424 : std_sync_Arc> = method71(v218) - let v425 : string = "v424.lock()" - let v426 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v425 - let v427 : string = "$0.unwrap()" - let v428 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v426 v427 - let v429 : string = "true; let mut v428 = v428" - let v430 : bool = Fable.Core.RustInterop.emitRustExpr () v429 - let v431 : string = "&mut $0" - let v432 : Ref> = Fable.Core.RustInterop.emitRustExpr v428 v431 - let v433 : string = "Option::take($0)" - let v434 : std_process_ChildStdin option = Fable.Core.RustInterop.emitRustExpr v432 v433 - let v435 : string = "true; let _result = v434.map(|x| { //" - let v436 : bool = Fable.Core.RustInterop.emitRustExpr () v435 - let v437 : string = "x" - let v438 : std_process_ChildStdin = Fable.Core.RustInterop.emitRustExpr () v437 - let v439 : string = "std::sync::Mutex::new($0)" - let v440 : std_sync_Mutex = Fable.Core.RustInterop.emitRustExpr v438 v439 - let v441 : string = "std::sync::Arc::new($0)" - let v442 : std_sync_Arc> = Fable.Core.RustInterop.emitRustExpr v440 v441 - let v443 : string = "true; $0 })" - let v444 : bool = Fable.Core.RustInterop.emitRustExpr v442 v443 - let v445 : string = "_result" - let v446 : std_sync_Arc> option = Fable.Core.RustInterop.emitRustExpr () v445 - let v447 : US25 option = None - let _v447 = ref v447 - let v448 : US25 option ref = _v447 - let v449 : (US25 option -> US25 option ref) = closure55(v448) - let v450 : unit = () - let v451 : (unit -> unit) = closure56(v446, v449) - let v452 : unit = (fun () -> v451 (); v450) () - let v453 : US25 option = _v447.Value - let v464 : US25 = US25_1 - let v465 : US25 = v453 |> Option.defaultValue v464 - match v465 with + | US24_0(v4495) -> (* Some *) + let v4496 : std_sync_Arc> = method71(v1392) + let v4497 : string = "v4496.lock()" + let v4498 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v4497 + let v4499 : string = "$0.unwrap()" + let v4500 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v4498 v4499 + let v4501 : string = "true; let mut v4500 = v4500" + let v4502 : bool = Fable.Core.RustInterop.emitRustExpr () v4501 + let v4503 : string = "&mut $0" + let v4504 : Ref> = Fable.Core.RustInterop.emitRustExpr v4500 v4503 + let v4505 : string = "Option::take($0)" + let v4506 : std_process_ChildStdin option = Fable.Core.RustInterop.emitRustExpr v4504 v4505 + let v4507 : string = "true; let _result = v4506.map(|x| { //" + let v4508 : bool = Fable.Core.RustInterop.emitRustExpr () v4507 + let v4509 : string = "x" + let v4510 : std_process_ChildStdin = Fable.Core.RustInterop.emitRustExpr () v4509 + let v4511 : string = "std::sync::Mutex::new($0)" + let v4512 : std_sync_Mutex = Fable.Core.RustInterop.emitRustExpr v4510 v4511 + let v4513 : string = "std::sync::Arc::new($0)" + let v4514 : std_sync_Arc> = Fable.Core.RustInterop.emitRustExpr v4512 v4513 + let v4515 : string = "true; $0 })" + let v4516 : bool = Fable.Core.RustInterop.emitRustExpr v4514 v4515 + let v4517 : string = "_result" + let v4518 : std_sync_Arc> option = Fable.Core.RustInterop.emitRustExpr () v4517 + let v4519 : US25 option = None + let _v4519 = ref v4519 + let v4520 : US25 option ref = _v4519 + let v4521 : (US25 option -> US25 option ref) = closure56(v4520) + let v4522 : unit = () + let v4523 : (unit -> unit) = closure57(v4518, v4521) + let v4524 : unit = (fun () -> v4523 (); v4522) () + let v4527 : US25 option = _v4519.Value + let v4538 : US25 = US25_1 + let v4539 : US25 = v4527 |> Option.defaultValue v4538 + match v4539 with | US25_1 -> (* None *) () - | US25_0(v469) -> (* Some *) - v423 v469 - let v470 : std_sync_Arc> = method72(v469) - let v471 : string = "v470.lock()" - let v472 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v471 - let v473 : string = "$0.unwrap()" - let v474 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v472 v473 - let v475 : std_sync_MutexGuard = method73(v474) - let v476 : string = "true; let mut v475 = v475" - let v477 : bool = Fable.Core.RustInterop.emitRustExpr () v476 - let v478 : string = "true; std::io::Write::flush(&mut *$0).unwrap()" - let v479 : bool = Fable.Core.RustInterop.emitRustExpr v475 v478 + | US25_0(v4543) -> (* Some *) + v4495 v4543 + let v4544 : std_sync_Arc> = method72(v4543) + let v4545 : string = "v4544.lock()" + let v4546 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v4545 + let v4547 : string = "$0.unwrap()" + let v4548 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v4546 v4547 + let v4549 : std_sync_MutexGuard = method73(v4548) + let v4550 : string = "true; let mut v4549 = v4549" + let v4551 : bool = Fable.Core.RustInterop.emitRustExpr () v4550 + let v4552 : string = "true; std::io::Write::flush(&mut *$0).unwrap()" + let v4553 : bool = Fable.Core.RustInterop.emitRustExpr v4549 v4552 () - let v480 : std_sync_Arc> = method65(v136) - let v481 : string = "v480.lock()" - let v482 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v481 - let v483 : string = "$0.unwrap()" - let v484 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v482 v483 - let v485 : string = "true; let mut v484 = v484" - let v486 : bool = Fable.Core.RustInterop.emitRustExpr () v485 - let v487 : string = "&mut $0" - let v488 : Ref> = Fable.Core.RustInterop.emitRustExpr v484 v487 - let v489 : string = "Option::take($0)" - let v490 : std_process_Child option = Fable.Core.RustInterop.emitRustExpr v488 v489 - let v491 : string = "$0.unwrap()" - let v492 : std_process_Child = Fable.Core.RustInterop.emitRustExpr v490 v491 - let v493 : string = "$0.wait_with_output()" - let v494 : Result = Fable.Core.RustInterop.emitRustExpr v492 v493 - let v495 : (std_io_Error -> std_string_String) = method31() - let v496 : string = "$0.map_err(|x| $1(x))" - let v497 : Result = Fable.Core.RustInterop.emitRustExpr struct (v494, v495) v496 - let v498 : std_thread_JoinHandle> = method74(v400) - let v499 : string = "v498" - let v500 : string = v499 + v309 - let v501 : string = v500 + v309 - let v502 : std_thread_JoinHandle> = method74(v315) - let v503 : string = "v502" - let v504 : string = ", " - let v505 : string = v503 + v504 - let v506 : string = v505 + v501 - let v507 : string = "vec![" + v506 + "]" - let v508 : Vec>> = Fable.Core.RustInterop.emitRustExpr () v507 - let v509 : string = "true; v508.into_iter().for_each(|x| { //" - let v510 : bool = Fable.Core.RustInterop.emitRustExpr () v509 - let v511 : string = "x" - let v512 : std_thread_JoinHandle> = Fable.Core.RustInterop.emitRustExpr () v511 - let v513 : string = "std::thread::JoinHandle::join($0)" - let v514 : Result, Box>>>>>>> = Fable.Core.RustInterop.emitRustExpr v512 v513 - let v515 : string = "$0.unwrap()" - let v516 : Result = Fable.Core.RustInterop.emitRustExpr v514 v515 - let v517 : string = "$0.unwrap()" - Fable.Core.RustInterop.emitRustExpr v516 v517 - let v518 : string = "true; () }}); { //" - let v519 : bool = Fable.Core.RustInterop.emitRustExpr () v518 - let v520 : (std_process_Output -> US26) = closure57() - let v521 : (std_string_String -> US26) = closure58() - let v522 : US26 = match v497 with Ok x -> v520 x | Error x -> v521 x - match v522 with - | US26_1(v566) -> (* Error *) - let v567 : unit = () - let v568 : (unit -> unit) = closure59(v566) - let v569 : unit = (fun () -> v568 (); v567) () - let v570 : US4 = US4_0(v566) - let v571 : US22 = US22_1 - struct (-2, v570, v571) - | US26_0(v523) -> (* Ok *) - let v524 : string = "$0.status" - let v525 : std_process_ExitStatus = Fable.Core.RustInterop.emitRustExpr v523 v524 - let v526 : string = "$0.code()" - let v527 : int32 option = Fable.Core.RustInterop.emitRustExpr v525 v526 - let v528 : US27 option = None - let _v528 = ref v528 - let v529 : US27 option ref = _v528 - let v530 : (US27 option -> US27 option ref) = closure61(v529) - let v531 : unit = () - let v532 : (unit -> unit) = closure62(v527, v530) - let v533 : unit = (fun () -> v532 (); v531) () - let v534 : US27 option = _v528.Value - let v545 : US27 = US27_1 - let v546 : US27 = v534 |> Option.defaultValue v545 - match v546 with + let v4554 : std_sync_Arc> = method65(v1310) + let v4555 : string = "v4554.lock()" + let v4556 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v4555 + let v4557 : string = "$0.unwrap()" + let v4558 : std_sync_MutexGuard = Fable.Core.RustInterop.emitRustExpr v4556 v4557 + let v4559 : string = "true; let mut v4558 = v4558" + let v4560 : bool = Fable.Core.RustInterop.emitRustExpr () v4559 + let v4561 : string = "&mut $0" + let v4562 : Ref> = Fable.Core.RustInterop.emitRustExpr v4558 v4561 + let v4563 : string = "Option::take($0)" + let v4564 : std_process_Child option = Fable.Core.RustInterop.emitRustExpr v4562 v4563 + let v4565 : string = "$0.unwrap()" + let v4566 : std_process_Child = Fable.Core.RustInterop.emitRustExpr v4564 v4565 + let v4567 : string = "$0.wait_with_output()" + let v4568 : Result = Fable.Core.RustInterop.emitRustExpr v4566 v4567 + let v4569 : (std_io_Error -> std_string_String) = method31() + let v4570 : string = "$0.map_err(|x| $1(x))" + let v4571 : Result = Fable.Core.RustInterop.emitRustExpr struct (v4568, v4569) v4570 + let v4572 : std_thread_JoinHandle> = method74(v4470) + let v4573 : string = "v4572" + let v4574 : string = v4573 + v2933 + let v4575 : string = v4574 + v2933 + let v4576 : std_thread_JoinHandle> = method74(v2939) + let v4577 : string = "v4576" + let v4578 : string = ", " + let v4579 : string = v4577 + v4578 + let v4580 : string = v4579 + v4575 + let v4581 : string = "vec![" + v4580 + "]" + let v4582 : Vec>> = Fable.Core.RustInterop.emitRustExpr () v4581 + let v4583 : string = "true; v4582.into_iter().for_each(|x| { //" + let v4584 : bool = Fable.Core.RustInterop.emitRustExpr () v4583 + let v4585 : string = "x" + let v4586 : std_thread_JoinHandle> = Fable.Core.RustInterop.emitRustExpr () v4585 + let v4587 : string = "std::thread::JoinHandle::join($0)" + let v4588 : Result, Box>>>>>>> = Fable.Core.RustInterop.emitRustExpr v4586 v4587 + let v4589 : string = "$0.unwrap()" + let v4590 : Result = Fable.Core.RustInterop.emitRustExpr v4588 v4589 + let v4591 : string = "$0.unwrap()" + Fable.Core.RustInterop.emitRustExpr v4590 v4591 + let v4592 : string = "true; () }}); { //" + let v4593 : bool = Fable.Core.RustInterop.emitRustExpr () v4592 + let v4594 : (std_process_Output -> US26) = closure58() + let v4595 : (std_string_String -> US26) = closure59() + let v4596 : US26 = match v4571 with Ok x -> v4594 x | Error x -> v4595 x + match v4596 with + | US26_1(v4642) -> (* Error *) + let v4643 : unit = () + let v4644 : (unit -> unit) = closure60(v4642) + let v4645 : unit = (fun () -> v4644 (); v4643) () + let v5404 : US4 = US4_0(v4642) + let v5405 : US22 = US22_1 + struct (-2, v5404, v5405) + | US26_0(v4597) -> (* Ok *) + let v4598 : string = "$0.status" + let v4599 : std_process_ExitStatus = Fable.Core.RustInterop.emitRustExpr v4597 v4598 + let v4600 : string = "$0.code()" + let v4601 : int32 option = Fable.Core.RustInterop.emitRustExpr v4599 v4600 + let v4602 : US27 option = None + let _v4602 = ref v4602 + let v4603 : US27 option ref = _v4602 + let v4604 : (US27 option -> US27 option ref) = closure62(v4603) + let v4605 : unit = () + let v4606 : (unit -> unit) = closure63(v4601, v4604) + let v4607 : unit = (fun () -> v4606 (); v4605) () + let v4610 : US27 option = _v4602.Value + let v4621 : US27 = US27_1 + let v4622 : US27 = v4610 |> Option.defaultValue v4621 + match v4622 with | US27_1 -> (* None *) - let v553 : string = "&*$0" - let v554 : string = "runtime.execute_with_options / exit_code=None" - let v555 : Ref = Fable.Core.RustInterop.emitRustExpr v554 v553 - let v556 : string = "String::from($0)" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr v555 v556 - let v558 : US4 = US4_0(v557) - let v559 : US22 = US22_0(v233) - struct (-1, v558, v559) - | US27_0(v550) -> (* Some *) - let v551 : US4 = US4_1 - let v552 : US22 = US22_0(v233) - struct (v550, v551, v552) - let v596 : std_sync_Arc>>> option = - match v589 with + let v4629 : string = "&*$0" + let v4630 : string = "runtime.execute_with_options / exit_code=None" + let v4631 : Ref = Fable.Core.RustInterop.emitRustExpr v4630 v4629 + let v4632 : string = "String::from($0)" + let v4633 : std_string_String = Fable.Core.RustInterop.emitRustExpr v4631 v4632 + let v4634 : US4 = US4_0(v4633) + let v4635 : US22 = US22_0(v1407) + struct (-1, v4634, v4635) + | US27_0(v4626) -> (* Some *) + let v4627 : US4 = US4_1 + let v4628 : US22 = US22_0(v1407) + struct (v4626, v4627, v4628) + let v6190 : std_sync_Arc>>> option = + match v6183 with | US22_1 -> (* None *) - let v594 : std_sync_Arc>>> option = None - v594 - | US22_0(v590) -> (* Some *) - let v591 : std_sync_Arc>>> option = Some v590 - v591 - let v597 : string = "true; let _result = v596.map(|x| { //" - let v598 : bool = Fable.Core.RustInterop.emitRustExpr () v597 - let v599 : string = "x" - let v600 : std_sync_Arc>>> = Fable.Core.RustInterop.emitRustExpr () v599 - let v601 : std_sync_Arc>>> = method75(v600) - let v602 : string = "v601.lock()" - let v603 : Result>>, std_sync_PoisonError>>>> = Fable.Core.RustInterop.emitRustExpr () v602 - let v604 : string = "$0.unwrap()" - let v605 : std_sync_MutexGuard>> = Fable.Core.RustInterop.emitRustExpr v603 v604 - let v606 : string = "v605.iter()" - let v607 : _ = Fable.Core.RustInterop.emitRustExpr () v606 - let v608 : string = "v607.collect::>()" - let v609 : Vec = Fable.Core.RustInterop.emitRustExpr () v608 - let v610 : string = "true; let _result : Vec<_> = v609.into_iter().map(|x| { //" - let v611 : bool = Fable.Core.RustInterop.emitRustExpr () v610 - let v612 : string = "x" - let v613 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v612 - let v614 : string = "fable_library_rust::String_::fromString($0)" - let v615 : string = Fable.Core.RustInterop.emitRustExpr v613 v614 - let v616 : string = "true; $0 }).collect::>()" - let v617 : bool = Fable.Core.RustInterop.emitRustExpr v615 v616 - let v618 : string = "_result" - let v619 : Vec = Fable.Core.RustInterop.emitRustExpr () v618 - let v620 : string = "fable_library_rust::NativeArray_::array_from($0)" - let v621 : (string []) = Fable.Core.RustInterop.emitRustExpr v619 v620 - let v622 : string seq = v621 |> Seq.ofArray - let v625 : (string -> (string seq -> string)) = String.concat - let v626 : string = "\n" - let v627 : (string seq -> string) = v625 v626 - let v628 : string = v627 v622 - let v631 : string = "true; $0 })" - let v632 : bool = Fable.Core.RustInterop.emitRustExpr v628 v631 - let v633 : string = "_result" - let v634 : string option = Fable.Core.RustInterop.emitRustExpr () v633 - let v641 : US1 = - match v588 with + let v6188 : std_sync_Arc>>> option = None + v6188 + | US22_0(v6184) -> (* Some *) + let v6185 : std_sync_Arc>>> option = Some v6184 + v6185 + let v6191 : string = "true; let _result = v6190.map(|x| { //" + let v6192 : bool = Fable.Core.RustInterop.emitRustExpr () v6191 + let v6193 : string = "x" + let v6194 : std_sync_Arc>>> = Fable.Core.RustInterop.emitRustExpr () v6193 + let v6195 : std_sync_Arc>>> = method75(v6194) + let v6196 : string = "v6195.lock()" + let v6197 : Result>>, std_sync_PoisonError>>>> = Fable.Core.RustInterop.emitRustExpr () v6196 + let v6198 : string = "$0.unwrap()" + let v6199 : std_sync_MutexGuard>> = Fable.Core.RustInterop.emitRustExpr v6197 v6198 + let v6200 : string = "v6199.iter()" + let v6201 : _ = Fable.Core.RustInterop.emitRustExpr () v6200 + let v6202 : string = "v6201.collect::>()" + let v6203 : Vec = Fable.Core.RustInterop.emitRustExpr () v6202 + let v6204 : string = "true; let _result : Vec<_> = v6203.into_iter().map(|x| { //" + let v6205 : bool = Fable.Core.RustInterop.emitRustExpr () v6204 + let v6206 : string = "x" + let v6207 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v6206 + let v6208 : string = "fable_library_rust::String_::fromString($0)" + let v6209 : string = Fable.Core.RustInterop.emitRustExpr v6207 v6208 + let v6210 : string = "true; $0 }).collect::>()" + let v6211 : bool = Fable.Core.RustInterop.emitRustExpr v6209 v6210 + let v6212 : string = "_result" + let v6213 : Vec = Fable.Core.RustInterop.emitRustExpr () v6212 + let v6214 : string = "fable_library_rust::NativeArray_::array_from($0)" + let v6215 : (string []) = Fable.Core.RustInterop.emitRustExpr v6213 v6214 + let v6216 : string seq = v6215 |> Seq.ofArray + let v6219 : (string -> (string seq -> string)) = String.concat + let v6220 : string = "\n" + let v6221 : (string seq -> string) = v6219 v6220 + let v6222 : string = v6221 v6216 + let v6225 : string = "true; $0 })" + let v6226 : bool = Fable.Core.RustInterop.emitRustExpr v6222 v6225 + let v6227 : string = "_result" + let v6228 : string option = Fable.Core.RustInterop.emitRustExpr () v6227 + let v6235 : US1 = + match v6182 with | US4_1 -> (* None *) US1_1 - | US4_0(v635) -> (* Some *) - let v636 : string = "fable_library_rust::String_::fromString($0)" - let v637 : string = Fable.Core.RustInterop.emitRustExpr v635 v636 - US1_0(v637) - let v645 : string = - match v641 with + | US4_0(v6229) -> (* Some *) + let v6230 : string = "fable_library_rust::String_::fromString($0)" + let v6231 : string = Fable.Core.RustInterop.emitRustExpr v6229 v6230 + US1_0(v6231) + let v6239 : string = + match v6235 with | US1_1 -> (* None *) - let v643 : string = "" - v643 - | US1_0(v642) -> (* Some *) - v642 - let v646 : string = v634 |> Option.defaultValue v645 - let v649 : unit = () - let v650 : (unit -> unit) = closure63(v587, v646) - let v651 : unit = (fun () -> v650 (); v649) () - let v652 : (int32 * string) = v587, v646 - v652 + let v6237 : string = "" + v6237 + | US1_0(v6236) -> (* Some *) + v6236 + let v6240 : string = v6228 |> Option.defaultValue v6239 + let v6243 : unit = () + let v6244 : (unit -> unit) = closure64(v6181, v6240) + let v6245 : unit = (fun () -> v6244 (); v6243) () + let v7014 : (int32 * string) = v6181, v6240 + v7014 ) |> fun x -> x () ) () ) - |> fun x -> _v48 <- Some x - let v653 : (int32 * string) = match _v48 with Some x -> x | None -> failwith "base.capture / _v48=None" - let (a, b) = v653 - let v654 : int32 = a - let v655 : string = b - let _v7 = struct (v654, v655) + |> fun x -> _v1220 <- Some x + let v7015 : (int32 * string) = match _v1220 with Some x -> x | None -> failwith "base.capture / _v1220=None" + let (a, b) = v7015 + let v7016 : int32 = a + let v7017 : string = b + let _v7 = struct (v7016, v7017) #endif #if FABLE_COMPILER_RUST && WASM - let struct (v660 : int32, v661 : string) = null |> unbox - let _v7 = struct (v660, v661) + let struct (v7022 : int32, v7023 : string) = null |> unbox + let _v7 = struct (v7022, v7023) #endif #if FABLE_COMPILER_RUST && CONTRACT - let struct (v666 : int32, v667 : string) = null |> unbox - let _v7 = struct (v666, v667) + let struct (v7028 : int32, v7029 : string) = null |> unbox + let _v7 = struct (v7028, v7029) #endif #if FABLE_COMPILER_TYPESCRIPT - let struct (v672 : int32, v673 : string) = null |> unbox - let _v7 = struct (v672, v673) + let struct (v7034 : int32, v7035 : string) = null |> unbox + let _v7 = struct (v7034, v7035) #endif #if FABLE_COMPILER_PYTHON - let struct (v678 : int32, v679 : string) = null |> unbox - let _v7 = struct (v678, v679) + let struct (v7040 : int32, v7041 : string) = null |> unbox + let _v7 = struct (v7040, v7041) #endif #else - let v684 : Async = method76(v0, v1, v2, v3, v4, v5, v6) - let v685 : unit = () + let v7046 : Async = method76(v0, v1, v2, v3, v4, v5, v6) + let v7047 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let struct (v686 : int32, v687 : string) = null |> unbox - let _v685 = struct (v686, v687) + let struct (v7048 : int32, v7049 : string) = null |> unbox + let _v7047 = struct (v7048, v7049) #endif #if FABLE_COMPILER_RUST && WASM - let struct (v692 : int32, v693 : string) = null |> unbox - let _v685 = struct (v692, v693) + let struct (v7054 : int32, v7055 : string) = null |> unbox + let _v7047 = struct (v7054, v7055) #endif #if FABLE_COMPILER_RUST && CONTRACT - let struct (v698 : int32, v699 : string) = null |> unbox - let _v685 = struct (v698, v699) + let struct (v7060 : int32, v7061 : string) = null |> unbox + let _v7047 = struct (v7060, v7061) #endif #if FABLE_COMPILER_TYPESCRIPT - let struct (v704 : int32, v705 : string) = null |> unbox - let _v685 = struct (v704, v705) + let struct (v7066 : int32, v7067 : string) = null |> unbox + let _v7047 = struct (v7066, v7067) #endif #if FABLE_COMPILER_PYTHON - let struct (v710 : int32, v711 : string) = null |> unbox - let _v685 = struct (v710, v711) + let struct (v7072 : int32, v7073 : string) = null |> unbox + let _v7047 = struct (v7072, v7073) #endif #else - let v716 : (Async -> struct (int32 * string)) = Async.RunSynchronously - let struct (v717 : int32, v718 : string) = v716 v684 - let _v685 = struct (v717, v718) + let v7078 : (Async -> struct (int32 * string)) = Async.RunSynchronously + let struct (v7079 : int32, v7080 : string) = v7078 v7046 + let _v7047 = struct (v7079, v7080) #endif - let struct (v719 : int32, v720 : string) = _v685 - let _v7 = struct (v719, v720) + let struct (v7081 : int32, v7082 : string) = _v7047 + let _v7 = struct (v7081, v7082) #endif - let struct (v729 : int32, v730 : string) = _v7 - struct (v729, v730) + let struct (v7091 : int32, v7092 : string) = _v7 + struct (v7091, v7092) and method78 (v0 : string) : string = let v1 : unit = () @@ -12303,14 +12325,14 @@ and method77 (v0 : string, v1 : string, v2 : string) : struct (string * string) and method79 () : string = let v0 : string = "" v0 -and closure80 () (v0 : string) : US31 = +and closure81 () (v0 : string) : US31 = US31_0(v0) and method80 () : (string -> US31) = - closure80() -and closure81 () (v0 : std_string_String) : US31 = + closure81() +and closure82 () (v0 : std_string_String) : US31 = US31_1(v0) and method81 () : (std_string_String -> US31) = - closure81() + closure82() and method82 (v0 : string) : bool = let v1 : unit = () @@ -12360,581 +12382,582 @@ and method82 (v0 : string) : bool = #endif let v28 : bool = _v1 v28 -and closure83 () () : string = +and closure84 () () : string = let v0 : string = "documents.run / par_map / origin_hash |> sm'.contains local_git_hash |> not / hash2 = None || hash1 <>. (hash2 |> optionm.value)" v0 -and closure82 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : int32, v5 : string, v6 : string, v7 : int32, v8 : string, v9 : string, v10 : US1) () : unit = +and closure83 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : int32, v5 : string, v6 : string, v7 : int32, v8 : string, v9 : string, v10 : US1) () : unit = let v11 : unit = () let v12 : (unit -> unit) = closure7() let v13 : unit = (fun () -> v12 (); v11) () - let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value - let v31 : unit = () - let v32 : unit = (fun () -> v12 (); v31) () - let struct (v35 : Mut0, v36 : Mut1, v37 : Mut2, v38 : Mut3, v39 : int64 option) = State.trace_state.Value - let v50 : US0 = v38.l0 - let v51 : bool = v37.l0 - let v52 : bool = v51 = false - let v55 : bool = - if v52 then + let struct (v26 : Mut0, v27 : Mut1, v28 : Mut2, v29 : Mut3, v30 : int64 option) = State.trace_state.Value + let v41 : unit = () + let v42 : unit = (fun () -> v12 (); v41) () + let struct (v55 : Mut0, v56 : Mut1, v57 : Mut2, v58 : Mut3, v59 : int64 option) = State.trace_state.Value + let v70 : US0 = v58.l0 + let v71 : bool = v57.l0 + let v72 : bool = v71 = false + let v75 : bool = + if v72 then false else - let v53 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v50 - let v54 : bool = 2 >= v53 - v54 - if v55 then - let v56 : unit = () - let v57 : (unit -> unit) = closure8(v16) - let v58 : unit = (fun () -> v57 (); v56) () - let v59 : unit = () - let v60 : unit = (fun () -> v12 (); v59) () - let struct (v63 : Mut0, v64 : Mut1, v65 : Mut2, v66 : Mut3, v67 : int64 option) = State.trace_state.Value - let v78 : unit = () + let v73 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v70 + let v74 : bool = 2 >= v73 + v74 + if v75 then + let v76 : unit = () + let v77 : (unit -> unit) = closure8(v26) + let v78 : unit = (fun () -> v77 (); v76) () + let v81 : unit = () + let v82 : unit = (fun () -> v12 (); v81) () + let struct (v95 : Mut0, v96 : Mut1, v97 : Mut2, v98 : Mut3, v99 : int64 option) = State.trace_state.Value + let v110 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v79 : US3 option = None - let _v79 = ref v79 - let v80 : US3 option ref = _v79 - let v81 : (US3 option -> US3 option ref) = closure9(v80) - let v82 : unit = () - let v83 : (unit -> unit) = closure10(v67, v81) - let v84 : unit = (fun () -> v83 (); v82) () - let v85 : US3 option = _v79.Value - let v96 : US3 = US3_1 - let v97 : US3 = v85 |> Option.defaultValue v96 - let v137 : System.DateTime = - match v97 with + let v111 : US3 option = None + let _v111 = ref v111 + let v112 : US3 option ref = _v111 + let v113 : (US3 option -> US3 option ref) = closure9(v112) + let v114 : unit = () + let v115 : (unit -> unit) = closure10(v99, v113) + let v116 : unit = (fun () -> v115 (); v114) () + let v119 : US3 option = _v111.Value + let v130 : US3 = US3_1 + let v131 : US3 = v119 |> Option.defaultValue v130 + let v171 : System.DateTime = + match v131 with | US3_1 -> (* None *) - let v133 : System.DateTime = System.DateTime.Now - v133 - | US3_0(v101) -> (* Some *) - let v102 : System.DateTime = System.DateTime.Now - let v105 : (System.DateTime -> int64) = _.Ticks - let v106 : int64 = v105 v102 - let v109 : int64 = v106 - v101 - let v110 : (int64 -> System.TimeSpan) = System.TimeSpan - let v111 : System.TimeSpan = v110 v109 - let v114 : (System.TimeSpan -> int32) = _.Hours - let v115 : int32 = v114 v111 - let v118 : (System.TimeSpan -> int32) = _.Minutes - let v119 : int32 = v118 v111 - let v122 : (System.TimeSpan -> int32) = _.Seconds - let v123 : int32 = v122 v111 - let v126 : (System.TimeSpan -> int32) = _.Milliseconds - let v127 : int32 = v126 v111 - let v130 : System.DateTime = System.DateTime (1, 1, 1, v115, v119, v123, v127) - v130 - let v138 : string = method6() - let v141 : (string -> string) = v137.ToString - let v142 : string = v141 v138 - let _v78 = v142 + let v167 : System.DateTime = System.DateTime.Now + v167 + | US3_0(v135) -> (* Some *) + let v136 : System.DateTime = System.DateTime.Now + let v139 : (System.DateTime -> int64) = _.Ticks + let v140 : int64 = v139 v136 + let v143 : int64 = v140 - v135 + let v144 : (int64 -> System.TimeSpan) = System.TimeSpan + let v145 : System.TimeSpan = v144 v143 + let v148 : (System.TimeSpan -> int32) = _.Hours + let v149 : int32 = v148 v145 + let v152 : (System.TimeSpan -> int32) = _.Minutes + let v153 : int32 = v152 v145 + let v156 : (System.TimeSpan -> int32) = _.Seconds + let v157 : int32 = v156 v145 + let v160 : (System.TimeSpan -> int32) = _.Milliseconds + let v161 : int32 = v160 v145 + let v164 : System.DateTime = System.DateTime (1, 1, 1, v149, v153, v157, v161) + v164 + let v172 : string = method6() + let v175 : (string -> string) = v171.ToString + let v176 : string = v175 v172 + let _v110 = v176 #endif #if FABLE_COMPILER_RUST && WASM - let v145 : US3 option = None - let _v145 = ref v145 - let v146 : US3 option ref = _v145 - let v147 : (US3 option -> US3 option ref) = closure9(v146) - let v148 : unit = () - let v149 : (unit -> unit) = closure10(v67, v147) - let v150 : unit = (fun () -> v149 (); v148) () - let v151 : US3 option = _v145.Value - let v162 : US3 = US3_1 - let v163 : US3 = v151 |> Option.defaultValue v162 - let v203 : System.DateTime = - match v163 with - | US3_1 -> (* None *) - let v199 : System.DateTime = System.DateTime.Now - v199 - | US3_0(v167) -> (* Some *) - let v168 : System.DateTime = System.DateTime.Now - let v171 : (System.DateTime -> int64) = _.Ticks - let v172 : int64 = v171 v168 - let v175 : int64 = v172 - v167 - let v176 : (int64 -> System.TimeSpan) = System.TimeSpan - let v177 : System.TimeSpan = v176 v175 - let v180 : (System.TimeSpan -> int32) = _.Hours - let v181 : int32 = v180 v177 - let v184 : (System.TimeSpan -> int32) = _.Minutes - let v185 : int32 = v184 v177 - let v188 : (System.TimeSpan -> int32) = _.Seconds - let v189 : int32 = v188 v177 - let v192 : (System.TimeSpan -> int32) = _.Milliseconds - let v193 : int32 = v192 v177 - let v196 : System.DateTime = System.DateTime (1, 1, 1, v181, v185, v189, v193) - v196 - let v204 : string = method6() - let v207 : (string -> string) = v203.ToString - let v208 : string = v207 v204 - let _v78 = v208 - #endif -#if FABLE_COMPILER_RUST && CONTRACT - let v211 : string = $"near_sdk::env::block_timestamp()" - let v212 : uint64 = Fable.Core.RustInterop.emitRustExpr () v211 - let v213 : US3 option = None - let _v213 = ref v213 - let v214 : US3 option ref = _v213 - let v215 : (US3 option -> US3 option ref) = closure9(v214) - let v216 : unit = () - let v217 : (unit -> unit) = closure10(v67, v215) - let v218 : unit = (fun () -> v217 (); v216) () - let v219 : US3 option = _v213.Value - let v230 : US3 = US3_1 - let v231 : US3 = v219 |> Option.defaultValue v230 - let v240 : uint64 = - match v231 with + let v179 : US3 option = None + let _v179 = ref v179 + let v180 : US3 option ref = _v179 + let v181 : (US3 option -> US3 option ref) = closure9(v180) + let v182 : unit = () + let v183 : (unit -> unit) = closure10(v99, v181) + let v184 : unit = (fun () -> v183 (); v182) () + let v187 : US3 option = _v179.Value + let v198 : US3 = US3_1 + let v199 : US3 = v187 |> Option.defaultValue v198 + let v239 : System.DateTime = + match v199 with | US3_1 -> (* None *) - v212 - | US3_0(v235) -> (* Some *) - let v236 : (int64 -> uint64) = uint64 - let v237 : uint64 = v236 v235 - let v238 : uint64 = v212 - v237 - v238 - let v241 : uint64 = v240 / 1000000000UL - let v242 : uint64 = v241 % 60UL - let v243 : uint64 = v241 / 60UL - let v244 : uint64 = v243 % 60UL - let v245 : uint64 = v241 / 3600UL - let v246 : uint64 = v245 % 24UL - let v247 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v248 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v246, v244, v242) v247 - let v249 : string = "fable_library_rust::String_::fromString($0)" - let v250 : string = Fable.Core.RustInterop.emitRustExpr v248 v249 - let _v78 = v250 + let v235 : System.DateTime = System.DateTime.Now + v235 + | US3_0(v203) -> (* Some *) + let v204 : System.DateTime = System.DateTime.Now + let v207 : (System.DateTime -> int64) = _.Ticks + let v208 : int64 = v207 v204 + let v211 : int64 = v208 - v203 + let v212 : (int64 -> System.TimeSpan) = System.TimeSpan + let v213 : System.TimeSpan = v212 v211 + let v216 : (System.TimeSpan -> int32) = _.Hours + let v217 : int32 = v216 v213 + let v220 : (System.TimeSpan -> int32) = _.Minutes + let v221 : int32 = v220 v213 + let v224 : (System.TimeSpan -> int32) = _.Seconds + let v225 : int32 = v224 v213 + let v228 : (System.TimeSpan -> int32) = _.Milliseconds + let v229 : int32 = v228 v213 + let v232 : System.DateTime = System.DateTime (1, 1, 1, v217, v221, v225, v229) + v232 + let v240 : string = method6() + let v243 : (string -> string) = v239.ToString + let v244 : string = v243 v240 + let _v110 = v244 #endif -#if FABLE_COMPILER_TYPESCRIPT - let v251 : US3 option = None - let _v251 = ref v251 - let v252 : US3 option ref = _v251 - let v253 : (US3 option -> US3 option ref) = closure9(v252) - let v254 : unit = () - let v255 : (unit -> unit) = closure10(v67, v253) - let v256 : unit = (fun () -> v255 (); v254) () - let v257 : US3 option = _v251.Value +#if FABLE_COMPILER_RUST && CONTRACT + let v247 : string = $"near_sdk::env::block_timestamp()" + let v248 : uint64 = Fable.Core.RustInterop.emitRustExpr () v247 + let v249 : US3 option = None + let _v249 = ref v249 + let v250 : US3 option ref = _v249 + let v251 : (US3 option -> US3 option ref) = closure9(v250) + let v252 : unit = () + let v253 : (unit -> unit) = closure10(v99, v251) + let v254 : unit = (fun () -> v253 (); v252) () + let v257 : US3 option = _v249.Value let v268 : US3 = US3_1 let v269 : US3 = v257 |> Option.defaultValue v268 - let v309 : System.DateTime = + let v278 : uint64 = match v269 with | US3_1 -> (* None *) - let v305 : System.DateTime = System.DateTime.Now - v305 + v248 | US3_0(v273) -> (* Some *) - let v274 : System.DateTime = System.DateTime.Now - let v277 : (System.DateTime -> int64) = _.Ticks - let v278 : int64 = v277 v274 - let v281 : int64 = v278 - v273 - let v282 : (int64 -> System.TimeSpan) = System.TimeSpan - let v283 : System.TimeSpan = v282 v281 - let v286 : (System.TimeSpan -> int32) = _.Hours - let v287 : int32 = v286 v283 - let v290 : (System.TimeSpan -> int32) = _.Minutes - let v291 : int32 = v290 v283 - let v294 : (System.TimeSpan -> int32) = _.Seconds - let v295 : int32 = v294 v283 - let v298 : (System.TimeSpan -> int32) = _.Milliseconds - let v299 : int32 = v298 v283 - let v302 : System.DateTime = System.DateTime (1, 1, 1, v287, v291, v295, v299) - v302 - let v310 : string = method7() - let v313 : (string -> string) = v309.ToString - let v314 : string = v313 v310 - let _v78 = v314 + let v274 : (int64 -> uint64) = uint64 + let v275 : uint64 = v274 v273 + let v276 : uint64 = v248 - v275 + v276 + let v279 : uint64 = v278 / 1000000000UL + let v280 : uint64 = v279 % 60UL + let v281 : uint64 = v279 / 60UL + let v282 : uint64 = v281 % 60UL + let v283 : uint64 = v279 / 3600UL + let v284 : uint64 = v283 % 24UL + let v285 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v286 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v284, v282, v280) v285 + let v287 : string = "fable_library_rust::String_::fromString($0)" + let v288 : string = Fable.Core.RustInterop.emitRustExpr v286 v287 + let _v110 = v288 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v289 : US3 option = None + let _v289 = ref v289 + let v290 : US3 option ref = _v289 + let v291 : (US3 option -> US3 option ref) = closure9(v290) + let v292 : unit = () + let v293 : (unit -> unit) = closure10(v99, v291) + let v294 : unit = (fun () -> v293 (); v292) () + let v297 : US3 option = _v289.Value + let v308 : US3 = US3_1 + let v309 : US3 = v297 |> Option.defaultValue v308 + let v349 : System.DateTime = + match v309 with + | US3_1 -> (* None *) + let v345 : System.DateTime = System.DateTime.Now + v345 + | US3_0(v313) -> (* Some *) + let v314 : System.DateTime = System.DateTime.Now + let v317 : (System.DateTime -> int64) = _.Ticks + let v318 : int64 = v317 v314 + let v321 : int64 = v318 - v313 + let v322 : (int64 -> System.TimeSpan) = System.TimeSpan + let v323 : System.TimeSpan = v322 v321 + let v326 : (System.TimeSpan -> int32) = _.Hours + let v327 : int32 = v326 v323 + let v330 : (System.TimeSpan -> int32) = _.Minutes + let v331 : int32 = v330 v323 + let v334 : (System.TimeSpan -> int32) = _.Seconds + let v335 : int32 = v334 v323 + let v338 : (System.TimeSpan -> int32) = _.Milliseconds + let v339 : int32 = v338 v323 + let v342 : System.DateTime = System.DateTime (1, 1, 1, v327, v331, v335, v339) + v342 + let v350 : string = method7() + let v353 : (string -> string) = v349.ToString + let v354 : string = v353 v350 + let _v110 = v354 #endif #if FABLE_COMPILER_PYTHON - let v317 : US3 option = None - let _v317 = ref v317 - let v318 : US3 option ref = _v317 - let v319 : (US3 option -> US3 option ref) = closure9(v318) - let v320 : unit = () - let v321 : (unit -> unit) = closure10(v67, v319) - let v322 : unit = (fun () -> v321 (); v320) () - let v323 : US3 option = _v317.Value - let v334 : US3 = US3_1 - let v335 : US3 = v323 |> Option.defaultValue v334 - let v375 : System.DateTime = - match v335 with + let v357 : US3 option = None + let _v357 = ref v357 + let v358 : US3 option ref = _v357 + let v359 : (US3 option -> US3 option ref) = closure9(v358) + let v360 : unit = () + let v361 : (unit -> unit) = closure10(v99, v359) + let v362 : unit = (fun () -> v361 (); v360) () + let v365 : US3 option = _v357.Value + let v376 : US3 = US3_1 + let v377 : US3 = v365 |> Option.defaultValue v376 + let v417 : System.DateTime = + match v377 with | US3_1 -> (* None *) - let v371 : System.DateTime = System.DateTime.Now - v371 - | US3_0(v339) -> (* Some *) - let v340 : System.DateTime = System.DateTime.Now - let v343 : (System.DateTime -> int64) = _.Ticks - let v344 : int64 = v343 v340 - let v347 : int64 = v344 - v339 - let v348 : (int64 -> System.TimeSpan) = System.TimeSpan - let v349 : System.TimeSpan = v348 v347 - let v352 : (System.TimeSpan -> int32) = _.Hours - let v353 : int32 = v352 v349 - let v356 : (System.TimeSpan -> int32) = _.Minutes - let v357 : int32 = v356 v349 - let v360 : (System.TimeSpan -> int32) = _.Seconds - let v361 : int32 = v360 v349 - let v364 : (System.TimeSpan -> int32) = _.Milliseconds - let v365 : int32 = v364 v349 - let v368 : System.DateTime = System.DateTime (1, 1, 1, v353, v357, v361, v365) - v368 - let v376 : string = method7() - let v379 : (string -> string) = v375.ToString - let v380 : string = v379 v376 - let _v78 = v380 + let v413 : System.DateTime = System.DateTime.Now + v413 + | US3_0(v381) -> (* Some *) + let v382 : System.DateTime = System.DateTime.Now + let v385 : (System.DateTime -> int64) = _.Ticks + let v386 : int64 = v385 v382 + let v389 : int64 = v386 - v381 + let v390 : (int64 -> System.TimeSpan) = System.TimeSpan + let v391 : System.TimeSpan = v390 v389 + let v394 : (System.TimeSpan -> int32) = _.Hours + let v395 : int32 = v394 v391 + let v398 : (System.TimeSpan -> int32) = _.Minutes + let v399 : int32 = v398 v391 + let v402 : (System.TimeSpan -> int32) = _.Seconds + let v403 : int32 = v402 v391 + let v406 : (System.TimeSpan -> int32) = _.Milliseconds + let v407 : int32 = v406 v391 + let v410 : System.DateTime = System.DateTime (1, 1, 1, v395, v399, v403, v407) + v410 + let v418 : string = method7() + let v421 : (string -> string) = v417.ToString + let v422 : string = v421 v418 + let _v110 = v422 #endif #else - let v383 : US3 option = None - let _v383 = ref v383 - let v384 : US3 option ref = _v383 - let v385 : (US3 option -> US3 option ref) = closure9(v384) - let v386 : unit = () - let v387 : (unit -> unit) = closure10(v67, v385) - let v388 : unit = (fun () -> v387 (); v386) () - let v389 : US3 option = _v383.Value - let v400 : US3 = US3_1 - let v401 : US3 = v389 |> Option.defaultValue v400 - let v441 : System.DateTime = - match v401 with + let v425 : US3 option = None + let _v425 = ref v425 + let v426 : US3 option ref = _v425 + let v427 : (US3 option -> US3 option ref) = closure9(v426) + let v428 : unit = () + let v429 : (unit -> unit) = closure10(v99, v427) + let v430 : unit = (fun () -> v429 (); v428) () + let v433 : US3 option = _v425.Value + let v444 : US3 = US3_1 + let v445 : US3 = v433 |> Option.defaultValue v444 + let v485 : System.DateTime = + match v445 with | US3_1 -> (* None *) - let v437 : System.DateTime = System.DateTime.Now - v437 - | US3_0(v405) -> (* Some *) - let v406 : System.DateTime = System.DateTime.Now - let v409 : (System.DateTime -> int64) = _.Ticks - let v410 : int64 = v409 v406 - let v413 : int64 = v410 - v405 - let v414 : (int64 -> System.TimeSpan) = System.TimeSpan - let v415 : System.TimeSpan = v414 v413 - let v418 : (System.TimeSpan -> int32) = _.Hours - let v419 : int32 = v418 v415 - let v422 : (System.TimeSpan -> int32) = _.Minutes - let v423 : int32 = v422 v415 - let v426 : (System.TimeSpan -> int32) = _.Seconds - let v427 : int32 = v426 v415 - let v430 : (System.TimeSpan -> int32) = _.Milliseconds - let v431 : int32 = v430 v415 - let v434 : System.DateTime = System.DateTime (1, 1, 1, v419, v423, v427, v431) - v434 - let v442 : string = method7() - let v445 : (string -> string) = v441.ToString - let v446 : string = v445 v442 - let _v78 = v446 - #endif - let v449 : string = _v78 - let v517 : string = "Info" - let v518 : (unit -> string) = v517.ToLower - let v519 : string = v518 () - let v522 : string = v519.PadLeft (7, ' ') - let v536 : unit = () + let v481 : System.DateTime = System.DateTime.Now + v481 + | US3_0(v449) -> (* Some *) + let v450 : System.DateTime = System.DateTime.Now + let v453 : (System.DateTime -> int64) = _.Ticks + let v454 : int64 = v453 v450 + let v457 : int64 = v454 - v449 + let v458 : (int64 -> System.TimeSpan) = System.TimeSpan + let v459 : System.TimeSpan = v458 v457 + let v462 : (System.TimeSpan -> int32) = _.Hours + let v463 : int32 = v462 v459 + let v466 : (System.TimeSpan -> int32) = _.Minutes + let v467 : int32 = v466 v459 + let v470 : (System.TimeSpan -> int32) = _.Seconds + let v471 : int32 = v470 v459 + let v474 : (System.TimeSpan -> int32) = _.Milliseconds + let v475 : int32 = v474 v459 + let v478 : System.DateTime = System.DateTime (1, 1, 1, v463, v467, v471, v475) + v478 + let v486 : string = method7() + let v489 : (string -> string) = v485.ToString + let v490 : string = v489 v486 + let _v110 = v490 + #endif + let v493 : string = _v110 + let v563 : string = "Info" + let v564 : (unit -> string) = v563.ToLower + let v565 : string = v564 () + let v568 : string = v565.PadLeft (7, ' ') + let v582 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v537 : string = "inline_colorization::color_bright_green" - let v538 : Ref = Fable.Core.RustInterop.emitRustExpr () v537 - let v539 : string = "&*$0" - let v540 : Ref = Fable.Core.RustInterop.emitRustExpr v522 v539 - let v541 : string = "inline_colorization::color_reset" - let v542 : Ref = Fable.Core.RustInterop.emitRustExpr () v541 - let v543 : string = "\"{v538}{v540}{v542}\"" - let v544 : string = @$"format!(" + v543 + ")" - let v545 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v544 - let v546 : string = "fable_library_rust::String_::fromString($0)" - let v547 : string = Fable.Core.RustInterop.emitRustExpr v545 v546 - let _v536 = v547 + let v583 : string = "inline_colorization::color_bright_green" + let v584 : Ref = Fable.Core.RustInterop.emitRustExpr () v583 + let v585 : string = "&*$0" + let v586 : Ref = Fable.Core.RustInterop.emitRustExpr v568 v585 + let v587 : string = "inline_colorization::color_reset" + let v588 : Ref = Fable.Core.RustInterop.emitRustExpr () v587 + let v589 : string = "\"{v584}{v586}{v588}\"" + let v590 : string = @$"format!(" + v589 + ")" + let v591 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v590 + let v592 : string = "fable_library_rust::String_::fromString($0)" + let v593 : string = Fable.Core.RustInterop.emitRustExpr v591 v592 + let _v582 = v593 #endif #if FABLE_COMPILER_RUST && WASM - let v548 : string = "inline_colorization::color_bright_green" - let v549 : Ref = Fable.Core.RustInterop.emitRustExpr () v548 - let v550 : string = "&*$0" - let v551 : Ref = Fable.Core.RustInterop.emitRustExpr v522 v550 - let v552 : string = "inline_colorization::color_reset" - let v553 : Ref = Fable.Core.RustInterop.emitRustExpr () v552 - let v554 : string = "\"{v549}{v551}{v553}\"" - let v555 : string = @$"format!(" + v554 + ")" - let v556 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v555 - let v557 : string = "fable_library_rust::String_::fromString($0)" - let v558 : string = Fable.Core.RustInterop.emitRustExpr v556 v557 - let _v536 = v558 + let v594 : string = "inline_colorization::color_bright_green" + let v595 : Ref = Fable.Core.RustInterop.emitRustExpr () v594 + let v596 : string = "&*$0" + let v597 : Ref = Fable.Core.RustInterop.emitRustExpr v568 v596 + let v598 : string = "inline_colorization::color_reset" + let v599 : Ref = Fable.Core.RustInterop.emitRustExpr () v598 + let v600 : string = "\"{v595}{v597}{v599}\"" + let v601 : string = @$"format!(" + v600 + ")" + let v602 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v601 + let v603 : string = "fable_library_rust::String_::fromString($0)" + let v604 : string = Fable.Core.RustInterop.emitRustExpr v602 v603 + let _v582 = v604 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v559 : string = "inline_colorization::color_bright_green" - let v560 : Ref = Fable.Core.RustInterop.emitRustExpr () v559 - let v561 : string = "&*$0" - let v562 : Ref = Fable.Core.RustInterop.emitRustExpr v522 v561 - let v563 : string = "inline_colorization::color_reset" - let v564 : Ref = Fable.Core.RustInterop.emitRustExpr () v563 - let v565 : string = "\"{v560}{v562}{v564}\"" - let v566 : string = @$"format!(" + v565 + ")" - let v567 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v566 - let v568 : string = "fable_library_rust::String_::fromString($0)" - let v569 : string = Fable.Core.RustInterop.emitRustExpr v567 v568 - let _v536 = v569 + let v605 : string = "inline_colorization::color_bright_green" + let v606 : Ref = Fable.Core.RustInterop.emitRustExpr () v605 + let v607 : string = "&*$0" + let v608 : Ref = Fable.Core.RustInterop.emitRustExpr v568 v607 + let v609 : string = "inline_colorization::color_reset" + let v610 : Ref = Fable.Core.RustInterop.emitRustExpr () v609 + let v611 : string = "\"{v606}{v608}{v610}\"" + let v612 : string = @$"format!(" + v611 + ")" + let v613 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v612 + let v614 : string = "fable_library_rust::String_::fromString($0)" + let v615 : string = Fable.Core.RustInterop.emitRustExpr v613 v614 + let _v582 = v615 #endif #if FABLE_COMPILER_TYPESCRIPT - let v570 : string = "\u001b[92m" - let v571 : string = method8() - let v572 : string = v570 + v522 - let v573 : string = v572 + v571 - let _v536 = v573 + let v616 : string = "\u001b[92m" + let v617 : string = method8() + let v618 : string = v616 + v568 + let v619 : string = v618 + v617 + let _v582 = v619 #endif #if FABLE_COMPILER_PYTHON - let v574 : string = "\u001b[92m" - let v575 : string = method8() - let v576 : string = v574 + v522 - let v577 : string = v576 + v575 - let _v536 = v577 + let v620 : string = "\u001b[92m" + let v621 : string = method8() + let v622 : string = v620 + v568 + let v623 : string = v622 + v621 + let _v582 = v623 #endif #else - let v578 : string = "\u001b[92m" - let v579 : string = method8() - let v580 : string = v578 + v522 - let v581 : string = v580 + v579 - let _v536 = v581 - #endif - let v582 : string = _v536 - let v588 : int64 = v63.l0 - let v589 : string = method9() - let v590 : Mut4 = {l0 = v589} : Mut4 - let v591 : string = "{ " - let v592 : string = $"{v591}" - let v595 : unit = () - let v596 : (unit -> unit) = closure11(v590, v592) - let v597 : unit = (fun () -> v596 (); v595) () - let v598 : string = "file" - let v599 : string = $"{v598}" - let v602 : unit = () - let v603 : (unit -> unit) = closure11(v590, v599) - let v604 : unit = (fun () -> v603 (); v602) () - let v605 : string = " = " - let v606 : string = $"{v605}" - let v609 : unit = () - let v610 : (unit -> unit) = closure11(v590, v606) - let v611 : unit = (fun () -> v610 (); v609) () - let v612 : string = $"{v1}" - let v615 : unit = () - let v616 : (unit -> unit) = closure11(v590, v612) - let v617 : unit = (fun () -> v616 (); v615) () - let v618 : string = "; " - let v619 : string = $"{v618}" - let v622 : unit = () - let v623 : (unit -> unit) = closure11(v590, v619) - let v624 : unit = (fun () -> v623 (); v622) () - let v625 : string = "real_path" - let v626 : string = $"{v625}" - let v629 : unit = () - let v630 : (unit -> unit) = closure11(v590, v626) - let v631 : unit = (fun () -> v630 (); v629) () - let v632 : string = $"{v605}" - let v635 : unit = () - let v636 : (unit -> unit) = closure11(v590, v632) - let v637 : unit = (fun () -> v636 (); v635) () - let v638 : string = $"{v2}" + let v624 : string = "\u001b[92m" + let v625 : string = method8() + let v626 : string = v624 + v568 + let v627 : string = v626 + v625 + let _v582 = v627 + #endif + let v628 : string = _v582 + let v634 : int64 = v95.l0 + let v635 : string = method9() + let v636 : Mut4 = {l0 = v635} : Mut4 + let v637 : string = "{ " + let v638 : string = $"{v637}" let v641 : unit = () - let v642 : (unit -> unit) = closure11(v590, v638) + let v642 : (unit -> unit) = closure11(v636, v638) let v643 : unit = (fun () -> v642 (); v641) () - let v644 : string = $"{v618}" - let v647 : unit = () - let v648 : (unit -> unit) = closure11(v590, v644) - let v649 : unit = (fun () -> v648 (); v647) () - let v650 : string = "relative_path" - let v651 : string = $"{v650}" - let v654 : unit = () - let v655 : (unit -> unit) = closure11(v590, v651) - let v656 : unit = (fun () -> v655 (); v654) () - let v657 : string = $"{v605}" - let v660 : unit = () - let v661 : (unit -> unit) = closure11(v590, v657) - let v662 : unit = (fun () -> v661 (); v660) () - let v663 : string = $"{v0}" - let v666 : unit = () - let v667 : (unit -> unit) = closure11(v590, v663) - let v668 : unit = (fun () -> v667 (); v666) () - let v669 : string = $"{v618}" - let v672 : unit = () - let v673 : (unit -> unit) = closure11(v590, v669) - let v674 : unit = (fun () -> v673 (); v672) () - let v675 : string = "origin_hash_exit_code" - let v676 : string = $"{v675}" - let v679 : unit = () - let v680 : (unit -> unit) = closure11(v590, v676) - let v681 : unit = (fun () -> v680 (); v679) () - let v682 : string = $"{v605}" + let v646 : string = "file" + let v647 : string = $"{v646}" + let v650 : unit = () + let v651 : (unit -> unit) = closure11(v636, v647) + let v652 : unit = (fun () -> v651 (); v650) () + let v655 : string = " = " + let v656 : string = $"{v655}" + let v659 : unit = () + let v660 : (unit -> unit) = closure11(v636, v656) + let v661 : unit = (fun () -> v660 (); v659) () + let v664 : string = $"{v1}" + let v667 : unit = () + let v668 : (unit -> unit) = closure11(v636, v664) + let v669 : unit = (fun () -> v668 (); v667) () + let v672 : string = "; " + let v673 : string = $"{v672}" + let v676 : unit = () + let v677 : (unit -> unit) = closure11(v636, v673) + let v678 : unit = (fun () -> v677 (); v676) () + let v681 : string = "real_path" + let v682 : string = $"{v681}" let v685 : unit = () - let v686 : (unit -> unit) = closure11(v590, v682) + let v686 : (unit -> unit) = closure11(v636, v682) let v687 : unit = (fun () -> v686 (); v685) () - let v688 : string = $"{v4}" - let v691 : unit = () - let v692 : (unit -> unit) = closure11(v590, v688) - let v693 : unit = (fun () -> v692 (); v691) () - let v694 : string = $"{v618}" - let v697 : unit = () - let v698 : (unit -> unit) = closure11(v590, v694) - let v699 : unit = (fun () -> v698 (); v697) () - let v700 : string = "origin_hash" - let v701 : string = $"{v700}" - let v704 : unit = () - let v705 : (unit -> unit) = closure11(v590, v701) - let v706 : unit = (fun () -> v705 (); v704) () - let v707 : string = $"{v605}" - let v710 : unit = () - let v711 : (unit -> unit) = closure11(v590, v707) - let v712 : unit = (fun () -> v711 (); v710) () - let v713 : string = $"{v3}" - let v716 : unit = () - let v717 : (unit -> unit) = closure11(v590, v713) - let v718 : unit = (fun () -> v717 (); v716) () - let v719 : string = $"{v618}" - let v722 : unit = () - let v723 : (unit -> unit) = closure11(v590, v719) - let v724 : unit = (fun () -> v723 (); v722) () - let v725 : string = "local_git_hash_exit_code" - let v726 : string = $"{v725}" - let v729 : unit = () - let v730 : (unit -> unit) = closure11(v590, v726) - let v731 : unit = (fun () -> v730 (); v729) () - let v732 : string = $"{v605}" - let v735 : unit = () - let v736 : (unit -> unit) = closure11(v590, v732) - let v737 : unit = (fun () -> v736 (); v735) () - let v738 : string = $"{v7}" - let v741 : unit = () - let v742 : (unit -> unit) = closure11(v590, v738) - let v743 : unit = (fun () -> v742 (); v741) () - let v744 : string = $"{v618}" - let v747 : unit = () - let v748 : (unit -> unit) = closure11(v590, v744) - let v749 : unit = (fun () -> v748 (); v747) () - let v750 : string = "local_git_hash" - let v751 : string = $"{v750}" - let v754 : unit = () - let v755 : (unit -> unit) = closure11(v590, v751) - let v756 : unit = (fun () -> v755 (); v754) () - let v757 : string = $"{v605}" - let v760 : unit = () - let v761 : (unit -> unit) = closure11(v590, v757) - let v762 : unit = (fun () -> v761 (); v760) () - let v763 : string = $"{v6}" - let v766 : unit = () - let v767 : (unit -> unit) = closure11(v590, v763) - let v768 : unit = (fun () -> v767 (); v766) () - let v769 : string = $"{v618}" - let v772 : unit = () - let v773 : (unit -> unit) = closure11(v590, v769) - let v774 : unit = (fun () -> v773 (); v772) () - let v775 : string = "hash1" - let v776 : string = $"{v775}" - let v779 : unit = () - let v780 : (unit -> unit) = closure11(v590, v776) - let v781 : unit = (fun () -> v780 (); v779) () - let v782 : string = $"{v605}" - let v785 : unit = () - let v786 : (unit -> unit) = closure11(v590, v782) - let v787 : unit = (fun () -> v786 (); v785) () - let v788 : string = $"{v9}" - let v791 : unit = () - let v792 : (unit -> unit) = closure11(v590, v788) - let v793 : unit = (fun () -> v792 (); v791) () - let v794 : string = $"{v618}" - let v797 : unit = () - let v798 : (unit -> unit) = closure11(v590, v794) - let v799 : unit = (fun () -> v798 (); v797) () - let v800 : string = "hash2" - let v801 : string = $"{v800}" - let v804 : unit = () - let v805 : (unit -> unit) = closure11(v590, v801) - let v806 : unit = (fun () -> v805 (); v804) () - let v807 : string = $"{v605}" - let v810 : unit = () - let v811 : (unit -> unit) = closure11(v590, v807) - let v812 : unit = (fun () -> v811 (); v810) () - let v813 : string = $"%A{v10}" - let v816 : string = $"{v813}" - let v819 : unit = () - let v820 : (unit -> unit) = closure11(v590, v816) - let v821 : unit = (fun () -> v820 (); v819) () - let v822 : string = $"{v618}" + let v690 : string = $"{v655}" + let v693 : unit = () + let v694 : (unit -> unit) = closure11(v636, v690) + let v695 : unit = (fun () -> v694 (); v693) () + let v698 : string = $"{v2}" + let v701 : unit = () + let v702 : (unit -> unit) = closure11(v636, v698) + let v703 : unit = (fun () -> v702 (); v701) () + let v706 : string = $"{v672}" + let v709 : unit = () + let v710 : (unit -> unit) = closure11(v636, v706) + let v711 : unit = (fun () -> v710 (); v709) () + let v714 : string = "relative_path" + let v715 : string = $"{v714}" + let v718 : unit = () + let v719 : (unit -> unit) = closure11(v636, v715) + let v720 : unit = (fun () -> v719 (); v718) () + let v723 : string = $"{v655}" + let v726 : unit = () + let v727 : (unit -> unit) = closure11(v636, v723) + let v728 : unit = (fun () -> v727 (); v726) () + let v731 : string = $"{v0}" + let v734 : unit = () + let v735 : (unit -> unit) = closure11(v636, v731) + let v736 : unit = (fun () -> v735 (); v734) () + let v739 : string = $"{v672}" + let v742 : unit = () + let v743 : (unit -> unit) = closure11(v636, v739) + let v744 : unit = (fun () -> v743 (); v742) () + let v747 : string = "origin_hash_exit_code" + let v748 : string = $"{v747}" + let v751 : unit = () + let v752 : (unit -> unit) = closure11(v636, v748) + let v753 : unit = (fun () -> v752 (); v751) () + let v756 : string = $"{v655}" + let v759 : unit = () + let v760 : (unit -> unit) = closure11(v636, v756) + let v761 : unit = (fun () -> v760 (); v759) () + let v764 : string = $"{v4}" + let v767 : unit = () + let v768 : (unit -> unit) = closure11(v636, v764) + let v769 : unit = (fun () -> v768 (); v767) () + let v772 : string = $"{v672}" + let v775 : unit = () + let v776 : (unit -> unit) = closure11(v636, v772) + let v777 : unit = (fun () -> v776 (); v775) () + let v780 : string = "origin_hash" + let v781 : string = $"{v780}" + let v784 : unit = () + let v785 : (unit -> unit) = closure11(v636, v781) + let v786 : unit = (fun () -> v785 (); v784) () + let v789 : string = $"{v655}" + let v792 : unit = () + let v793 : (unit -> unit) = closure11(v636, v789) + let v794 : unit = (fun () -> v793 (); v792) () + let v797 : string = $"{v3}" + let v800 : unit = () + let v801 : (unit -> unit) = closure11(v636, v797) + let v802 : unit = (fun () -> v801 (); v800) () + let v805 : string = $"{v672}" + let v808 : unit = () + let v809 : (unit -> unit) = closure11(v636, v805) + let v810 : unit = (fun () -> v809 (); v808) () + let v813 : string = "local_git_hash_exit_code" + let v814 : string = $"{v813}" + let v817 : unit = () + let v818 : (unit -> unit) = closure11(v636, v814) + let v819 : unit = (fun () -> v818 (); v817) () + let v822 : string = $"{v655}" let v825 : unit = () - let v826 : (unit -> unit) = closure11(v590, v822) + let v826 : (unit -> unit) = closure11(v636, v822) let v827 : unit = (fun () -> v826 (); v825) () - let v828 : string = "dist_path" - let v829 : string = $"{v828}" - let v832 : unit = () - let v833 : (unit -> unit) = closure11(v590, v829) - let v834 : unit = (fun () -> v833 (); v832) () - let v835 : string = $"{v605}" - let v838 : unit = () - let v839 : (unit -> unit) = closure11(v590, v835) - let v840 : unit = (fun () -> v839 (); v838) () - let v841 : string = $"{v5}" - let v844 : unit = () - let v845 : (unit -> unit) = closure11(v590, v841) - let v846 : unit = (fun () -> v845 (); v844) () - let v847 : string = $"{v618}" + let v830 : string = $"{v7}" + let v833 : unit = () + let v834 : (unit -> unit) = closure11(v636, v830) + let v835 : unit = (fun () -> v834 (); v833) () + let v838 : string = $"{v672}" + let v841 : unit = () + let v842 : (unit -> unit) = closure11(v636, v838) + let v843 : unit = (fun () -> v842 (); v841) () + let v846 : string = "local_git_hash" + let v847 : string = $"{v846}" let v850 : unit = () - let v851 : (unit -> unit) = closure11(v590, v847) + let v851 : (unit -> unit) = closure11(v636, v847) let v852 : unit = (fun () -> v851 (); v850) () - let v853 : string = "cache_path" - let v854 : string = $"{v853}" - let v857 : unit = () - let v858 : (unit -> unit) = closure11(v590, v854) - let v859 : unit = (fun () -> v858 (); v857) () - let v860 : string = $"{v605}" - let v863 : unit = () - let v864 : (unit -> unit) = closure11(v590, v860) - let v865 : unit = (fun () -> v864 (); v863) () - let v866 : string = $"{v8}" - let v869 : unit = () - let v870 : (unit -> unit) = closure11(v590, v866) - let v871 : unit = (fun () -> v870 (); v869) () - let v872 : string = " }" - let v873 : string = $"{v872}" - let v876 : unit = () - let v877 : (unit -> unit) = closure11(v590, v873) - let v878 : unit = (fun () -> v877 (); v876) () - let v879 : string = v590.l0 - let v880 : (unit -> string) = closure83() - let v881 : string = $"{v449} {v582} #{v588} %s{v880 ()} / {v879}" - let v884 : char list = [] - let v885 : (char list -> (char [])) = List.toArray - let v886 : (char []) = v885 v884 - let v889 : string = v881.TrimStart v886 - let v907 : char list = [] - let v908 : char list = '/' :: v907 - let v911 : char list = ' ' :: v908 - let v914 : (char list -> (char [])) = List.toArray - let v915 : (char []) = v914 v911 - let v918 : string = v889.TrimEnd v915 - let v936 : unit = () + let v855 : string = $"{v655}" + let v858 : unit = () + let v859 : (unit -> unit) = closure11(v636, v855) + let v860 : unit = (fun () -> v859 (); v858) () + let v863 : string = $"{v6}" + let v866 : unit = () + let v867 : (unit -> unit) = closure11(v636, v863) + let v868 : unit = (fun () -> v867 (); v866) () + let v871 : string = $"{v672}" + let v874 : unit = () + let v875 : (unit -> unit) = closure11(v636, v871) + let v876 : unit = (fun () -> v875 (); v874) () + let v879 : string = "hash1" + let v880 : string = $"{v879}" + let v883 : unit = () + let v884 : (unit -> unit) = closure11(v636, v880) + let v885 : unit = (fun () -> v884 (); v883) () + let v888 : string = $"{v655}" + let v891 : unit = () + let v892 : (unit -> unit) = closure11(v636, v888) + let v893 : unit = (fun () -> v892 (); v891) () + let v896 : string = $"{v9}" + let v899 : unit = () + let v900 : (unit -> unit) = closure11(v636, v896) + let v901 : unit = (fun () -> v900 (); v899) () + let v904 : string = $"{v672}" + let v907 : unit = () + let v908 : (unit -> unit) = closure11(v636, v904) + let v909 : unit = (fun () -> v908 (); v907) () + let v912 : string = "hash2" + let v913 : string = $"{v912}" + let v916 : unit = () + let v917 : (unit -> unit) = closure11(v636, v913) + let v918 : unit = (fun () -> v917 (); v916) () + let v921 : string = $"{v655}" + let v924 : unit = () + let v925 : (unit -> unit) = closure11(v636, v921) + let v926 : unit = (fun () -> v925 (); v924) () + let v929 : string = $"%A{v10}" + let v932 : string = $"{v929}" + let v935 : unit = () + let v936 : (unit -> unit) = closure11(v636, v932) + let v937 : unit = (fun () -> v936 (); v935) () + let v940 : string = $"{v672}" + let v943 : unit = () + let v944 : (unit -> unit) = closure11(v636, v940) + let v945 : unit = (fun () -> v944 (); v943) () + let v948 : string = "dist_path" + let v949 : string = $"{v948}" + let v952 : unit = () + let v953 : (unit -> unit) = closure11(v636, v949) + let v954 : unit = (fun () -> v953 (); v952) () + let v957 : string = $"{v655}" + let v960 : unit = () + let v961 : (unit -> unit) = closure11(v636, v957) + let v962 : unit = (fun () -> v961 (); v960) () + let v965 : string = $"{v5}" + let v968 : unit = () + let v969 : (unit -> unit) = closure11(v636, v965) + let v970 : unit = (fun () -> v969 (); v968) () + let v973 : string = $"{v672}" + let v976 : unit = () + let v977 : (unit -> unit) = closure11(v636, v973) + let v978 : unit = (fun () -> v977 (); v976) () + let v981 : string = "cache_path" + let v982 : string = $"{v981}" + let v985 : unit = () + let v986 : (unit -> unit) = closure11(v636, v982) + let v987 : unit = (fun () -> v986 (); v985) () + let v990 : string = $"{v655}" + let v993 : unit = () + let v994 : (unit -> unit) = closure11(v636, v990) + let v995 : unit = (fun () -> v994 (); v993) () + let v998 : string = $"{v8}" + let v1001 : unit = () + let v1002 : (unit -> unit) = closure11(v636, v998) + let v1003 : unit = (fun () -> v1002 (); v1001) () + let v1006 : string = " }" + let v1007 : string = $"{v1006}" + let v1010 : unit = () + let v1011 : (unit -> unit) = closure11(v636, v1007) + let v1012 : unit = (fun () -> v1011 (); v1010) () + let v1015 : string = v636.l0 + let v1016 : (unit -> string) = closure84() + let v1017 : string = $"{v493} {v628} #{v634} %s{v1016 ()} / {v1015}" + let v1020 : char list = [] + let v1021 : (char list -> (char [])) = List.toArray + let v1022 : (char []) = v1021 v1020 + let v1025 : string = v1017.TrimStart v1022 + let v1043 : char list = [] + let v1044 : char list = '/' :: v1043 + let v1047 : char list = ' ' :: v1044 + let v1050 : (char list -> (char [])) = List.toArray + let v1051 : (char []) = v1050 v1047 + let v1054 : string = v1025.TrimEnd v1051 + let v1072 : (string -> unit) = closure13() + let v1073 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v937 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v918 v937 - let _v936 = () + let v1074 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v1054 v1074 + let _v1073 = () #endif #if FABLE_COMPILER_RUST && WASM - let v938 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v918 v938 - let _v936 = () + let v1075 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v1054 v1075 + let _v1073 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v939 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v918 v939 - let _v936 = () + let v1076 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v1054 v1076 + let _v1073 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v918 - let _v936 = () + v1072 v1054 + let _v1073 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v918 - let _v936 = () + v1072 v1054 + let _v1073 = () #endif #else - System.Console.WriteLine v918 - let _v936 = () + v1072 v1054 + let _v1073 = () #endif - _v936 - let v940 : (string -> unit) = v17.l0 - v940 v918 + _v1073 + let v1077 : (string -> unit) = v27.l0 + v1077 v1054 and method84 (v0 : string) : string = v0 and method83 (v0 : string, v1 : string) : unit = @@ -12978,7 +13001,7 @@ and method88 (v0 : string) : string = v0 and method89 (v0 : std_sync_MutexGuard) : std_sync_MutexGuard = v0 -and closure86 (v0 : string) (v1 : std_sync_Arc>) : unit = +and closure87 (v0 : string) (v1 : std_sync_Arc>) : unit = let v2 : std_sync_Arc> = method72(v1) let v3 : string = "v2.lock()" let v4 : Result, std_sync_PoisonError>> = Fable.Core.RustInterop.emitRustExpr () v3 @@ -12999,445 +13022,446 @@ and method90 (v0 : int32, v1 : Mut8) : bool = v3 and method91 (v0 : string) : string = v0 -and closure88 () () : string = +and closure89 () () : string = let v0 : string = "documents.hangul" v0 -and closure87 (v0 : string, v1 : int32, v2 : string) () : unit = +and closure88 (v0 : string, v1 : int32, v2 : string) () : unit = let v3 : unit = () let v4 : (unit -> unit) = closure7() let v5 : unit = (fun () -> v4 (); v3) () - let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : Mut3, v12 : int64 option) = State.trace_state.Value - let v23 : unit = () - let v24 : unit = (fun () -> v4 (); v23) () - let struct (v27 : Mut0, v28 : Mut1, v29 : Mut2, v30 : Mut3, v31 : int64 option) = State.trace_state.Value - let v42 : US0 = v30.l0 - let v43 : bool = v29.l0 - let v44 : bool = v43 = false - let v47 : bool = - if v44 then + let struct (v18 : Mut0, v19 : Mut1, v20 : Mut2, v21 : Mut3, v22 : int64 option) = State.trace_state.Value + let v33 : unit = () + let v34 : unit = (fun () -> v4 (); v33) () + let struct (v47 : Mut0, v48 : Mut1, v49 : Mut2, v50 : Mut3, v51 : int64 option) = State.trace_state.Value + let v62 : US0 = v50.l0 + let v63 : bool = v49.l0 + let v64 : bool = v63 = false + let v67 : bool = + if v64 then false else - let v45 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v42 - let v46 : bool = 2 >= v45 - v46 - if v47 then - let v48 : unit = () - let v49 : (unit -> unit) = closure8(v8) - let v50 : unit = (fun () -> v49 (); v48) () - let v51 : unit = () - let v52 : unit = (fun () -> v4 (); v51) () - let struct (v55 : Mut0, v56 : Mut1, v57 : Mut2, v58 : Mut3, v59 : int64 option) = State.trace_state.Value - let v70 : unit = () + let v65 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v62 + let v66 : bool = 2 >= v65 + v66 + if v67 then + let v68 : unit = () + let v69 : (unit -> unit) = closure8(v18) + let v70 : unit = (fun () -> v69 (); v68) () + let v73 : unit = () + let v74 : unit = (fun () -> v4 (); v73) () + let struct (v87 : Mut0, v88 : Mut1, v89 : Mut2, v90 : Mut3, v91 : int64 option) = State.trace_state.Value + let v102 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v71 : US3 option = None - let _v71 = ref v71 - let v72 : US3 option ref = _v71 - let v73 : (US3 option -> US3 option ref) = closure9(v72) - let v74 : unit = () - let v75 : (unit -> unit) = closure10(v59, v73) - let v76 : unit = (fun () -> v75 (); v74) () - let v77 : US3 option = _v71.Value - let v88 : US3 = US3_1 - let v89 : US3 = v77 |> Option.defaultValue v88 - let v129 : System.DateTime = - match v89 with + let v103 : US3 option = None + let _v103 = ref v103 + let v104 : US3 option ref = _v103 + let v105 : (US3 option -> US3 option ref) = closure9(v104) + let v106 : unit = () + let v107 : (unit -> unit) = closure10(v91, v105) + let v108 : unit = (fun () -> v107 (); v106) () + let v111 : US3 option = _v103.Value + let v122 : US3 = US3_1 + let v123 : US3 = v111 |> Option.defaultValue v122 + let v163 : System.DateTime = + match v123 with | US3_1 -> (* None *) - let v125 : System.DateTime = System.DateTime.Now - v125 - | US3_0(v93) -> (* Some *) - let v94 : System.DateTime = System.DateTime.Now - let v97 : (System.DateTime -> int64) = _.Ticks - let v98 : int64 = v97 v94 - let v101 : int64 = v98 - v93 - let v102 : (int64 -> System.TimeSpan) = System.TimeSpan - let v103 : System.TimeSpan = v102 v101 - let v106 : (System.TimeSpan -> int32) = _.Hours - let v107 : int32 = v106 v103 - let v110 : (System.TimeSpan -> int32) = _.Minutes - let v111 : int32 = v110 v103 - let v114 : (System.TimeSpan -> int32) = _.Seconds - let v115 : int32 = v114 v103 - let v118 : (System.TimeSpan -> int32) = _.Milliseconds - let v119 : int32 = v118 v103 - let v122 : System.DateTime = System.DateTime (1, 1, 1, v107, v111, v115, v119) - v122 - let v130 : string = method6() - let v133 : (string -> string) = v129.ToString - let v134 : string = v133 v130 - let _v70 = v134 + let v159 : System.DateTime = System.DateTime.Now + v159 + | US3_0(v127) -> (* Some *) + let v128 : System.DateTime = System.DateTime.Now + let v131 : (System.DateTime -> int64) = _.Ticks + let v132 : int64 = v131 v128 + let v135 : int64 = v132 - v127 + let v136 : (int64 -> System.TimeSpan) = System.TimeSpan + let v137 : System.TimeSpan = v136 v135 + let v140 : (System.TimeSpan -> int32) = _.Hours + let v141 : int32 = v140 v137 + let v144 : (System.TimeSpan -> int32) = _.Minutes + let v145 : int32 = v144 v137 + let v148 : (System.TimeSpan -> int32) = _.Seconds + let v149 : int32 = v148 v137 + let v152 : (System.TimeSpan -> int32) = _.Milliseconds + let v153 : int32 = v152 v137 + let v156 : System.DateTime = System.DateTime (1, 1, 1, v141, v145, v149, v153) + v156 + let v164 : string = method6() + let v167 : (string -> string) = v163.ToString + let v168 : string = v167 v164 + let _v102 = v168 #endif #if FABLE_COMPILER_RUST && WASM - let v137 : US3 option = None - let _v137 = ref v137 - let v138 : US3 option ref = _v137 - let v139 : (US3 option -> US3 option ref) = closure9(v138) - let v140 : unit = () - let v141 : (unit -> unit) = closure10(v59, v139) - let v142 : unit = (fun () -> v141 (); v140) () - let v143 : US3 option = _v137.Value - let v154 : US3 = US3_1 - let v155 : US3 = v143 |> Option.defaultValue v154 - let v195 : System.DateTime = - match v155 with + let v171 : US3 option = None + let _v171 = ref v171 + let v172 : US3 option ref = _v171 + let v173 : (US3 option -> US3 option ref) = closure9(v172) + let v174 : unit = () + let v175 : (unit -> unit) = closure10(v91, v173) + let v176 : unit = (fun () -> v175 (); v174) () + let v179 : US3 option = _v171.Value + let v190 : US3 = US3_1 + let v191 : US3 = v179 |> Option.defaultValue v190 + let v231 : System.DateTime = + match v191 with | US3_1 -> (* None *) - let v191 : System.DateTime = System.DateTime.Now - v191 - | US3_0(v159) -> (* Some *) - let v160 : System.DateTime = System.DateTime.Now - let v163 : (System.DateTime -> int64) = _.Ticks - let v164 : int64 = v163 v160 - let v167 : int64 = v164 - v159 - let v168 : (int64 -> System.TimeSpan) = System.TimeSpan - let v169 : System.TimeSpan = v168 v167 - let v172 : (System.TimeSpan -> int32) = _.Hours - let v173 : int32 = v172 v169 - let v176 : (System.TimeSpan -> int32) = _.Minutes - let v177 : int32 = v176 v169 - let v180 : (System.TimeSpan -> int32) = _.Seconds - let v181 : int32 = v180 v169 - let v184 : (System.TimeSpan -> int32) = _.Milliseconds - let v185 : int32 = v184 v169 - let v188 : System.DateTime = System.DateTime (1, 1, 1, v173, v177, v181, v185) - v188 - let v196 : string = method6() - let v199 : (string -> string) = v195.ToString - let v200 : string = v199 v196 - let _v70 = v200 + let v227 : System.DateTime = System.DateTime.Now + v227 + | US3_0(v195) -> (* Some *) + let v196 : System.DateTime = System.DateTime.Now + let v199 : (System.DateTime -> int64) = _.Ticks + let v200 : int64 = v199 v196 + let v203 : int64 = v200 - v195 + let v204 : (int64 -> System.TimeSpan) = System.TimeSpan + let v205 : System.TimeSpan = v204 v203 + let v208 : (System.TimeSpan -> int32) = _.Hours + let v209 : int32 = v208 v205 + let v212 : (System.TimeSpan -> int32) = _.Minutes + let v213 : int32 = v212 v205 + let v216 : (System.TimeSpan -> int32) = _.Seconds + let v217 : int32 = v216 v205 + let v220 : (System.TimeSpan -> int32) = _.Milliseconds + let v221 : int32 = v220 v205 + let v224 : System.DateTime = System.DateTime (1, 1, 1, v209, v213, v217, v221) + v224 + let v232 : string = method6() + let v235 : (string -> string) = v231.ToString + let v236 : string = v235 v232 + let _v102 = v236 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v203 : string = $"near_sdk::env::block_timestamp()" - let v204 : uint64 = Fable.Core.RustInterop.emitRustExpr () v203 - let v205 : US3 option = None - let _v205 = ref v205 - let v206 : US3 option ref = _v205 - let v207 : (US3 option -> US3 option ref) = closure9(v206) - let v208 : unit = () - let v209 : (unit -> unit) = closure10(v59, v207) - let v210 : unit = (fun () -> v209 (); v208) () - let v211 : US3 option = _v205.Value - let v222 : US3 = US3_1 - let v223 : US3 = v211 |> Option.defaultValue v222 - let v232 : uint64 = - match v223 with - | US3_1 -> (* None *) - v204 - | US3_0(v227) -> (* Some *) - let v228 : (int64 -> uint64) = uint64 - let v229 : uint64 = v228 v227 - let v230 : uint64 = v204 - v229 - v230 - let v233 : uint64 = v232 / 1000000000UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v233 / 60UL - let v236 : uint64 = v235 % 60UL - let v237 : uint64 = v233 / 3600UL - let v238 : uint64 = v237 % 24UL - let v239 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v240 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v238, v236, v234) v239 - let v241 : string = "fable_library_rust::String_::fromString($0)" - let v242 : string = Fable.Core.RustInterop.emitRustExpr v240 v241 - let _v70 = v242 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v243 : US3 option = None - let _v243 = ref v243 - let v244 : US3 option ref = _v243 - let v245 : (US3 option -> US3 option ref) = closure9(v244) - let v246 : unit = () - let v247 : (unit -> unit) = closure10(v59, v245) - let v248 : unit = (fun () -> v247 (); v246) () - let v249 : US3 option = _v243.Value + let v239 : string = $"near_sdk::env::block_timestamp()" + let v240 : uint64 = Fable.Core.RustInterop.emitRustExpr () v239 + let v241 : US3 option = None + let _v241 = ref v241 + let v242 : US3 option ref = _v241 + let v243 : (US3 option -> US3 option ref) = closure9(v242) + let v244 : unit = () + let v245 : (unit -> unit) = closure10(v91, v243) + let v246 : unit = (fun () -> v245 (); v244) () + let v249 : US3 option = _v241.Value let v260 : US3 = US3_1 let v261 : US3 = v249 |> Option.defaultValue v260 - let v301 : System.DateTime = + let v270 : uint64 = match v261 with | US3_1 -> (* None *) - let v297 : System.DateTime = System.DateTime.Now - v297 + v240 | US3_0(v265) -> (* Some *) - let v266 : System.DateTime = System.DateTime.Now - let v269 : (System.DateTime -> int64) = _.Ticks - let v270 : int64 = v269 v266 - let v273 : int64 = v270 - v265 - let v274 : (int64 -> System.TimeSpan) = System.TimeSpan - let v275 : System.TimeSpan = v274 v273 - let v278 : (System.TimeSpan -> int32) = _.Hours - let v279 : int32 = v278 v275 - let v282 : (System.TimeSpan -> int32) = _.Minutes - let v283 : int32 = v282 v275 - let v286 : (System.TimeSpan -> int32) = _.Seconds - let v287 : int32 = v286 v275 - let v290 : (System.TimeSpan -> int32) = _.Milliseconds - let v291 : int32 = v290 v275 - let v294 : System.DateTime = System.DateTime (1, 1, 1, v279, v283, v287, v291) - v294 - let v302 : string = method7() - let v305 : (string -> string) = v301.ToString - let v306 : string = v305 v302 - let _v70 = v306 + let v266 : (int64 -> uint64) = uint64 + let v267 : uint64 = v266 v265 + let v268 : uint64 = v240 - v267 + v268 + let v271 : uint64 = v270 / 1000000000UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v271 / 60UL + let v274 : uint64 = v273 % 60UL + let v275 : uint64 = v271 / 3600UL + let v276 : uint64 = v275 % 24UL + let v277 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v278 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v276, v274, v272) v277 + let v279 : string = "fable_library_rust::String_::fromString($0)" + let v280 : string = Fable.Core.RustInterop.emitRustExpr v278 v279 + let _v102 = v280 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v281 : US3 option = None + let _v281 = ref v281 + let v282 : US3 option ref = _v281 + let v283 : (US3 option -> US3 option ref) = closure9(v282) + let v284 : unit = () + let v285 : (unit -> unit) = closure10(v91, v283) + let v286 : unit = (fun () -> v285 (); v284) () + let v289 : US3 option = _v281.Value + let v300 : US3 = US3_1 + let v301 : US3 = v289 |> Option.defaultValue v300 + let v341 : System.DateTime = + match v301 with + | US3_1 -> (* None *) + let v337 : System.DateTime = System.DateTime.Now + v337 + | US3_0(v305) -> (* Some *) + let v306 : System.DateTime = System.DateTime.Now + let v309 : (System.DateTime -> int64) = _.Ticks + let v310 : int64 = v309 v306 + let v313 : int64 = v310 - v305 + let v314 : (int64 -> System.TimeSpan) = System.TimeSpan + let v315 : System.TimeSpan = v314 v313 + let v318 : (System.TimeSpan -> int32) = _.Hours + let v319 : int32 = v318 v315 + let v322 : (System.TimeSpan -> int32) = _.Minutes + let v323 : int32 = v322 v315 + let v326 : (System.TimeSpan -> int32) = _.Seconds + let v327 : int32 = v326 v315 + let v330 : (System.TimeSpan -> int32) = _.Milliseconds + let v331 : int32 = v330 v315 + let v334 : System.DateTime = System.DateTime (1, 1, 1, v319, v323, v327, v331) + v334 + let v342 : string = method7() + let v345 : (string -> string) = v341.ToString + let v346 : string = v345 v342 + let _v102 = v346 #endif #if FABLE_COMPILER_PYTHON - let v309 : US3 option = None - let _v309 = ref v309 - let v310 : US3 option ref = _v309 - let v311 : (US3 option -> US3 option ref) = closure9(v310) - let v312 : unit = () - let v313 : (unit -> unit) = closure10(v59, v311) - let v314 : unit = (fun () -> v313 (); v312) () - let v315 : US3 option = _v309.Value - let v326 : US3 = US3_1 - let v327 : US3 = v315 |> Option.defaultValue v326 - let v367 : System.DateTime = - match v327 with + let v349 : US3 option = None + let _v349 = ref v349 + let v350 : US3 option ref = _v349 + let v351 : (US3 option -> US3 option ref) = closure9(v350) + let v352 : unit = () + let v353 : (unit -> unit) = closure10(v91, v351) + let v354 : unit = (fun () -> v353 (); v352) () + let v357 : US3 option = _v349.Value + let v368 : US3 = US3_1 + let v369 : US3 = v357 |> Option.defaultValue v368 + let v409 : System.DateTime = + match v369 with | US3_1 -> (* None *) - let v363 : System.DateTime = System.DateTime.Now - v363 - | US3_0(v331) -> (* Some *) - let v332 : System.DateTime = System.DateTime.Now - let v335 : (System.DateTime -> int64) = _.Ticks - let v336 : int64 = v335 v332 - let v339 : int64 = v336 - v331 - let v340 : (int64 -> System.TimeSpan) = System.TimeSpan - let v341 : System.TimeSpan = v340 v339 - let v344 : (System.TimeSpan -> int32) = _.Hours - let v345 : int32 = v344 v341 - let v348 : (System.TimeSpan -> int32) = _.Minutes - let v349 : int32 = v348 v341 - let v352 : (System.TimeSpan -> int32) = _.Seconds - let v353 : int32 = v352 v341 - let v356 : (System.TimeSpan -> int32) = _.Milliseconds - let v357 : int32 = v356 v341 - let v360 : System.DateTime = System.DateTime (1, 1, 1, v345, v349, v353, v357) - v360 - let v368 : string = method7() - let v371 : (string -> string) = v367.ToString - let v372 : string = v371 v368 - let _v70 = v372 + let v405 : System.DateTime = System.DateTime.Now + v405 + | US3_0(v373) -> (* Some *) + let v374 : System.DateTime = System.DateTime.Now + let v377 : (System.DateTime -> int64) = _.Ticks + let v378 : int64 = v377 v374 + let v381 : int64 = v378 - v373 + let v382 : (int64 -> System.TimeSpan) = System.TimeSpan + let v383 : System.TimeSpan = v382 v381 + let v386 : (System.TimeSpan -> int32) = _.Hours + let v387 : int32 = v386 v383 + let v390 : (System.TimeSpan -> int32) = _.Minutes + let v391 : int32 = v390 v383 + let v394 : (System.TimeSpan -> int32) = _.Seconds + let v395 : int32 = v394 v383 + let v398 : (System.TimeSpan -> int32) = _.Milliseconds + let v399 : int32 = v398 v383 + let v402 : System.DateTime = System.DateTime (1, 1, 1, v387, v391, v395, v399) + v402 + let v410 : string = method7() + let v413 : (string -> string) = v409.ToString + let v414 : string = v413 v410 + let _v102 = v414 #endif #else - let v375 : US3 option = None - let _v375 = ref v375 - let v376 : US3 option ref = _v375 - let v377 : (US3 option -> US3 option ref) = closure9(v376) - let v378 : unit = () - let v379 : (unit -> unit) = closure10(v59, v377) - let v380 : unit = (fun () -> v379 (); v378) () - let v381 : US3 option = _v375.Value - let v392 : US3 = US3_1 - let v393 : US3 = v381 |> Option.defaultValue v392 - let v433 : System.DateTime = - match v393 with + let v417 : US3 option = None + let _v417 = ref v417 + let v418 : US3 option ref = _v417 + let v419 : (US3 option -> US3 option ref) = closure9(v418) + let v420 : unit = () + let v421 : (unit -> unit) = closure10(v91, v419) + let v422 : unit = (fun () -> v421 (); v420) () + let v425 : US3 option = _v417.Value + let v436 : US3 = US3_1 + let v437 : US3 = v425 |> Option.defaultValue v436 + let v477 : System.DateTime = + match v437 with | US3_1 -> (* None *) - let v429 : System.DateTime = System.DateTime.Now - v429 - | US3_0(v397) -> (* Some *) - let v398 : System.DateTime = System.DateTime.Now - let v401 : (System.DateTime -> int64) = _.Ticks - let v402 : int64 = v401 v398 - let v405 : int64 = v402 - v397 - let v406 : (int64 -> System.TimeSpan) = System.TimeSpan - let v407 : System.TimeSpan = v406 v405 - let v410 : (System.TimeSpan -> int32) = _.Hours - let v411 : int32 = v410 v407 - let v414 : (System.TimeSpan -> int32) = _.Minutes - let v415 : int32 = v414 v407 - let v418 : (System.TimeSpan -> int32) = _.Seconds - let v419 : int32 = v418 v407 - let v422 : (System.TimeSpan -> int32) = _.Milliseconds - let v423 : int32 = v422 v407 - let v426 : System.DateTime = System.DateTime (1, 1, 1, v411, v415, v419, v423) - v426 - let v434 : string = method7() - let v437 : (string -> string) = v433.ToString - let v438 : string = v437 v434 - let _v70 = v438 - #endif - let v441 : string = _v70 - let v509 : string = "Info" - let v510 : (unit -> string) = v509.ToLower - let v511 : string = v510 () - let v514 : string = v511.PadLeft (7, ' ') - let v528 : unit = () + let v473 : System.DateTime = System.DateTime.Now + v473 + | US3_0(v441) -> (* Some *) + let v442 : System.DateTime = System.DateTime.Now + let v445 : (System.DateTime -> int64) = _.Ticks + let v446 : int64 = v445 v442 + let v449 : int64 = v446 - v441 + let v450 : (int64 -> System.TimeSpan) = System.TimeSpan + let v451 : System.TimeSpan = v450 v449 + let v454 : (System.TimeSpan -> int32) = _.Hours + let v455 : int32 = v454 v451 + let v458 : (System.TimeSpan -> int32) = _.Minutes + let v459 : int32 = v458 v451 + let v462 : (System.TimeSpan -> int32) = _.Seconds + let v463 : int32 = v462 v451 + let v466 : (System.TimeSpan -> int32) = _.Milliseconds + let v467 : int32 = v466 v451 + let v470 : System.DateTime = System.DateTime (1, 1, 1, v455, v459, v463, v467) + v470 + let v478 : string = method7() + let v481 : (string -> string) = v477.ToString + let v482 : string = v481 v478 + let _v102 = v482 + #endif + let v485 : string = _v102 + let v555 : string = "Info" + let v556 : (unit -> string) = v555.ToLower + let v557 : string = v556 () + let v560 : string = v557.PadLeft (7, ' ') + let v574 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v529 : string = "inline_colorization::color_bright_green" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr () v529 - let v531 : string = "&*$0" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr v514 v531 - let v533 : string = "inline_colorization::color_reset" - let v534 : Ref = Fable.Core.RustInterop.emitRustExpr () v533 - let v535 : string = "\"{v530}{v532}{v534}\"" - let v536 : string = @$"format!(" + v535 + ")" - let v537 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v536 - let v538 : string = "fable_library_rust::String_::fromString($0)" - let v539 : string = Fable.Core.RustInterop.emitRustExpr v537 v538 - let _v528 = v539 + let v575 : string = "inline_colorization::color_bright_green" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr () v575 + let v577 : string = "&*$0" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr v560 v577 + let v579 : string = "inline_colorization::color_reset" + let v580 : Ref = Fable.Core.RustInterop.emitRustExpr () v579 + let v581 : string = "\"{v576}{v578}{v580}\"" + let v582 : string = @$"format!(" + v581 + ")" + let v583 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v582 + let v584 : string = "fable_library_rust::String_::fromString($0)" + let v585 : string = Fable.Core.RustInterop.emitRustExpr v583 v584 + let _v574 = v585 #endif #if FABLE_COMPILER_RUST && WASM - let v540 : string = "inline_colorization::color_bright_green" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr () v540 - let v542 : string = "&*$0" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr v514 v542 - let v544 : string = "inline_colorization::color_reset" - let v545 : Ref = Fable.Core.RustInterop.emitRustExpr () v544 - let v546 : string = "\"{v541}{v543}{v545}\"" - let v547 : string = @$"format!(" + v546 + ")" - let v548 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v547 - let v549 : string = "fable_library_rust::String_::fromString($0)" - let v550 : string = Fable.Core.RustInterop.emitRustExpr v548 v549 - let _v528 = v550 + let v586 : string = "inline_colorization::color_bright_green" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr () v586 + let v588 : string = "&*$0" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr v560 v588 + let v590 : string = "inline_colorization::color_reset" + let v591 : Ref = Fable.Core.RustInterop.emitRustExpr () v590 + let v592 : string = "\"{v587}{v589}{v591}\"" + let v593 : string = @$"format!(" + v592 + ")" + let v594 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v593 + let v595 : string = "fable_library_rust::String_::fromString($0)" + let v596 : string = Fable.Core.RustInterop.emitRustExpr v594 v595 + let _v574 = v596 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v551 : string = "inline_colorization::color_bright_green" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr () v551 - let v553 : string = "&*$0" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr v514 v553 - let v555 : string = "inline_colorization::color_reset" - let v556 : Ref = Fable.Core.RustInterop.emitRustExpr () v555 - let v557 : string = "\"{v552}{v554}{v556}\"" - let v558 : string = @$"format!(" + v557 + ")" - let v559 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v558 - let v560 : string = "fable_library_rust::String_::fromString($0)" - let v561 : string = Fable.Core.RustInterop.emitRustExpr v559 v560 - let _v528 = v561 + let v597 : string = "inline_colorization::color_bright_green" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr () v597 + let v599 : string = "&*$0" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr v560 v599 + let v601 : string = "inline_colorization::color_reset" + let v602 : Ref = Fable.Core.RustInterop.emitRustExpr () v601 + let v603 : string = "\"{v598}{v600}{v602}\"" + let v604 : string = @$"format!(" + v603 + ")" + let v605 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v604 + let v606 : string = "fable_library_rust::String_::fromString($0)" + let v607 : string = Fable.Core.RustInterop.emitRustExpr v605 v606 + let _v574 = v607 #endif #if FABLE_COMPILER_TYPESCRIPT - let v562 : string = "\u001b[92m" - let v563 : string = method8() - let v564 : string = v562 + v514 - let v565 : string = v564 + v563 - let _v528 = v565 + let v608 : string = "\u001b[92m" + let v609 : string = method8() + let v610 : string = v608 + v560 + let v611 : string = v610 + v609 + let _v574 = v611 #endif #if FABLE_COMPILER_PYTHON - let v566 : string = "\u001b[92m" - let v567 : string = method8() - let v568 : string = v566 + v514 - let v569 : string = v568 + v567 - let _v528 = v569 + let v612 : string = "\u001b[92m" + let v613 : string = method8() + let v614 : string = v612 + v560 + let v615 : string = v614 + v613 + let _v574 = v615 #endif #else - let v570 : string = "\u001b[92m" - let v571 : string = method8() - let v572 : string = v570 + v514 - let v573 : string = v572 + v571 - let _v528 = v573 - #endif - let v574 : string = _v528 - let v580 : int64 = v55.l0 - let v581 : int32 = v2.Length - let v582 : string = method9() - let v583 : Mut4 = {l0 = v582} : Mut4 - let v584 : string = "{ " - let v585 : string = $"{v584}" - let v588 : unit = () - let v589 : (unit -> unit) = closure11(v583, v585) - let v590 : unit = (fun () -> v589 (); v588) () - let v591 : string = "exit_code" - let v592 : string = $"{v591}" - let v595 : unit = () - let v596 : (unit -> unit) = closure11(v583, v592) - let v597 : unit = (fun () -> v596 (); v595) () - let v598 : string = " = " - let v599 : string = $"{v598}" - let v602 : unit = () - let v603 : (unit -> unit) = closure11(v583, v599) - let v604 : unit = (fun () -> v603 (); v602) () - let v605 : string = $"{v1}" - let v608 : unit = () - let v609 : (unit -> unit) = closure11(v583, v605) - let v610 : unit = (fun () -> v609 (); v608) () - let v611 : string = "; " - let v612 : string = $"{v611}" - let v615 : unit = () - let v616 : (unit -> unit) = closure11(v583, v612) - let v617 : unit = (fun () -> v616 (); v615) () - let v618 : string = "result_len" - let v619 : string = $"{v618}" - let v622 : unit = () - let v623 : (unit -> unit) = closure11(v583, v619) - let v624 : unit = (fun () -> v623 (); v622) () - let v625 : string = $"{v598}" - let v628 : unit = () - let v629 : (unit -> unit) = closure11(v583, v625) - let v630 : unit = (fun () -> v629 (); v628) () - let v631 : string = $"{v581}" + let v616 : string = "\u001b[92m" + let v617 : string = method8() + let v618 : string = v616 + v560 + let v619 : string = v618 + v617 + let _v574 = v619 + #endif + let v620 : string = _v574 + let v626 : int64 = v87.l0 + let v627 : int32 = v2.Length + let v628 : string = method9() + let v629 : Mut4 = {l0 = v628} : Mut4 + let v630 : string = "{ " + let v631 : string = $"{v630}" let v634 : unit = () - let v635 : (unit -> unit) = closure11(v583, v631) + let v635 : (unit -> unit) = closure11(v629, v631) let v636 : unit = (fun () -> v635 (); v634) () - let v637 : string = $"{v611}" - let v640 : unit = () - let v641 : (unit -> unit) = closure11(v583, v637) - let v642 : unit = (fun () -> v641 (); v640) () - let v643 : string = "output_path" - let v644 : string = $"{v643}" - let v647 : unit = () - let v648 : (unit -> unit) = closure11(v583, v644) - let v649 : unit = (fun () -> v648 (); v647) () - let v650 : string = $"{v598}" - let v653 : unit = () - let v654 : (unit -> unit) = closure11(v583, v650) - let v655 : unit = (fun () -> v654 (); v653) () - let v656 : string = $"{v0}" - let v659 : unit = () - let v660 : (unit -> unit) = closure11(v583, v656) - let v661 : unit = (fun () -> v660 (); v659) () - let v662 : string = " }" - let v663 : string = $"{v662}" - let v666 : unit = () - let v667 : (unit -> unit) = closure11(v583, v663) - let v668 : unit = (fun () -> v667 (); v666) () - let v669 : string = v583.l0 - let v670 : (unit -> string) = closure88() - let v671 : string = $"{v441} {v574} #{v580} %s{v670 ()} / {v669}" - let v674 : char list = [] - let v675 : (char list -> (char [])) = List.toArray - let v676 : (char []) = v675 v674 - let v679 : string = v671.TrimStart v676 - let v697 : char list = [] - let v698 : char list = '/' :: v697 - let v701 : char list = ' ' :: v698 - let v704 : (char list -> (char [])) = List.toArray - let v705 : (char []) = v704 v701 - let v708 : string = v679.TrimEnd v705 - let v726 : unit = () + let v639 : string = "exit_code" + let v640 : string = $"{v639}" + let v643 : unit = () + let v644 : (unit -> unit) = closure11(v629, v640) + let v645 : unit = (fun () -> v644 (); v643) () + let v648 : string = " = " + let v649 : string = $"{v648}" + let v652 : unit = () + let v653 : (unit -> unit) = closure11(v629, v649) + let v654 : unit = (fun () -> v653 (); v652) () + let v657 : string = $"{v1}" + let v660 : unit = () + let v661 : (unit -> unit) = closure11(v629, v657) + let v662 : unit = (fun () -> v661 (); v660) () + let v665 : string = "; " + let v666 : string = $"{v665}" + let v669 : unit = () + let v670 : (unit -> unit) = closure11(v629, v666) + let v671 : unit = (fun () -> v670 (); v669) () + let v674 : string = "result_len" + let v675 : string = $"{v674}" + let v678 : unit = () + let v679 : (unit -> unit) = closure11(v629, v675) + let v680 : unit = (fun () -> v679 (); v678) () + let v683 : string = $"{v648}" + let v686 : unit = () + let v687 : (unit -> unit) = closure11(v629, v683) + let v688 : unit = (fun () -> v687 (); v686) () + let v691 : string = $"{v627}" + let v694 : unit = () + let v695 : (unit -> unit) = closure11(v629, v691) + let v696 : unit = (fun () -> v695 (); v694) () + let v699 : string = $"{v665}" + let v702 : unit = () + let v703 : (unit -> unit) = closure11(v629, v699) + let v704 : unit = (fun () -> v703 (); v702) () + let v707 : string = "output_path" + let v708 : string = $"{v707}" + let v711 : unit = () + let v712 : (unit -> unit) = closure11(v629, v708) + let v713 : unit = (fun () -> v712 (); v711) () + let v716 : string = $"{v648}" + let v719 : unit = () + let v720 : (unit -> unit) = closure11(v629, v716) + let v721 : unit = (fun () -> v720 (); v719) () + let v724 : string = $"{v0}" + let v727 : unit = () + let v728 : (unit -> unit) = closure11(v629, v724) + let v729 : unit = (fun () -> v728 (); v727) () + let v732 : string = " }" + let v733 : string = $"{v732}" + let v736 : unit = () + let v737 : (unit -> unit) = closure11(v629, v733) + let v738 : unit = (fun () -> v737 (); v736) () + let v741 : string = v629.l0 + let v742 : (unit -> string) = closure89() + let v743 : string = $"{v485} {v620} #{v626} %s{v742 ()} / {v741}" + let v746 : char list = [] + let v747 : (char list -> (char [])) = List.toArray + let v748 : (char []) = v747 v746 + let v751 : string = v743.TrimStart v748 + let v769 : char list = [] + let v770 : char list = '/' :: v769 + let v773 : char list = ' ' :: v770 + let v776 : (char list -> (char [])) = List.toArray + let v777 : (char []) = v776 v773 + let v780 : string = v751.TrimEnd v777 + let v798 : (string -> unit) = closure13() + let v799 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v727 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v708 v727 - let _v726 = () + let v800 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v780 v800 + let _v799 = () #endif #if FABLE_COMPILER_RUST && WASM - let v728 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v708 v728 - let _v726 = () + let v801 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v780 v801 + let _v799 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v729 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v708 v729 - let _v726 = () + let v802 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v780 v802 + let _v799 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v708 - let _v726 = () + v798 v780 + let _v799 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v708 - let _v726 = () + v798 v780 + let _v799 = () #endif #else - System.Console.WriteLine v708 - let _v726 = () + v798 v780 + let _v799 = () #endif - _v726 - let v730 : (string -> unit) = v9.l0 - v730 v708 + _v799 + let v803 : (string -> unit) = v19.l0 + v803 v780 and method85 (v0 : string, v1 : string, v2 : string, v3 : string) : US32 = let v4 : unit = () @@ -13614,7 +13638,7 @@ and method85 (v0 : string, v1 : string, v2 : string, v3 : string) : US32 = let v128 : string = $"../vault/deps/hangulize/cmd/hangulize/hangulize{v127}" let v129 : string = method15(v0, v128) let v130 : string = $"{v129} {v1}" - let v131 : (std_sync_Arc> -> unit) = closure86(v95) + let v131 : (std_sync_Arc> -> unit) = closure87(v95) let v132 : (std_sync_Arc> -> unit) option = Some v131 let v135 : bool = true let struct (v136 : int32, v137 : string) = method39(v130, v96, v97, v98, v132, v135, v100) @@ -13688,431 +13712,432 @@ and method85 (v0 : string, v1 : string, v2 : string, v3 : string) : US32 = #endif _v169 let v172 : unit = () - let v173 : (unit -> unit) = closure87(v2, v136, v166) + let v173 : (unit -> unit) = closure88(v2, v136, v166) let v174 : unit = (fun () -> v173 (); v172) () US32_0(v136, v166) -and closure90 () () : string = +and closure91 () () : string = let v0 : string = "documents.files_fn / error" v0 -and closure89 (v0 : string, v1 : int32) () : unit = +and closure90 (v0 : string, v1 : int32) () : unit = let v2 : unit = () let v3 : (unit -> unit) = closure7() let v4 : unit = (fun () -> v3 (); v2) () - let struct (v7 : Mut0, v8 : Mut1, v9 : Mut2, v10 : Mut3, v11 : int64 option) = State.trace_state.Value - let v22 : unit = () - let v23 : unit = (fun () -> v3 (); v22) () - let struct (v26 : Mut0, v27 : Mut1, v28 : Mut2, v29 : Mut3, v30 : int64 option) = State.trace_state.Value - let v41 : US0 = v29.l0 - let v42 : bool = v28.l0 - let v43 : bool = v42 = false - let v46 : bool = - if v43 then + let struct (v17 : Mut0, v18 : Mut1, v19 : Mut2, v20 : Mut3, v21 : int64 option) = State.trace_state.Value + let v32 : unit = () + let v33 : unit = (fun () -> v3 (); v32) () + let struct (v46 : Mut0, v47 : Mut1, v48 : Mut2, v49 : Mut3, v50 : int64 option) = State.trace_state.Value + let v61 : US0 = v49.l0 + let v62 : bool = v48.l0 + let v63 : bool = v62 = false + let v66 : bool = + if v63 then false else - let v44 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v41 - let v45 : bool = 2 >= v44 - v45 - if v46 then - let v47 : unit = () - let v48 : (unit -> unit) = closure8(v7) - let v49 : unit = (fun () -> v48 (); v47) () - let v50 : unit = () - let v51 : unit = (fun () -> v3 (); v50) () - let struct (v54 : Mut0, v55 : Mut1, v56 : Mut2, v57 : Mut3, v58 : int64 option) = State.trace_state.Value - let v69 : unit = () + let v64 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v61 + let v65 : bool = 2 >= v64 + v65 + if v66 then + let v67 : unit = () + let v68 : (unit -> unit) = closure8(v17) + let v69 : unit = (fun () -> v68 (); v67) () + let v72 : unit = () + let v73 : unit = (fun () -> v3 (); v72) () + let struct (v86 : Mut0, v87 : Mut1, v88 : Mut2, v89 : Mut3, v90 : int64 option) = State.trace_state.Value + let v101 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v70 : US3 option = None - let _v70 = ref v70 - let v71 : US3 option ref = _v70 - let v72 : (US3 option -> US3 option ref) = closure9(v71) - let v73 : unit = () - let v74 : (unit -> unit) = closure10(v58, v72) - let v75 : unit = (fun () -> v74 (); v73) () - let v76 : US3 option = _v70.Value - let v87 : US3 = US3_1 - let v88 : US3 = v76 |> Option.defaultValue v87 - let v128 : System.DateTime = - match v88 with + let v102 : US3 option = None + let _v102 = ref v102 + let v103 : US3 option ref = _v102 + let v104 : (US3 option -> US3 option ref) = closure9(v103) + let v105 : unit = () + let v106 : (unit -> unit) = closure10(v90, v104) + let v107 : unit = (fun () -> v106 (); v105) () + let v110 : US3 option = _v102.Value + let v121 : US3 = US3_1 + let v122 : US3 = v110 |> Option.defaultValue v121 + let v162 : System.DateTime = + match v122 with | US3_1 -> (* None *) - let v124 : System.DateTime = System.DateTime.Now - v124 - | US3_0(v92) -> (* Some *) - let v93 : System.DateTime = System.DateTime.Now - let v96 : (System.DateTime -> int64) = _.Ticks - let v97 : int64 = v96 v93 - let v100 : int64 = v97 - v92 - let v101 : (int64 -> System.TimeSpan) = System.TimeSpan - let v102 : System.TimeSpan = v101 v100 - let v105 : (System.TimeSpan -> int32) = _.Hours - let v106 : int32 = v105 v102 - let v109 : (System.TimeSpan -> int32) = _.Minutes - let v110 : int32 = v109 v102 - let v113 : (System.TimeSpan -> int32) = _.Seconds - let v114 : int32 = v113 v102 - let v117 : (System.TimeSpan -> int32) = _.Milliseconds - let v118 : int32 = v117 v102 - let v121 : System.DateTime = System.DateTime (1, 1, 1, v106, v110, v114, v118) - v121 - let v129 : string = method6() - let v132 : (string -> string) = v128.ToString - let v133 : string = v132 v129 - let _v69 = v133 + let v158 : System.DateTime = System.DateTime.Now + v158 + | US3_0(v126) -> (* Some *) + let v127 : System.DateTime = System.DateTime.Now + let v130 : (System.DateTime -> int64) = _.Ticks + let v131 : int64 = v130 v127 + let v134 : int64 = v131 - v126 + let v135 : (int64 -> System.TimeSpan) = System.TimeSpan + let v136 : System.TimeSpan = v135 v134 + let v139 : (System.TimeSpan -> int32) = _.Hours + let v140 : int32 = v139 v136 + let v143 : (System.TimeSpan -> int32) = _.Minutes + let v144 : int32 = v143 v136 + let v147 : (System.TimeSpan -> int32) = _.Seconds + let v148 : int32 = v147 v136 + let v151 : (System.TimeSpan -> int32) = _.Milliseconds + let v152 : int32 = v151 v136 + let v155 : System.DateTime = System.DateTime (1, 1, 1, v140, v144, v148, v152) + v155 + let v163 : string = method6() + let v166 : (string -> string) = v162.ToString + let v167 : string = v166 v163 + let _v101 = v167 #endif #if FABLE_COMPILER_RUST && WASM - let v136 : US3 option = None - let _v136 = ref v136 - let v137 : US3 option ref = _v136 - let v138 : (US3 option -> US3 option ref) = closure9(v137) - let v139 : unit = () - let v140 : (unit -> unit) = closure10(v58, v138) - let v141 : unit = (fun () -> v140 (); v139) () - let v142 : US3 option = _v136.Value - let v153 : US3 = US3_1 - let v154 : US3 = v142 |> Option.defaultValue v153 - let v194 : System.DateTime = - match v154 with + let v170 : US3 option = None + let _v170 = ref v170 + let v171 : US3 option ref = _v170 + let v172 : (US3 option -> US3 option ref) = closure9(v171) + let v173 : unit = () + let v174 : (unit -> unit) = closure10(v90, v172) + let v175 : unit = (fun () -> v174 (); v173) () + let v178 : US3 option = _v170.Value + let v189 : US3 = US3_1 + let v190 : US3 = v178 |> Option.defaultValue v189 + let v230 : System.DateTime = + match v190 with | US3_1 -> (* None *) - let v190 : System.DateTime = System.DateTime.Now - v190 - | US3_0(v158) -> (* Some *) - let v159 : System.DateTime = System.DateTime.Now - let v162 : (System.DateTime -> int64) = _.Ticks - let v163 : int64 = v162 v159 - let v166 : int64 = v163 - v158 - let v167 : (int64 -> System.TimeSpan) = System.TimeSpan - let v168 : System.TimeSpan = v167 v166 - let v171 : (System.TimeSpan -> int32) = _.Hours - let v172 : int32 = v171 v168 - let v175 : (System.TimeSpan -> int32) = _.Minutes - let v176 : int32 = v175 v168 - let v179 : (System.TimeSpan -> int32) = _.Seconds - let v180 : int32 = v179 v168 - let v183 : (System.TimeSpan -> int32) = _.Milliseconds - let v184 : int32 = v183 v168 - let v187 : System.DateTime = System.DateTime (1, 1, 1, v172, v176, v180, v184) - v187 - let v195 : string = method6() - let v198 : (string -> string) = v194.ToString - let v199 : string = v198 v195 - let _v69 = v199 + let v226 : System.DateTime = System.DateTime.Now + v226 + | US3_0(v194) -> (* Some *) + let v195 : System.DateTime = System.DateTime.Now + let v198 : (System.DateTime -> int64) = _.Ticks + let v199 : int64 = v198 v195 + let v202 : int64 = v199 - v194 + let v203 : (int64 -> System.TimeSpan) = System.TimeSpan + let v204 : System.TimeSpan = v203 v202 + let v207 : (System.TimeSpan -> int32) = _.Hours + let v208 : int32 = v207 v204 + let v211 : (System.TimeSpan -> int32) = _.Minutes + let v212 : int32 = v211 v204 + let v215 : (System.TimeSpan -> int32) = _.Seconds + let v216 : int32 = v215 v204 + let v219 : (System.TimeSpan -> int32) = _.Milliseconds + let v220 : int32 = v219 v204 + let v223 : System.DateTime = System.DateTime (1, 1, 1, v208, v212, v216, v220) + v223 + let v231 : string = method6() + let v234 : (string -> string) = v230.ToString + let v235 : string = v234 v231 + let _v101 = v235 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v202 : string = $"near_sdk::env::block_timestamp()" - let v203 : uint64 = Fable.Core.RustInterop.emitRustExpr () v202 - let v204 : US3 option = None - let _v204 = ref v204 - let v205 : US3 option ref = _v204 - let v206 : (US3 option -> US3 option ref) = closure9(v205) - let v207 : unit = () - let v208 : (unit -> unit) = closure10(v58, v206) - let v209 : unit = (fun () -> v208 (); v207) () - let v210 : US3 option = _v204.Value - let v221 : US3 = US3_1 - let v222 : US3 = v210 |> Option.defaultValue v221 - let v231 : uint64 = - match v222 with - | US3_1 -> (* None *) - v203 - | US3_0(v226) -> (* Some *) - let v227 : (int64 -> uint64) = uint64 - let v228 : uint64 = v227 v226 - let v229 : uint64 = v203 - v228 - v229 - let v232 : uint64 = v231 / 1000000000UL - let v233 : uint64 = v232 % 60UL - let v234 : uint64 = v232 / 60UL - let v235 : uint64 = v234 % 60UL - let v236 : uint64 = v232 / 3600UL - let v237 : uint64 = v236 % 24UL - let v238 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v239 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v237, v235, v233) v238 - let v240 : string = "fable_library_rust::String_::fromString($0)" - let v241 : string = Fable.Core.RustInterop.emitRustExpr v239 v240 - let _v69 = v241 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v242 : US3 option = None - let _v242 = ref v242 - let v243 : US3 option ref = _v242 - let v244 : (US3 option -> US3 option ref) = closure9(v243) - let v245 : unit = () - let v246 : (unit -> unit) = closure10(v58, v244) - let v247 : unit = (fun () -> v246 (); v245) () - let v248 : US3 option = _v242.Value + let v238 : string = $"near_sdk::env::block_timestamp()" + let v239 : uint64 = Fable.Core.RustInterop.emitRustExpr () v238 + let v240 : US3 option = None + let _v240 = ref v240 + let v241 : US3 option ref = _v240 + let v242 : (US3 option -> US3 option ref) = closure9(v241) + let v243 : unit = () + let v244 : (unit -> unit) = closure10(v90, v242) + let v245 : unit = (fun () -> v244 (); v243) () + let v248 : US3 option = _v240.Value let v259 : US3 = US3_1 let v260 : US3 = v248 |> Option.defaultValue v259 - let v300 : System.DateTime = + let v269 : uint64 = match v260 with | US3_1 -> (* None *) - let v296 : System.DateTime = System.DateTime.Now - v296 + v239 | US3_0(v264) -> (* Some *) - let v265 : System.DateTime = System.DateTime.Now - let v268 : (System.DateTime -> int64) = _.Ticks - let v269 : int64 = v268 v265 - let v272 : int64 = v269 - v264 - let v273 : (int64 -> System.TimeSpan) = System.TimeSpan - let v274 : System.TimeSpan = v273 v272 - let v277 : (System.TimeSpan -> int32) = _.Hours - let v278 : int32 = v277 v274 - let v281 : (System.TimeSpan -> int32) = _.Minutes - let v282 : int32 = v281 v274 - let v285 : (System.TimeSpan -> int32) = _.Seconds - let v286 : int32 = v285 v274 - let v289 : (System.TimeSpan -> int32) = _.Milliseconds - let v290 : int32 = v289 v274 - let v293 : System.DateTime = System.DateTime (1, 1, 1, v278, v282, v286, v290) - v293 - let v301 : string = method7() - let v304 : (string -> string) = v300.ToString - let v305 : string = v304 v301 - let _v69 = v305 + let v265 : (int64 -> uint64) = uint64 + let v266 : uint64 = v265 v264 + let v267 : uint64 = v239 - v266 + v267 + let v270 : uint64 = v269 / 1000000000UL + let v271 : uint64 = v270 % 60UL + let v272 : uint64 = v270 / 60UL + let v273 : uint64 = v272 % 60UL + let v274 : uint64 = v270 / 3600UL + let v275 : uint64 = v274 % 24UL + let v276 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v277 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v275, v273, v271) v276 + let v278 : string = "fable_library_rust::String_::fromString($0)" + let v279 : string = Fable.Core.RustInterop.emitRustExpr v277 v278 + let _v101 = v279 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v280 : US3 option = None + let _v280 = ref v280 + let v281 : US3 option ref = _v280 + let v282 : (US3 option -> US3 option ref) = closure9(v281) + let v283 : unit = () + let v284 : (unit -> unit) = closure10(v90, v282) + let v285 : unit = (fun () -> v284 (); v283) () + let v288 : US3 option = _v280.Value + let v299 : US3 = US3_1 + let v300 : US3 = v288 |> Option.defaultValue v299 + let v340 : System.DateTime = + match v300 with + | US3_1 -> (* None *) + let v336 : System.DateTime = System.DateTime.Now + v336 + | US3_0(v304) -> (* Some *) + let v305 : System.DateTime = System.DateTime.Now + let v308 : (System.DateTime -> int64) = _.Ticks + let v309 : int64 = v308 v305 + let v312 : int64 = v309 - v304 + let v313 : (int64 -> System.TimeSpan) = System.TimeSpan + let v314 : System.TimeSpan = v313 v312 + let v317 : (System.TimeSpan -> int32) = _.Hours + let v318 : int32 = v317 v314 + let v321 : (System.TimeSpan -> int32) = _.Minutes + let v322 : int32 = v321 v314 + let v325 : (System.TimeSpan -> int32) = _.Seconds + let v326 : int32 = v325 v314 + let v329 : (System.TimeSpan -> int32) = _.Milliseconds + let v330 : int32 = v329 v314 + let v333 : System.DateTime = System.DateTime (1, 1, 1, v318, v322, v326, v330) + v333 + let v341 : string = method7() + let v344 : (string -> string) = v340.ToString + let v345 : string = v344 v341 + let _v101 = v345 #endif #if FABLE_COMPILER_PYTHON - let v308 : US3 option = None - let _v308 = ref v308 - let v309 : US3 option ref = _v308 - let v310 : (US3 option -> US3 option ref) = closure9(v309) - let v311 : unit = () - let v312 : (unit -> unit) = closure10(v58, v310) - let v313 : unit = (fun () -> v312 (); v311) () - let v314 : US3 option = _v308.Value - let v325 : US3 = US3_1 - let v326 : US3 = v314 |> Option.defaultValue v325 - let v366 : System.DateTime = - match v326 with + let v348 : US3 option = None + let _v348 = ref v348 + let v349 : US3 option ref = _v348 + let v350 : (US3 option -> US3 option ref) = closure9(v349) + let v351 : unit = () + let v352 : (unit -> unit) = closure10(v90, v350) + let v353 : unit = (fun () -> v352 (); v351) () + let v356 : US3 option = _v348.Value + let v367 : US3 = US3_1 + let v368 : US3 = v356 |> Option.defaultValue v367 + let v408 : System.DateTime = + match v368 with | US3_1 -> (* None *) - let v362 : System.DateTime = System.DateTime.Now - v362 - | US3_0(v330) -> (* Some *) - let v331 : System.DateTime = System.DateTime.Now - let v334 : (System.DateTime -> int64) = _.Ticks - let v335 : int64 = v334 v331 - let v338 : int64 = v335 - v330 - let v339 : (int64 -> System.TimeSpan) = System.TimeSpan - let v340 : System.TimeSpan = v339 v338 - let v343 : (System.TimeSpan -> int32) = _.Hours - let v344 : int32 = v343 v340 - let v347 : (System.TimeSpan -> int32) = _.Minutes - let v348 : int32 = v347 v340 - let v351 : (System.TimeSpan -> int32) = _.Seconds - let v352 : int32 = v351 v340 - let v355 : (System.TimeSpan -> int32) = _.Milliseconds - let v356 : int32 = v355 v340 - let v359 : System.DateTime = System.DateTime (1, 1, 1, v344, v348, v352, v356) - v359 - let v367 : string = method7() - let v370 : (string -> string) = v366.ToString - let v371 : string = v370 v367 - let _v69 = v371 + let v404 : System.DateTime = System.DateTime.Now + v404 + | US3_0(v372) -> (* Some *) + let v373 : System.DateTime = System.DateTime.Now + let v376 : (System.DateTime -> int64) = _.Ticks + let v377 : int64 = v376 v373 + let v380 : int64 = v377 - v372 + let v381 : (int64 -> System.TimeSpan) = System.TimeSpan + let v382 : System.TimeSpan = v381 v380 + let v385 : (System.TimeSpan -> int32) = _.Hours + let v386 : int32 = v385 v382 + let v389 : (System.TimeSpan -> int32) = _.Minutes + let v390 : int32 = v389 v382 + let v393 : (System.TimeSpan -> int32) = _.Seconds + let v394 : int32 = v393 v382 + let v397 : (System.TimeSpan -> int32) = _.Milliseconds + let v398 : int32 = v397 v382 + let v401 : System.DateTime = System.DateTime (1, 1, 1, v386, v390, v394, v398) + v401 + let v409 : string = method7() + let v412 : (string -> string) = v408.ToString + let v413 : string = v412 v409 + let _v101 = v413 #endif #else - let v374 : US3 option = None - let _v374 = ref v374 - let v375 : US3 option ref = _v374 - let v376 : (US3 option -> US3 option ref) = closure9(v375) - let v377 : unit = () - let v378 : (unit -> unit) = closure10(v58, v376) - let v379 : unit = (fun () -> v378 (); v377) () - let v380 : US3 option = _v374.Value - let v391 : US3 = US3_1 - let v392 : US3 = v380 |> Option.defaultValue v391 - let v432 : System.DateTime = - match v392 with + let v416 : US3 option = None + let _v416 = ref v416 + let v417 : US3 option ref = _v416 + let v418 : (US3 option -> US3 option ref) = closure9(v417) + let v419 : unit = () + let v420 : (unit -> unit) = closure10(v90, v418) + let v421 : unit = (fun () -> v420 (); v419) () + let v424 : US3 option = _v416.Value + let v435 : US3 = US3_1 + let v436 : US3 = v424 |> Option.defaultValue v435 + let v476 : System.DateTime = + match v436 with | US3_1 -> (* None *) - let v428 : System.DateTime = System.DateTime.Now - v428 - | US3_0(v396) -> (* Some *) - let v397 : System.DateTime = System.DateTime.Now - let v400 : (System.DateTime -> int64) = _.Ticks - let v401 : int64 = v400 v397 - let v404 : int64 = v401 - v396 - let v405 : (int64 -> System.TimeSpan) = System.TimeSpan - let v406 : System.TimeSpan = v405 v404 - let v409 : (System.TimeSpan -> int32) = _.Hours - let v410 : int32 = v409 v406 - let v413 : (System.TimeSpan -> int32) = _.Minutes - let v414 : int32 = v413 v406 - let v417 : (System.TimeSpan -> int32) = _.Seconds - let v418 : int32 = v417 v406 - let v421 : (System.TimeSpan -> int32) = _.Milliseconds - let v422 : int32 = v421 v406 - let v425 : System.DateTime = System.DateTime (1, 1, 1, v410, v414, v418, v422) - v425 - let v433 : string = method7() - let v436 : (string -> string) = v432.ToString - let v437 : string = v436 v433 - let _v69 = v437 - #endif - let v440 : string = _v69 - let v508 : string = "Info" - let v509 : (unit -> string) = v508.ToLower - let v510 : string = v509 () - let v513 : string = v510.PadLeft (7, ' ') - let v527 : unit = () + let v472 : System.DateTime = System.DateTime.Now + v472 + | US3_0(v440) -> (* Some *) + let v441 : System.DateTime = System.DateTime.Now + let v444 : (System.DateTime -> int64) = _.Ticks + let v445 : int64 = v444 v441 + let v448 : int64 = v445 - v440 + let v449 : (int64 -> System.TimeSpan) = System.TimeSpan + let v450 : System.TimeSpan = v449 v448 + let v453 : (System.TimeSpan -> int32) = _.Hours + let v454 : int32 = v453 v450 + let v457 : (System.TimeSpan -> int32) = _.Minutes + let v458 : int32 = v457 v450 + let v461 : (System.TimeSpan -> int32) = _.Seconds + let v462 : int32 = v461 v450 + let v465 : (System.TimeSpan -> int32) = _.Milliseconds + let v466 : int32 = v465 v450 + let v469 : System.DateTime = System.DateTime (1, 1, 1, v454, v458, v462, v466) + v469 + let v477 : string = method7() + let v480 : (string -> string) = v476.ToString + let v481 : string = v480 v477 + let _v101 = v481 + #endif + let v484 : string = _v101 + let v554 : string = "Info" + let v555 : (unit -> string) = v554.ToLower + let v556 : string = v555 () + let v559 : string = v556.PadLeft (7, ' ') + let v573 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v528 : string = "inline_colorization::color_bright_green" - let v529 : Ref = Fable.Core.RustInterop.emitRustExpr () v528 - let v530 : string = "&*$0" - let v531 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v530 - let v532 : string = "inline_colorization::color_reset" - let v533 : Ref = Fable.Core.RustInterop.emitRustExpr () v532 - let v534 : string = "\"{v529}{v531}{v533}\"" - let v535 : string = @$"format!(" + v534 + ")" - let v536 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v535 - let v537 : string = "fable_library_rust::String_::fromString($0)" - let v538 : string = Fable.Core.RustInterop.emitRustExpr v536 v537 - let _v527 = v538 + let v574 : string = "inline_colorization::color_bright_green" + let v575 : Ref = Fable.Core.RustInterop.emitRustExpr () v574 + let v576 : string = "&*$0" + let v577 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v576 + let v578 : string = "inline_colorization::color_reset" + let v579 : Ref = Fable.Core.RustInterop.emitRustExpr () v578 + let v580 : string = "\"{v575}{v577}{v579}\"" + let v581 : string = @$"format!(" + v580 + ")" + let v582 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v581 + let v583 : string = "fable_library_rust::String_::fromString($0)" + let v584 : string = Fable.Core.RustInterop.emitRustExpr v582 v583 + let _v573 = v584 #endif #if FABLE_COMPILER_RUST && WASM - let v539 : string = "inline_colorization::color_bright_green" - let v540 : Ref = Fable.Core.RustInterop.emitRustExpr () v539 - let v541 : string = "&*$0" - let v542 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v541 - let v543 : string = "inline_colorization::color_reset" - let v544 : Ref = Fable.Core.RustInterop.emitRustExpr () v543 - let v545 : string = "\"{v540}{v542}{v544}\"" - let v546 : string = @$"format!(" + v545 + ")" - let v547 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v546 - let v548 : string = "fable_library_rust::String_::fromString($0)" - let v549 : string = Fable.Core.RustInterop.emitRustExpr v547 v548 - let _v527 = v549 + let v585 : string = "inline_colorization::color_bright_green" + let v586 : Ref = Fable.Core.RustInterop.emitRustExpr () v585 + let v587 : string = "&*$0" + let v588 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v587 + let v589 : string = "inline_colorization::color_reset" + let v590 : Ref = Fable.Core.RustInterop.emitRustExpr () v589 + let v591 : string = "\"{v586}{v588}{v590}\"" + let v592 : string = @$"format!(" + v591 + ")" + let v593 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v592 + let v594 : string = "fable_library_rust::String_::fromString($0)" + let v595 : string = Fable.Core.RustInterop.emitRustExpr v593 v594 + let _v573 = v595 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v550 : string = "inline_colorization::color_bright_green" - let v551 : Ref = Fable.Core.RustInterop.emitRustExpr () v550 - let v552 : string = "&*$0" - let v553 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v552 - let v554 : string = "inline_colorization::color_reset" - let v555 : Ref = Fable.Core.RustInterop.emitRustExpr () v554 - let v556 : string = "\"{v551}{v553}{v555}\"" - let v557 : string = @$"format!(" + v556 + ")" - let v558 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v557 - let v559 : string = "fable_library_rust::String_::fromString($0)" - let v560 : string = Fable.Core.RustInterop.emitRustExpr v558 v559 - let _v527 = v560 + let v596 : string = "inline_colorization::color_bright_green" + let v597 : Ref = Fable.Core.RustInterop.emitRustExpr () v596 + let v598 : string = "&*$0" + let v599 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v598 + let v600 : string = "inline_colorization::color_reset" + let v601 : Ref = Fable.Core.RustInterop.emitRustExpr () v600 + let v602 : string = "\"{v597}{v599}{v601}\"" + let v603 : string = @$"format!(" + v602 + ")" + let v604 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v603 + let v605 : string = "fable_library_rust::String_::fromString($0)" + let v606 : string = Fable.Core.RustInterop.emitRustExpr v604 v605 + let _v573 = v606 #endif #if FABLE_COMPILER_TYPESCRIPT - let v561 : string = "\u001b[92m" - let v562 : string = method8() - let v563 : string = v561 + v513 - let v564 : string = v563 + v562 - let _v527 = v564 + let v607 : string = "\u001b[92m" + let v608 : string = method8() + let v609 : string = v607 + v559 + let v610 : string = v609 + v608 + let _v573 = v610 #endif #if FABLE_COMPILER_PYTHON - let v565 : string = "\u001b[92m" - let v566 : string = method8() - let v567 : string = v565 + v513 - let v568 : string = v567 + v566 - let _v527 = v568 + let v611 : string = "\u001b[92m" + let v612 : string = method8() + let v613 : string = v611 + v559 + let v614 : string = v613 + v612 + let _v573 = v614 #endif #else - let v569 : string = "\u001b[92m" - let v570 : string = method8() - let v571 : string = v569 + v513 - let v572 : string = v571 + v570 - let _v527 = v572 - #endif - let v573 : string = _v527 - let v579 : int64 = v54.l0 - let v580 : string = method9() - let v581 : Mut4 = {l0 = v580} : Mut4 - let v582 : string = "{ " - let v583 : string = $"{v582}" - let v586 : unit = () - let v587 : (unit -> unit) = closure11(v581, v583) - let v588 : unit = (fun () -> v587 (); v586) () - let v589 : string = "exit_code" - let v590 : string = $"{v589}" - let v593 : unit = () - let v594 : (unit -> unit) = closure11(v581, v590) - let v595 : unit = (fun () -> v594 (); v593) () - let v596 : string = " = " - let v597 : string = $"{v596}" - let v600 : unit = () - let v601 : (unit -> unit) = closure11(v581, v597) - let v602 : unit = (fun () -> v601 (); v600) () - let v603 : string = $"{v1}" - let v606 : unit = () - let v607 : (unit -> unit) = closure11(v581, v603) - let v608 : unit = (fun () -> v607 (); v606) () - let v609 : string = "; " - let v610 : string = $"{v609}" - let v613 : unit = () - let v614 : (unit -> unit) = closure11(v581, v610) - let v615 : unit = (fun () -> v614 (); v613) () - let v616 : string = "result" - let v617 : string = $"{v616}" - let v620 : unit = () - let v621 : (unit -> unit) = closure11(v581, v617) - let v622 : unit = (fun () -> v621 (); v620) () - let v623 : string = $"{v596}" - let v626 : unit = () - let v627 : (unit -> unit) = closure11(v581, v623) - let v628 : unit = (fun () -> v627 (); v626) () - let v629 : string = $"{v0}" + let v615 : string = "\u001b[92m" + let v616 : string = method8() + let v617 : string = v615 + v559 + let v618 : string = v617 + v616 + let _v573 = v618 + #endif + let v619 : string = _v573 + let v625 : int64 = v86.l0 + let v626 : string = method9() + let v627 : Mut4 = {l0 = v626} : Mut4 + let v628 : string = "{ " + let v629 : string = $"{v628}" let v632 : unit = () - let v633 : (unit -> unit) = closure11(v581, v629) + let v633 : (unit -> unit) = closure11(v627, v629) let v634 : unit = (fun () -> v633 (); v632) () - let v635 : string = " }" - let v636 : string = $"{v635}" - let v639 : unit = () - let v640 : (unit -> unit) = closure11(v581, v636) - let v641 : unit = (fun () -> v640 (); v639) () - let v642 : string = v581.l0 - let v643 : (unit -> string) = closure90() - let v644 : string = $"{v440} {v573} #{v579} %s{v643 ()} / {v642}" - let v647 : char list = [] - let v648 : (char list -> (char [])) = List.toArray - let v649 : (char []) = v648 v647 - let v652 : string = v644.TrimStart v649 - let v670 : char list = [] - let v671 : char list = '/' :: v670 - let v674 : char list = ' ' :: v671 - let v677 : (char list -> (char [])) = List.toArray - let v678 : (char []) = v677 v674 - let v681 : string = v652.TrimEnd v678 - let v699 : unit = () + let v637 : string = "exit_code" + let v638 : string = $"{v637}" + let v641 : unit = () + let v642 : (unit -> unit) = closure11(v627, v638) + let v643 : unit = (fun () -> v642 (); v641) () + let v646 : string = " = " + let v647 : string = $"{v646}" + let v650 : unit = () + let v651 : (unit -> unit) = closure11(v627, v647) + let v652 : unit = (fun () -> v651 (); v650) () + let v655 : string = $"{v1}" + let v658 : unit = () + let v659 : (unit -> unit) = closure11(v627, v655) + let v660 : unit = (fun () -> v659 (); v658) () + let v663 : string = "; " + let v664 : string = $"{v663}" + let v667 : unit = () + let v668 : (unit -> unit) = closure11(v627, v664) + let v669 : unit = (fun () -> v668 (); v667) () + let v672 : string = "result" + let v673 : string = $"{v672}" + let v676 : unit = () + let v677 : (unit -> unit) = closure11(v627, v673) + let v678 : unit = (fun () -> v677 (); v676) () + let v681 : string = $"{v646}" + let v684 : unit = () + let v685 : (unit -> unit) = closure11(v627, v681) + let v686 : unit = (fun () -> v685 (); v684) () + let v689 : string = $"{v0}" + let v692 : unit = () + let v693 : (unit -> unit) = closure11(v627, v689) + let v694 : unit = (fun () -> v693 (); v692) () + let v697 : string = " }" + let v698 : string = $"{v697}" + let v701 : unit = () + let v702 : (unit -> unit) = closure11(v627, v698) + let v703 : unit = (fun () -> v702 (); v701) () + let v706 : string = v627.l0 + let v707 : (unit -> string) = closure91() + let v708 : string = $"{v484} {v619} #{v625} %s{v707 ()} / {v706}" + let v711 : char list = [] + let v712 : (char list -> (char [])) = List.toArray + let v713 : (char []) = v712 v711 + let v716 : string = v708.TrimStart v713 + let v734 : char list = [] + let v735 : char list = '/' :: v734 + let v738 : char list = ' ' :: v735 + let v741 : (char list -> (char [])) = List.toArray + let v742 : (char []) = v741 v738 + let v745 : string = v716.TrimEnd v742 + let v763 : (string -> unit) = closure13() + let v764 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v700 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v700 - let _v699 = () + let v765 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v745 v765 + let _v764 = () #endif #if FABLE_COMPILER_RUST && WASM - let v701 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v701 - let _v699 = () + let v766 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v745 v766 + let _v764 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v702 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v702 - let _v699 = () + let v767 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v745 v767 + let _v764 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v681 - let _v699 = () + v763 v745 + let _v764 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v681 - let _v699 = () + v763 v745 + let _v764 = () #endif #else - System.Console.WriteLine v681 - let _v699 = () + v763 v745 + let _v764 = () #endif - _v699 - let v703 : (string -> unit) = v8.l0 - v703 v681 -and closure85 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) (v5 : string) : US30 = + _v764 + let v768 : (string -> unit) = v18.l0 + v768 v745 +and closure86 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) (v5 : string) : US30 = let struct (v6 : string, v7 : string) = method77(v5, v4, v0) let v8 : bool = method82(v6) let v10 : bool = @@ -14326,470 +14351,471 @@ and closure85 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) if v223 then let v224 : US32 = method85(v2, v3, v6, v4) match v224 with - | US32_1(v241, v242) -> (* Error *) - let v243 : (string * string) = v6, v242 - let v244 : Result = Error v243 - US30_0(v244) + | US32_1(v1008, v1009) -> (* Error *) + let v1010 : (string * string) = v6, v1009 + let v1011 : Result = Error v1010 + US30_0(v1011) | US32_0(v225, v226) -> (* Ok *) let v227 : bool = v225 <> 0 if v227 then let v230 : unit = () - let v231 : (unit -> unit) = closure89(v226, v225) + let v231 : (unit -> unit) = closure90(v226, v225) let v232 : unit = (fun () -> v231 (); v230) () - let v233 : (string * string) = v6, v226 - let v234 : Result = Error v233 - US30_0(v234) + let v1000 : (string * string) = v6, v226 + let v1001 : Result = Error v1000 + US30_0(v1001) else - let v236 : bool = method82(v6) - if v236 then + let v1003 : bool = method82(v6) + if v1003 then method83(v7, v6) else - let v237 : string = $"documents.files_fn / {v6} should exist" - failwith v237 - let v238 : Result = Ok v6 - US30_0(v238) + let v1004 : string = $"documents.files_fn / {v6} should exist" + failwith v1004 + let v1005 : Result = Ok v6 + US30_0(v1005) else US30_1 -and closure84 (v0 : string, v1 : string, v2 : string, v3 : string) (v4 : string) : (string -> US30) = - closure85(v0, v1, v2, v3, v4) -and closure94 () () : string = +and closure85 (v0 : string, v1 : string, v2 : string, v3 : string) (v4 : string) : (string -> US30) = + closure86(v0, v1, v2, v3, v4) +and closure95 () () : string = let v0 : string = "documents.crowbook / result contains ERROR" v0 -and closure93 (v0 : string, v1 : string, v2 : int32) () : unit = +and closure94 (v0 : string, v1 : string, v2 : int32) () : unit = let v3 : unit = () let v4 : (unit -> unit) = closure7() let v5 : unit = (fun () -> v4 (); v3) () - let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : Mut3, v12 : int64 option) = State.trace_state.Value - let v23 : unit = () - let v24 : unit = (fun () -> v4 (); v23) () - let struct (v27 : Mut0, v28 : Mut1, v29 : Mut2, v30 : Mut3, v31 : int64 option) = State.trace_state.Value - let v42 : US0 = v30.l0 - let v43 : bool = v29.l0 - let v44 : bool = v43 = false - let v47 : bool = - if v44 then + let struct (v18 : Mut0, v19 : Mut1, v20 : Mut2, v21 : Mut3, v22 : int64 option) = State.trace_state.Value + let v33 : unit = () + let v34 : unit = (fun () -> v4 (); v33) () + let struct (v47 : Mut0, v48 : Mut1, v49 : Mut2, v50 : Mut3, v51 : int64 option) = State.trace_state.Value + let v62 : US0 = v50.l0 + let v63 : bool = v49.l0 + let v64 : bool = v63 = false + let v67 : bool = + if v64 then false else - let v45 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v42 - let v46 : bool = 3 >= v45 - v46 - if v47 then - let v48 : unit = () - let v49 : (unit -> unit) = closure8(v8) - let v50 : unit = (fun () -> v49 (); v48) () - let v51 : unit = () - let v52 : unit = (fun () -> v4 (); v51) () - let struct (v55 : Mut0, v56 : Mut1, v57 : Mut2, v58 : Mut3, v59 : int64 option) = State.trace_state.Value - let v70 : unit = () + let v65 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v62 + let v66 : bool = 3 >= v65 + v66 + if v67 then + let v68 : unit = () + let v69 : (unit -> unit) = closure8(v18) + let v70 : unit = (fun () -> v69 (); v68) () + let v73 : unit = () + let v74 : unit = (fun () -> v4 (); v73) () + let struct (v87 : Mut0, v88 : Mut1, v89 : Mut2, v90 : Mut3, v91 : int64 option) = State.trace_state.Value + let v102 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v71 : US3 option = None - let _v71 = ref v71 - let v72 : US3 option ref = _v71 - let v73 : (US3 option -> US3 option ref) = closure9(v72) - let v74 : unit = () - let v75 : (unit -> unit) = closure10(v59, v73) - let v76 : unit = (fun () -> v75 (); v74) () - let v77 : US3 option = _v71.Value - let v88 : US3 = US3_1 - let v89 : US3 = v77 |> Option.defaultValue v88 - let v129 : System.DateTime = - match v89 with + let v103 : US3 option = None + let _v103 = ref v103 + let v104 : US3 option ref = _v103 + let v105 : (US3 option -> US3 option ref) = closure9(v104) + let v106 : unit = () + let v107 : (unit -> unit) = closure10(v91, v105) + let v108 : unit = (fun () -> v107 (); v106) () + let v111 : US3 option = _v103.Value + let v122 : US3 = US3_1 + let v123 : US3 = v111 |> Option.defaultValue v122 + let v163 : System.DateTime = + match v123 with | US3_1 -> (* None *) - let v125 : System.DateTime = System.DateTime.Now - v125 - | US3_0(v93) -> (* Some *) - let v94 : System.DateTime = System.DateTime.Now - let v97 : (System.DateTime -> int64) = _.Ticks - let v98 : int64 = v97 v94 - let v101 : int64 = v98 - v93 - let v102 : (int64 -> System.TimeSpan) = System.TimeSpan - let v103 : System.TimeSpan = v102 v101 - let v106 : (System.TimeSpan -> int32) = _.Hours - let v107 : int32 = v106 v103 - let v110 : (System.TimeSpan -> int32) = _.Minutes - let v111 : int32 = v110 v103 - let v114 : (System.TimeSpan -> int32) = _.Seconds - let v115 : int32 = v114 v103 - let v118 : (System.TimeSpan -> int32) = _.Milliseconds - let v119 : int32 = v118 v103 - let v122 : System.DateTime = System.DateTime (1, 1, 1, v107, v111, v115, v119) - v122 - let v130 : string = method6() - let v133 : (string -> string) = v129.ToString - let v134 : string = v133 v130 - let _v70 = v134 + let v159 : System.DateTime = System.DateTime.Now + v159 + | US3_0(v127) -> (* Some *) + let v128 : System.DateTime = System.DateTime.Now + let v131 : (System.DateTime -> int64) = _.Ticks + let v132 : int64 = v131 v128 + let v135 : int64 = v132 - v127 + let v136 : (int64 -> System.TimeSpan) = System.TimeSpan + let v137 : System.TimeSpan = v136 v135 + let v140 : (System.TimeSpan -> int32) = _.Hours + let v141 : int32 = v140 v137 + let v144 : (System.TimeSpan -> int32) = _.Minutes + let v145 : int32 = v144 v137 + let v148 : (System.TimeSpan -> int32) = _.Seconds + let v149 : int32 = v148 v137 + let v152 : (System.TimeSpan -> int32) = _.Milliseconds + let v153 : int32 = v152 v137 + let v156 : System.DateTime = System.DateTime (1, 1, 1, v141, v145, v149, v153) + v156 + let v164 : string = method6() + let v167 : (string -> string) = v163.ToString + let v168 : string = v167 v164 + let _v102 = v168 #endif #if FABLE_COMPILER_RUST && WASM - let v137 : US3 option = None - let _v137 = ref v137 - let v138 : US3 option ref = _v137 - let v139 : (US3 option -> US3 option ref) = closure9(v138) - let v140 : unit = () - let v141 : (unit -> unit) = closure10(v59, v139) - let v142 : unit = (fun () -> v141 (); v140) () - let v143 : US3 option = _v137.Value - let v154 : US3 = US3_1 - let v155 : US3 = v143 |> Option.defaultValue v154 - let v195 : System.DateTime = - match v155 with + let v171 : US3 option = None + let _v171 = ref v171 + let v172 : US3 option ref = _v171 + let v173 : (US3 option -> US3 option ref) = closure9(v172) + let v174 : unit = () + let v175 : (unit -> unit) = closure10(v91, v173) + let v176 : unit = (fun () -> v175 (); v174) () + let v179 : US3 option = _v171.Value + let v190 : US3 = US3_1 + let v191 : US3 = v179 |> Option.defaultValue v190 + let v231 : System.DateTime = + match v191 with | US3_1 -> (* None *) - let v191 : System.DateTime = System.DateTime.Now - v191 - | US3_0(v159) -> (* Some *) - let v160 : System.DateTime = System.DateTime.Now - let v163 : (System.DateTime -> int64) = _.Ticks - let v164 : int64 = v163 v160 - let v167 : int64 = v164 - v159 - let v168 : (int64 -> System.TimeSpan) = System.TimeSpan - let v169 : System.TimeSpan = v168 v167 - let v172 : (System.TimeSpan -> int32) = _.Hours - let v173 : int32 = v172 v169 - let v176 : (System.TimeSpan -> int32) = _.Minutes - let v177 : int32 = v176 v169 - let v180 : (System.TimeSpan -> int32) = _.Seconds - let v181 : int32 = v180 v169 - let v184 : (System.TimeSpan -> int32) = _.Milliseconds - let v185 : int32 = v184 v169 - let v188 : System.DateTime = System.DateTime (1, 1, 1, v173, v177, v181, v185) - v188 - let v196 : string = method6() - let v199 : (string -> string) = v195.ToString - let v200 : string = v199 v196 - let _v70 = v200 + let v227 : System.DateTime = System.DateTime.Now + v227 + | US3_0(v195) -> (* Some *) + let v196 : System.DateTime = System.DateTime.Now + let v199 : (System.DateTime -> int64) = _.Ticks + let v200 : int64 = v199 v196 + let v203 : int64 = v200 - v195 + let v204 : (int64 -> System.TimeSpan) = System.TimeSpan + let v205 : System.TimeSpan = v204 v203 + let v208 : (System.TimeSpan -> int32) = _.Hours + let v209 : int32 = v208 v205 + let v212 : (System.TimeSpan -> int32) = _.Minutes + let v213 : int32 = v212 v205 + let v216 : (System.TimeSpan -> int32) = _.Seconds + let v217 : int32 = v216 v205 + let v220 : (System.TimeSpan -> int32) = _.Milliseconds + let v221 : int32 = v220 v205 + let v224 : System.DateTime = System.DateTime (1, 1, 1, v209, v213, v217, v221) + v224 + let v232 : string = method6() + let v235 : (string -> string) = v231.ToString + let v236 : string = v235 v232 + let _v102 = v236 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v203 : string = $"near_sdk::env::block_timestamp()" - let v204 : uint64 = Fable.Core.RustInterop.emitRustExpr () v203 - let v205 : US3 option = None - let _v205 = ref v205 - let v206 : US3 option ref = _v205 - let v207 : (US3 option -> US3 option ref) = closure9(v206) - let v208 : unit = () - let v209 : (unit -> unit) = closure10(v59, v207) - let v210 : unit = (fun () -> v209 (); v208) () - let v211 : US3 option = _v205.Value - let v222 : US3 = US3_1 - let v223 : US3 = v211 |> Option.defaultValue v222 - let v232 : uint64 = - match v223 with - | US3_1 -> (* None *) - v204 - | US3_0(v227) -> (* Some *) - let v228 : (int64 -> uint64) = uint64 - let v229 : uint64 = v228 v227 - let v230 : uint64 = v204 - v229 - v230 - let v233 : uint64 = v232 / 1000000000UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v233 / 60UL - let v236 : uint64 = v235 % 60UL - let v237 : uint64 = v233 / 3600UL - let v238 : uint64 = v237 % 24UL - let v239 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v240 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v238, v236, v234) v239 - let v241 : string = "fable_library_rust::String_::fromString($0)" - let v242 : string = Fable.Core.RustInterop.emitRustExpr v240 v241 - let _v70 = v242 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v243 : US3 option = None - let _v243 = ref v243 - let v244 : US3 option ref = _v243 - let v245 : (US3 option -> US3 option ref) = closure9(v244) - let v246 : unit = () - let v247 : (unit -> unit) = closure10(v59, v245) - let v248 : unit = (fun () -> v247 (); v246) () - let v249 : US3 option = _v243.Value + let v239 : string = $"near_sdk::env::block_timestamp()" + let v240 : uint64 = Fable.Core.RustInterop.emitRustExpr () v239 + let v241 : US3 option = None + let _v241 = ref v241 + let v242 : US3 option ref = _v241 + let v243 : (US3 option -> US3 option ref) = closure9(v242) + let v244 : unit = () + let v245 : (unit -> unit) = closure10(v91, v243) + let v246 : unit = (fun () -> v245 (); v244) () + let v249 : US3 option = _v241.Value let v260 : US3 = US3_1 let v261 : US3 = v249 |> Option.defaultValue v260 - let v301 : System.DateTime = + let v270 : uint64 = match v261 with | US3_1 -> (* None *) - let v297 : System.DateTime = System.DateTime.Now - v297 + v240 | US3_0(v265) -> (* Some *) - let v266 : System.DateTime = System.DateTime.Now - let v269 : (System.DateTime -> int64) = _.Ticks - let v270 : int64 = v269 v266 - let v273 : int64 = v270 - v265 - let v274 : (int64 -> System.TimeSpan) = System.TimeSpan - let v275 : System.TimeSpan = v274 v273 - let v278 : (System.TimeSpan -> int32) = _.Hours - let v279 : int32 = v278 v275 - let v282 : (System.TimeSpan -> int32) = _.Minutes - let v283 : int32 = v282 v275 - let v286 : (System.TimeSpan -> int32) = _.Seconds - let v287 : int32 = v286 v275 - let v290 : (System.TimeSpan -> int32) = _.Milliseconds - let v291 : int32 = v290 v275 - let v294 : System.DateTime = System.DateTime (1, 1, 1, v279, v283, v287, v291) - v294 - let v302 : string = method7() - let v305 : (string -> string) = v301.ToString - let v306 : string = v305 v302 - let _v70 = v306 + let v266 : (int64 -> uint64) = uint64 + let v267 : uint64 = v266 v265 + let v268 : uint64 = v240 - v267 + v268 + let v271 : uint64 = v270 / 1000000000UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v271 / 60UL + let v274 : uint64 = v273 % 60UL + let v275 : uint64 = v271 / 3600UL + let v276 : uint64 = v275 % 24UL + let v277 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v278 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v276, v274, v272) v277 + let v279 : string = "fable_library_rust::String_::fromString($0)" + let v280 : string = Fable.Core.RustInterop.emitRustExpr v278 v279 + let _v102 = v280 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v281 : US3 option = None + let _v281 = ref v281 + let v282 : US3 option ref = _v281 + let v283 : (US3 option -> US3 option ref) = closure9(v282) + let v284 : unit = () + let v285 : (unit -> unit) = closure10(v91, v283) + let v286 : unit = (fun () -> v285 (); v284) () + let v289 : US3 option = _v281.Value + let v300 : US3 = US3_1 + let v301 : US3 = v289 |> Option.defaultValue v300 + let v341 : System.DateTime = + match v301 with + | US3_1 -> (* None *) + let v337 : System.DateTime = System.DateTime.Now + v337 + | US3_0(v305) -> (* Some *) + let v306 : System.DateTime = System.DateTime.Now + let v309 : (System.DateTime -> int64) = _.Ticks + let v310 : int64 = v309 v306 + let v313 : int64 = v310 - v305 + let v314 : (int64 -> System.TimeSpan) = System.TimeSpan + let v315 : System.TimeSpan = v314 v313 + let v318 : (System.TimeSpan -> int32) = _.Hours + let v319 : int32 = v318 v315 + let v322 : (System.TimeSpan -> int32) = _.Minutes + let v323 : int32 = v322 v315 + let v326 : (System.TimeSpan -> int32) = _.Seconds + let v327 : int32 = v326 v315 + let v330 : (System.TimeSpan -> int32) = _.Milliseconds + let v331 : int32 = v330 v315 + let v334 : System.DateTime = System.DateTime (1, 1, 1, v319, v323, v327, v331) + v334 + let v342 : string = method7() + let v345 : (string -> string) = v341.ToString + let v346 : string = v345 v342 + let _v102 = v346 #endif #if FABLE_COMPILER_PYTHON - let v309 : US3 option = None - let _v309 = ref v309 - let v310 : US3 option ref = _v309 - let v311 : (US3 option -> US3 option ref) = closure9(v310) - let v312 : unit = () - let v313 : (unit -> unit) = closure10(v59, v311) - let v314 : unit = (fun () -> v313 (); v312) () - let v315 : US3 option = _v309.Value - let v326 : US3 = US3_1 - let v327 : US3 = v315 |> Option.defaultValue v326 - let v367 : System.DateTime = - match v327 with + let v349 : US3 option = None + let _v349 = ref v349 + let v350 : US3 option ref = _v349 + let v351 : (US3 option -> US3 option ref) = closure9(v350) + let v352 : unit = () + let v353 : (unit -> unit) = closure10(v91, v351) + let v354 : unit = (fun () -> v353 (); v352) () + let v357 : US3 option = _v349.Value + let v368 : US3 = US3_1 + let v369 : US3 = v357 |> Option.defaultValue v368 + let v409 : System.DateTime = + match v369 with | US3_1 -> (* None *) - let v363 : System.DateTime = System.DateTime.Now - v363 - | US3_0(v331) -> (* Some *) - let v332 : System.DateTime = System.DateTime.Now - let v335 : (System.DateTime -> int64) = _.Ticks - let v336 : int64 = v335 v332 - let v339 : int64 = v336 - v331 - let v340 : (int64 -> System.TimeSpan) = System.TimeSpan - let v341 : System.TimeSpan = v340 v339 - let v344 : (System.TimeSpan -> int32) = _.Hours - let v345 : int32 = v344 v341 - let v348 : (System.TimeSpan -> int32) = _.Minutes - let v349 : int32 = v348 v341 - let v352 : (System.TimeSpan -> int32) = _.Seconds - let v353 : int32 = v352 v341 - let v356 : (System.TimeSpan -> int32) = _.Milliseconds - let v357 : int32 = v356 v341 - let v360 : System.DateTime = System.DateTime (1, 1, 1, v345, v349, v353, v357) - v360 - let v368 : string = method7() - let v371 : (string -> string) = v367.ToString - let v372 : string = v371 v368 - let _v70 = v372 + let v405 : System.DateTime = System.DateTime.Now + v405 + | US3_0(v373) -> (* Some *) + let v374 : System.DateTime = System.DateTime.Now + let v377 : (System.DateTime -> int64) = _.Ticks + let v378 : int64 = v377 v374 + let v381 : int64 = v378 - v373 + let v382 : (int64 -> System.TimeSpan) = System.TimeSpan + let v383 : System.TimeSpan = v382 v381 + let v386 : (System.TimeSpan -> int32) = _.Hours + let v387 : int32 = v386 v383 + let v390 : (System.TimeSpan -> int32) = _.Minutes + let v391 : int32 = v390 v383 + let v394 : (System.TimeSpan -> int32) = _.Seconds + let v395 : int32 = v394 v383 + let v398 : (System.TimeSpan -> int32) = _.Milliseconds + let v399 : int32 = v398 v383 + let v402 : System.DateTime = System.DateTime (1, 1, 1, v387, v391, v395, v399) + v402 + let v410 : string = method7() + let v413 : (string -> string) = v409.ToString + let v414 : string = v413 v410 + let _v102 = v414 #endif #else - let v375 : US3 option = None - let _v375 = ref v375 - let v376 : US3 option ref = _v375 - let v377 : (US3 option -> US3 option ref) = closure9(v376) - let v378 : unit = () - let v379 : (unit -> unit) = closure10(v59, v377) - let v380 : unit = (fun () -> v379 (); v378) () - let v381 : US3 option = _v375.Value - let v392 : US3 = US3_1 - let v393 : US3 = v381 |> Option.defaultValue v392 - let v433 : System.DateTime = - match v393 with + let v417 : US3 option = None + let _v417 = ref v417 + let v418 : US3 option ref = _v417 + let v419 : (US3 option -> US3 option ref) = closure9(v418) + let v420 : unit = () + let v421 : (unit -> unit) = closure10(v91, v419) + let v422 : unit = (fun () -> v421 (); v420) () + let v425 : US3 option = _v417.Value + let v436 : US3 = US3_1 + let v437 : US3 = v425 |> Option.defaultValue v436 + let v477 : System.DateTime = + match v437 with | US3_1 -> (* None *) - let v429 : System.DateTime = System.DateTime.Now - v429 - | US3_0(v397) -> (* Some *) - let v398 : System.DateTime = System.DateTime.Now - let v401 : (System.DateTime -> int64) = _.Ticks - let v402 : int64 = v401 v398 - let v405 : int64 = v402 - v397 - let v406 : (int64 -> System.TimeSpan) = System.TimeSpan - let v407 : System.TimeSpan = v406 v405 - let v410 : (System.TimeSpan -> int32) = _.Hours - let v411 : int32 = v410 v407 - let v414 : (System.TimeSpan -> int32) = _.Minutes - let v415 : int32 = v414 v407 - let v418 : (System.TimeSpan -> int32) = _.Seconds - let v419 : int32 = v418 v407 - let v422 : (System.TimeSpan -> int32) = _.Milliseconds - let v423 : int32 = v422 v407 - let v426 : System.DateTime = System.DateTime (1, 1, 1, v411, v415, v419, v423) - v426 - let v434 : string = method7() - let v437 : (string -> string) = v433.ToString - let v438 : string = v437 v434 - let _v70 = v438 - #endif - let v441 : string = _v70 - let v509 : string = "Warning" - let v510 : (unit -> string) = v509.ToLower - let v511 : string = v510 () - let v514 : string = v511.PadLeft (7, ' ') - let v528 : unit = () + let v473 : System.DateTime = System.DateTime.Now + v473 + | US3_0(v441) -> (* Some *) + let v442 : System.DateTime = System.DateTime.Now + let v445 : (System.DateTime -> int64) = _.Ticks + let v446 : int64 = v445 v442 + let v449 : int64 = v446 - v441 + let v450 : (int64 -> System.TimeSpan) = System.TimeSpan + let v451 : System.TimeSpan = v450 v449 + let v454 : (System.TimeSpan -> int32) = _.Hours + let v455 : int32 = v454 v451 + let v458 : (System.TimeSpan -> int32) = _.Minutes + let v459 : int32 = v458 v451 + let v462 : (System.TimeSpan -> int32) = _.Seconds + let v463 : int32 = v462 v451 + let v466 : (System.TimeSpan -> int32) = _.Milliseconds + let v467 : int32 = v466 v451 + let v470 : System.DateTime = System.DateTime (1, 1, 1, v455, v459, v463, v467) + v470 + let v478 : string = method7() + let v481 : (string -> string) = v477.ToString + let v482 : string = v481 v478 + let _v102 = v482 + #endif + let v485 : string = _v102 + let v555 : string = "Warning" + let v556 : (unit -> string) = v555.ToLower + let v557 : string = v556 () + let v560 : string = v557.PadLeft (7, ' ') + let v574 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v529 : string = "inline_colorization::color_yellow" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr () v529 - let v531 : string = "&*$0" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr v514 v531 - let v533 : string = "inline_colorization::color_reset" - let v534 : Ref = Fable.Core.RustInterop.emitRustExpr () v533 - let v535 : string = "\"{v530}{v532}{v534}\"" - let v536 : string = @$"format!(" + v535 + ")" - let v537 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v536 - let v538 : string = "fable_library_rust::String_::fromString($0)" - let v539 : string = Fable.Core.RustInterop.emitRustExpr v537 v538 - let _v528 = v539 + let v575 : string = "inline_colorization::color_yellow" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr () v575 + let v577 : string = "&*$0" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr v560 v577 + let v579 : string = "inline_colorization::color_reset" + let v580 : Ref = Fable.Core.RustInterop.emitRustExpr () v579 + let v581 : string = "\"{v576}{v578}{v580}\"" + let v582 : string = @$"format!(" + v581 + ")" + let v583 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v582 + let v584 : string = "fable_library_rust::String_::fromString($0)" + let v585 : string = Fable.Core.RustInterop.emitRustExpr v583 v584 + let _v574 = v585 #endif #if FABLE_COMPILER_RUST && WASM - let v540 : string = "inline_colorization::color_yellow" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr () v540 - let v542 : string = "&*$0" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr v514 v542 - let v544 : string = "inline_colorization::color_reset" - let v545 : Ref = Fable.Core.RustInterop.emitRustExpr () v544 - let v546 : string = "\"{v541}{v543}{v545}\"" - let v547 : string = @$"format!(" + v546 + ")" - let v548 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v547 - let v549 : string = "fable_library_rust::String_::fromString($0)" - let v550 : string = Fable.Core.RustInterop.emitRustExpr v548 v549 - let _v528 = v550 + let v586 : string = "inline_colorization::color_yellow" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr () v586 + let v588 : string = "&*$0" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr v560 v588 + let v590 : string = "inline_colorization::color_reset" + let v591 : Ref = Fable.Core.RustInterop.emitRustExpr () v590 + let v592 : string = "\"{v587}{v589}{v591}\"" + let v593 : string = @$"format!(" + v592 + ")" + let v594 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v593 + let v595 : string = "fable_library_rust::String_::fromString($0)" + let v596 : string = Fable.Core.RustInterop.emitRustExpr v594 v595 + let _v574 = v596 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v551 : string = "inline_colorization::color_yellow" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr () v551 - let v553 : string = "&*$0" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr v514 v553 - let v555 : string = "inline_colorization::color_reset" - let v556 : Ref = Fable.Core.RustInterop.emitRustExpr () v555 - let v557 : string = "\"{v552}{v554}{v556}\"" - let v558 : string = @$"format!(" + v557 + ")" - let v559 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v558 - let v560 : string = "fable_library_rust::String_::fromString($0)" - let v561 : string = Fable.Core.RustInterop.emitRustExpr v559 v560 - let _v528 = v561 + let v597 : string = "inline_colorization::color_yellow" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr () v597 + let v599 : string = "&*$0" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr v560 v599 + let v601 : string = "inline_colorization::color_reset" + let v602 : Ref = Fable.Core.RustInterop.emitRustExpr () v601 + let v603 : string = "\"{v598}{v600}{v602}\"" + let v604 : string = @$"format!(" + v603 + ")" + let v605 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v604 + let v606 : string = "fable_library_rust::String_::fromString($0)" + let v607 : string = Fable.Core.RustInterop.emitRustExpr v605 v606 + let _v574 = v607 #endif #if FABLE_COMPILER_TYPESCRIPT - let v562 : string = "\u001b[93m" - let v563 : string = method8() - let v564 : string = v562 + v514 - let v565 : string = v564 + v563 - let _v528 = v565 + let v608 : string = "\u001b[93m" + let v609 : string = method8() + let v610 : string = v608 + v560 + let v611 : string = v610 + v609 + let _v574 = v611 #endif #if FABLE_COMPILER_PYTHON - let v566 : string = "\u001b[93m" - let v567 : string = method8() - let v568 : string = v566 + v514 - let v569 : string = v568 + v567 - let _v528 = v569 + let v612 : string = "\u001b[93m" + let v613 : string = method8() + let v614 : string = v612 + v560 + let v615 : string = v614 + v613 + let _v574 = v615 #endif #else - let v570 : string = "\u001b[93m" - let v571 : string = method8() - let v572 : string = v570 + v514 - let v573 : string = v572 + v571 - let _v528 = v573 - #endif - let v574 : string = _v528 - let v580 : int64 = v55.l0 - let v581 : string = method9() - let v582 : Mut4 = {l0 = v581} : Mut4 - let v583 : string = "{ " - let v584 : string = $"{v583}" - let v587 : unit = () - let v588 : (unit -> unit) = closure11(v582, v584) - let v589 : unit = (fun () -> v588 (); v587) () - let v590 : string = "exit_code" - let v591 : string = $"{v590}" - let v594 : unit = () - let v595 : (unit -> unit) = closure11(v582, v591) - let v596 : unit = (fun () -> v595 (); v594) () - let v597 : string = " = " - let v598 : string = $"{v597}" - let v601 : unit = () - let v602 : (unit -> unit) = closure11(v582, v598) - let v603 : unit = (fun () -> v602 (); v601) () - let v604 : string = $"{v2}" - let v607 : unit = () - let v608 : (unit -> unit) = closure11(v582, v604) - let v609 : unit = (fun () -> v608 (); v607) () - let v610 : string = "; " - let v611 : string = $"{v610}" - let v614 : unit = () - let v615 : (unit -> unit) = closure11(v582, v611) - let v616 : unit = (fun () -> v615 (); v614) () - let v617 : string = "output_path" - let v618 : string = $"{v617}" - let v621 : unit = () - let v622 : (unit -> unit) = closure11(v582, v618) - let v623 : unit = (fun () -> v622 (); v621) () - let v624 : string = $"{v597}" - let v627 : unit = () - let v628 : (unit -> unit) = closure11(v582, v624) - let v629 : unit = (fun () -> v628 (); v627) () - let v630 : string = $"{v0}" + let v616 : string = "\u001b[93m" + let v617 : string = method8() + let v618 : string = v616 + v560 + let v619 : string = v618 + v617 + let _v574 = v619 + #endif + let v620 : string = _v574 + let v626 : int64 = v87.l0 + let v627 : string = method9() + let v628 : Mut4 = {l0 = v627} : Mut4 + let v629 : string = "{ " + let v630 : string = $"{v629}" let v633 : unit = () - let v634 : (unit -> unit) = closure11(v582, v630) + let v634 : (unit -> unit) = closure11(v628, v630) let v635 : unit = (fun () -> v634 (); v633) () - let v636 : string = $"{v610}" - let v639 : unit = () - let v640 : (unit -> unit) = closure11(v582, v636) - let v641 : unit = (fun () -> v640 (); v639) () - let v642 : string = "result" - let v643 : string = $"{v642}" - let v646 : unit = () - let v647 : (unit -> unit) = closure11(v582, v643) - let v648 : unit = (fun () -> v647 (); v646) () - let v649 : string = $"{v597}" - let v652 : unit = () - let v653 : (unit -> unit) = closure11(v582, v649) - let v654 : unit = (fun () -> v653 (); v652) () - let v655 : string = $"{v1}" - let v658 : unit = () - let v659 : (unit -> unit) = closure11(v582, v655) - let v660 : unit = (fun () -> v659 (); v658) () - let v661 : string = " }" - let v662 : string = $"{v661}" - let v665 : unit = () - let v666 : (unit -> unit) = closure11(v582, v662) - let v667 : unit = (fun () -> v666 (); v665) () - let v668 : string = v582.l0 - let v669 : (unit -> string) = closure94() - let v670 : string = $"{v441} {v574} #{v580} %s{v669 ()} / {v668}" - let v673 : char list = [] - let v674 : (char list -> (char [])) = List.toArray - let v675 : (char []) = v674 v673 - let v678 : string = v670.TrimStart v675 - let v696 : char list = [] - let v697 : char list = '/' :: v696 - let v700 : char list = ' ' :: v697 - let v703 : (char list -> (char [])) = List.toArray - let v704 : (char []) = v703 v700 - let v707 : string = v678.TrimEnd v704 - let v725 : unit = () + let v638 : string = "exit_code" + let v639 : string = $"{v638}" + let v642 : unit = () + let v643 : (unit -> unit) = closure11(v628, v639) + let v644 : unit = (fun () -> v643 (); v642) () + let v647 : string = " = " + let v648 : string = $"{v647}" + let v651 : unit = () + let v652 : (unit -> unit) = closure11(v628, v648) + let v653 : unit = (fun () -> v652 (); v651) () + let v656 : string = $"{v2}" + let v659 : unit = () + let v660 : (unit -> unit) = closure11(v628, v656) + let v661 : unit = (fun () -> v660 (); v659) () + let v664 : string = "; " + let v665 : string = $"{v664}" + let v668 : unit = () + let v669 : (unit -> unit) = closure11(v628, v665) + let v670 : unit = (fun () -> v669 (); v668) () + let v673 : string = "output_path" + let v674 : string = $"{v673}" + let v677 : unit = () + let v678 : (unit -> unit) = closure11(v628, v674) + let v679 : unit = (fun () -> v678 (); v677) () + let v682 : string = $"{v647}" + let v685 : unit = () + let v686 : (unit -> unit) = closure11(v628, v682) + let v687 : unit = (fun () -> v686 (); v685) () + let v690 : string = $"{v0}" + let v693 : unit = () + let v694 : (unit -> unit) = closure11(v628, v690) + let v695 : unit = (fun () -> v694 (); v693) () + let v698 : string = $"{v664}" + let v701 : unit = () + let v702 : (unit -> unit) = closure11(v628, v698) + let v703 : unit = (fun () -> v702 (); v701) () + let v706 : string = "result" + let v707 : string = $"{v706}" + let v710 : unit = () + let v711 : (unit -> unit) = closure11(v628, v707) + let v712 : unit = (fun () -> v711 (); v710) () + let v715 : string = $"{v647}" + let v718 : unit = () + let v719 : (unit -> unit) = closure11(v628, v715) + let v720 : unit = (fun () -> v719 (); v718) () + let v723 : string = $"{v1}" + let v726 : unit = () + let v727 : (unit -> unit) = closure11(v628, v723) + let v728 : unit = (fun () -> v727 (); v726) () + let v731 : string = " }" + let v732 : string = $"{v731}" + let v735 : unit = () + let v736 : (unit -> unit) = closure11(v628, v732) + let v737 : unit = (fun () -> v736 (); v735) () + let v740 : string = v628.l0 + let v741 : (unit -> string) = closure95() + let v742 : string = $"{v485} {v620} #{v626} %s{v741 ()} / {v740}" + let v745 : char list = [] + let v746 : (char list -> (char [])) = List.toArray + let v747 : (char []) = v746 v745 + let v750 : string = v742.TrimStart v747 + let v768 : char list = [] + let v769 : char list = '/' :: v768 + let v772 : char list = ' ' :: v769 + let v775 : (char list -> (char [])) = List.toArray + let v776 : (char []) = v775 v772 + let v779 : string = v750.TrimEnd v776 + let v797 : (string -> unit) = closure13() + let v798 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v726 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v707 v726 - let _v725 = () + let v799 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v779 v799 + let _v798 = () #endif #if FABLE_COMPILER_RUST && WASM - let v727 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v707 v727 - let _v725 = () + let v800 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v779 v800 + let _v798 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v728 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v707 v728 - let _v725 = () + let v801 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v779 v801 + let _v798 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v707 - let _v725 = () + v797 v779 + let _v798 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v707 - let _v725 = () + v797 v779 + let _v798 = () #endif #else - System.Console.WriteLine v707 - let _v725 = () + v797 v779 + let _v798 = () #endif - _v725 - let v729 : (string -> unit) = v9.l0 - v729 v707 + _v798 + let v802 : (string -> unit) = v19.l0 + v802 v779 and method92 (v0 : bool, v1 : string, v2 : string, v3 : string, v4 : string) : US32 = let v5 : bool = "html" = v4 let v47 : string = @@ -14861,12 +14887,12 @@ and method92 (v0 : bool, v1 : string, v2 : string, v3 : string, v4 : string) : U let v63 : bool = v61.Contains v62 if v63 then let v66 : unit = () - let v67 : (unit -> unit) = closure93(v1, v61, v60) + let v67 : (unit -> unit) = closure94(v1, v61, v60) let v68 : unit = (fun () -> v67 (); v66) () US32_1(v60, v61) else US32_0(v60, v61) -and closure92 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : US30 = +and closure93 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : US30 = let struct (v5 : string, v6 : string) = method77(v4, v3, v0) let v7 : bool = method82(v5) let v9 : bool = @@ -15080,453 +15106,454 @@ and closure92 (v0 : string, v1 : string, v2 : bool, v3 : string) (v4 : string) : if v222 then let v223 : US32 = method92(v2, v5, v3, v1, v4) match v223 with - | US32_1(v240, v241) -> (* Error *) - let v242 : (string * string) = v5, v241 - let v243 : Result = Error v242 - US30_0(v243) + | US32_1(v1007, v1008) -> (* Error *) + let v1009 : (string * string) = v5, v1008 + let v1010 : Result = Error v1009 + US30_0(v1010) | US32_0(v224, v225) -> (* Ok *) let v226 : bool = v224 <> 0 if v226 then let v229 : unit = () - let v230 : (unit -> unit) = closure89(v225, v224) + let v230 : (unit -> unit) = closure90(v225, v224) let v231 : unit = (fun () -> v230 (); v229) () - let v232 : (string * string) = v5, v225 - let v233 : Result = Error v232 - US30_0(v233) + let v999 : (string * string) = v5, v225 + let v1000 : Result = Error v999 + US30_0(v1000) else - let v235 : bool = method82(v5) - if v235 then + let v1002 : bool = method82(v5) + if v1002 then method83(v6, v5) else - let v236 : string = $"documents.files_fn / {v5} should exist" - failwith v236 - let v237 : Result = Ok v5 - US30_0(v237) + let v1003 : string = $"documents.files_fn / {v5} should exist" + failwith v1003 + let v1004 : Result = Ok v5 + US30_0(v1004) else US30_1 -and closure91 (v0 : string, v1 : string, v2 : bool) (v3 : string) : (string -> US30) = - closure92(v0, v1, v2, v3) -and closure96 () () : string = +and closure92 (v0 : string, v1 : string, v2 : bool) (v3 : string) : (string -> US30) = + closure93(v0, v1, v2, v3) +and closure97 () () : string = let v0 : string = "documents.run / par_map / files' = [] / listm.iter" v0 -and closure95 (v0 : string, v1 : string) () : unit = +and closure96 (v0 : string, v1 : string) () : unit = let v2 : unit = () let v3 : (unit -> unit) = closure7() let v4 : unit = (fun () -> v3 (); v2) () - let struct (v7 : Mut0, v8 : Mut1, v9 : Mut2, v10 : Mut3, v11 : int64 option) = State.trace_state.Value - let v22 : unit = () - let v23 : unit = (fun () -> v3 (); v22) () - let struct (v26 : Mut0, v27 : Mut1, v28 : Mut2, v29 : Mut3, v30 : int64 option) = State.trace_state.Value - let v41 : US0 = v29.l0 - let v42 : bool = v28.l0 - let v43 : bool = v42 = false - let v46 : bool = - if v43 then + let struct (v17 : Mut0, v18 : Mut1, v19 : Mut2, v20 : Mut3, v21 : int64 option) = State.trace_state.Value + let v32 : unit = () + let v33 : unit = (fun () -> v3 (); v32) () + let struct (v46 : Mut0, v47 : Mut1, v48 : Mut2, v49 : Mut3, v50 : int64 option) = State.trace_state.Value + let v61 : US0 = v49.l0 + let v62 : bool = v48.l0 + let v63 : bool = v62 = false + let v66 : bool = + if v63 then false else - let v44 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v41 - let v45 : bool = 2 >= v44 - v45 - if v46 then - let v47 : unit = () - let v48 : (unit -> unit) = closure8(v7) - let v49 : unit = (fun () -> v48 (); v47) () - let v50 : unit = () - let v51 : unit = (fun () -> v3 (); v50) () - let struct (v54 : Mut0, v55 : Mut1, v56 : Mut2, v57 : Mut3, v58 : int64 option) = State.trace_state.Value - let v69 : unit = () + let v64 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v61 + let v65 : bool = 2 >= v64 + v65 + if v66 then + let v67 : unit = () + let v68 : (unit -> unit) = closure8(v17) + let v69 : unit = (fun () -> v68 (); v67) () + let v72 : unit = () + let v73 : unit = (fun () -> v3 (); v72) () + let struct (v86 : Mut0, v87 : Mut1, v88 : Mut2, v89 : Mut3, v90 : int64 option) = State.trace_state.Value + let v101 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v70 : US3 option = None - let _v70 = ref v70 - let v71 : US3 option ref = _v70 - let v72 : (US3 option -> US3 option ref) = closure9(v71) - let v73 : unit = () - let v74 : (unit -> unit) = closure10(v58, v72) - let v75 : unit = (fun () -> v74 (); v73) () - let v76 : US3 option = _v70.Value - let v87 : US3 = US3_1 - let v88 : US3 = v76 |> Option.defaultValue v87 - let v128 : System.DateTime = - match v88 with + let v102 : US3 option = None + let _v102 = ref v102 + let v103 : US3 option ref = _v102 + let v104 : (US3 option -> US3 option ref) = closure9(v103) + let v105 : unit = () + let v106 : (unit -> unit) = closure10(v90, v104) + let v107 : unit = (fun () -> v106 (); v105) () + let v110 : US3 option = _v102.Value + let v121 : US3 = US3_1 + let v122 : US3 = v110 |> Option.defaultValue v121 + let v162 : System.DateTime = + match v122 with | US3_1 -> (* None *) - let v124 : System.DateTime = System.DateTime.Now - v124 - | US3_0(v92) -> (* Some *) - let v93 : System.DateTime = System.DateTime.Now - let v96 : (System.DateTime -> int64) = _.Ticks - let v97 : int64 = v96 v93 - let v100 : int64 = v97 - v92 - let v101 : (int64 -> System.TimeSpan) = System.TimeSpan - let v102 : System.TimeSpan = v101 v100 - let v105 : (System.TimeSpan -> int32) = _.Hours - let v106 : int32 = v105 v102 - let v109 : (System.TimeSpan -> int32) = _.Minutes - let v110 : int32 = v109 v102 - let v113 : (System.TimeSpan -> int32) = _.Seconds - let v114 : int32 = v113 v102 - let v117 : (System.TimeSpan -> int32) = _.Milliseconds - let v118 : int32 = v117 v102 - let v121 : System.DateTime = System.DateTime (1, 1, 1, v106, v110, v114, v118) - v121 - let v129 : string = method6() - let v132 : (string -> string) = v128.ToString - let v133 : string = v132 v129 - let _v69 = v133 + let v158 : System.DateTime = System.DateTime.Now + v158 + | US3_0(v126) -> (* Some *) + let v127 : System.DateTime = System.DateTime.Now + let v130 : (System.DateTime -> int64) = _.Ticks + let v131 : int64 = v130 v127 + let v134 : int64 = v131 - v126 + let v135 : (int64 -> System.TimeSpan) = System.TimeSpan + let v136 : System.TimeSpan = v135 v134 + let v139 : (System.TimeSpan -> int32) = _.Hours + let v140 : int32 = v139 v136 + let v143 : (System.TimeSpan -> int32) = _.Minutes + let v144 : int32 = v143 v136 + let v147 : (System.TimeSpan -> int32) = _.Seconds + let v148 : int32 = v147 v136 + let v151 : (System.TimeSpan -> int32) = _.Milliseconds + let v152 : int32 = v151 v136 + let v155 : System.DateTime = System.DateTime (1, 1, 1, v140, v144, v148, v152) + v155 + let v163 : string = method6() + let v166 : (string -> string) = v162.ToString + let v167 : string = v166 v163 + let _v101 = v167 #endif #if FABLE_COMPILER_RUST && WASM - let v136 : US3 option = None - let _v136 = ref v136 - let v137 : US3 option ref = _v136 - let v138 : (US3 option -> US3 option ref) = closure9(v137) - let v139 : unit = () - let v140 : (unit -> unit) = closure10(v58, v138) - let v141 : unit = (fun () -> v140 (); v139) () - let v142 : US3 option = _v136.Value - let v153 : US3 = US3_1 - let v154 : US3 = v142 |> Option.defaultValue v153 - let v194 : System.DateTime = - match v154 with + let v170 : US3 option = None + let _v170 = ref v170 + let v171 : US3 option ref = _v170 + let v172 : (US3 option -> US3 option ref) = closure9(v171) + let v173 : unit = () + let v174 : (unit -> unit) = closure10(v90, v172) + let v175 : unit = (fun () -> v174 (); v173) () + let v178 : US3 option = _v170.Value + let v189 : US3 = US3_1 + let v190 : US3 = v178 |> Option.defaultValue v189 + let v230 : System.DateTime = + match v190 with | US3_1 -> (* None *) - let v190 : System.DateTime = System.DateTime.Now - v190 - | US3_0(v158) -> (* Some *) - let v159 : System.DateTime = System.DateTime.Now - let v162 : (System.DateTime -> int64) = _.Ticks - let v163 : int64 = v162 v159 - let v166 : int64 = v163 - v158 - let v167 : (int64 -> System.TimeSpan) = System.TimeSpan - let v168 : System.TimeSpan = v167 v166 - let v171 : (System.TimeSpan -> int32) = _.Hours - let v172 : int32 = v171 v168 - let v175 : (System.TimeSpan -> int32) = _.Minutes - let v176 : int32 = v175 v168 - let v179 : (System.TimeSpan -> int32) = _.Seconds - let v180 : int32 = v179 v168 - let v183 : (System.TimeSpan -> int32) = _.Milliseconds - let v184 : int32 = v183 v168 - let v187 : System.DateTime = System.DateTime (1, 1, 1, v172, v176, v180, v184) - v187 - let v195 : string = method6() - let v198 : (string -> string) = v194.ToString - let v199 : string = v198 v195 - let _v69 = v199 + let v226 : System.DateTime = System.DateTime.Now + v226 + | US3_0(v194) -> (* Some *) + let v195 : System.DateTime = System.DateTime.Now + let v198 : (System.DateTime -> int64) = _.Ticks + let v199 : int64 = v198 v195 + let v202 : int64 = v199 - v194 + let v203 : (int64 -> System.TimeSpan) = System.TimeSpan + let v204 : System.TimeSpan = v203 v202 + let v207 : (System.TimeSpan -> int32) = _.Hours + let v208 : int32 = v207 v204 + let v211 : (System.TimeSpan -> int32) = _.Minutes + let v212 : int32 = v211 v204 + let v215 : (System.TimeSpan -> int32) = _.Seconds + let v216 : int32 = v215 v204 + let v219 : (System.TimeSpan -> int32) = _.Milliseconds + let v220 : int32 = v219 v204 + let v223 : System.DateTime = System.DateTime (1, 1, 1, v208, v212, v216, v220) + v223 + let v231 : string = method6() + let v234 : (string -> string) = v230.ToString + let v235 : string = v234 v231 + let _v101 = v235 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v202 : string = $"near_sdk::env::block_timestamp()" - let v203 : uint64 = Fable.Core.RustInterop.emitRustExpr () v202 - let v204 : US3 option = None - let _v204 = ref v204 - let v205 : US3 option ref = _v204 - let v206 : (US3 option -> US3 option ref) = closure9(v205) - let v207 : unit = () - let v208 : (unit -> unit) = closure10(v58, v206) - let v209 : unit = (fun () -> v208 (); v207) () - let v210 : US3 option = _v204.Value - let v221 : US3 = US3_1 - let v222 : US3 = v210 |> Option.defaultValue v221 - let v231 : uint64 = - match v222 with - | US3_1 -> (* None *) - v203 - | US3_0(v226) -> (* Some *) - let v227 : (int64 -> uint64) = uint64 - let v228 : uint64 = v227 v226 - let v229 : uint64 = v203 - v228 - v229 - let v232 : uint64 = v231 / 1000000000UL - let v233 : uint64 = v232 % 60UL - let v234 : uint64 = v232 / 60UL - let v235 : uint64 = v234 % 60UL - let v236 : uint64 = v232 / 3600UL - let v237 : uint64 = v236 % 24UL - let v238 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v239 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v237, v235, v233) v238 - let v240 : string = "fable_library_rust::String_::fromString($0)" - let v241 : string = Fable.Core.RustInterop.emitRustExpr v239 v240 - let _v69 = v241 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v242 : US3 option = None - let _v242 = ref v242 - let v243 : US3 option ref = _v242 - let v244 : (US3 option -> US3 option ref) = closure9(v243) - let v245 : unit = () - let v246 : (unit -> unit) = closure10(v58, v244) - let v247 : unit = (fun () -> v246 (); v245) () - let v248 : US3 option = _v242.Value + let v238 : string = $"near_sdk::env::block_timestamp()" + let v239 : uint64 = Fable.Core.RustInterop.emitRustExpr () v238 + let v240 : US3 option = None + let _v240 = ref v240 + let v241 : US3 option ref = _v240 + let v242 : (US3 option -> US3 option ref) = closure9(v241) + let v243 : unit = () + let v244 : (unit -> unit) = closure10(v90, v242) + let v245 : unit = (fun () -> v244 (); v243) () + let v248 : US3 option = _v240.Value let v259 : US3 = US3_1 let v260 : US3 = v248 |> Option.defaultValue v259 - let v300 : System.DateTime = + let v269 : uint64 = match v260 with | US3_1 -> (* None *) - let v296 : System.DateTime = System.DateTime.Now - v296 + v239 | US3_0(v264) -> (* Some *) - let v265 : System.DateTime = System.DateTime.Now - let v268 : (System.DateTime -> int64) = _.Ticks - let v269 : int64 = v268 v265 - let v272 : int64 = v269 - v264 - let v273 : (int64 -> System.TimeSpan) = System.TimeSpan - let v274 : System.TimeSpan = v273 v272 - let v277 : (System.TimeSpan -> int32) = _.Hours - let v278 : int32 = v277 v274 - let v281 : (System.TimeSpan -> int32) = _.Minutes - let v282 : int32 = v281 v274 - let v285 : (System.TimeSpan -> int32) = _.Seconds - let v286 : int32 = v285 v274 - let v289 : (System.TimeSpan -> int32) = _.Milliseconds - let v290 : int32 = v289 v274 - let v293 : System.DateTime = System.DateTime (1, 1, 1, v278, v282, v286, v290) - v293 - let v301 : string = method7() - let v304 : (string -> string) = v300.ToString - let v305 : string = v304 v301 - let _v69 = v305 + let v265 : (int64 -> uint64) = uint64 + let v266 : uint64 = v265 v264 + let v267 : uint64 = v239 - v266 + v267 + let v270 : uint64 = v269 / 1000000000UL + let v271 : uint64 = v270 % 60UL + let v272 : uint64 = v270 / 60UL + let v273 : uint64 = v272 % 60UL + let v274 : uint64 = v270 / 3600UL + let v275 : uint64 = v274 % 24UL + let v276 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v277 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v275, v273, v271) v276 + let v278 : string = "fable_library_rust::String_::fromString($0)" + let v279 : string = Fable.Core.RustInterop.emitRustExpr v277 v278 + let _v101 = v279 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v280 : US3 option = None + let _v280 = ref v280 + let v281 : US3 option ref = _v280 + let v282 : (US3 option -> US3 option ref) = closure9(v281) + let v283 : unit = () + let v284 : (unit -> unit) = closure10(v90, v282) + let v285 : unit = (fun () -> v284 (); v283) () + let v288 : US3 option = _v280.Value + let v299 : US3 = US3_1 + let v300 : US3 = v288 |> Option.defaultValue v299 + let v340 : System.DateTime = + match v300 with + | US3_1 -> (* None *) + let v336 : System.DateTime = System.DateTime.Now + v336 + | US3_0(v304) -> (* Some *) + let v305 : System.DateTime = System.DateTime.Now + let v308 : (System.DateTime -> int64) = _.Ticks + let v309 : int64 = v308 v305 + let v312 : int64 = v309 - v304 + let v313 : (int64 -> System.TimeSpan) = System.TimeSpan + let v314 : System.TimeSpan = v313 v312 + let v317 : (System.TimeSpan -> int32) = _.Hours + let v318 : int32 = v317 v314 + let v321 : (System.TimeSpan -> int32) = _.Minutes + let v322 : int32 = v321 v314 + let v325 : (System.TimeSpan -> int32) = _.Seconds + let v326 : int32 = v325 v314 + let v329 : (System.TimeSpan -> int32) = _.Milliseconds + let v330 : int32 = v329 v314 + let v333 : System.DateTime = System.DateTime (1, 1, 1, v318, v322, v326, v330) + v333 + let v341 : string = method7() + let v344 : (string -> string) = v340.ToString + let v345 : string = v344 v341 + let _v101 = v345 #endif #if FABLE_COMPILER_PYTHON - let v308 : US3 option = None - let _v308 = ref v308 - let v309 : US3 option ref = _v308 - let v310 : (US3 option -> US3 option ref) = closure9(v309) - let v311 : unit = () - let v312 : (unit -> unit) = closure10(v58, v310) - let v313 : unit = (fun () -> v312 (); v311) () - let v314 : US3 option = _v308.Value - let v325 : US3 = US3_1 - let v326 : US3 = v314 |> Option.defaultValue v325 - let v366 : System.DateTime = - match v326 with + let v348 : US3 option = None + let _v348 = ref v348 + let v349 : US3 option ref = _v348 + let v350 : (US3 option -> US3 option ref) = closure9(v349) + let v351 : unit = () + let v352 : (unit -> unit) = closure10(v90, v350) + let v353 : unit = (fun () -> v352 (); v351) () + let v356 : US3 option = _v348.Value + let v367 : US3 = US3_1 + let v368 : US3 = v356 |> Option.defaultValue v367 + let v408 : System.DateTime = + match v368 with | US3_1 -> (* None *) - let v362 : System.DateTime = System.DateTime.Now - v362 - | US3_0(v330) -> (* Some *) - let v331 : System.DateTime = System.DateTime.Now - let v334 : (System.DateTime -> int64) = _.Ticks - let v335 : int64 = v334 v331 - let v338 : int64 = v335 - v330 - let v339 : (int64 -> System.TimeSpan) = System.TimeSpan - let v340 : System.TimeSpan = v339 v338 - let v343 : (System.TimeSpan -> int32) = _.Hours - let v344 : int32 = v343 v340 - let v347 : (System.TimeSpan -> int32) = _.Minutes - let v348 : int32 = v347 v340 - let v351 : (System.TimeSpan -> int32) = _.Seconds - let v352 : int32 = v351 v340 - let v355 : (System.TimeSpan -> int32) = _.Milliseconds - let v356 : int32 = v355 v340 - let v359 : System.DateTime = System.DateTime (1, 1, 1, v344, v348, v352, v356) - v359 - let v367 : string = method7() - let v370 : (string -> string) = v366.ToString - let v371 : string = v370 v367 - let _v69 = v371 + let v404 : System.DateTime = System.DateTime.Now + v404 + | US3_0(v372) -> (* Some *) + let v373 : System.DateTime = System.DateTime.Now + let v376 : (System.DateTime -> int64) = _.Ticks + let v377 : int64 = v376 v373 + let v380 : int64 = v377 - v372 + let v381 : (int64 -> System.TimeSpan) = System.TimeSpan + let v382 : System.TimeSpan = v381 v380 + let v385 : (System.TimeSpan -> int32) = _.Hours + let v386 : int32 = v385 v382 + let v389 : (System.TimeSpan -> int32) = _.Minutes + let v390 : int32 = v389 v382 + let v393 : (System.TimeSpan -> int32) = _.Seconds + let v394 : int32 = v393 v382 + let v397 : (System.TimeSpan -> int32) = _.Milliseconds + let v398 : int32 = v397 v382 + let v401 : System.DateTime = System.DateTime (1, 1, 1, v386, v390, v394, v398) + v401 + let v409 : string = method7() + let v412 : (string -> string) = v408.ToString + let v413 : string = v412 v409 + let _v101 = v413 #endif #else - let v374 : US3 option = None - let _v374 = ref v374 - let v375 : US3 option ref = _v374 - let v376 : (US3 option -> US3 option ref) = closure9(v375) - let v377 : unit = () - let v378 : (unit -> unit) = closure10(v58, v376) - let v379 : unit = (fun () -> v378 (); v377) () - let v380 : US3 option = _v374.Value - let v391 : US3 = US3_1 - let v392 : US3 = v380 |> Option.defaultValue v391 - let v432 : System.DateTime = - match v392 with + let v416 : US3 option = None + let _v416 = ref v416 + let v417 : US3 option ref = _v416 + let v418 : (US3 option -> US3 option ref) = closure9(v417) + let v419 : unit = () + let v420 : (unit -> unit) = closure10(v90, v418) + let v421 : unit = (fun () -> v420 (); v419) () + let v424 : US3 option = _v416.Value + let v435 : US3 = US3_1 + let v436 : US3 = v424 |> Option.defaultValue v435 + let v476 : System.DateTime = + match v436 with | US3_1 -> (* None *) - let v428 : System.DateTime = System.DateTime.Now - v428 - | US3_0(v396) -> (* Some *) - let v397 : System.DateTime = System.DateTime.Now - let v400 : (System.DateTime -> int64) = _.Ticks - let v401 : int64 = v400 v397 - let v404 : int64 = v401 - v396 - let v405 : (int64 -> System.TimeSpan) = System.TimeSpan - let v406 : System.TimeSpan = v405 v404 - let v409 : (System.TimeSpan -> int32) = _.Hours - let v410 : int32 = v409 v406 - let v413 : (System.TimeSpan -> int32) = _.Minutes - let v414 : int32 = v413 v406 - let v417 : (System.TimeSpan -> int32) = _.Seconds - let v418 : int32 = v417 v406 - let v421 : (System.TimeSpan -> int32) = _.Milliseconds - let v422 : int32 = v421 v406 - let v425 : System.DateTime = System.DateTime (1, 1, 1, v410, v414, v418, v422) - v425 - let v433 : string = method7() - let v436 : (string -> string) = v432.ToString - let v437 : string = v436 v433 - let _v69 = v437 - #endif - let v440 : string = _v69 - let v508 : string = "Info" - let v509 : (unit -> string) = v508.ToLower - let v510 : string = v509 () - let v513 : string = v510.PadLeft (7, ' ') - let v527 : unit = () + let v472 : System.DateTime = System.DateTime.Now + v472 + | US3_0(v440) -> (* Some *) + let v441 : System.DateTime = System.DateTime.Now + let v444 : (System.DateTime -> int64) = _.Ticks + let v445 : int64 = v444 v441 + let v448 : int64 = v445 - v440 + let v449 : (int64 -> System.TimeSpan) = System.TimeSpan + let v450 : System.TimeSpan = v449 v448 + let v453 : (System.TimeSpan -> int32) = _.Hours + let v454 : int32 = v453 v450 + let v457 : (System.TimeSpan -> int32) = _.Minutes + let v458 : int32 = v457 v450 + let v461 : (System.TimeSpan -> int32) = _.Seconds + let v462 : int32 = v461 v450 + let v465 : (System.TimeSpan -> int32) = _.Milliseconds + let v466 : int32 = v465 v450 + let v469 : System.DateTime = System.DateTime (1, 1, 1, v454, v458, v462, v466) + v469 + let v477 : string = method7() + let v480 : (string -> string) = v476.ToString + let v481 : string = v480 v477 + let _v101 = v481 + #endif + let v484 : string = _v101 + let v554 : string = "Info" + let v555 : (unit -> string) = v554.ToLower + let v556 : string = v555 () + let v559 : string = v556.PadLeft (7, ' ') + let v573 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v528 : string = "inline_colorization::color_bright_green" - let v529 : Ref = Fable.Core.RustInterop.emitRustExpr () v528 - let v530 : string = "&*$0" - let v531 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v530 - let v532 : string = "inline_colorization::color_reset" - let v533 : Ref = Fable.Core.RustInterop.emitRustExpr () v532 - let v534 : string = "\"{v529}{v531}{v533}\"" - let v535 : string = @$"format!(" + v534 + ")" - let v536 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v535 - let v537 : string = "fable_library_rust::String_::fromString($0)" - let v538 : string = Fable.Core.RustInterop.emitRustExpr v536 v537 - let _v527 = v538 + let v574 : string = "inline_colorization::color_bright_green" + let v575 : Ref = Fable.Core.RustInterop.emitRustExpr () v574 + let v576 : string = "&*$0" + let v577 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v576 + let v578 : string = "inline_colorization::color_reset" + let v579 : Ref = Fable.Core.RustInterop.emitRustExpr () v578 + let v580 : string = "\"{v575}{v577}{v579}\"" + let v581 : string = @$"format!(" + v580 + ")" + let v582 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v581 + let v583 : string = "fable_library_rust::String_::fromString($0)" + let v584 : string = Fable.Core.RustInterop.emitRustExpr v582 v583 + let _v573 = v584 #endif #if FABLE_COMPILER_RUST && WASM - let v539 : string = "inline_colorization::color_bright_green" - let v540 : Ref = Fable.Core.RustInterop.emitRustExpr () v539 - let v541 : string = "&*$0" - let v542 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v541 - let v543 : string = "inline_colorization::color_reset" - let v544 : Ref = Fable.Core.RustInterop.emitRustExpr () v543 - let v545 : string = "\"{v540}{v542}{v544}\"" - let v546 : string = @$"format!(" + v545 + ")" - let v547 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v546 - let v548 : string = "fable_library_rust::String_::fromString($0)" - let v549 : string = Fable.Core.RustInterop.emitRustExpr v547 v548 - let _v527 = v549 + let v585 : string = "inline_colorization::color_bright_green" + let v586 : Ref = Fable.Core.RustInterop.emitRustExpr () v585 + let v587 : string = "&*$0" + let v588 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v587 + let v589 : string = "inline_colorization::color_reset" + let v590 : Ref = Fable.Core.RustInterop.emitRustExpr () v589 + let v591 : string = "\"{v586}{v588}{v590}\"" + let v592 : string = @$"format!(" + v591 + ")" + let v593 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v592 + let v594 : string = "fable_library_rust::String_::fromString($0)" + let v595 : string = Fable.Core.RustInterop.emitRustExpr v593 v594 + let _v573 = v595 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v550 : string = "inline_colorization::color_bright_green" - let v551 : Ref = Fable.Core.RustInterop.emitRustExpr () v550 - let v552 : string = "&*$0" - let v553 : Ref = Fable.Core.RustInterop.emitRustExpr v513 v552 - let v554 : string = "inline_colorization::color_reset" - let v555 : Ref = Fable.Core.RustInterop.emitRustExpr () v554 - let v556 : string = "\"{v551}{v553}{v555}\"" - let v557 : string = @$"format!(" + v556 + ")" - let v558 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v557 - let v559 : string = "fable_library_rust::String_::fromString($0)" - let v560 : string = Fable.Core.RustInterop.emitRustExpr v558 v559 - let _v527 = v560 + let v596 : string = "inline_colorization::color_bright_green" + let v597 : Ref = Fable.Core.RustInterop.emitRustExpr () v596 + let v598 : string = "&*$0" + let v599 : Ref = Fable.Core.RustInterop.emitRustExpr v559 v598 + let v600 : string = "inline_colorization::color_reset" + let v601 : Ref = Fable.Core.RustInterop.emitRustExpr () v600 + let v602 : string = "\"{v597}{v599}{v601}\"" + let v603 : string = @$"format!(" + v602 + ")" + let v604 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v603 + let v605 : string = "fable_library_rust::String_::fromString($0)" + let v606 : string = Fable.Core.RustInterop.emitRustExpr v604 v605 + let _v573 = v606 #endif #if FABLE_COMPILER_TYPESCRIPT - let v561 : string = "\u001b[92m" - let v562 : string = method8() - let v563 : string = v561 + v513 - let v564 : string = v563 + v562 - let _v527 = v564 + let v607 : string = "\u001b[92m" + let v608 : string = method8() + let v609 : string = v607 + v559 + let v610 : string = v609 + v608 + let _v573 = v610 #endif #if FABLE_COMPILER_PYTHON - let v565 : string = "\u001b[92m" - let v566 : string = method8() - let v567 : string = v565 + v513 - let v568 : string = v567 + v566 - let _v527 = v568 + let v611 : string = "\u001b[92m" + let v612 : string = method8() + let v613 : string = v611 + v559 + let v614 : string = v613 + v612 + let _v573 = v614 #endif #else - let v569 : string = "\u001b[92m" - let v570 : string = method8() - let v571 : string = v569 + v513 - let v572 : string = v571 + v570 - let _v527 = v572 - #endif - let v573 : string = _v527 - let v579 : int64 = v54.l0 - let v580 : string = method9() - let v581 : Mut4 = {l0 = v580} : Mut4 - let v582 : string = "{ " - let v583 : string = $"{v582}" - let v586 : unit = () - let v587 : (unit -> unit) = closure11(v581, v583) - let v588 : unit = (fun () -> v587 (); v586) () - let v589 : string = "output_path" - let v590 : string = $"{v589}" - let v593 : unit = () - let v594 : (unit -> unit) = closure11(v581, v590) - let v595 : unit = (fun () -> v594 (); v593) () - let v596 : string = " = " - let v597 : string = $"{v596}" - let v600 : unit = () - let v601 : (unit -> unit) = closure11(v581, v597) - let v602 : unit = (fun () -> v601 (); v600) () - let v603 : string = $"{v1}" - let v606 : unit = () - let v607 : (unit -> unit) = closure11(v581, v603) - let v608 : unit = (fun () -> v607 (); v606) () - let v609 : string = "; " - let v610 : string = $"{v609}" - let v613 : unit = () - let v614 : (unit -> unit) = closure11(v581, v610) - let v615 : unit = (fun () -> v614 (); v613) () - let v616 : string = "output_cache_path" - let v617 : string = $"{v616}" - let v620 : unit = () - let v621 : (unit -> unit) = closure11(v581, v617) - let v622 : unit = (fun () -> v621 (); v620) () - let v623 : string = $"{v596}" - let v626 : unit = () - let v627 : (unit -> unit) = closure11(v581, v623) - let v628 : unit = (fun () -> v627 (); v626) () - let v629 : string = $"{v0}" + let v615 : string = "\u001b[92m" + let v616 : string = method8() + let v617 : string = v615 + v559 + let v618 : string = v617 + v616 + let _v573 = v618 + #endif + let v619 : string = _v573 + let v625 : int64 = v86.l0 + let v626 : string = method9() + let v627 : Mut4 = {l0 = v626} : Mut4 + let v628 : string = "{ " + let v629 : string = $"{v628}" let v632 : unit = () - let v633 : (unit -> unit) = closure11(v581, v629) + let v633 : (unit -> unit) = closure11(v627, v629) let v634 : unit = (fun () -> v633 (); v632) () - let v635 : string = " }" - let v636 : string = $"{v635}" - let v639 : unit = () - let v640 : (unit -> unit) = closure11(v581, v636) - let v641 : unit = (fun () -> v640 (); v639) () - let v642 : string = v581.l0 - let v643 : (unit -> string) = closure96() - let v644 : string = $"{v440} {v573} #{v579} %s{v643 ()} / {v642}" - let v647 : char list = [] - let v648 : (char list -> (char [])) = List.toArray - let v649 : (char []) = v648 v647 - let v652 : string = v644.TrimStart v649 - let v670 : char list = [] - let v671 : char list = '/' :: v670 - let v674 : char list = ' ' :: v671 - let v677 : (char list -> (char [])) = List.toArray - let v678 : (char []) = v677 v674 - let v681 : string = v652.TrimEnd v678 - let v699 : unit = () + let v637 : string = "output_path" + let v638 : string = $"{v637}" + let v641 : unit = () + let v642 : (unit -> unit) = closure11(v627, v638) + let v643 : unit = (fun () -> v642 (); v641) () + let v646 : string = " = " + let v647 : string = $"{v646}" + let v650 : unit = () + let v651 : (unit -> unit) = closure11(v627, v647) + let v652 : unit = (fun () -> v651 (); v650) () + let v655 : string = $"{v1}" + let v658 : unit = () + let v659 : (unit -> unit) = closure11(v627, v655) + let v660 : unit = (fun () -> v659 (); v658) () + let v663 : string = "; " + let v664 : string = $"{v663}" + let v667 : unit = () + let v668 : (unit -> unit) = closure11(v627, v664) + let v669 : unit = (fun () -> v668 (); v667) () + let v672 : string = "output_cache_path" + let v673 : string = $"{v672}" + let v676 : unit = () + let v677 : (unit -> unit) = closure11(v627, v673) + let v678 : unit = (fun () -> v677 (); v676) () + let v681 : string = $"{v646}" + let v684 : unit = () + let v685 : (unit -> unit) = closure11(v627, v681) + let v686 : unit = (fun () -> v685 (); v684) () + let v689 : string = $"{v0}" + let v692 : unit = () + let v693 : (unit -> unit) = closure11(v627, v689) + let v694 : unit = (fun () -> v693 (); v692) () + let v697 : string = " }" + let v698 : string = $"{v697}" + let v701 : unit = () + let v702 : (unit -> unit) = closure11(v627, v698) + let v703 : unit = (fun () -> v702 (); v701) () + let v706 : string = v627.l0 + let v707 : (unit -> string) = closure97() + let v708 : string = $"{v484} {v619} #{v625} %s{v707 ()} / {v706}" + let v711 : char list = [] + let v712 : (char list -> (char [])) = List.toArray + let v713 : (char []) = v712 v711 + let v716 : string = v708.TrimStart v713 + let v734 : char list = [] + let v735 : char list = '/' :: v734 + let v738 : char list = ' ' :: v735 + let v741 : (char list -> (char [])) = List.toArray + let v742 : (char []) = v741 v738 + let v745 : string = v716.TrimEnd v742 + let v763 : (string -> unit) = closure13() + let v764 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v700 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v700 - let _v699 = () + let v765 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v745 v765 + let _v764 = () #endif #if FABLE_COMPILER_RUST && WASM - let v701 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v701 - let _v699 = () + let v766 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v745 v766 + let _v764 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v702 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v681 v702 - let _v699 = () + let v767 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v745 v767 + let _v764 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v681 - let _v699 = () + v763 v745 + let _v764 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v681 - let _v699 = () + v763 v745 + let _v764 = () #endif #else - System.Console.WriteLine v681 - let _v699 = () + v763 v745 + let _v764 = () #endif - _v699 - let v703 : (string -> unit) = v8.l0 - v703 v681 + _v764 + let v768 : (string -> unit) = v18.l0 + v768 v745 and method93 (v0 : UH4, v1 : UH5 list) : UH5 list = match v0 with | UH4_1(v2, v3) -> (* Cons *) @@ -15547,7 +15574,7 @@ and method95 (v0 : UH5, v1 : struct (string * string * (string -> (string -> US3 v7 | UH5_0 -> (* Nil *) v1 -and closure97 () struct (v0 : string, v1 : string, v2 : (string -> (string -> US30))) : Result option = +and closure98 () struct (v0 : string, v1 : string, v2 : (string -> (string -> US30))) : Result option = let v3 : (string -> US30) = v2 v1 let v4 : US30 = v3 v0 match v4 with @@ -15561,7 +15588,7 @@ and method96 (v0 : Vec option>) : Vec option>) : Vec option> = v0 -and closure32 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) (v5 : string) : Result<(string * Vec option>), std_string_String> = +and closure34 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) (v5 : string) : Result<(string * Vec option>), std_string_String> = let v6 : string = method24(v5) let v7 : string = "&*$0" let v8 : Ref = Fable.Core.RustInterop.emitRustExpr v6 v7 @@ -15646,7 +15673,7 @@ and closure32 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) let v83 : bool = true let v84 : bool = v58.Contains v72 let v87 : bool = v84 = false - let v339 : UH4 = + let v1406 : UH4 = if v87 then let v88 : string = method25(v60) let v89 : string = "std::fs::File::open(&*v88)" @@ -15868,697 +15895,698 @@ and closure32 (v0 : string, v1 : string, v2 : string, v3 : string, v4 : string) v307 if v310 then let v311 : unit = () - let v312 : (unit -> unit) = closure82(v43, v44, v46, v58, v57, v60, v72, v71, v74, v192, v301) + let v312 : (unit -> unit) = closure83(v43, v44, v46, v58, v57, v60, v72, v71, v74, v192, v301) let v313 : unit = (fun () -> v312 (); v311) () method83(v74, v60) - let v314 : (string -> (string -> US30)) = closure84(v4, v3, v1, v0) - let v315 : UH5 = UH5_0 - let v316 : UH5 = UH5_1(v75, v60, v314, v315) - let v317 : string = "html" - let v318 : (string -> (string -> US30)) = closure91(v4, v3, v78) - let v319 : string = "pdf" - let v320 : (string -> (string -> US30)) = closure91(v4, v3, v79) - let v321 : string = "epub" - let v322 : (string -> (string -> US30)) = closure91(v4, v3, v80) - let v323 : (string -> (string -> US30)) = closure91(v4, v3, v81) - let v324 : (string -> (string -> US30)) = closure91(v4, v3, v82) - let v325 : (string -> (string -> US30)) = closure91(v4, v3, v83) - let v326 : UH5 = UH5_0 - let v327 : UH5 = UH5_1(v321, v76, v325, v326) - let v328 : UH5 = UH5_1(v319, v76, v324, v327) - let v329 : UH5 = UH5_1(v317, v76, v323, v328) - let v330 : UH5 = UH5_1(v321, v60, v322, v329) - let v331 : UH5 = UH5_1(v319, v60, v320, v330) - let v332 : UH5 = UH5_1(v317, v60, v318, v331) - let v333 : UH4 = UH4_0 - let v334 : UH4 = UH4_1(v332, v333) - UH4_1(v316, v334) + let v1381 : (string -> (string -> US30)) = closure85(v4, v3, v1, v0) + let v1382 : UH5 = UH5_0 + let v1383 : UH5 = UH5_1(v75, v60, v1381, v1382) + let v1384 : string = "html" + let v1385 : (string -> (string -> US30)) = closure92(v4, v3, v78) + let v1386 : string = "pdf" + let v1387 : (string -> (string -> US30)) = closure92(v4, v3, v79) + let v1388 : string = "epub" + let v1389 : (string -> (string -> US30)) = closure92(v4, v3, v80) + let v1390 : (string -> (string -> US30)) = closure92(v4, v3, v81) + let v1391 : (string -> (string -> US30)) = closure92(v4, v3, v82) + let v1392 : (string -> (string -> US30)) = closure92(v4, v3, v83) + let v1393 : UH5 = UH5_0 + let v1394 : UH5 = UH5_1(v1388, v76, v1392, v1393) + let v1395 : UH5 = UH5_1(v1386, v76, v1391, v1394) + let v1396 : UH5 = UH5_1(v1384, v76, v1390, v1395) + let v1397 : UH5 = UH5_1(v1388, v60, v1389, v1396) + let v1398 : UH5 = UH5_1(v1386, v60, v1387, v1397) + let v1399 : UH5 = UH5_1(v1384, v60, v1385, v1398) + let v1400 : UH4 = UH4_0 + let v1401 : UH4 = UH4_1(v1399, v1400) + UH4_1(v1383, v1401) else UH4_0 else UH4_0 - let v340 : bool = - match v339 with + let v1407 : bool = + match v1406 with | UH4_0 -> (* Nil *) true | _ -> false - let v341 : bool = v340 <> true - let v443 : UH4 = - if v341 then - v339 + let v1408 : bool = v1407 <> true + let v6879 : UH4 = + if v1408 then + v1406 else - let v342 : string = "epub" - let struct (v343 : string, v344 : string) = method77(v342, v76, v4) - let v345 : bool = method82(v343) - let v346 : bool = v345 = false - let v352 : bool = - if v346 then - let v347 : bool = method82(v344) - if v347 then - let v348 : unit = () - let v349 : (unit -> unit) = closure95(v344, v343) - let v350 : unit = (fun () -> v349 (); v348) () - method83(v343, v344) + let v1409 : string = "epub" + let struct (v1410 : string, v1411 : string) = method77(v1409, v76, v4) + let v1412 : bool = method82(v1410) + let v1413 : bool = v1412 = false + let v2186 : bool = + if v1413 then + let v1414 : bool = method82(v1411) + if v1414 then + let v1415 : unit = () + let v1416 : (unit -> unit) = closure96(v1411, v1410) + let v1417 : unit = (fun () -> v1416 (); v1415) () + method83(v1410, v1411) false else true else true - let v357 : UH5 = - if v352 then - let v353 : (string -> (string -> US30)) = closure91(v4, v3, v83) - let v354 : UH5 = UH5_0 - UH5_1(v342, v76, v353, v354) + let v2191 : UH5 = + if v2186 then + let v2187 : (string -> (string -> US30)) = closure92(v4, v3, v83) + let v2188 : UH5 = UH5_0 + UH5_1(v1409, v76, v2187, v2188) else UH5_0 - let v358 : string = "pdf" - let struct (v359 : string, v360 : string) = method77(v358, v76, v4) - let v361 : bool = method82(v359) - let v362 : bool = v361 = false - let v368 : bool = - if v362 then - let v363 : bool = method82(v360) - if v363 then - let v364 : unit = () - let v365 : (unit -> unit) = closure95(v360, v359) - let v366 : unit = (fun () -> v365 (); v364) () - method83(v359, v360) + let v2192 : string = "pdf" + let struct (v2193 : string, v2194 : string) = method77(v2192, v76, v4) + let v2195 : bool = method82(v2193) + let v2196 : bool = v2195 = false + let v2969 : bool = + if v2196 then + let v2197 : bool = method82(v2194) + if v2197 then + let v2198 : unit = () + let v2199 : (unit -> unit) = closure96(v2194, v2193) + let v2200 : unit = (fun () -> v2199 (); v2198) () + method83(v2193, v2194) false else true else true - let v371 : UH5 = - if v368 then - let v369 : (string -> (string -> US30)) = closure91(v4, v3, v82) - UH5_1(v358, v76, v369, v357) + let v2972 : UH5 = + if v2969 then + let v2970 : (string -> (string -> US30)) = closure92(v4, v3, v82) + UH5_1(v2192, v76, v2970, v2191) else - v357 - let v372 : string = "html" - let struct (v373 : string, v374 : string) = method77(v372, v76, v4) - let v375 : bool = method82(v373) - let v376 : bool = v375 = false - let v382 : bool = - if v376 then - let v377 : bool = method82(v374) - if v377 then - let v378 : unit = () - let v379 : (unit -> unit) = closure95(v374, v373) - let v380 : unit = (fun () -> v379 (); v378) () - method83(v373, v374) + v2191 + let v2973 : string = "html" + let struct (v2974 : string, v2975 : string) = method77(v2973, v76, v4) + let v2976 : bool = method82(v2974) + let v2977 : bool = v2976 = false + let v3750 : bool = + if v2977 then + let v2978 : bool = method82(v2975) + if v2978 then + let v2979 : unit = () + let v2980 : (unit -> unit) = closure96(v2975, v2974) + let v2981 : unit = (fun () -> v2980 (); v2979) () + method83(v2974, v2975) false else true else true - let v385 : UH5 = - if v382 then - let v383 : (string -> (string -> US30)) = closure91(v4, v3, v81) - UH5_1(v372, v76, v383, v371) + let v3753 : UH5 = + if v3750 then + let v3751 : (string -> (string -> US30)) = closure92(v4, v3, v81) + UH5_1(v2973, v76, v3751, v2972) else - v371 - let struct (v386 : string, v387 : string) = method77(v342, v60, v4) - let v388 : bool = method82(v386) - let v389 : bool = v388 = false - let v395 : bool = - if v389 then - let v390 : bool = method82(v387) - if v390 then - let v391 : unit = () - let v392 : (unit -> unit) = closure95(v387, v386) - let v393 : unit = (fun () -> v392 (); v391) () - method83(v386, v387) + v2972 + let struct (v3754 : string, v3755 : string) = method77(v1409, v60, v4) + let v3756 : bool = method82(v3754) + let v3757 : bool = v3756 = false + let v4530 : bool = + if v3757 then + let v3758 : bool = method82(v3755) + if v3758 then + let v3759 : unit = () + let v3760 : (unit -> unit) = closure96(v3755, v3754) + let v3761 : unit = (fun () -> v3760 (); v3759) () + method83(v3754, v3755) false else true else true - let v398 : UH5 = - if v395 then - let v396 : (string -> (string -> US30)) = closure91(v4, v3, v80) - UH5_1(v342, v60, v396, v385) + let v4533 : UH5 = + if v4530 then + let v4531 : (string -> (string -> US30)) = closure92(v4, v3, v80) + UH5_1(v1409, v60, v4531, v3753) else - v385 - let struct (v399 : string, v400 : string) = method77(v358, v60, v4) - let v401 : bool = method82(v399) - let v402 : bool = v401 = false - let v408 : bool = - if v402 then - let v403 : bool = method82(v400) - if v403 then - let v404 : unit = () - let v405 : (unit -> unit) = closure95(v400, v399) - let v406 : unit = (fun () -> v405 (); v404) () - method83(v399, v400) + v3753 + let struct (v4534 : string, v4535 : string) = method77(v2192, v60, v4) + let v4536 : bool = method82(v4534) + let v4537 : bool = v4536 = false + let v5310 : bool = + if v4537 then + let v4538 : bool = method82(v4535) + if v4538 then + let v4539 : unit = () + let v4540 : (unit -> unit) = closure96(v4535, v4534) + let v4541 : unit = (fun () -> v4540 (); v4539) () + method83(v4534, v4535) false else true else true - let v411 : UH5 = - if v408 then - let v409 : (string -> (string -> US30)) = closure91(v4, v3, v79) - UH5_1(v358, v60, v409, v398) + let v5313 : UH5 = + if v5310 then + let v5311 : (string -> (string -> US30)) = closure92(v4, v3, v79) + UH5_1(v2192, v60, v5311, v4533) else - v398 - let struct (v412 : string, v413 : string) = method77(v372, v60, v4) - let v414 : bool = method82(v412) - let v415 : bool = v414 = false - let v421 : bool = - if v415 then - let v416 : bool = method82(v413) - if v416 then - let v417 : unit = () - let v418 : (unit -> unit) = closure95(v413, v412) - let v419 : unit = (fun () -> v418 (); v417) () - method83(v412, v413) + v4533 + let struct (v5314 : string, v5315 : string) = method77(v2973, v60, v4) + let v5316 : bool = method82(v5314) + let v5317 : bool = v5316 = false + let v6090 : bool = + if v5317 then + let v5318 : bool = method82(v5315) + if v5318 then + let v5319 : unit = () + let v5320 : (unit -> unit) = closure96(v5315, v5314) + let v5321 : unit = (fun () -> v5320 (); v5319) () + method83(v5314, v5315) false else true else true - let v424 : UH5 = - if v421 then - let v422 : (string -> (string -> US30)) = closure91(v4, v3, v78) - UH5_1(v372, v60, v422, v411) + let v6093 : UH5 = + if v6090 then + let v6091 : (string -> (string -> US30)) = closure92(v4, v3, v78) + UH5_1(v2973, v60, v6091, v5313) else - v411 - let struct (v425 : string, v426 : string) = method77(v75, v60, v4) - let v427 : bool = method82(v425) - let v428 : bool = v427 = false - let v434 : bool = - if v428 then - let v429 : bool = method82(v426) - if v429 then - let v430 : unit = () - let v431 : (unit -> unit) = closure95(v426, v425) - let v432 : unit = (fun () -> v431 (); v430) () - method83(v425, v426) + v5313 + let struct (v6094 : string, v6095 : string) = method77(v75, v60, v4) + let v6096 : bool = method82(v6094) + let v6097 : bool = v6096 = false + let v6870 : bool = + if v6097 then + let v6098 : bool = method82(v6095) + if v6098 then + let v6099 : unit = () + let v6100 : (unit -> unit) = closure96(v6095, v6094) + let v6101 : unit = (fun () -> v6100 (); v6099) () + method83(v6094, v6095) false else true else true - let v439 : UH5 = - if v434 then - let v435 : (string -> (string -> US30)) = closure84(v4, v3, v1, v0) - let v436 : UH5 = UH5_0 - UH5_1(v75, v60, v435, v436) + let v6875 : UH5 = + if v6870 then + let v6871 : (string -> (string -> US30)) = closure85(v4, v3, v1, v0) + let v6872 : UH5 = UH5_0 + UH5_1(v75, v60, v6871, v6872) else UH5_0 - let v440 : UH4 = UH4_0 - let v441 : UH4 = UH4_1(v424, v440) - UH4_1(v439, v441) - let v444 : UH5 list = [] - let v445 : UH5 list = method93(v443, v444) - let v446 : (UH5 list -> (UH5 [])) = List.toArray - let v447 : (UH5 []) = v446 v445 - let v450 : string = "$0.to_vec()" - let v451 : Vec = Fable.Core.RustInterop.emitRustExpr v447 v450 - let v452 : (Result option []) = [||] - let v453 : string = "$0.to_vec()" - let v454 : Vec option> = Fable.Core.RustInterop.emitRustExpr v452 v453 - let v455 : string = "fable_library_rust::NativeArray_::array_from($0)" - let v456 : (UH5 []) = Fable.Core.RustInterop.emitRustExpr v451 v455 - let v457 : int32 = v456.Length - let v458 : Mut9 = {l0 = 0; l1 = v454} : Mut9 - while method94(v457, v458) do - let v460 : int32 = v458.l0 - let v461 : Vec option> = v458.l1 - let v462 : UH5 = v456.[int v460] - let v463 : struct (string * string * (string -> (string -> US30))) list = [] - let v464 : struct (string * string * (string -> (string -> US30))) list = method95(v462, v463) - let v465 : (struct (string * string * (string -> (string -> US30))) list -> (struct (string * string * (string -> (string -> US30))) [])) = List.toArray - let v466 : (struct (string * string * (string -> (string -> US30))) []) = v465 v464 - let v469 : string = "$0.to_vec()" - let v470 : Vec (string -> US30)))> = Fable.Core.RustInterop.emitRustExpr v466 v469 - let v471 : string = "rayon::iter::IntoParallelIterator::into_par_iter($0)" - let v472 : rayon_vec_IntoIter (string -> US30)))> = Fable.Core.RustInterop.emitRustExpr v470 v471 - let v473 : string = "rayon::iter::ParallelIterator::map($0, |x| $1(x))" - let v474 : (struct (string * string * (string -> (string -> US30))) -> Result option) = closure97() - let v475 : rayon_iter_Map (string -> US30)))>> = Fable.Core.RustInterop.emitRustExpr struct (v472, v474) v473 - let v476 : string = "rayon::iter::ParallelIterator::collect($0)" - let v477 : Vec option> = Fable.Core.RustInterop.emitRustExpr v475 v476 - let v478 : Vec option> = method96(v477) - let v479 : Vec option> = method97(v461) - let v480 : string = "true; let mut v479 = v479" - let v481 : bool = Fable.Core.RustInterop.emitRustExpr () v480 - let v482 : string = "true; v479.extend(v478)" - let v483 : bool = Fable.Core.RustInterop.emitRustExpr () v482 - let v484 : string = "v479" - let v485 : Vec option> = Fable.Core.RustInterop.emitRustExpr () v484 - let v486 : int32 = v460 + 1 - v458.l0 <- v486 - v458.l1 <- v485 + let v6876 : UH4 = UH4_0 + let v6877 : UH4 = UH4_1(v6093, v6876) + UH4_1(v6875, v6877) + let v6880 : UH5 list = [] + let v6881 : UH5 list = method93(v6879, v6880) + let v6882 : (UH5 list -> (UH5 [])) = List.toArray + let v6883 : (UH5 []) = v6882 v6881 + let v6886 : string = "$0.to_vec()" + let v6887 : Vec = Fable.Core.RustInterop.emitRustExpr v6883 v6886 + let v6888 : (Result option []) = [||] + let v6889 : string = "$0.to_vec()" + let v6890 : Vec option> = Fable.Core.RustInterop.emitRustExpr v6888 v6889 + let v6891 : string = "fable_library_rust::NativeArray_::array_from($0)" + let v6892 : (UH5 []) = Fable.Core.RustInterop.emitRustExpr v6887 v6891 + let v6893 : int32 = v6892.Length + let v6894 : Mut9 = {l0 = 0; l1 = v6890} : Mut9 + while method94(v6893, v6894) do + let v6896 : int32 = v6894.l0 + let v6897 : Vec option> = v6894.l1 + let v6898 : UH5 = v6892.[int v6896] + let v6899 : struct (string * string * (string -> (string -> US30))) list = [] + let v6900 : struct (string * string * (string -> (string -> US30))) list = method95(v6898, v6899) + let v6901 : (struct (string * string * (string -> (string -> US30))) list -> (struct (string * string * (string -> (string -> US30))) [])) = List.toArray + let v6902 : (struct (string * string * (string -> (string -> US30))) []) = v6901 v6900 + let v6905 : string = "$0.to_vec()" + let v6906 : Vec (string -> US30)))> = Fable.Core.RustInterop.emitRustExpr v6902 v6905 + let v6907 : string = "rayon::iter::IntoParallelIterator::into_par_iter($0)" + let v6908 : rayon_vec_IntoIter (string -> US30)))> = Fable.Core.RustInterop.emitRustExpr v6906 v6907 + let v6909 : string = "rayon::iter::ParallelIterator::map($0, |x| $1(x))" + let v6910 : (struct (string * string * (string -> (string -> US30))) -> Result option) = closure98() + let v6911 : rayon_iter_Map (string -> US30)))>> = Fable.Core.RustInterop.emitRustExpr struct (v6908, v6910) v6909 + let v6912 : string = "rayon::iter::ParallelIterator::collect($0)" + let v6913 : Vec option> = Fable.Core.RustInterop.emitRustExpr v6911 v6912 + let v6914 : Vec option> = method96(v6913) + let v6915 : Vec option> = method97(v6897) + let v6916 : string = "true; let mut v6915 = v6915" + let v6917 : bool = Fable.Core.RustInterop.emitRustExpr () v6916 + let v6918 : string = "true; v6915.extend(v6914)" + let v6919 : bool = Fable.Core.RustInterop.emitRustExpr () v6918 + let v6920 : string = "v6915" + let v6921 : Vec option> = Fable.Core.RustInterop.emitRustExpr () v6920 + let v6922 : int32 = v6896 + 1 + v6894.l0 <- v6922 + v6894.l1 <- v6921 () - let v487 : Vec option> = v458.l1 - let v488 : (string * Vec option>) = v44, v487 - let v489 : Result<(string * Vec option>), std_string_String> = Ok v488 - v489 -and closure99 () () : string = + let v6923 : Vec option> = v6894.l1 + let v6924 : (string * Vec option>) = v44, v6923 + let v6925 : Result<(string * Vec option>), std_string_String> = Ok v6924 + v6925 +and closure100 () () : string = let v0 : string = "documents.run" v0 -and closure98 (v0 : Vec option>), std_string_String>>) () : unit = +and closure99 (v0 : Vec option>), std_string_String>>) () : unit = let v1 : unit = () let v2 : (unit -> unit) = closure7() let v3 : unit = (fun () -> v2 (); v1) () - let struct (v6 : Mut0, v7 : Mut1, v8 : Mut2, v9 : Mut3, v10 : int64 option) = State.trace_state.Value - let v21 : unit = () - let v22 : unit = (fun () -> v2 (); v21) () - let struct (v25 : Mut0, v26 : Mut1, v27 : Mut2, v28 : Mut3, v29 : int64 option) = State.trace_state.Value - let v40 : US0 = v28.l0 - let v41 : bool = v27.l0 - let v42 : bool = v41 = false - let v45 : bool = - if v42 then + let struct (v16 : Mut0, v17 : Mut1, v18 : Mut2, v19 : Mut3, v20 : int64 option) = State.trace_state.Value + let v31 : unit = () + let v32 : unit = (fun () -> v2 (); v31) () + let struct (v45 : Mut0, v46 : Mut1, v47 : Mut2, v48 : Mut3, v49 : int64 option) = State.trace_state.Value + let v60 : US0 = v48.l0 + let v61 : bool = v47.l0 + let v62 : bool = v61 = false + let v65 : bool = + if v62 then false else - let v43 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v40 - let v44 : bool = 2 >= v43 - v44 - if v45 then - let v46 : unit = () - let v47 : (unit -> unit) = closure8(v6) - let v48 : unit = (fun () -> v47 (); v46) () - let v49 : unit = () - let v50 : unit = (fun () -> v2 (); v49) () - let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : int64 option) = State.trace_state.Value - let v68 : unit = () + let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v60 + let v64 : bool = 2 >= v63 + v64 + if v65 then + let v66 : unit = () + let v67 : (unit -> unit) = closure8(v16) + let v68 : unit = (fun () -> v67 (); v66) () + let v71 : unit = () + let v72 : unit = (fun () -> v2 (); v71) () + let struct (v85 : Mut0, v86 : Mut1, v87 : Mut2, v88 : Mut3, v89 : int64 option) = State.trace_state.Value + let v100 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v69 : US3 option = None - let _v69 = ref v69 - let v70 : US3 option ref = _v69 - let v71 : (US3 option -> US3 option ref) = closure9(v70) - let v72 : unit = () - let v73 : (unit -> unit) = closure10(v57, v71) - let v74 : unit = (fun () -> v73 (); v72) () - let v75 : US3 option = _v69.Value - let v86 : US3 = US3_1 - let v87 : US3 = v75 |> Option.defaultValue v86 - let v127 : System.DateTime = - match v87 with + let v101 : US3 option = None + let _v101 = ref v101 + let v102 : US3 option ref = _v101 + let v103 : (US3 option -> US3 option ref) = closure9(v102) + let v104 : unit = () + let v105 : (unit -> unit) = closure10(v89, v103) + let v106 : unit = (fun () -> v105 (); v104) () + let v109 : US3 option = _v101.Value + let v120 : US3 = US3_1 + let v121 : US3 = v109 |> Option.defaultValue v120 + let v161 : System.DateTime = + match v121 with | US3_1 -> (* None *) - let v123 : System.DateTime = System.DateTime.Now - v123 - | US3_0(v91) -> (* Some *) - let v92 : System.DateTime = System.DateTime.Now - let v95 : (System.DateTime -> int64) = _.Ticks - let v96 : int64 = v95 v92 - let v99 : int64 = v96 - v91 - let v100 : (int64 -> System.TimeSpan) = System.TimeSpan - let v101 : System.TimeSpan = v100 v99 - let v104 : (System.TimeSpan -> int32) = _.Hours - let v105 : int32 = v104 v101 - let v108 : (System.TimeSpan -> int32) = _.Minutes - let v109 : int32 = v108 v101 - let v112 : (System.TimeSpan -> int32) = _.Seconds - let v113 : int32 = v112 v101 - let v116 : (System.TimeSpan -> int32) = _.Milliseconds - let v117 : int32 = v116 v101 - let v120 : System.DateTime = System.DateTime (1, 1, 1, v105, v109, v113, v117) - v120 - let v128 : string = method6() - let v131 : (string -> string) = v127.ToString - let v132 : string = v131 v128 - let _v68 = v132 + let v157 : System.DateTime = System.DateTime.Now + v157 + | US3_0(v125) -> (* Some *) + let v126 : System.DateTime = System.DateTime.Now + let v129 : (System.DateTime -> int64) = _.Ticks + let v130 : int64 = v129 v126 + let v133 : int64 = v130 - v125 + let v134 : (int64 -> System.TimeSpan) = System.TimeSpan + let v135 : System.TimeSpan = v134 v133 + let v138 : (System.TimeSpan -> int32) = _.Hours + let v139 : int32 = v138 v135 + let v142 : (System.TimeSpan -> int32) = _.Minutes + let v143 : int32 = v142 v135 + let v146 : (System.TimeSpan -> int32) = _.Seconds + let v147 : int32 = v146 v135 + let v150 : (System.TimeSpan -> int32) = _.Milliseconds + let v151 : int32 = v150 v135 + let v154 : System.DateTime = System.DateTime (1, 1, 1, v139, v143, v147, v151) + v154 + let v162 : string = method6() + let v165 : (string -> string) = v161.ToString + let v166 : string = v165 v162 + let _v100 = v166 #endif #if FABLE_COMPILER_RUST && WASM - let v135 : US3 option = None - let _v135 = ref v135 - let v136 : US3 option ref = _v135 - let v137 : (US3 option -> US3 option ref) = closure9(v136) - let v138 : unit = () - let v139 : (unit -> unit) = closure10(v57, v137) - let v140 : unit = (fun () -> v139 (); v138) () - let v141 : US3 option = _v135.Value - let v152 : US3 = US3_1 - let v153 : US3 = v141 |> Option.defaultValue v152 - let v193 : System.DateTime = - match v153 with + let v169 : US3 option = None + let _v169 = ref v169 + let v170 : US3 option ref = _v169 + let v171 : (US3 option -> US3 option ref) = closure9(v170) + let v172 : unit = () + let v173 : (unit -> unit) = closure10(v89, v171) + let v174 : unit = (fun () -> v173 (); v172) () + let v177 : US3 option = _v169.Value + let v188 : US3 = US3_1 + let v189 : US3 = v177 |> Option.defaultValue v188 + let v229 : System.DateTime = + match v189 with | US3_1 -> (* None *) - let v189 : System.DateTime = System.DateTime.Now - v189 - | US3_0(v157) -> (* Some *) - let v158 : System.DateTime = System.DateTime.Now - let v161 : (System.DateTime -> int64) = _.Ticks - let v162 : int64 = v161 v158 - let v165 : int64 = v162 - v157 - let v166 : (int64 -> System.TimeSpan) = System.TimeSpan - let v167 : System.TimeSpan = v166 v165 - let v170 : (System.TimeSpan -> int32) = _.Hours - let v171 : int32 = v170 v167 - let v174 : (System.TimeSpan -> int32) = _.Minutes - let v175 : int32 = v174 v167 - let v178 : (System.TimeSpan -> int32) = _.Seconds - let v179 : int32 = v178 v167 - let v182 : (System.TimeSpan -> int32) = _.Milliseconds - let v183 : int32 = v182 v167 - let v186 : System.DateTime = System.DateTime (1, 1, 1, v171, v175, v179, v183) - v186 - let v194 : string = method6() - let v197 : (string -> string) = v193.ToString - let v198 : string = v197 v194 - let _v68 = v198 + let v225 : System.DateTime = System.DateTime.Now + v225 + | US3_0(v193) -> (* Some *) + let v194 : System.DateTime = System.DateTime.Now + let v197 : (System.DateTime -> int64) = _.Ticks + let v198 : int64 = v197 v194 + let v201 : int64 = v198 - v193 + let v202 : (int64 -> System.TimeSpan) = System.TimeSpan + let v203 : System.TimeSpan = v202 v201 + let v206 : (System.TimeSpan -> int32) = _.Hours + let v207 : int32 = v206 v203 + let v210 : (System.TimeSpan -> int32) = _.Minutes + let v211 : int32 = v210 v203 + let v214 : (System.TimeSpan -> int32) = _.Seconds + let v215 : int32 = v214 v203 + let v218 : (System.TimeSpan -> int32) = _.Milliseconds + let v219 : int32 = v218 v203 + let v222 : System.DateTime = System.DateTime (1, 1, 1, v207, v211, v215, v219) + v222 + let v230 : string = method6() + let v233 : (string -> string) = v229.ToString + let v234 : string = v233 v230 + let _v100 = v234 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v201 : string = $"near_sdk::env::block_timestamp()" - let v202 : uint64 = Fable.Core.RustInterop.emitRustExpr () v201 - let v203 : US3 option = None - let _v203 = ref v203 - let v204 : US3 option ref = _v203 - let v205 : (US3 option -> US3 option ref) = closure9(v204) - let v206 : unit = () - let v207 : (unit -> unit) = closure10(v57, v205) - let v208 : unit = (fun () -> v207 (); v206) () - let v209 : US3 option = _v203.Value - let v220 : US3 = US3_1 - let v221 : US3 = v209 |> Option.defaultValue v220 - let v230 : uint64 = - match v221 with - | US3_1 -> (* None *) - v202 - | US3_0(v225) -> (* Some *) - let v226 : (int64 -> uint64) = uint64 - let v227 : uint64 = v226 v225 - let v228 : uint64 = v202 - v227 - v228 - let v231 : uint64 = v230 / 1000000000UL - let v232 : uint64 = v231 % 60UL - let v233 : uint64 = v231 / 60UL - let v234 : uint64 = v233 % 60UL - let v235 : uint64 = v231 / 3600UL - let v236 : uint64 = v235 % 24UL - let v237 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" - let v238 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v236, v234, v232) v237 - let v239 : string = "fable_library_rust::String_::fromString($0)" - let v240 : string = Fable.Core.RustInterop.emitRustExpr v238 v239 - let _v68 = v240 - #endif -#if FABLE_COMPILER_TYPESCRIPT - let v241 : US3 option = None - let _v241 = ref v241 - let v242 : US3 option ref = _v241 - let v243 : (US3 option -> US3 option ref) = closure9(v242) - let v244 : unit = () - let v245 : (unit -> unit) = closure10(v57, v243) - let v246 : unit = (fun () -> v245 (); v244) () - let v247 : US3 option = _v241.Value + let v237 : string = $"near_sdk::env::block_timestamp()" + let v238 : uint64 = Fable.Core.RustInterop.emitRustExpr () v237 + let v239 : US3 option = None + let _v239 = ref v239 + let v240 : US3 option ref = _v239 + let v241 : (US3 option -> US3 option ref) = closure9(v240) + let v242 : unit = () + let v243 : (unit -> unit) = closure10(v89, v241) + let v244 : unit = (fun () -> v243 (); v242) () + let v247 : US3 option = _v239.Value let v258 : US3 = US3_1 let v259 : US3 = v247 |> Option.defaultValue v258 - let v299 : System.DateTime = + let v268 : uint64 = match v259 with | US3_1 -> (* None *) - let v295 : System.DateTime = System.DateTime.Now - v295 + v238 | US3_0(v263) -> (* Some *) - let v264 : System.DateTime = System.DateTime.Now - let v267 : (System.DateTime -> int64) = _.Ticks - let v268 : int64 = v267 v264 - let v271 : int64 = v268 - v263 - let v272 : (int64 -> System.TimeSpan) = System.TimeSpan - let v273 : System.TimeSpan = v272 v271 - let v276 : (System.TimeSpan -> int32) = _.Hours - let v277 : int32 = v276 v273 - let v280 : (System.TimeSpan -> int32) = _.Minutes - let v281 : int32 = v280 v273 - let v284 : (System.TimeSpan -> int32) = _.Seconds - let v285 : int32 = v284 v273 - let v288 : (System.TimeSpan -> int32) = _.Milliseconds - let v289 : int32 = v288 v273 - let v292 : System.DateTime = System.DateTime (1, 1, 1, v277, v281, v285, v289) - v292 - let v300 : string = method7() - let v303 : (string -> string) = v299.ToString - let v304 : string = v303 v300 - let _v68 = v304 + let v264 : (int64 -> uint64) = uint64 + let v265 : uint64 = v264 v263 + let v266 : uint64 = v238 - v265 + v266 + let v269 : uint64 = v268 / 1000000000UL + let v270 : uint64 = v269 % 60UL + let v271 : uint64 = v269 / 60UL + let v272 : uint64 = v271 % 60UL + let v273 : uint64 = v269 / 3600UL + let v274 : uint64 = v273 % 24UL + let v275 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)" + let v276 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v274, v272, v270) v275 + let v277 : string = "fable_library_rust::String_::fromString($0)" + let v278 : string = Fable.Core.RustInterop.emitRustExpr v276 v277 + let _v100 = v278 + #endif +#if FABLE_COMPILER_TYPESCRIPT + let v279 : US3 option = None + let _v279 = ref v279 + let v280 : US3 option ref = _v279 + let v281 : (US3 option -> US3 option ref) = closure9(v280) + let v282 : unit = () + let v283 : (unit -> unit) = closure10(v89, v281) + let v284 : unit = (fun () -> v283 (); v282) () + let v287 : US3 option = _v279.Value + let v298 : US3 = US3_1 + let v299 : US3 = v287 |> Option.defaultValue v298 + let v339 : System.DateTime = + match v299 with + | US3_1 -> (* None *) + let v335 : System.DateTime = System.DateTime.Now + v335 + | US3_0(v303) -> (* Some *) + let v304 : System.DateTime = System.DateTime.Now + let v307 : (System.DateTime -> int64) = _.Ticks + let v308 : int64 = v307 v304 + let v311 : int64 = v308 - v303 + let v312 : (int64 -> System.TimeSpan) = System.TimeSpan + let v313 : System.TimeSpan = v312 v311 + let v316 : (System.TimeSpan -> int32) = _.Hours + let v317 : int32 = v316 v313 + let v320 : (System.TimeSpan -> int32) = _.Minutes + let v321 : int32 = v320 v313 + let v324 : (System.TimeSpan -> int32) = _.Seconds + let v325 : int32 = v324 v313 + let v328 : (System.TimeSpan -> int32) = _.Milliseconds + let v329 : int32 = v328 v313 + let v332 : System.DateTime = System.DateTime (1, 1, 1, v317, v321, v325, v329) + v332 + let v340 : string = method7() + let v343 : (string -> string) = v339.ToString + let v344 : string = v343 v340 + let _v100 = v344 #endif #if FABLE_COMPILER_PYTHON - let v307 : US3 option = None - let _v307 = ref v307 - let v308 : US3 option ref = _v307 - let v309 : (US3 option -> US3 option ref) = closure9(v308) - let v310 : unit = () - let v311 : (unit -> unit) = closure10(v57, v309) - let v312 : unit = (fun () -> v311 (); v310) () - let v313 : US3 option = _v307.Value - let v324 : US3 = US3_1 - let v325 : US3 = v313 |> Option.defaultValue v324 - let v365 : System.DateTime = - match v325 with + let v347 : US3 option = None + let _v347 = ref v347 + let v348 : US3 option ref = _v347 + let v349 : (US3 option -> US3 option ref) = closure9(v348) + let v350 : unit = () + let v351 : (unit -> unit) = closure10(v89, v349) + let v352 : unit = (fun () -> v351 (); v350) () + let v355 : US3 option = _v347.Value + let v366 : US3 = US3_1 + let v367 : US3 = v355 |> Option.defaultValue v366 + let v407 : System.DateTime = + match v367 with | US3_1 -> (* None *) - let v361 : System.DateTime = System.DateTime.Now - v361 - | US3_0(v329) -> (* Some *) - let v330 : System.DateTime = System.DateTime.Now - let v333 : (System.DateTime -> int64) = _.Ticks - let v334 : int64 = v333 v330 - let v337 : int64 = v334 - v329 - let v338 : (int64 -> System.TimeSpan) = System.TimeSpan - let v339 : System.TimeSpan = v338 v337 - let v342 : (System.TimeSpan -> int32) = _.Hours - let v343 : int32 = v342 v339 - let v346 : (System.TimeSpan -> int32) = _.Minutes - let v347 : int32 = v346 v339 - let v350 : (System.TimeSpan -> int32) = _.Seconds - let v351 : int32 = v350 v339 - let v354 : (System.TimeSpan -> int32) = _.Milliseconds - let v355 : int32 = v354 v339 - let v358 : System.DateTime = System.DateTime (1, 1, 1, v343, v347, v351, v355) - v358 - let v366 : string = method7() - let v369 : (string -> string) = v365.ToString - let v370 : string = v369 v366 - let _v68 = v370 + let v403 : System.DateTime = System.DateTime.Now + v403 + | US3_0(v371) -> (* Some *) + let v372 : System.DateTime = System.DateTime.Now + let v375 : (System.DateTime -> int64) = _.Ticks + let v376 : int64 = v375 v372 + let v379 : int64 = v376 - v371 + let v380 : (int64 -> System.TimeSpan) = System.TimeSpan + let v381 : System.TimeSpan = v380 v379 + let v384 : (System.TimeSpan -> int32) = _.Hours + let v385 : int32 = v384 v381 + let v388 : (System.TimeSpan -> int32) = _.Minutes + let v389 : int32 = v388 v381 + let v392 : (System.TimeSpan -> int32) = _.Seconds + let v393 : int32 = v392 v381 + let v396 : (System.TimeSpan -> int32) = _.Milliseconds + let v397 : int32 = v396 v381 + let v400 : System.DateTime = System.DateTime (1, 1, 1, v385, v389, v393, v397) + v400 + let v408 : string = method7() + let v411 : (string -> string) = v407.ToString + let v412 : string = v411 v408 + let _v100 = v412 #endif #else - let v373 : US3 option = None - let _v373 = ref v373 - let v374 : US3 option ref = _v373 - let v375 : (US3 option -> US3 option ref) = closure9(v374) - let v376 : unit = () - let v377 : (unit -> unit) = closure10(v57, v375) - let v378 : unit = (fun () -> v377 (); v376) () - let v379 : US3 option = _v373.Value - let v390 : US3 = US3_1 - let v391 : US3 = v379 |> Option.defaultValue v390 - let v431 : System.DateTime = - match v391 with + let v415 : US3 option = None + let _v415 = ref v415 + let v416 : US3 option ref = _v415 + let v417 : (US3 option -> US3 option ref) = closure9(v416) + let v418 : unit = () + let v419 : (unit -> unit) = closure10(v89, v417) + let v420 : unit = (fun () -> v419 (); v418) () + let v423 : US3 option = _v415.Value + let v434 : US3 = US3_1 + let v435 : US3 = v423 |> Option.defaultValue v434 + let v475 : System.DateTime = + match v435 with | US3_1 -> (* None *) - let v427 : System.DateTime = System.DateTime.Now - v427 - | US3_0(v395) -> (* Some *) - let v396 : System.DateTime = System.DateTime.Now - let v399 : (System.DateTime -> int64) = _.Ticks - let v400 : int64 = v399 v396 - let v403 : int64 = v400 - v395 - let v404 : (int64 -> System.TimeSpan) = System.TimeSpan - let v405 : System.TimeSpan = v404 v403 - let v408 : (System.TimeSpan -> int32) = _.Hours - let v409 : int32 = v408 v405 - let v412 : (System.TimeSpan -> int32) = _.Minutes - let v413 : int32 = v412 v405 - let v416 : (System.TimeSpan -> int32) = _.Seconds - let v417 : int32 = v416 v405 - let v420 : (System.TimeSpan -> int32) = _.Milliseconds - let v421 : int32 = v420 v405 - let v424 : System.DateTime = System.DateTime (1, 1, 1, v409, v413, v417, v421) - v424 - let v432 : string = method7() - let v435 : (string -> string) = v431.ToString - let v436 : string = v435 v432 - let _v68 = v436 - #endif - let v439 : string = _v68 - let v507 : string = "Info" - let v508 : (unit -> string) = v507.ToLower - let v509 : string = v508 () - let v512 : string = v509.PadLeft (7, ' ') - let v526 : unit = () + let v471 : System.DateTime = System.DateTime.Now + v471 + | US3_0(v439) -> (* Some *) + let v440 : System.DateTime = System.DateTime.Now + let v443 : (System.DateTime -> int64) = _.Ticks + let v444 : int64 = v443 v440 + let v447 : int64 = v444 - v439 + let v448 : (int64 -> System.TimeSpan) = System.TimeSpan + let v449 : System.TimeSpan = v448 v447 + let v452 : (System.TimeSpan -> int32) = _.Hours + let v453 : int32 = v452 v449 + let v456 : (System.TimeSpan -> int32) = _.Minutes + let v457 : int32 = v456 v449 + let v460 : (System.TimeSpan -> int32) = _.Seconds + let v461 : int32 = v460 v449 + let v464 : (System.TimeSpan -> int32) = _.Milliseconds + let v465 : int32 = v464 v449 + let v468 : System.DateTime = System.DateTime (1, 1, 1, v453, v457, v461, v465) + v468 + let v476 : string = method7() + let v479 : (string -> string) = v475.ToString + let v480 : string = v479 v476 + let _v100 = v480 + #endif + let v483 : string = _v100 + let v553 : string = "Info" + let v554 : (unit -> string) = v553.ToLower + let v555 : string = v554 () + let v558 : string = v555.PadLeft (7, ' ') + let v572 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v527 : string = "inline_colorization::color_bright_green" - let v528 : Ref = Fable.Core.RustInterop.emitRustExpr () v527 - let v529 : string = "&*$0" - let v530 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v529 - let v531 : string = "inline_colorization::color_reset" - let v532 : Ref = Fable.Core.RustInterop.emitRustExpr () v531 - let v533 : string = "\"{v528}{v530}{v532}\"" - let v534 : string = @$"format!(" + v533 + ")" - let v535 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v534 - let v536 : string = "fable_library_rust::String_::fromString($0)" - let v537 : string = Fable.Core.RustInterop.emitRustExpr v535 v536 - let _v526 = v537 + let v573 : string = "inline_colorization::color_bright_green" + let v574 : Ref = Fable.Core.RustInterop.emitRustExpr () v573 + let v575 : string = "&*$0" + let v576 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v575 + let v577 : string = "inline_colorization::color_reset" + let v578 : Ref = Fable.Core.RustInterop.emitRustExpr () v577 + let v579 : string = "\"{v574}{v576}{v578}\"" + let v580 : string = @$"format!(" + v579 + ")" + let v581 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v580 + let v582 : string = "fable_library_rust::String_::fromString($0)" + let v583 : string = Fable.Core.RustInterop.emitRustExpr v581 v582 + let _v572 = v583 #endif #if FABLE_COMPILER_RUST && WASM - let v538 : string = "inline_colorization::color_bright_green" - let v539 : Ref = Fable.Core.RustInterop.emitRustExpr () v538 - let v540 : string = "&*$0" - let v541 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v540 - let v542 : string = "inline_colorization::color_reset" - let v543 : Ref = Fable.Core.RustInterop.emitRustExpr () v542 - let v544 : string = "\"{v539}{v541}{v543}\"" - let v545 : string = @$"format!(" + v544 + ")" - let v546 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v545 - let v547 : string = "fable_library_rust::String_::fromString($0)" - let v548 : string = Fable.Core.RustInterop.emitRustExpr v546 v547 - let _v526 = v548 + let v584 : string = "inline_colorization::color_bright_green" + let v585 : Ref = Fable.Core.RustInterop.emitRustExpr () v584 + let v586 : string = "&*$0" + let v587 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v586 + let v588 : string = "inline_colorization::color_reset" + let v589 : Ref = Fable.Core.RustInterop.emitRustExpr () v588 + let v590 : string = "\"{v585}{v587}{v589}\"" + let v591 : string = @$"format!(" + v590 + ")" + let v592 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v591 + let v593 : string = "fable_library_rust::String_::fromString($0)" + let v594 : string = Fable.Core.RustInterop.emitRustExpr v592 v593 + let _v572 = v594 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v549 : string = "inline_colorization::color_bright_green" - let v550 : Ref = Fable.Core.RustInterop.emitRustExpr () v549 - let v551 : string = "&*$0" - let v552 : Ref = Fable.Core.RustInterop.emitRustExpr v512 v551 - let v553 : string = "inline_colorization::color_reset" - let v554 : Ref = Fable.Core.RustInterop.emitRustExpr () v553 - let v555 : string = "\"{v550}{v552}{v554}\"" - let v556 : string = @$"format!(" + v555 + ")" - let v557 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v556 - let v558 : string = "fable_library_rust::String_::fromString($0)" - let v559 : string = Fable.Core.RustInterop.emitRustExpr v557 v558 - let _v526 = v559 + let v595 : string = "inline_colorization::color_bright_green" + let v596 : Ref = Fable.Core.RustInterop.emitRustExpr () v595 + let v597 : string = "&*$0" + let v598 : Ref = Fable.Core.RustInterop.emitRustExpr v558 v597 + let v599 : string = "inline_colorization::color_reset" + let v600 : Ref = Fable.Core.RustInterop.emitRustExpr () v599 + let v601 : string = "\"{v596}{v598}{v600}\"" + let v602 : string = @$"format!(" + v601 + ")" + let v603 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v602 + let v604 : string = "fable_library_rust::String_::fromString($0)" + let v605 : string = Fable.Core.RustInterop.emitRustExpr v603 v604 + let _v572 = v605 #endif #if FABLE_COMPILER_TYPESCRIPT - let v560 : string = "\u001b[92m" - let v561 : string = method8() - let v562 : string = v560 + v512 - let v563 : string = v562 + v561 - let _v526 = v563 + let v606 : string = "\u001b[92m" + let v607 : string = method8() + let v608 : string = v606 + v558 + let v609 : string = v608 + v607 + let _v572 = v609 #endif #if FABLE_COMPILER_PYTHON - let v564 : string = "\u001b[92m" - let v565 : string = method8() - let v566 : string = v564 + v512 - let v567 : string = v566 + v565 - let _v526 = v567 + let v610 : string = "\u001b[92m" + let v611 : string = method8() + let v612 : string = v610 + v558 + let v613 : string = v612 + v611 + let _v572 = v613 #endif #else - let v568 : string = "\u001b[92m" - let v569 : string = method8() - let v570 : string = v568 + v512 - let v571 : string = v570 + v569 - let _v526 = v571 - #endif - let v572 : string = _v526 - let v578 : int64 = v53.l0 - let v579 : string = "$0.len()" - let v580 : unativeint = Fable.Core.RustInterop.emitRustExpr v0 v579 - let v581 : string = method9() - let v582 : Mut4 = {l0 = v581} : Mut4 - let v583 : string = "{ " - let v584 : string = $"{v583}" - let v587 : unit = () - let v588 : (unit -> unit) = closure11(v582, v584) - let v589 : unit = (fun () -> v588 (); v587) () - let v590 : string = "result_len" - let v591 : string = $"{v590}" - let v594 : unit = () - let v595 : (unit -> unit) = closure11(v582, v591) - let v596 : unit = (fun () -> v595 (); v594) () - let v597 : string = " = " - let v598 : string = $"{v597}" - let v601 : unit = () - let v602 : (unit -> unit) = closure11(v582, v598) - let v603 : unit = (fun () -> v602 (); v601) () - let v604 : unit = () + let v614 : string = "\u001b[92m" + let v615 : string = method8() + let v616 : string = v614 + v558 + let v617 : string = v616 + v615 + let _v572 = v617 + #endif + let v618 : string = _v572 + let v624 : int64 = v85.l0 + let v625 : string = "$0.len()" + let v626 : unativeint = Fable.Core.RustInterop.emitRustExpr v0 v625 + let v627 : string = method9() + let v628 : Mut4 = {l0 = v627} : Mut4 + let v629 : string = "{ " + let v630 : string = $"{v629}" + let v633 : unit = () + let v634 : (unit -> unit) = closure11(v628, v630) + let v635 : unit = (fun () -> v634 (); v633) () + let v638 : string = "result_len" + let v639 : string = $"{v638}" + let v642 : unit = () + let v643 : (unit -> unit) = closure11(v628, v639) + let v644 : unit = (fun () -> v643 (); v642) () + let v647 : string = " = " + let v648 : string = $"{v647}" + let v651 : unit = () + let v652 : (unit -> unit) = closure11(v628, v648) + let v653 : unit = (fun () -> v652 (); v651) () + let v656 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v605 : string = "format!(\"{:#?}\", $0)" - let v606 : std_string_String = Fable.Core.RustInterop.emitRustExpr v580 v605 - let v607 : string = "fable_library_rust::String_::fromString($0)" - let v608 : string = Fable.Core.RustInterop.emitRustExpr v606 v607 - let _v604 = v608 + let v657 : string = "format!(\"{:#?}\", $0)" + let v658 : std_string_String = Fable.Core.RustInterop.emitRustExpr v626 v657 + let v659 : string = "fable_library_rust::String_::fromString($0)" + let v660 : string = Fable.Core.RustInterop.emitRustExpr v658 v659 + let _v656 = v660 #endif #if FABLE_COMPILER_RUST && WASM - let v609 : string = "format!(\"{:#?}\", $0)" - let v610 : std_string_String = Fable.Core.RustInterop.emitRustExpr v580 v609 - let v611 : string = "fable_library_rust::String_::fromString($0)" - let v612 : string = Fable.Core.RustInterop.emitRustExpr v610 v611 - let _v604 = v612 + let v661 : string = "format!(\"{:#?}\", $0)" + let v662 : std_string_String = Fable.Core.RustInterop.emitRustExpr v626 v661 + let v663 : string = "fable_library_rust::String_::fromString($0)" + let v664 : string = Fable.Core.RustInterop.emitRustExpr v662 v663 + let _v656 = v664 #endif #if FABLE_COMPILER_RUST && CONTRACT - let v613 : string = "format!(\"{:#?}\", $0)" - let v614 : std_string_String = Fable.Core.RustInterop.emitRustExpr v580 v613 - let v615 : string = "fable_library_rust::String_::fromString($0)" - let v616 : string = Fable.Core.RustInterop.emitRustExpr v614 v615 - let _v604 = v616 + let v665 : string = "format!(\"{:#?}\", $0)" + let v666 : std_string_String = Fable.Core.RustInterop.emitRustExpr v626 v665 + let v667 : string = "fable_library_rust::String_::fromString($0)" + let v668 : string = Fable.Core.RustInterop.emitRustExpr v666 v667 + let _v656 = v668 #endif #if FABLE_COMPILER_TYPESCRIPT - let v617 : string = $"%A{v580}" - let _v604 = v617 + let v669 : string = $"%A{v626}" + let _v656 = v669 #endif #if FABLE_COMPILER_PYTHON - let v620 : string = $"%A{v580}" - let _v604 = v620 + let v672 : string = $"%A{v626}" + let _v656 = v672 #endif #else - let v623 : string = $"%A{v580}" - let _v604 = v623 - #endif - let v626 : string = _v604 - let v631 : string = $"{v626}" - let v634 : unit = () - let v635 : (unit -> unit) = closure11(v582, v631) - let v636 : unit = (fun () -> v635 (); v634) () - let v637 : string = " }" - let v638 : string = $"{v637}" - let v641 : unit = () - let v642 : (unit -> unit) = closure11(v582, v638) - let v643 : unit = (fun () -> v642 (); v641) () - let v644 : string = v582.l0 - let v645 : (unit -> string) = closure99() - let v646 : string = $"{v439} {v572} #{v578} %s{v645 ()} / {v644}" - let v649 : char list = [] - let v650 : (char list -> (char [])) = List.toArray - let v651 : (char []) = v650 v649 - let v654 : string = v646.TrimStart v651 - let v672 : char list = [] - let v673 : char list = '/' :: v672 - let v676 : char list = ' ' :: v673 - let v679 : (char list -> (char [])) = List.toArray - let v680 : (char []) = v679 v676 - let v683 : string = v654.TrimEnd v680 - let v701 : unit = () + let v675 : string = $"%A{v626}" + let _v656 = v675 + #endif + let v678 : string = _v656 + let v683 : string = $"{v678}" + let v686 : unit = () + let v687 : (unit -> unit) = closure11(v628, v683) + let v688 : unit = (fun () -> v687 (); v686) () + let v691 : string = " }" + let v692 : string = $"{v691}" + let v695 : unit = () + let v696 : (unit -> unit) = closure11(v628, v692) + let v697 : unit = (fun () -> v696 (); v695) () + let v700 : string = v628.l0 + let v701 : (unit -> string) = closure100() + let v702 : string = $"{v483} {v618} #{v624} %s{v701 ()} / {v700}" + let v705 : char list = [] + let v706 : (char list -> (char [])) = List.toArray + let v707 : (char []) = v706 v705 + let v710 : string = v702.TrimStart v707 + let v728 : char list = [] + let v729 : char list = '/' :: v728 + let v732 : char list = ' ' :: v729 + let v735 : (char list -> (char [])) = List.toArray + let v736 : (char []) = v735 v732 + let v739 : string = v710.TrimEnd v736 + let v757 : (string -> unit) = closure13() + let v758 : unit = () #if FABLE_COMPILER || WASM || CONTRACT #if FABLE_COMPILER_RUST && !WASM && !CONTRACT - let v702 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v683 v702 - let _v701 = () + let v759 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v739 v759 + let _v758 = () #endif #if FABLE_COMPILER_RUST && WASM - let v703 : string = @"println!(""{}"", $0)" - Fable.Core.RustInterop.emitRustExpr v683 v703 - let _v701 = () + let v760 : string = @"println!(""{}"", $0)" + Fable.Core.RustInterop.emitRustExpr v739 v760 + let _v758 = () #endif #if FABLE_COMPILER_RUST && CONTRACT - let v704 : string = $"near_sdk::log!(\"{{}}\", $0)" - Fable.Core.RustInterop.emitRustExpr v683 v704 - let _v701 = () + let v761 : string = $"near_sdk::log!(\"{{}}\", $0)" + Fable.Core.RustInterop.emitRustExpr v739 v761 + let _v758 = () #endif #if FABLE_COMPILER_TYPESCRIPT - System.Console.WriteLine v683 - let _v701 = () + v757 v739 + let _v758 = () #endif #if FABLE_COMPILER_PYTHON - System.Console.WriteLine v683 - let _v701 = () + v757 v739 + let _v758 = () #endif #else - System.Console.WriteLine v683 - let _v701 = () + v757 v739 + let _v758 = () #endif - _v701 - let v705 : (string -> unit) = v7.l0 - v705 v683 + _v758 + let v762 : (string -> unit) = v17.l0 + v762 v739 and method98 (v0 : Result option>), std_string_String>>, std_string_String>) : Result option>), std_string_String>>, std_string_String> = v0 and method14 (v0 : string, v1 : string, v2 : string, v3 : string) : std_pin_Pin option>), std_string_String>>, std_string_String>>>>> = @@ -16567,192 +16595,192 @@ and method14 (v0 : string, v1 : string, v2 : string, v3 : string) : std_pin_Pin< let v6 : string = ".devcontainer" let v7 : string = method15(v5, v6) let v8 : US7 = method18(v7, v4) - let v17 : US1 = + let v750 : US1 = match v8 with | US7_1(v11) -> (* Error *) let v12 : unit = () - let v13 : (unit -> unit) = closure16(v11) + let v13 : (unit -> unit) = closure18(v11) let v14 : unit = (fun () -> v13 (); v12) () US1_1 | US7_0(v9) -> (* Ok *) US1_0(v9) - let v33 : US1 = - match v17 with + let v1499 : US1 = + match v750 with | US1_1 -> (* None *) - let v20 : string = method23() - let v21 : string = method15(v5, v6) - let v22 : US7 = method18(v21, v20) - match v22 with - | US7_1(v25) -> (* Error *) - let v26 : unit = () - let v27 : (unit -> unit) = closure16(v25) - let v28 : unit = (fun () -> v27 (); v26) () + let v753 : string = method23() + let v754 : string = method15(v5, v6) + let v755 : US7 = method18(v754, v753) + match v755 with + | US7_1(v758) -> (* Error *) + let v759 : unit = () + let v760 : (unit -> unit) = closure18(v758) + let v761 : unit = (fun () -> v760 (); v759) () US1_1 - | US7_0(v23) -> (* Ok *) - US1_0(v23) - | US1_0(v18) -> (* Some *) - US1_0(v18) - let v37 : string = - match v33 with + | US7_0(v756) -> (* Ok *) + US1_0(v756) + | US1_0(v751) -> (* Some *) + US1_0(v751) + let v1503 : string = + match v1499 with | US1_1 -> (* None *) failwith "Option does not have a value." - | US1_0(v34) -> (* Some *) - v34 - let v38 : string = method15(v37, v5) - let v39 : string = method24(v3) - let v40 : string = method24(v2) - let v41 : string = method24(v1) - let v42 : unit = () - let v43 : (unit -> unit) = closure18(v0, v39, v40, v41) - let v44 : unit = (fun () -> v43 (); v42) () - let v45 : string = "true; let __result = Box::pin(async move { //" - let v46 : bool = Fable.Core.RustInterop.emitRustExpr () v45 - let v47 : string = "async_walkdir::WalkDir::new(&*$0)" - let v48 : async_walkdir_WalkDir = Fable.Core.RustInterop.emitRustExpr v40 v47 - let v49 : string = "async_walkdir::WalkDir::filter($0, |x| $1(x))" - let v50 : (async_walkdir_DirEntry -> std_pin_Pin>, Send>>>>>) = closure20() - let v51 : async_walkdir_WalkDir = Fable.Core.RustInterop.emitRustExpr struct (v48, v50) v49 - let v52 : (Result -> string option) = method35() - let v53 : string = "tokio_stream::StreamExt::filter_map(v51, |x| v52(x))" - let v54 : _ = Fable.Core.RustInterop.emitRustExpr () v53 - let v55 : string = "Box::pin(tokio_stream::StreamExt::collect(v54))" - let v56 : std_pin_Pin>>>> = Fable.Core.RustInterop.emitRustExpr () v55 - let v57 : string = "v56.await" - let v58 : Vec = Fable.Core.RustInterop.emitRustExpr () v57 - let v59 : unit = () - let v60 : (unit -> unit) = closure30(v58) - let v61 : unit = (fun () -> v60 (); v59) () - let v62 : string = "rayon::iter::IntoParallelIterator::into_par_iter($0)" - let v63 : rayon_vec_IntoIter = Fable.Core.RustInterop.emitRustExpr v58 v62 - let v64 : string = "rayon::iter::ParallelIterator::map($0, |x| $1(x))" - let v65 : (string -> Result<(string * Vec option>), std_string_String>) = closure32(v0, v38, v39, v40, v41) - let v66 : rayon_iter_Map> = Fable.Core.RustInterop.emitRustExpr struct (v63, v65) v64 - let v67 : string = "rayon::iter::ParallelIterator::collect($0)" - let v68 : Vec option>), std_string_String>> = Fable.Core.RustInterop.emitRustExpr v66 v67 - let v69 : unit = () - let v70 : (unit -> unit) = closure98(v68) - let v71 : unit = (fun () -> v70 (); v69) () - let v72 : Result option>), std_string_String>>, std_string_String> = Ok v68 - let v73 : Result option>), std_string_String>>, std_string_String> = method98(v72) - let v74 : string = "" - let v75 : string = "}" - let v76 : string = v74 + v75 - let v77 : string = "true; v73 " + v76 + "); " + v74 + " // rust.fix_closure'" - let v78 : bool = Fable.Core.RustInterop.emitRustExpr () v77 - let v79 : string = "__result" - let v80 : _ = Fable.Core.RustInterop.emitRustExpr () v79 - let v81 : string = "v80" - let v82 : std_pin_Pin option>), std_string_String>>, std_string_String>>>>> = Fable.Core.RustInterop.emitRustExpr () v81 - v82 + | US1_0(v1500) -> (* Some *) + v1500 + let v1504 : string = method15(v1503, v5) + let v1505 : string = method24(v3) + let v1506 : string = method24(v2) + let v1507 : string = method24(v1) + let v1508 : unit = () + let v1509 : (unit -> unit) = closure20(v0, v1505, v1506, v1507) + let v1510 : unit = (fun () -> v1509 (); v1508) () + let v2344 : string = "true; let __result = Box::pin(async move { //" + let v2345 : bool = Fable.Core.RustInterop.emitRustExpr () v2344 + let v2346 : string = "async_walkdir::WalkDir::new(&*$0)" + let v2347 : async_walkdir_WalkDir = Fable.Core.RustInterop.emitRustExpr v1506 v2346 + let v2348 : string = "async_walkdir::WalkDir::filter($0, |x| $1(x))" + let v2349 : (async_walkdir_DirEntry -> std_pin_Pin>, Send>>>>>) = closure22() + let v2350 : async_walkdir_WalkDir = Fable.Core.RustInterop.emitRustExpr struct (v2347, v2349) v2348 + let v2351 : (Result -> string option) = method35() + let v2352 : string = "tokio_stream::StreamExt::filter_map(v2350, |x| v2351(x))" + let v2353 : _ = Fable.Core.RustInterop.emitRustExpr () v2352 + let v2354 : string = "Box::pin(tokio_stream::StreamExt::collect(v2353))" + let v2355 : std_pin_Pin>>>> = Fable.Core.RustInterop.emitRustExpr () v2354 + let v2356 : string = "v2355.await" + let v2357 : Vec = Fable.Core.RustInterop.emitRustExpr () v2356 + let v2358 : unit = () + let v2359 : (unit -> unit) = closure32(v2357) + let v2360 : unit = (fun () -> v2359 (); v2358) () + let v3123 : string = "rayon::iter::IntoParallelIterator::into_par_iter($0)" + let v3124 : rayon_vec_IntoIter = Fable.Core.RustInterop.emitRustExpr v2357 v3123 + let v3125 : string = "rayon::iter::ParallelIterator::map($0, |x| $1(x))" + let v3126 : (string -> Result<(string * Vec option>), std_string_String>) = closure34(v0, v1504, v1505, v1506, v1507) + let v3127 : rayon_iter_Map> = Fable.Core.RustInterop.emitRustExpr struct (v3124, v3126) v3125 + let v3128 : string = "rayon::iter::ParallelIterator::collect($0)" + let v3129 : Vec option>), std_string_String>> = Fable.Core.RustInterop.emitRustExpr v3127 v3128 + let v3130 : unit = () + let v3131 : (unit -> unit) = closure99(v3129) + let v3132 : unit = (fun () -> v3131 (); v3130) () + let v3895 : Result option>), std_string_String>>, std_string_String> = Ok v3129 + let v3896 : Result option>), std_string_String>>, std_string_String> = method98(v3895) + let v3897 : string = "" + let v3898 : string = "}" + let v3899 : string = v3897 + v3898 + let v3900 : string = "true; v3896 " + v3899 + "); " + v3897 + " // rust.fix_closure'" + let v3901 : bool = Fable.Core.RustInterop.emitRustExpr () v3900 + let v3902 : string = "__result" + let v3903 : _ = Fable.Core.RustInterop.emitRustExpr () v3902 + let v3904 : string = "v3903" + let v3905 : std_pin_Pin option>), std_string_String>>, std_string_String>>>>> = Fable.Core.RustInterop.emitRustExpr () v3904 + v3905 and closure1 () (v0 : (string [])) : int32 = let v1 : unit = () let v2 : (unit -> unit) = closure2() let v3 : unit = (fun () -> v2 (); v1) () - let v6 : unit = () - let v7 : (unit -> unit) = closure6(v0) - let v8 : unit = (fun () -> v7 (); v6) () - let v9 : clap_Command = method0() - let v10 : string = "clap::Command::get_matches($0)" - let v11 : clap_ArgMatches = Fable.Core.RustInterop.emitRustExpr v9 v10 - let v12 : string = method10() - let v13 : string = "&*$0" - let v14 : Ref = Fable.Core.RustInterop.emitRustExpr v12 v13 - let v15 : string = "clap::ArgMatches::get_one(&$0, v14).cloned()" - let v16 : std_string_String option = Fable.Core.RustInterop.emitRustExpr v11 v15 - let v17 : US4 option = None - let _v17 = ref v17 - let v18 : US4 option ref = _v17 - let v19 : (US4 option -> US4 option ref) = closure13(v18) - let v20 : unit = () - let v21 : (unit -> unit) = closure14(v16, v19) - let v22 : unit = (fun () -> v21 (); v20) () - let v23 : US4 option = _v17.Value - let v34 : US4 = US4_1 - let v35 : US4 = v23 |> Option.defaultValue v34 - let v42 : std_string_String = - match v35 with + let v16 : unit = () + let v17 : (unit -> unit) = closure6(v0) + let v18 : unit = (fun () -> v17 (); v16) () + let v755 : clap_Command = method0() + let v756 : string = "clap::Command::get_matches($0)" + let v757 : clap_ArgMatches = Fable.Core.RustInterop.emitRustExpr v755 v756 + let v758 : string = method10() + let v759 : string = "&*$0" + let v760 : Ref = Fable.Core.RustInterop.emitRustExpr v758 v759 + let v761 : string = "clap::ArgMatches::get_one(&$0, v760).cloned()" + let v762 : std_string_String option = Fable.Core.RustInterop.emitRustExpr v757 v761 + let v763 : US4 option = None + let _v763 = ref v763 + let v764 : US4 option ref = _v763 + let v765 : (US4 option -> US4 option ref) = closure15(v764) + let v766 : unit = () + let v767 : (unit -> unit) = closure16(v762, v765) + let v768 : unit = (fun () -> v767 (); v766) () + let v771 : US4 option = _v763.Value + let v782 : US4 = US4_1 + let v783 : US4 = v771 |> Option.defaultValue v782 + let v790 : std_string_String = + match v783 with | US4_1 -> (* None *) failwith "Option does not have a value." - | US4_0(v39) -> (* Some *) - v39 - let v43 : string = "fable_library_rust::String_::fromString($0)" - let v44 : string = Fable.Core.RustInterop.emitRustExpr v42 v43 - let v45 : string = method11() - let v46 : string = "&*$0" - let v47 : Ref = Fable.Core.RustInterop.emitRustExpr v45 v46 - let v48 : string = "clap::ArgMatches::get_one(&$0, v47).cloned()" - let v49 : std_string_String option = Fable.Core.RustInterop.emitRustExpr v11 v48 - let v50 : US4 option = None - let _v50 = ref v50 - let v51 : US4 option ref = _v50 - let v52 : (US4 option -> US4 option ref) = closure13(v51) - let v53 : unit = () - let v54 : (unit -> unit) = closure14(v49, v52) - let v55 : unit = (fun () -> v54 (); v53) () - let v56 : US4 option = _v50.Value - let v67 : US4 = US4_1 - let v68 : US4 = v56 |> Option.defaultValue v67 - let v75 : std_string_String = - match v68 with + | US4_0(v787) -> (* Some *) + v787 + let v791 : string = "fable_library_rust::String_::fromString($0)" + let v792 : string = Fable.Core.RustInterop.emitRustExpr v790 v791 + let v793 : string = method11() + let v794 : string = "&*$0" + let v795 : Ref = Fable.Core.RustInterop.emitRustExpr v793 v794 + let v796 : string = "clap::ArgMatches::get_one(&$0, v795).cloned()" + let v797 : std_string_String option = Fable.Core.RustInterop.emitRustExpr v757 v796 + let v798 : US4 option = None + let _v798 = ref v798 + let v799 : US4 option ref = _v798 + let v800 : (US4 option -> US4 option ref) = closure15(v799) + let v801 : unit = () + let v802 : (unit -> unit) = closure16(v797, v800) + let v803 : unit = (fun () -> v802 (); v801) () + let v806 : US4 option = _v798.Value + let v817 : US4 = US4_1 + let v818 : US4 = v806 |> Option.defaultValue v817 + let v825 : std_string_String = + match v818 with | US4_1 -> (* None *) failwith "Option does not have a value." - | US4_0(v72) -> (* Some *) - v72 - let v76 : string = "fable_library_rust::String_::fromString($0)" - let v77 : string = Fable.Core.RustInterop.emitRustExpr v75 v76 - let v78 : string = method12() - let v79 : string = "&*$0" - let v80 : Ref = Fable.Core.RustInterop.emitRustExpr v78 v79 - let v81 : string = "clap::ArgMatches::get_one(&$0, v80).cloned()" - let v82 : std_string_String option = Fable.Core.RustInterop.emitRustExpr v11 v81 - let v83 : US4 option = None - let _v83 = ref v83 - let v84 : US4 option ref = _v83 - let v85 : (US4 option -> US4 option ref) = closure13(v84) - let v86 : unit = () - let v87 : (unit -> unit) = closure14(v82, v85) - let v88 : unit = (fun () -> v87 (); v86) () - let v89 : US4 option = _v83.Value - let v100 : US4 = US4_1 - let v101 : US4 = v89 |> Option.defaultValue v100 - let v108 : std_string_String = - match v101 with + | US4_0(v822) -> (* Some *) + v822 + let v826 : string = "fable_library_rust::String_::fromString($0)" + let v827 : string = Fable.Core.RustInterop.emitRustExpr v825 v826 + let v828 : string = method12() + let v829 : string = "&*$0" + let v830 : Ref = Fable.Core.RustInterop.emitRustExpr v828 v829 + let v831 : string = "clap::ArgMatches::get_one(&$0, v830).cloned()" + let v832 : std_string_String option = Fable.Core.RustInterop.emitRustExpr v757 v831 + let v833 : US4 option = None + let _v833 = ref v833 + let v834 : US4 option ref = _v833 + let v835 : (US4 option -> US4 option ref) = closure15(v834) + let v836 : unit = () + let v837 : (unit -> unit) = closure16(v832, v835) + let v838 : unit = (fun () -> v837 (); v836) () + let v841 : US4 option = _v833.Value + let v852 : US4 = US4_1 + let v853 : US4 = v841 |> Option.defaultValue v852 + let v860 : std_string_String = + match v853 with | US4_1 -> (* None *) failwith "Option does not have a value." - | US4_0(v105) -> (* Some *) - v105 - let v109 : string = "fable_library_rust::String_::fromString($0)" - let v110 : string = Fable.Core.RustInterop.emitRustExpr v108 v109 - let v111 : string = method13() - let v112 : string = "&*$0" - let v113 : Ref = Fable.Core.RustInterop.emitRustExpr v111 v112 - let v114 : string = "clap::ArgMatches::get_one(&$0, v113).cloned()" - let v115 : std_string_String option = Fable.Core.RustInterop.emitRustExpr v11 v114 - let v116 : US4 option = None - let _v116 = ref v116 - let v117 : US4 option ref = _v116 - let v118 : (US4 option -> US4 option ref) = closure13(v117) - let v119 : unit = () - let v120 : (unit -> unit) = closure14(v115, v118) - let v121 : unit = (fun () -> v120 (); v119) () - let v122 : US4 option = _v116.Value - let v133 : US4 = US4_1 - let v134 : US4 = v122 |> Option.defaultValue v133 - let v141 : std_string_String = - match v134 with + | US4_0(v857) -> (* Some *) + v857 + let v861 : string = "fable_library_rust::String_::fromString($0)" + let v862 : string = Fable.Core.RustInterop.emitRustExpr v860 v861 + let v863 : string = method13() + let v864 : string = "&*$0" + let v865 : Ref = Fable.Core.RustInterop.emitRustExpr v863 v864 + let v866 : string = "clap::ArgMatches::get_one(&$0, v865).cloned()" + let v867 : std_string_String option = Fable.Core.RustInterop.emitRustExpr v757 v866 + let v868 : US4 option = None + let _v868 = ref v868 + let v869 : US4 option ref = _v868 + let v870 : (US4 option -> US4 option ref) = closure15(v869) + let v871 : unit = () + let v872 : (unit -> unit) = closure16(v867, v870) + let v873 : unit = (fun () -> v872 (); v871) () + let v876 : US4 option = _v868.Value + let v887 : US4 = US4_1 + let v888 : US4 = v876 |> Option.defaultValue v887 + let v895 : std_string_String = + match v888 with | US4_1 -> (* None *) failwith "Option does not have a value." - | US4_0(v138) -> (* Some *) - v138 - let v142 : string = "fable_library_rust::String_::fromString($0)" - let v143 : string = Fable.Core.RustInterop.emitRustExpr v141 v142 - let v144 : std_pin_Pin option>), std_string_String>>, std_string_String>>>>> = method14(v143, v110, v77, v44) - let v145 : string = $"tokio::runtime::Builder::new_multi_thread().enable_all().build().unwrap()" - let v146 : _ = Fable.Core.RustInterop.emitRustExpr () v145 - let v147 : string = "v146.handle().block_on($0)" - let v148 : Result option>), std_string_String>>, std_string_String> = Fable.Core.RustInterop.emitRustExpr v144 v147 - let v149 : string = "$0.unwrap()" - let v150 : Vec option>), std_string_String>> = Fable.Core.RustInterop.emitRustExpr v148 v149 + | US4_0(v892) -> (* Some *) + v892 + let v896 : string = "fable_library_rust::String_::fromString($0)" + let v897 : string = Fable.Core.RustInterop.emitRustExpr v895 v896 + let v898 : std_pin_Pin option>), std_string_String>>, std_string_String>>>>> = method14(v897, v862, v827, v792) + let v899 : string = $"tokio::runtime::Builder::new_multi_thread().enable_all().build().unwrap()" + let v900 : _ = Fable.Core.RustInterop.emitRustExpr () v899 + let v901 : string = "v900.handle().block_on($0)" + let v902 : Result option>), std_string_String>>, std_string_String> = Fable.Core.RustInterop.emitRustExpr v898 v901 + let v903 : string = "$0.unwrap()" + let v904 : Vec option>), std_string_String>> = Fable.Core.RustInterop.emitRustExpr v902 v903 0 let v0 : (unit -> unit) = closure0() let tests () = v0 () diff --git a/apps/documents/documents.rs b/apps/documents/documents.rs index 52d7069d..2590c355 100644 --- a/apps/documents/documents.rs +++ b/apps/documents/documents.rs @@ -1001,6 +1001,16 @@ mod module_2555ccf7 { pub fn closure12(unitVar: (), unitVar_1: ()) -> string { string("documents.main") } + pub fn closure14(v0_1: string, unitVar: ()) { + printfn!("{0}", v0_1); + } + pub fn closure13(unitVar: (), v0_1: string) { + let v3: () = { + Documents::closure14(v0_1, ()); + () + }; + () + } pub fn closure6(v0_1: Array, unitVar: ()) { fn v2() { Documents::closure7((), ()); @@ -1016,7 +1026,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -1027,13 +1037,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 2_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -1043,11 +1053,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -1058,26 +1068,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -1086,80 +1097,80 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Info")), 7_i32, ' '); - let v528: &str = inline_colorization::color_bright_green; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Info")), 7_i32, ' '); + let v574: &str = inline_colorization::color_bright_green; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v587: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("{ ")), ()); + let v633: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v594: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("args")), ()); + let v642: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("args")), ()); () }; - let v601: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" = ")), ()); + let v651: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v610: () = { - Documents::closure11(v580.clone(), sprintf!("{}", sprintf!("{:?}", v0_1)), ()); + let v662: () = { + Documents::closure11(v626.clone(), sprintf!("{}", sprintf!("{:?}", v0_1)), ()); () }; - let v617: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" }")), ()); + let v671: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" }")), ()); () }; - let v618: string = v580.l0.get().clone(); - let v657: string = trimEndChars( + let v674: string = v626.l0.get().clone(); + let v713: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, + v166, + v583, + v624, Documents::closure12((), ()), - v618 + v674 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v657.clone()); + println!("{}", v713.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v657) + ((patternInput.1.clone()).l0.get().clone())(v713) } } pub fn method10() -> string { string("source-dir") } - pub fn closure13( + pub fn closure15( v0_1: LrcPtr>>, v1_1: Option, ) -> LrcPtr>> { v0_1.set(v1_1); v0_1 } - pub fn closure14( + pub fn closure16( v0_1: Option, v1_1: Func1, LrcPtr>>>, unitVar: (), @@ -1237,11 +1248,11 @@ mod module_2555ccf7 { _ => None::, } } - pub fn closure15(unitVar: (), v0_1: string) -> Option { + pub fn closure17(unitVar: (), v0_1: string) -> Option { Documents::method21(v0_1) } pub fn method20() -> Func1> { - Func1::new(move |v: string| Documents::closure15((), v)) + Func1::new(move |v: string| Documents::closure17((), v)) } pub fn method22(v0_1: string, v1_1: string, v2: string) -> Documents::US7 { let v0_1: MutCell = MutCell::new(v0_1.clone()); @@ -1268,13 +1279,13 @@ mod module_2555ccf7 { ); () }; - let v26: Documents::US1 = + let v28: Documents::US1 = defaultValue(Documents::US1::US1_1, _v8.get().clone()); - match &v26 { - Documents::US1::US1_0(v26_0_0) => { + match &v28 { + Documents::US1::US1_0(v28_0_0) => { let v0_1_temp: string = v0_1.get().clone(); let v1_1_temp: string = v1_1.get().clone(); - let v2_temp: string = match &v26 { + let v2_temp: string = match &v28 { Documents::US1::US1_0(x) => x.clone(), _ => unreachable!(), }; @@ -1311,12 +1322,12 @@ mod module_2555ccf7 { ); () }; - let v25: Documents::US1 = defaultValue(Documents::US1::US1_1, _v7.get().clone()); - match &v25 { - Documents::US1::US1_0(v25_0_0) => Documents::method22( + let v27: Documents::US1 = defaultValue(Documents::US1::US1_1, _v7.get().clone()); + match &v27 { + Documents::US1::US1_0(v27_0_0) => Documents::method22( v0_1.clone(), v1_1.clone(), - match &v25 { + match &v27 { Documents::US1::US1_0(x) => x.clone(), _ => unreachable!(), }, @@ -1331,10 +1342,10 @@ mod module_2555ccf7 { } } } - pub fn closure17(unitVar: (), unitVar_1: ()) -> string { + pub fn closure19(unitVar: (), unitVar_1: ()) -> string { string("file_system.get_workspace_root") } - pub fn closure16(v0_1: string, unitVar: ()) { + pub fn closure18(v0_1: string, unitVar: ()) { fn v2() { Documents::closure7((), ()); } @@ -1349,7 +1360,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -1360,13 +1371,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 3_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -1376,11 +1387,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -1391,26 +1402,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -1419,67 +1431,67 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Warning")), 7_i32, ' '); - let v528: &str = inline_colorization::color_yellow; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Warning")), 7_i32, ' '); + let v574: &str = inline_colorization::color_yellow; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v587: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("{ ")), ()); + let v633: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v594: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("error")), ()); + let v642: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("error")), ()); () }; - let v601: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" = ")), ()); + let v651: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v607: () = { - Documents::closure11(v580.clone(), sprintf!("{}", v0_1), ()); + let v659: () = { + Documents::closure11(v626.clone(), sprintf!("{}", v0_1), ()); () }; - let v614: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" }")), ()); + let v668: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" }")), ()); () }; - let v615: string = v580.l0.get().clone(); - let v654: string = trimEndChars( + let v671: string = v626.l0.get().clone(); + let v710: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, - Documents::closure17((), ()), - v615 + v166, + v583, + v624, + Documents::closure19((), ()), + v671 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v654.clone()); + println!("{}", v710.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v654) + ((patternInput.1.clone()).l0.get().clone())(v710) } } pub fn method23() -> string { @@ -1645,10 +1657,10 @@ mod module_2555ccf7 { fable_library_rust::String_::fromString(v95) } } - pub fn closure19(unitVar: (), unitVar_1: ()) -> string { + pub fn closure21(unitVar: (), unitVar_1: ()) -> string { string("documents.run") } - pub fn closure18(v0_1: string, v1_1: string, v2: string, v3: string, unitVar: ()) { + pub fn closure20(v0_1: string, v1_1: string, v2: string, v3: string, unitVar: ()) { fn v5() { Documents::closure7((), ()); } @@ -1663,7 +1675,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v25: () = { + let v35: () = { v5(); () }; @@ -1674,13 +1686,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v43: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v63: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 1_i32 >= find( - v43, + v63, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -1690,11 +1702,11 @@ mod module_2555ccf7 { ])))), ) } { - let v51: () = { + let v71: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v53: () = { + let v75: () = { v5(); () }; @@ -1705,26 +1717,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v72: LrcPtr>> = refCell(None::); - let v77: () = { + let _v104: LrcPtr>> = + refCell(None::); + let v109: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v72 = _v72.clone(); - move |v: Option| Documents::closure9(_v72.clone(), v) + let _v104 = _v104.clone(); + move |v: Option| Documents::closure9(_v104.clone(), v) }), (), ); () }; - let v90: Documents::US3 = defaultValue(Documents::US3::US3_1, _v72.get().clone()); - let v130: DateTime = match &v90 { - Documents::US3::US3_0(v90_0_0) => { - let v104: TimeSpan = TimeSpan::new_ticks( + let v124: Documents::US3 = defaultValue(Documents::US3::US3_1, _v104.get().clone()); + let v164: DateTime = match &v124 { + Documents::US3::US3_0(v124_0_0) => { + let v138: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v90 { + } - match &v124 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -1733,130 +1746,130 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v104.hours(), - v104.minutes(), - v104.seconds(), - v104.milliseconds(), + v138.hours(), + v138.minutes(), + v138.seconds(), + v138.milliseconds(), ) } _ => DateTime::now(), }; - let v135: string = { + let v169: string = { let provider: string = Documents::method6(); - v130.toString(provider) - }; - let v515: string = padLeft(toLower(string("Debug")), 7_i32, ' '); - let v531: &str = inline_colorization::color_bright_blue; - let v533: &str = &*v515; - let v535: &str = inline_colorization::color_reset; - let v537: string = string("format!(\"{v531}{v533}{v535}\")"); - let v538: std::string::String = format!("{v531}{v533}{v535}"); - let v540: string = fable_library_rust::String_::fromString(v538); - let v581: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v583: LrcPtr = LrcPtr::new(Documents::Mut4 { + v164.toString(provider) + }; + let v561: string = padLeft(toLower(string("Debug")), 7_i32, ' '); + let v577: &str = inline_colorization::color_bright_blue; + let v579: &str = &*v561; + let v581: &str = inline_colorization::color_reset; + let v583: string = string("format!(\"{v577}{v579}{v581}\")"); + let v584: std::string::String = format!("{v577}{v579}{v581}"); + let v586: string = fable_library_rust::String_::fromString(v584); + let v627: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v629: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v590: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("{ ")), ()); + let v636: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v597: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("source_dir")), ()); + let v645: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("source_dir")), ()); () }; - let v604: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string(" = ")), ()); + let v654: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v610: () = { - Documents::closure11(v583.clone(), sprintf!("{}", v1_1), ()); + let v662: () = { + Documents::closure11(v629.clone(), sprintf!("{}", v1_1), ()); () }; - let v617: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("; ")), ()); + let v671: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("; ")), ()); () }; - let v624: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("dist_dir")), ()); + let v680: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("dist_dir")), ()); () }; - let v630: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string(" = ")), ()); + let v688: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v636: () = { - Documents::closure11(v583.clone(), sprintf!("{}", v2), ()); + let v696: () = { + Documents::closure11(v629.clone(), sprintf!("{}", v2), ()); () }; - let v642: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("; ")), ()); + let v704: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("; ")), ()); () }; - let v649: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("cache_dir")), ()); + let v713: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("cache_dir")), ()); () }; - let v655: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string(" = ")), ()); + let v721: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v661: () = { - Documents::closure11(v583.clone(), sprintf!("{}", v3), ()); + let v729: () = { + Documents::closure11(v629.clone(), sprintf!("{}", v3), ()); () }; - let v667: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("; ")), ()); + let v737: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("; ")), ()); () }; - let v674: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("hangul_spec")), ()); + let v746: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("hangul_spec")), ()); () }; - let v680: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string(" = ")), ()); + let v754: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v686: () = { - Documents::closure11(v583.clone(), sprintf!("{}", v0_1), ()); + let v762: () = { + Documents::closure11(v629.clone(), sprintf!("{}", v0_1), ()); () }; - let v693: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string(" }")), ()); + let v771: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string(" }")), ()); () }; - let v694: string = v583.l0.get().clone(); - let v733: string = trimEndChars( + let v774: string = v629.l0.get().clone(); + let v813: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v135, - v540, - v581, - Documents::closure19((), ()), - v694 + v169, + v586, + v627, + Documents::closure21((), ()), + v774 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v733.clone()); + println!("{}", v813.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v733) + ((patternInput.1.clone()).l0.get().clone())(v813) } } pub fn method30(v0_1: async_walkdir::DirEntry) -> async_walkdir::DirEntry { v0_1 } - pub fn closure21(unitVar: (), v0_1: std::io::Error) -> std::string::String { + pub fn closure23(unitVar: (), v0_1: std::io::Error) -> std::string::String { format!("{}", v0_1) } pub fn method31() -> Func1 { - Func1::new(move |v: std::io::Error| Documents::closure21((), v)) + Func1::new(move |v: std::io::Error| Documents::closure23((), v)) } - pub fn closure22(unitVar: (), v0_1: std::fs::FileType) -> Documents::US8 { + pub fn closure24(unitVar: (), v0_1: std::fs::FileType) -> Documents::US8 { Documents::US8::US8_0(v0_1) } - pub fn closure23(unitVar: (), v0_1: std::string::String) -> Documents::US8 { + pub fn closure25(unitVar: (), v0_1: std::string::String) -> Documents::US8 { Documents::US8::US8_1(v0_1) } pub fn method32(v0_1: std::fs::FileType) -> std::fs::FileType { @@ -1868,7 +1881,7 @@ mod module_2555ccf7 { pub fn method34(v0_1: async_walkdir::Filtering) -> async_walkdir::Filtering { v0_1 } - pub fn closure20( + pub fn closure22( unitVar: (), v0_1: async_walkdir::DirEntry, ) -> std::pin::Pin + Send>> @@ -1892,8 +1905,8 @@ mod module_2555ccf7 { let v12: Result = v9.map_err(|x| v10(x)); let v15: Documents::US8 = match &v12 { - Err(v12_1_0) => Documents::closure23((), v12_1_0.clone()), - Ok(v12_0_0) => Documents::closure22((), v12_0_0.clone()), + Err(v12_1_0) => Documents::closure25((), v12_1_0.clone()), + Ok(v12_0_0) => Documents::closure24((), v12_0_0.clone()), }; let v95: Documents::US9 = Documents::method33(if let Documents::US8::US8_0(v15_0_0) = &v15 { @@ -1955,22 +1968,22 @@ mod module_2555ccf7 { let v121 = __result; v121 } - pub fn closure25(unitVar: (), v0_1: async_walkdir::Error) -> std::string::String { + pub fn closure27(unitVar: (), v0_1: async_walkdir::Error) -> std::string::String { format!("{}", v0_1) } pub fn method36() -> Func1 { - Func1::new(move |v: async_walkdir::Error| Documents::closure25((), v)) + Func1::new(move |v: async_walkdir::Error| Documents::closure27((), v)) } - pub fn closure26(unitVar: (), v0_1: async_walkdir::DirEntry) -> Documents::US10 { + pub fn closure28(unitVar: (), v0_1: async_walkdir::DirEntry) -> Documents::US10 { Documents::US10::US10_0(v0_1) } - pub fn closure27(unitVar: (), v0_1: std::string::String) -> Documents::US10 { + pub fn closure29(unitVar: (), v0_1: std::string::String) -> Documents::US10 { Documents::US10::US10_1(v0_1) } - pub fn closure29(unitVar: (), unitVar_1: ()) -> string { + pub fn closure31(unitVar: (), unitVar_1: ()) -> string { string("documents.run / stream_filter_map") } - pub fn closure28(v0_1: std::string::String, unitVar: ()) { + pub fn closure30(v0_1: std::string::String, unitVar: ()) { fn v2() { Documents::closure7((), ()); } @@ -1985,7 +1998,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -1996,13 +2009,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 4_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -2012,11 +2025,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -2027,26 +2040,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -2055,75 +2069,75 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Critical")), 7_i32, ' '); - let v528: &str = inline_colorization::color_bright_red; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Critical")), 7_i32, ' '); + let v574: &str = inline_colorization::color_bright_red; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v587: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("{ ")), ()); + let v633: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v594: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("error")), ()); + let v642: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("error")), ()); () }; - let v601: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" = ")), ()); + let v651: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v604: std::string::String = format!("{:#?}", v0_1); - let v634: () = { + let v656: std::string::String = format!("{:#?}", v0_1); + let v686: () = { Documents::closure11( - v580.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v604)), + v626.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v656)), (), ); () }; - let v641: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" }")), ()); + let v695: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" }")), ()); () }; - let v642: string = v580.l0.get().clone(); - let v681: string = trimEndChars( + let v698: string = v626.l0.get().clone(); + let v737: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, - Documents::closure29((), ()), - v642 + v166, + v583, + v624, + Documents::closure31((), ()), + v698 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v681.clone()); + println!("{}", v737.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v681) + ((patternInput.1.clone()).l0.get().clone())(v737) } } - pub fn closure24( + pub fn closure26( unitVar: (), v0_1: Result, ) -> Option { @@ -2131,10 +2145,10 @@ mod module_2555ccf7 { let v3: Result = v0_1.map_err(|x| v1_1(x)); let v6: Documents::US10 = match &v3 { - Err(v3_1_0) => Documents::closure27((), v3_1_0.clone()), - Ok(v3_0_0) => Documents::closure26((), v3_0_0.clone()), + Err(v3_1_0) => Documents::closure29((), v3_1_0.clone()), + Ok(v3_0_0) => Documents::closure28((), v3_0_0.clone()), }; - let v42: Documents::US1 = match &v6 { + let v802: Documents::US1 = match &v6 { Documents::US10::US10_0(v6_0_0) => { let v9: std::path::PathBuf = async_walkdir::DirEntry::path(&v6_0_0.clone()); let v11: std::path::Display = v9.display(); @@ -2143,14 +2157,14 @@ mod module_2555ccf7 { } Documents::US10::US10_1(v6_1_0) => { let v39: () = { - Documents::closure28(v6_1_0.clone(), ()); + Documents::closure30(v6_1_0.clone(), ()); () }; Documents::US1::US1_1 } }; - match &v42 { - Documents::US1::US1_0(v42_0_0) => Some(match &v42 { + match &v802 { + Documents::US1::US1_0(v802_0_0) => Some(match &v802 { Documents::US1::US1_0(x) => x.clone(), _ => unreachable!(), }), @@ -2161,14 +2175,14 @@ mod module_2555ccf7 { ) -> Func1, Option> { Func1::new( move |v: Result| { - Documents::closure24((), v) + Documents::closure26((), v) }, ) } - pub fn closure31(unitVar: (), unitVar_1: ()) -> string { + pub fn closure33(unitVar: (), unitVar_1: ()) -> string { string("documents.run") } - pub fn closure30(v0_1: Vec, unitVar: ()) { + pub fn closure32(v0_1: Vec, unitVar: ()) { fn v2() { Documents::closure7((), ()); } @@ -2183,7 +2197,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -2194,13 +2208,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 1_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -2210,11 +2224,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -2225,26 +2239,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -2253,73 +2268,73 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Debug")), 7_i32, ' '); - let v528: &str = inline_colorization::color_bright_blue; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: usize = v0_1.len(); - let v582: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Debug")), 7_i32, ' '); + let v574: &str = inline_colorization::color_bright_blue; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: usize = v0_1.len(); + let v628: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v589: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("{ ")), ()); + let v635: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v596: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("files_len")), ()); + let v644: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("files_len")), ()); () }; - let v603: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" = ")), ()); + let v653: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v606: std::string::String = format!("{:#?}", v580); - let v636: () = { + let v658: std::string::String = format!("{:#?}", v626); + let v688: () = { Documents::closure11( - v582.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v606)), + v628.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v658)), (), ); () }; - let v643: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" }")), ()); + let v697: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" }")), ()); () }; - let v644: string = v582.l0.get().clone(); - let v683: string = trimEndChars( + let v700: string = v628.l0.get().clone(); + let v739: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, - Documents::closure31((), ()), - v644 + v166, + v583, + v624, + Documents::closure33((), ()), + v700 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v683.clone()); + println!("{}", v739.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v683) + ((patternInput.1.clone()).l0.get().clone())(v739) } } pub fn method37() -> string { @@ -2339,20 +2354,20 @@ mod module_2555ccf7 { ) -> string { v0_1 } - pub fn closure35(v0_1: char, v1_1: LrcPtr) -> LrcPtr { + pub fn closure37(v0_1: char, v1_1: LrcPtr) -> LrcPtr { LrcPtr::new(Documents::UH0::UH0_1(v0_1, v1_1)) } - pub fn closure34( + pub fn closure36( unitVar: (), v0_1: char, ) -> Func1, LrcPtr> { Func1::new({ let v0_1 = v0_1.clone(); - move |v: LrcPtr| Documents::closure35(v0_1, v) + move |v: LrcPtr| Documents::closure37(v0_1, v) }) } pub fn method42() -> Func1, LrcPtr>> { - Func1::new(move |v: char| Documents::closure34((), v)) + Func1::new(move |v: char| Documents::closure36((), v)) } pub fn method43( v0_1: LrcPtr, @@ -2408,7 +2423,7 @@ mod module_2555ccf7 { }); } } - pub fn closure33( + pub fn closure35( unitVar: (), _arg: (string, LrcPtr, i32, i32), ) -> Documents::US12 { @@ -2486,7 +2501,7 @@ mod module_2555ccf7 { } } } - pub fn closure36( + pub fn closure38( unitVar: (), _arg: (string, LrcPtr, i32, i32), ) -> Documents::US12 { @@ -3105,10 +3120,10 @@ mod module_2555ccf7 { ); let v11: LrcPtr = StringBuilder::_ctor__Z721C83C5(string("")); fn v12(arg10_0040: (string, LrcPtr, i32, i32)) -> Documents::US12 { - Documents::closure33((), arg10_0040) + Documents::closure35((), arg10_0040) } fn v13(arg10_0040_1: (string, LrcPtr, i32, i32)) -> Documents::US12 { - Documents::closure36((), arg10_0040_1) + Documents::closure38((), arg10_0040_1) } let v17: Documents::US12 = Documents::method44( v7.clone(), @@ -3921,7 +3936,7 @@ mod module_2555ccf7 { }); } } - pub fn closure37( + pub fn closure39( unitVar: (), _arg: (string, LrcPtr, i32, i32), ) -> Documents::US13 { @@ -4068,7 +4083,7 @@ mod module_2555ccf7 { Documents::US12::US12_1(v114_1_0) => Documents::US13::US13_1(v114_1_0.clone()), } } - pub fn closure38( + pub fn closure40( unitVar: (), _arg: (string, LrcPtr, i32, i32), ) -> Documents::US13 { @@ -4400,7 +4415,7 @@ mod module_2555ccf7 { LrcPtr::new(Documents::UH3::UH3_1( Func1::new( move |arg10_0040: (string, LrcPtr, i32, i32)| { - Documents::closure37((), arg10_0040) + Documents::closure39((), arg10_0040) }, ), LrcPtr::new(Documents::UH3::UH3_1( @@ -4411,7 +4426,7 @@ mod module_2555ccf7 { i32, i32, )| { - Documents::closure38((), arg10_0040_1) + Documents::closure40((), arg10_0040_1) }, ), LrcPtr::new(Documents::UH3::UH3_0), @@ -5014,7 +5029,7 @@ mod module_2555ccf7 { LrcPtr, i32, i32)| - Documents::closure37((), + Documents::closure39((), arg10_0040)), LrcPtr::new(Documents::UH3::UH3_1(Func1::new(move |arg10_0040_1: @@ -5022,7 +5037,7 @@ mod module_2555ccf7 { LrcPtr, i32, i32)| - Documents::closure38((), + Documents::closure40((), arg10_0040_1)), LrcPtr::new(Documents::UH3::UH3_0)))))); let v305: Documents::US13 = match &v294 { @@ -5208,10 +5223,10 @@ mod module_2555ccf7 { } } } - pub fn closure40(unitVar: (), unitVar_1: ()) -> string { + pub fn closure42(unitVar: (), unitVar_1: ()) -> string { string("runtime.execute_with_options") } - pub fn closure39( + pub fn closure41( v0_1: string, v1_1: Option, v2: Array<(string, string)>, @@ -5237,7 +5252,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v30: () = { + let v40: () = { v10(); () }; @@ -5248,13 +5263,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v48: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v68: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 1_i32 >= find( - v48, + v68, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -5264,11 +5279,11 @@ mod module_2555ccf7 { ])))), ) } { - let v56: () = { + let v76: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v58: () = { + let v80: () = { v10(); () }; @@ -5279,26 +5294,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v77: LrcPtr>> = refCell(None::); - let v82: () = { + let _v109: LrcPtr>> = + refCell(None::); + let v114: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v77 = _v77.clone(); - move |v: Option| Documents::closure9(_v77.clone(), v) + let _v109 = _v109.clone(); + move |v: Option| Documents::closure9(_v109.clone(), v) }), (), ); () }; - let v95: Documents::US3 = defaultValue(Documents::US3::US3_1, _v77.get().clone()); - let v135: DateTime = match &v95 { - Documents::US3::US3_0(v95_0_0) => { - let v109: TimeSpan = TimeSpan::new_ticks( + let v129: Documents::US3 = defaultValue(Documents::US3::US3_1, _v109.get().clone()); + let v169: DateTime = match &v129 { + Documents::US3::US3_0(v129_0_0) => { + let v143: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v95 { + } - match &v129 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -5307,255 +5323,255 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v109.hours(), - v109.minutes(), - v109.seconds(), - v109.milliseconds(), + v143.hours(), + v143.minutes(), + v143.seconds(), + v143.milliseconds(), ) } _ => DateTime::now(), }; - let v140: string = { + let v174: string = { let provider: string = Documents::method6(); - v135.toString(provider) - }; - let v520: string = padLeft(toLower(string("Debug")), 7_i32, ' '); - let v536: &str = inline_colorization::color_bright_blue; - let v538: &str = &*v520; - let v540: &str = inline_colorization::color_reset; - let v542: string = string("format!(\"{v536}{v538}{v540}\")"); - let v543: std::string::String = format!("{v536}{v538}{v540}"); - let v545: string = fable_library_rust::String_::fromString(v543); - let v586: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v588: LrcPtr = LrcPtr::new(Documents::Mut4 { + v169.toString(provider) + }; + let v566: string = padLeft(toLower(string("Debug")), 7_i32, ' '); + let v582: &str = inline_colorization::color_bright_blue; + let v584: &str = &*v566; + let v586: &str = inline_colorization::color_reset; + let v588: string = string("format!(\"{v582}{v584}{v586}\")"); + let v589: std::string::String = format!("{v582}{v584}{v586}"); + let v591: string = fable_library_rust::String_::fromString(v589); + let v632: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v634: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v595: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("{ ")), ()); + let v641: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v602: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("file_name")), ()); + let v650: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("file_name")), ()); () }; - let v609: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" = ")), ()); + let v659: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v615: () = { - Documents::closure11(v588.clone(), sprintf!("{}", v7), ()); + let v667: () = { + Documents::closure11(v634.clone(), sprintf!("{}", v7), ()); () }; - let v622: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("; ")), ()); + let v676: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("; ")), ()); () }; - let v629: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("arguments")), ()); + let v685: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("arguments")), ()); () }; - let v635: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" = ")), ()); + let v693: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v638: std::string::String = format!("{:#?}", v8); - let v668: () = { + let v698: std::string::String = format!("{:#?}", v8); + let v728: () = { Documents::closure11( - v588.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v638)), + v634.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v698)), (), ); () }; - let v674: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("; ")), ()); + let v736: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("; ")), ()); () }; - let v681: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("options")), ()); + let v745: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("options")), ()); () }; - let v687: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" = ")), ()); + let v753: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v693: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("{ ")), ()); + let v761: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v700: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("command")), ()); + let v770: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("command")), ()); () }; - let v706: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" = ")), ()); + let v778: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v712: () = { - Documents::closure11(v588.clone(), sprintf!("{}", v0_1), ()); + let v786: () = { + Documents::closure11(v634.clone(), sprintf!("{}", v0_1), ()); () }; - let v718: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("; ")), ()); + let v794: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("; ")), ()); () }; - let v725: () = { + let v803: () = { Documents::closure11( - v588.clone(), + v634.clone(), sprintf!("{}", string("cancellation_token")), (), ); () }; - let v731: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" = ")), ()); + let v811: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v734: std::string::String = format!("{:#?}", v1_1); - let v764: () = { + let v816: std::string::String = format!("{:#?}", v1_1); + let v846: () = { Documents::closure11( - v588.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v734)), + v634.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v816)), (), ); () }; - let v770: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("; ")), ()); + let v854: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("; ")), ()); () }; - let v777: () = { + let v863: () = { Documents::closure11( - v588.clone(), + v634.clone(), sprintf!("{}", string("environment_variables")), (), ); () }; - let v783: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" = ")), ()); + let v871: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v792: () = { - Documents::closure11(v588.clone(), sprintf!("{}", sprintf!("{:?}", v2)), ()); + let v882: () = { + Documents::closure11(v634.clone(), sprintf!("{}", sprintf!("{:?}", v2)), ()); () }; - let v798: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("; ")), ()); + let v890: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("; ")), ()); () }; - let v805: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("on_line")), ()); + let v899: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("on_line")), ()); () }; - let v811: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" = ")), ()); + let v907: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v814: std::string::String = format!("{:#?}", v3); - let v844: () = { + let v912: std::string::String = format!("{:#?}", v3); + let v942: () = { Documents::closure11( - v588.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v814)), + v634.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v912)), (), ); () }; - let v850: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("; ")), ()); + let v950: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("; ")), ()); () }; - let v857: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("stdin")), ()); + let v959: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("stdin")), ()); () }; - let v863: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" = ")), ()); + let v967: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v866: std::string::String = format!("{:#?}", v4); - let v896: () = { + let v972: std::string::String = format!("{:#?}", v4); + let v1002: () = { Documents::closure11( - v588.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v866)), + v634.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v972)), (), ); () }; - let v902: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("; ")), ()); + let v1010: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("; ")), ()); () }; - let v909: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("trace")), ()); + let v1019: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("trace")), ()); () }; - let v915: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" = ")), ()); + let v1027: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v924: () = { + let v1038: () = { Documents::closure11( - v588.clone(), + v634.clone(), sprintf!("{}", if v5 { string("true") } else { string("false") }), (), ); () }; - let v930: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string("; ")), ()); + let v1046: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string("; ")), ()); () }; - let v937: () = { + let v1055: () = { Documents::closure11( - v588.clone(), + v634.clone(), sprintf!("{}", string("working_directory")), (), ); () }; - let v943: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" = ")), ()); + let v1063: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v946: std::string::String = format!("{:#?}", v6); - let v976: () = { + let v1068: std::string::String = format!("{:#?}", v6); + let v1098: () = { Documents::closure11( - v588.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v946)), + v634.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v1068)), (), ); () }; - let v983: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" }")), ()); + let v1107: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" }")), ()); () }; - let v989: () = { - Documents::closure11(v588.clone(), sprintf!("{}", string(" }")), ()); + let v1115: () = { + Documents::closure11(v634.clone(), sprintf!("{}", string(" }")), ()); () }; - let v990: string = v588.l0.get().clone(); - let v1029: string = trimEndChars( + let v1118: string = v634.l0.get().clone(); + let v1157: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v140, - v545, - v586, - Documents::closure40((), ()), - v990 + v174, + v591, + v632, + Documents::closure42((), ()), + v1118 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v1029.clone()); + println!("{}", v1157.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v1029) + ((patternInput.1.clone()).l0.get().clone())(v1157) } } - pub fn closure41( + pub fn closure43( unitVar: (), v0_1: std::sync::Arc>>, ) -> Documents::US21 { @@ -5566,20 +5582,20 @@ mod module_2555ccf7 { { Func1::new( move |v: std::sync::Arc>>| { - Documents::closure41((), v) + Documents::closure43((), v) }, ) } - pub fn closure42(unitVar: (), v0_1: std::string::String) -> Documents::US21 { + pub fn closure44(unitVar: (), v0_1: std::string::String) -> Documents::US21 { Documents::US21::US21_1(v0_1) } pub fn method64() -> Func1 { - Func1::new(move |v: std::string::String| Documents::closure42((), v)) + Func1::new(move |v: std::string::String| Documents::closure44((), v)) } - pub fn closure44(unitVar: (), unitVar_1: ()) -> string { + pub fn closure46(unitVar: (), unitVar_1: ()) -> string { string("runtime.execute_with_options / child error") } - pub fn closure43(v0_1: std::string::String, unitVar: ()) { + pub fn closure45(v0_1: std::string::String, unitVar: ()) { fn v2() { Documents::closure7((), ()); } @@ -5594,7 +5610,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -5605,13 +5621,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 4_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -5621,11 +5637,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -5636,26 +5652,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -5664,72 +5681,72 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Critical")), 7_i32, ' '); - let v528: &str = inline_colorization::color_bright_red; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Critical")), 7_i32, ' '); + let v574: &str = inline_colorization::color_bright_red; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v587: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("{ ")), ()); + let v633: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v594: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("error")), ()); + let v642: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("error")), ()); () }; - let v601: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" = ")), ()); + let v651: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v604: std::string::String = format!("{:#?}", v0_1); - let v634: () = { + let v656: std::string::String = format!("{:#?}", v0_1); + let v686: () = { Documents::closure11( - v580.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v604)), + v626.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v656)), (), ); () }; - let v641: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" }")), ()); + let v695: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" }")), ()); () }; - let v642: string = v580.l0.get().clone(); - let v681: string = trimEndChars( + let v698: string = v626.l0.get().clone(); + let v737: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, - Documents::closure44((), ()), - v642 + v166, + v583, + v624, + Documents::closure46((), ()), + v698 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v681.clone()); + println!("{}", v737.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v681) + ((patternInput.1.clone()).l0.get().clone())(v737) } } pub fn method65( @@ -5737,22 +5754,22 @@ mod module_2555ccf7 { ) -> std::sync::Arc>> { v0_1 } - pub fn closure45(unitVar: (), v0_1: std::string::String) -> Documents::US23 { + pub fn closure47(unitVar: (), v0_1: std::string::String) -> Documents::US23 { Documents::US23::US23_0(v0_1) } pub fn method66() -> Func1 { - Func1::new(move |v: std::string::String| Documents::closure45((), v)) + Func1::new(move |v: std::string::String| Documents::closure47((), v)) } - pub fn closure46(unitVar: (), v0_1: std::string::String) -> Documents::US23 { + pub fn closure48(unitVar: (), v0_1: std::string::String) -> Documents::US23 { Documents::US23::US23_1(v0_1) } pub fn method67() -> Func1 { - Func1::new(move |v: std::string::String| Documents::closure46((), v)) + Func1::new(move |v: std::string::String| Documents::closure48((), v)) } - pub fn closure48(unitVar: (), unitVar_1: ()) -> string { + pub fn closure50(unitVar: (), unitVar_1: ()) -> string { string("runtime.stdio_line") } - pub fn closure47(v0_1: std::string::String, unitVar: ()) { + pub fn closure49(v0_1: std::string::String, unitVar: ()) { fn v2() { Documents::closure7((), ()); } @@ -5767,7 +5784,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -5778,13 +5795,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 4_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -5794,11 +5811,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -5809,26 +5826,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -5837,78 +5855,78 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Critical")), 7_i32, ' '); - let v528: &str = inline_colorization::color_bright_red; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Critical")), 7_i32, ' '); + let v574: &str = inline_colorization::color_bright_red; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v587: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("{ ")), ()); + let v633: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v594: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("e")), ()); + let v642: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("e")), ()); () }; - let v601: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" = ")), ()); + let v651: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v604: std::string::String = format!("{:#?}", v0_1); - let v634: () = { + let v656: std::string::String = format!("{:#?}", v0_1); + let v686: () = { Documents::closure11( - v580.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v604)), + v626.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v656)), (), ); () }; - let v641: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" }")), ()); + let v695: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" }")), ()); () }; - let v642: string = v580.l0.get().clone(); - let v681: string = trimEndChars( + let v698: string = v626.l0.get().clone(); + let v737: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, - Documents::closure48((), ()), - v642 + v166, + v583, + v624, + Documents::closure50((), ()), + v698 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v681.clone()); + println!("{}", v737.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v681) + ((patternInput.1.clone()).l0.get().clone())(v737) } } - pub fn closure50(v0_1: string, unitVar: ()) -> string { + pub fn closure52(v0_1: string, unitVar: ()) -> string { v0_1 } - pub fn closure49(v0_1: string, unitVar: ()) { + pub fn closure51(v0_1: string, unitVar: ()) { fn v2() { Documents::closure7((), ()); } @@ -5923,7 +5941,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -5934,13 +5952,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 0_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -5950,11 +5968,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -5965,26 +5983,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -5993,59 +6012,56 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Verbose")), 7_i32, ' '); - let v528: &str = inline_colorization::color_bright_black; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Verbose")), 7_i32, ' '); + let v574: &str = inline_colorization::color_bright_black; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v581: string = v580.l0.get().clone(); - let v620: string = trimEndChars( + let v627: string = v626.l0.get().clone(); + let v666: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, - Documents::closure50(v0_1, ()), - v581 + v166, + v583, + v624, + Documents::closure52(v0_1, ()), + v627 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v620.clone()); + println!("{}", v666.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v620) + ((patternInput.1.clone()).l0.get().clone())(v666) } } - pub fn closure51(v0_1: string, unitVar: ()) { - printfn!("{0}", v0_1); - } pub fn method68( v0_1: std::sync::Arc>>, ) -> std::sync::Arc>> { v0_1 } - pub fn closure52( + pub fn closure53( unitVar: (), v0_1: std::sync::mpsc::SendError, ) -> std::string::String { @@ -6054,20 +6070,20 @@ mod module_2555ccf7 { pub fn method69( ) -> Func1, std::string::String> { Func1::new(move |v: std::sync::mpsc::SendError| { - Documents::closure52((), v) + Documents::closure53((), v) }) } pub fn method70(v0_1: Result<(), string>) -> Result<(), string> { v0_1 } - pub fn closure53( + pub fn closure54( v0_1: LrcPtr>>, v1_1: Option, ) -> LrcPtr>> { v0_1.set(v1_1); v0_1 } - pub fn closure54( + pub fn closure55( v0_1: Option>, ()>>, v1_1: Func1, LrcPtr>>>, unitVar: (), @@ -6092,14 +6108,14 @@ mod module_2555ccf7 { ) -> std::sync::Arc>> { v0_1 } - pub fn closure55( + pub fn closure56( v0_1: LrcPtr>>, v1_1: Option, ) -> LrcPtr>> { v0_1.set(v1_1); v0_1 } - pub fn closure56( + pub fn closure57( v0_1: Option>>, v1_1: Func1, LrcPtr>>>, unitVar: (), @@ -6135,16 +6151,16 @@ mod module_2555ccf7 { ) -> std::thread::JoinHandle> { v0_1 } - pub fn closure57(unitVar: (), v0_1: std::process::Output) -> Documents::US26 { + pub fn closure58(unitVar: (), v0_1: std::process::Output) -> Documents::US26 { Documents::US26::US26_0(v0_1) } - pub fn closure58(unitVar: (), v0_1: std::string::String) -> Documents::US26 { + pub fn closure59(unitVar: (), v0_1: std::string::String) -> Documents::US26 { Documents::US26::US26_1(v0_1) } - pub fn closure60(unitVar: (), unitVar_1: ()) -> string { + pub fn closure61(unitVar: (), unitVar_1: ()) -> string { string("runtime.execute_with_options / output error") } - pub fn closure59(v0_1: std::string::String, unitVar: ()) { + pub fn closure60(v0_1: std::string::String, unitVar: ()) { fn v2() { Documents::closure7((), ()); } @@ -6159,7 +6175,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -6170,13 +6186,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 4_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -6186,11 +6202,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -6201,26 +6217,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -6229,82 +6246,82 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Critical")), 7_i32, ' '); - let v528: &str = inline_colorization::color_bright_red; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Critical")), 7_i32, ' '); + let v574: &str = inline_colorization::color_bright_red; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v587: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("{ ")), ()); + let v633: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v594: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("error")), ()); + let v642: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("error")), ()); () }; - let v601: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" = ")), ()); + let v651: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v604: std::string::String = format!("{:#?}", v0_1); - let v634: () = { + let v656: std::string::String = format!("{:#?}", v0_1); + let v686: () = { Documents::closure11( - v580.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v604)), + v626.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v656)), (), ); () }; - let v641: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" }")), ()); + let v695: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" }")), ()); () }; - let v642: string = v580.l0.get().clone(); - let v681: string = trimEndChars( + let v698: string = v626.l0.get().clone(); + let v737: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, - Documents::closure60((), ()), - v642 + v166, + v583, + v624, + Documents::closure61((), ()), + v698 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v681.clone()); + println!("{}", v737.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v681) + ((patternInput.1.clone()).l0.get().clone())(v737) } } - pub fn closure61( + pub fn closure62( v0_1: LrcPtr>>, v1_1: Option, ) -> LrcPtr>> { v0_1.set(v1_1); v0_1 } - pub fn closure62( + pub fn closure63( v0_1: Option, v1_1: Func1, LrcPtr>>>, unitVar: (), @@ -6333,10 +6350,10 @@ mod module_2555ccf7 { > { v0_1 } - pub fn closure64(unitVar: (), unitVar_1: ()) -> string { + pub fn closure65(unitVar: (), unitVar_1: ()) -> string { string("runtime.execute_with_options / result") } - pub fn closure63(v0_1: i32, v1_1: string, unitVar: ()) { + pub fn closure64(v0_1: i32, v1_1: string, unitVar: ()) { fn v3() { Documents::closure7((), ()); } @@ -6351,7 +6368,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v23: () = { + let v33: () = { v3(); () }; @@ -6362,13 +6379,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v41: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v61: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 0_i32 >= find( - v41, + v61, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -6378,11 +6395,11 @@ mod module_2555ccf7 { ])))), ) } { - let v49: () = { + let v69: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v51: () = { + let v73: () = { v3(); () }; @@ -6393,26 +6410,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v70: LrcPtr>> = refCell(None::); - let v75: () = { + let _v102: LrcPtr>> = + refCell(None::); + let v107: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v70 = _v70.clone(); - move |v: Option| Documents::closure9(_v70.clone(), v) + let _v102 = _v102.clone(); + move |v: Option| Documents::closure9(_v102.clone(), v) }), (), ); () }; - let v88: Documents::US3 = defaultValue(Documents::US3::US3_1, _v70.get().clone()); - let v128: DateTime = match &v88 { - Documents::US3::US3_0(v88_0_0) => { - let v102: TimeSpan = TimeSpan::new_ticks( + let v122: Documents::US3 = defaultValue(Documents::US3::US3_1, _v102.get().clone()); + let v162: DateTime = match &v122 { + Documents::US3::US3_0(v122_0_0) => { + let v136: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v88 { + } - match &v122 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -6421,94 +6439,94 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v102.hours(), - v102.minutes(), - v102.seconds(), - v102.milliseconds(), + v136.hours(), + v136.minutes(), + v136.seconds(), + v136.milliseconds(), ) } _ => DateTime::now(), }; - let v133: string = { + let v167: string = { let provider: string = Documents::method6(); - v128.toString(provider) - }; - let v513: string = padLeft(toLower(string("Verbose")), 7_i32, ' '); - let v529: &str = inline_colorization::color_bright_black; - let v531: &str = &*v513; - let v533: &str = inline_colorization::color_reset; - let v535: string = string("format!(\"{v529}{v531}{v533}\")"); - let v536: std::string::String = format!("{v529}{v531}{v533}"); - let v538: string = fable_library_rust::String_::fromString(v536); - let v579: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: i32 = length(v1_1); - let v582: LrcPtr = LrcPtr::new(Documents::Mut4 { + v162.toString(provider) + }; + let v559: string = padLeft(toLower(string("Verbose")), 7_i32, ' '); + let v575: &str = inline_colorization::color_bright_black; + let v577: &str = &*v559; + let v579: &str = inline_colorization::color_reset; + let v581: string = string("format!(\"{v575}{v577}{v579}\")"); + let v582: std::string::String = format!("{v575}{v577}{v579}"); + let v584: string = fable_library_rust::String_::fromString(v582); + let v625: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: i32 = length(v1_1); + let v628: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v589: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("{ ")), ()); + let v635: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v596: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("exit_code")), ()); + let v644: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("exit_code")), ()); () }; - let v603: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" = ")), ()); + let v653: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v609: () = { - Documents::closure11(v582.clone(), sprintf!("{}", v0_1), ()); + let v661: () = { + Documents::closure11(v628.clone(), sprintf!("{}", v0_1), ()); () }; - let v616: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("; ")), ()); + let v670: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("; ")), ()); () }; - let v623: () = { + let v679: () = { Documents::closure11( - v582.clone(), + v628.clone(), sprintf!("{}", string("std_trace_length")), (), ); () }; - let v629: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" = ")), ()); + let v687: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v635: () = { - Documents::closure11(v582.clone(), sprintf!("{}", v580), ()); + let v695: () = { + Documents::closure11(v628.clone(), sprintf!("{}", v626), ()); () }; - let v642: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" }")), ()); + let v704: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" }")), ()); () }; - let v643: string = v582.l0.get().clone(); - let v682: string = trimEndChars( + let v707: string = v628.l0.get().clone(); + let v746: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v133, - v538, - v579, - Documents::closure64((), ()), - v643 + v167, + v584, + v625, + Documents::closure65((), ()), + v707 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v682.clone()); + println!("{}", v746.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v682) + ((patternInput.1.clone()).l0.get().clone())(v746) } } - pub fn closure66(unitVar: (), unitVar_1: ()) -> string { + pub fn closure67(unitVar: (), unitVar_1: ()) -> string { string("runtime.execute_with_options_async") } - pub fn closure65( + pub fn closure66( v0_1: string, v1_1: Option, v2: Array<(string, string)>, @@ -6532,7 +6550,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v28: () = { + let v38: () = { v8(); () }; @@ -6543,13 +6561,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v46: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v66: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 1_i32 >= find( - v46, + v66, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -6559,11 +6577,11 @@ mod module_2555ccf7 { ])))), ) } { - let v54: () = { + let v74: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v56: () = { + let v78: () = { v8(); () }; @@ -6574,26 +6592,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v75: LrcPtr>> = refCell(None::); - let v80: () = { + let _v107: LrcPtr>> = + refCell(None::); + let v112: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v75 = _v75.clone(); - move |v: Option| Documents::closure9(_v75.clone(), v) + let _v107 = _v107.clone(); + move |v: Option| Documents::closure9(_v107.clone(), v) }), (), ); () }; - let v93: Documents::US3 = defaultValue(Documents::US3::US3_1, _v75.get().clone()); - let v133: DateTime = match &v93 { - Documents::US3::US3_0(v93_0_0) => { - let v107: TimeSpan = TimeSpan::new_ticks( + let v127: Documents::US3 = defaultValue(Documents::US3::US3_1, _v107.get().clone()); + let v167: DateTime = match &v127 { + Documents::US3::US3_0(v127_0_0) => { + let v141: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v93 { + } - match &v127 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -6602,225 +6621,225 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v107.hours(), - v107.minutes(), - v107.seconds(), - v107.milliseconds(), + v141.hours(), + v141.minutes(), + v141.seconds(), + v141.milliseconds(), ) } _ => DateTime::now(), }; - let v138: string = { + let v172: string = { let provider: string = Documents::method6(); - v133.toString(provider) - }; - let v518: string = padLeft(toLower(string("Debug")), 7_i32, ' '); - let v534: &str = inline_colorization::color_bright_blue; - let v536: &str = &*v518; - let v538: &str = inline_colorization::color_reset; - let v540: string = string("format!(\"{v534}{v536}{v538}\")"); - let v541: std::string::String = format!("{v534}{v536}{v538}"); - let v543: string = fable_library_rust::String_::fromString(v541); - let v584: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v586: LrcPtr = LrcPtr::new(Documents::Mut4 { + v167.toString(provider) + }; + let v564: string = padLeft(toLower(string("Debug")), 7_i32, ' '); + let v580: &str = inline_colorization::color_bright_blue; + let v582: &str = &*v564; + let v584: &str = inline_colorization::color_reset; + let v586: string = string("format!(\"{v580}{v582}{v584}\")"); + let v587: std::string::String = format!("{v580}{v582}{v584}"); + let v589: string = fable_library_rust::String_::fromString(v587); + let v630: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v632: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v593: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("{ ")), ()); + let v639: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v600: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("options")), ()); + let v648: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("options")), ()); () }; - let v607: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string(" = ")), ()); + let v657: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v613: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("{ ")), ()); + let v665: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v620: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("command")), ()); + let v674: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("command")), ()); () }; - let v626: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string(" = ")), ()); + let v682: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v632: () = { - Documents::closure11(v586.clone(), sprintf!("{}", v0_1), ()); + let v690: () = { + Documents::closure11(v632.clone(), sprintf!("{}", v0_1), ()); () }; - let v639: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("; ")), ()); + let v699: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("; ")), ()); () }; - let v646: () = { + let v708: () = { Documents::closure11( - v586.clone(), + v632.clone(), sprintf!("{}", string("cancellation_token")), (), ); () }; - let v652: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string(" = ")), ()); + let v716: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v655: std::string::String = format!("{:#?}", v1_1); - let v685: () = { + let v721: std::string::String = format!("{:#?}", v1_1); + let v751: () = { Documents::closure11( - v586.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v655)), + v632.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v721)), (), ); () }; - let v691: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("; ")), ()); + let v759: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("; ")), ()); () }; - let v698: () = { + let v768: () = { Documents::closure11( - v586.clone(), + v632.clone(), sprintf!("{}", string("environment_variables")), (), ); () }; - let v704: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string(" = ")), ()); + let v776: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v713: () = { - Documents::closure11(v586.clone(), sprintf!("{}", sprintf!("{:?}", v2)), ()); + let v787: () = { + Documents::closure11(v632.clone(), sprintf!("{}", sprintf!("{:?}", v2)), ()); () }; - let v719: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("; ")), ()); + let v795: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("; ")), ()); () }; - let v726: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("on_line")), ()); + let v804: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("on_line")), ()); () }; - let v732: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string(" = ")), ()); + let v812: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v735: std::string::String = format!("{:#?}", v3); - let v765: () = { + let v817: std::string::String = format!("{:#?}", v3); + let v847: () = { Documents::closure11( - v586.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v735)), + v632.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v817)), (), ); () }; - let v771: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("; ")), ()); + let v855: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("; ")), ()); () }; - let v778: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("stdin")), ()); + let v864: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("stdin")), ()); () }; - let v784: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string(" = ")), ()); + let v872: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v787: std::string::String = format!("{:#?}", v4); - let v817: () = { + let v877: std::string::String = format!("{:#?}", v4); + let v907: () = { Documents::closure11( - v586.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v787)), + v632.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v877)), (), ); () }; - let v823: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("; ")), ()); + let v915: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("; ")), ()); () }; - let v830: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("trace")), ()); + let v924: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("trace")), ()); () }; - let v836: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string(" = ")), ()); + let v932: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v845: () = { + let v943: () = { Documents::closure11( - v586.clone(), + v632.clone(), sprintf!("{}", if v5 { string("true") } else { string("false") }), (), ); () }; - let v851: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string("; ")), ()); + let v951: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string("; ")), ()); () }; - let v858: () = { + let v960: () = { Documents::closure11( - v586.clone(), + v632.clone(), sprintf!("{}", string("working_directory")), (), ); () }; - let v864: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string(" = ")), ()); + let v968: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v867: std::string::String = format!("{:#?}", v6); - let v897: () = { + let v973: std::string::String = format!("{:#?}", v6); + let v1003: () = { Documents::closure11( - v586.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v867)), + v632.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v973)), (), ); () }; - let v904: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string(" }")), ()); + let v1012: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string(" }")), ()); () }; - let v910: () = { - Documents::closure11(v586.clone(), sprintf!("{}", string(" }")), ()); + let v1020: () = { + Documents::closure11(v632.clone(), sprintf!("{}", string(" }")), ()); () }; - let v911: string = v586.l0.get().clone(); - let v950: string = trimEndChars( + let v1023: string = v632.l0.get().clone(); + let v1062: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v138, - v543, - v584, - Documents::closure66((), ()), - v911 + v172, + v589, + v630, + Documents::closure67((), ()), + v1023 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v950.clone()); + println!("{}", v1062.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v950) + ((patternInput.1.clone()).l0.get().clone())(v1062) } } - pub fn closure68( + pub fn closure69( v0_1: LrcPtr>>, v1_1: Option, ) -> LrcPtr>> { v0_1.set(v1_1); v0_1 } - pub fn closure69( + pub fn closure70( v0_1: Option>>>, v1_1: Func1, LrcPtr>>>, unitVar: (), @@ -6840,10 +6859,10 @@ mod module_2555ccf7 { } () } - pub fn closure71(v0_1: string, unitVar: ()) -> string { + pub fn closure72(v0_1: string, unitVar: ()) -> string { v0_1 } - pub fn closure70(v0_1: string, unitVar: ()) { + pub fn closure71(v0_1: string, unitVar: ()) { fn v2() { Documents::closure7((), ()); } @@ -6858,7 +6877,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -6869,13 +6888,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 0_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -6885,11 +6904,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -6900,26 +6919,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -6928,50 +6948,50 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Verbose")), 7_i32, ' '); - let v528: &str = inline_colorization::color_bright_black; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Verbose")), 7_i32, ' '); + let v574: &str = inline_colorization::color_bright_black; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v581: string = v580.l0.get().clone(); - let v620: string = trimEndChars( + let v627: string = v626.l0.get().clone(); + let v666: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, - Documents::closure71(v0_1, ()), - v581 + v166, + v583, + v624, + Documents::closure72(v0_1, ()), + v627 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v620.clone()); + println!("{}", v666.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v620) + ((patternInput.1.clone()).l0.get().clone())(v666) } } - pub fn closure67( + pub fn closure68( v0_1: string, v1_1: Option, v2: Array<(string, string)>, @@ -6988,7 +7008,7 @@ mod module_2555ccf7 { (); () } - pub fn closure72( + pub fn closure73( v0_1: string, v1_1: Option, v2: Array<(string, string)>, @@ -7005,14 +7025,14 @@ mod module_2555ccf7 { (); () } - pub fn closure73( + pub fn closure74( v0_1: LrcPtr>>, v1_1: Option, ) -> LrcPtr>> { v0_1.set(v1_1); v0_1 } - pub fn closure74( + pub fn closure75( v0_1: Option, v1_1: Func1, LrcPtr>>>, unitVar: (), @@ -7032,16 +7052,16 @@ mod module_2555ccf7 { } () } - pub fn closure75(v0_1: (), unitVar: ()) { + pub fn closure76(v0_1: (), unitVar: ()) { if unbox::(&defaultOf()) == false { (); () }; } - pub fn closure77(unitVar: (), unitVar_1: ()) -> string { + pub fn closure78(unitVar: (), unitVar_1: ()) -> string { string("runtime.execute_with_options_async / WaitForExitAsync") } - pub fn closure76(v0_1: LrcPtr, unitVar: ()) { + pub fn closure77(v0_1: LrcPtr, unitVar: ()) { fn v2() { Documents::closure7((), ()); } @@ -7056,7 +7076,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -7067,13 +7087,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 3_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -7083,11 +7103,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -7098,26 +7118,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -7126,78 +7147,78 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Warning")), 7_i32, ' '); - let v528: &str = inline_colorization::color_yellow; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Warning")), 7_i32, ' '); + let v574: &str = inline_colorization::color_yellow; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v587: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("{ ")), ()); + let v633: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v594: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string("ex")), ()); + let v642: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string("ex")), ()); () }; - let v601: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" = ")), ()); + let v651: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v604: std::string::String = format!("{:#?}", v0_1); - let v634: () = { + let v656: std::string::String = format!("{:#?}", v0_1); + let v686: () = { Documents::closure11( - v580.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v604)), + v626.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v656)), (), ); () }; - let v641: () = { - Documents::closure11(v580.clone(), sprintf!("{}", string(" }")), ()); + let v695: () = { + Documents::closure11(v626.clone(), sprintf!("{}", string(" }")), ()); () }; - let v642: string = v580.l0.get().clone(); - let v681: string = trimEndChars( + let v698: string = v626.l0.get().clone(); + let v737: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, - Documents::closure77((), ()), - v642 + v166, + v583, + v624, + Documents::closure78((), ()), + v698 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v681.clone()); + println!("{}", v737.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v681) + ((patternInput.1.clone()).l0.get().clone())(v737) } } - pub fn closure79(unitVar: (), unitVar_1: ()) -> string { + pub fn closure80(unitVar: (), unitVar_1: ()) -> string { string("runtime.execute_with_options_async") } - pub fn closure78(v0_1: i32, v1_1: string, unitVar: ()) { + pub fn closure79(v0_1: i32, v1_1: string, unitVar: ()) { fn v3() { Documents::closure7((), ()); } @@ -7212,7 +7233,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v23: () = { + let v33: () = { v3(); () }; @@ -7223,13 +7244,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v41: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v61: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 1_i32 >= find( - v41, + v61, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -7239,11 +7260,11 @@ mod module_2555ccf7 { ])))), ) } { - let v49: () = { + let v69: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v51: () = { + let v73: () = { v3(); () }; @@ -7254,26 +7275,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v70: LrcPtr>> = refCell(None::); - let v75: () = { + let _v102: LrcPtr>> = + refCell(None::); + let v107: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v70 = _v70.clone(); - move |v: Option| Documents::closure9(_v70.clone(), v) + let _v102 = _v102.clone(); + move |v: Option| Documents::closure9(_v102.clone(), v) }), (), ); () }; - let v88: Documents::US3 = defaultValue(Documents::US3::US3_1, _v70.get().clone()); - let v128: DateTime = match &v88 { - Documents::US3::US3_0(v88_0_0) => { - let v102: TimeSpan = TimeSpan::new_ticks( + let v122: Documents::US3 = defaultValue(Documents::US3::US3_1, _v102.get().clone()); + let v162: DateTime = match &v122 { + Documents::US3::US3_0(v122_0_0) => { + let v136: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v88 { + } - match &v122 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -7282,84 +7304,84 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v102.hours(), - v102.minutes(), - v102.seconds(), - v102.milliseconds(), + v136.hours(), + v136.minutes(), + v136.seconds(), + v136.milliseconds(), ) } _ => DateTime::now(), }; - let v133: string = { + let v167: string = { let provider: string = Documents::method6(); - v128.toString(provider) - }; - let v513: string = padLeft(toLower(string("Debug")), 7_i32, ' '); - let v529: &str = inline_colorization::color_bright_blue; - let v531: &str = &*v513; - let v533: &str = inline_colorization::color_reset; - let v535: string = string("format!(\"{v529}{v531}{v533}\")"); - let v536: std::string::String = format!("{v529}{v531}{v533}"); - let v538: string = fable_library_rust::String_::fromString(v536); - let v579: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: i32 = length(v1_1); - let v582: LrcPtr = LrcPtr::new(Documents::Mut4 { + v162.toString(provider) + }; + let v559: string = padLeft(toLower(string("Debug")), 7_i32, ' '); + let v575: &str = inline_colorization::color_bright_blue; + let v577: &str = &*v559; + let v579: &str = inline_colorization::color_reset; + let v581: string = string("format!(\"{v575}{v577}{v579}\")"); + let v582: std::string::String = format!("{v575}{v577}{v579}"); + let v584: string = fable_library_rust::String_::fromString(v582); + let v625: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: i32 = length(v1_1); + let v628: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v589: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("{ ")), ()); + let v635: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v596: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("exit_code")), ()); + let v644: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("exit_code")), ()); () }; - let v603: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" = ")), ()); + let v653: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v609: () = { - Documents::closure11(v582.clone(), sprintf!("{}", v0_1), ()); + let v661: () = { + Documents::closure11(v628.clone(), sprintf!("{}", v0_1), ()); () }; - let v616: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("; ")), ()); + let v670: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("; ")), ()); () }; - let v623: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("output_length")), ()); + let v679: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("output_length")), ()); () }; - let v629: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" = ")), ()); + let v687: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v635: () = { - Documents::closure11(v582.clone(), sprintf!("{}", v580), ()); + let v695: () = { + Documents::closure11(v628.clone(), sprintf!("{}", v626), ()); () }; - let v642: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" }")), ()); + let v704: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" }")), ()); () }; - let v643: string = v582.l0.get().clone(); - let v682: string = trimEndChars( + let v707: string = v628.l0.get().clone(); + let v746: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v133, - v538, - v579, - Documents::closure79((), ()), - v643 + v167, + v584, + v625, + Documents::closure80((), ()), + v707 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v682.clone()); + println!("{}", v746.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v682) + ((patternInput.1.clone()).l0.get().clone())(v746) } } pub fn method76( @@ -7429,7 +7451,7 @@ mod module_2555ccf7 { .collect::>(); let v44: Vec = _result; let v47: () = { - Documents::closure39( + Documents::closure41( v0_1, v1_1, v2.clone(), @@ -7443,7 +7465,7 @@ mod module_2555ccf7 { ); () }; - let _v48: MutCell>> = + let _v1220: MutCell>> = MutCell::new(None::>); { let x_3: LrcPtr<(i32, string)> = (Func0::new({ @@ -7454,188 +7476,190 @@ mod module_2555ccf7 { let v5 = v5.clone(); let v6 = v6.clone(); move || { - let v50: std::process::Command = std::process::Command::new(&*v18.clone()); - let v52: bool = true; - let mut v50 = v50; - let v54: &mut std::process::Command = - std::process::Command::args(&mut v50, &*v44.clone()); - let v56: std::process::Stdio = std::process::Stdio::piped(); - let v58: &mut std::process::Command = - std::process::Command::stdout(v54, std::process::Stdio::piped()); - let v60: std::process::Stdio = std::process::Stdio::piped(); - let v62: &mut std::process::Command = - std::process::Command::stderr(v58, std::process::Stdio::piped()); - let v64: std::process::Stdio = std::process::Stdio::piped(); - let v66: &mut std::process::Command = - std::process::Command::stdin(v62, std::process::Stdio::piped()); - let _v67: LrcPtr>> = + let v1222: std::process::Command = + std::process::Command::new(&*v18.clone()); + let v1224: bool = true; + let mut v1222 = v1222; + let v1226: &mut std::process::Command = + std::process::Command::args(&mut v1222, &*v44.clone()); + let v1228: std::process::Stdio = std::process::Stdio::piped(); + let v1230: &mut std::process::Command = + std::process::Command::stdout(v1226, std::process::Stdio::piped()); + let v1232: std::process::Stdio = std::process::Stdio::piped(); + let v1234: &mut std::process::Command = + std::process::Command::stderr(v1230, std::process::Stdio::piped()); + let v1236: std::process::Stdio = std::process::Stdio::piped(); + let v1238: &mut std::process::Command = + std::process::Command::stdin(v1234, std::process::Stdio::piped()); + let _v1239: LrcPtr>> = refCell(None::); - let v72: () = { + let v1244: () = { Documents::closure4( v6.clone(), Func1::new({ - let _v67 = _v67.clone(); + let _v1239 = _v1239.clone(); move |v: Option| { - Documents::closure3(_v67.clone(), v) + Documents::closure3(_v1239.clone(), v) } }), (), ); () }; - let v85: Documents::US1 = - defaultValue(Documents::US1::US1_1, _v67.get().clone()); - let v93: &mut std::process::Command = match &v85 { - Documents::US1::US1_0(v85_0_0) => std::process::Command::current_dir( - v66, - &*match &v85 { + let v1259: Documents::US1 = + defaultValue(Documents::US1::US1_1, _v1239.get().clone()); + let v1267: &mut std::process::Command = match &v1259 { + Documents::US1::US1_0(v1259_0_0) => std::process::Command::current_dir( + v1238, + &*match &v1259 { Documents::US1::US1_0(x) => x.clone(), _ => unreachable!(), }, ), - _ => v66, + _ => v1238, }; - let v111: &mut std::process::Command = if count_2(v2.clone()) as u64 + let v1285: &mut std::process::Command = if count_2(v2.clone()) as u64 == 0_u64 { - v93 + v1267 } else { - let v97: Vec<(string, string)> = v2.clone().to_vec(); - let v99: bool = true; - let _result = v97.into_iter().fold(v93, |acc, x| { + let v1271: Vec<(string, string)> = v2.clone().to_vec(); + let v1273: bool = true; + let _result = v1271.into_iter().fold(v1267, |acc, x| { //; - let v101: &mut std::process::Command = acc; + let v1275: &mut std::process::Command = acc; let patternInput_1: (string, string) = x; - let v106: &mut std::process::Command = std::process::Command::env( - v101, + let v1280: &mut std::process::Command = std::process::Command::env( + v1275, &*patternInput_1.0.clone(), &*patternInput_1.1.clone(), ); - let v108: bool = true; - v106 + let v1282: bool = true; + v1280 }); _result }; - let v113: Result = - std::process::Command::spawn(v111); - let v114 = Documents::method31(); - let v116: Result = - v113.map_err(|x| v114(x)); - let v118: bool = true; - let _result = v116.map(|x| { + let v1287: Result = + std::process::Command::spawn(v1285); + let v1288 = Documents::method31(); + let v1290: Result = + v1287.map_err(|x| v1288(x)); + let v1292: bool = true; + let _result = v1290.map(|x| { //; - let v120: std::process::Child = x; - let v125: std::sync::Mutex> = - std::sync::Mutex::new(Some(v120)); - let v127: std::sync::Arc< + let v1294: std::process::Child = x; + let v1299: std::sync::Mutex> = + std::sync::Mutex::new(Some(v1294)); + let v1301: std::sync::Arc< std::sync::Mutex>, - > = std::sync::Arc::new(v125); - let v129: bool = true; - v127 + > = std::sync::Arc::new(v1299); + let v1303: bool = true; + v1301 }); - let v131: Result< + let v1305: Result< std::sync::Arc>>, std::string::String, > = _result; - let v132 = Documents::method63(); - let v133 = Documents::method64(); - let v135: Documents::US21 = match v131 { - Ok(x) => v132(x), - Err(e) => v133(e), + let v1306 = Documents::method63(); + let v1307 = Documents::method64(); + let v1309: Documents::US21 = match v1305 { + Ok(x) => v1306(x), + Err(e) => v1307(e), }; - let patternInput_3: (i32, Documents::US4, Documents::US22) = match &v135 { - Documents::US21::US21_0(v135_0_0) => { - let v136: std::sync::Arc< + let patternInput_3: (i32, Documents::US4, Documents::US22) = match &v1309 { + Documents::US21::US21_0(v1309_0_0) => { + let v1310: std::sync::Arc< std::sync::Mutex>, - > = v135_0_0.clone(); - let v138: bool = true; + > = v1309_0_0.clone(); + let v1312: bool = true; let _result = (|| { // rust.capture; - let v139: std::sync::Arc< + let v1313: std::sync::Arc< std::sync::Mutex>, - > = Documents::method65(v136.clone()); - let v141: Result< + > = Documents::method65(v1310.clone()); + let v1315: Result< std::sync::MutexGuard>, std::sync::PoisonError< std::sync::MutexGuard>, >, - > = v139.lock(); - let v143: std::sync::MutexGuard> = - v141.unwrap(); - let v145: bool = true; - let mut v143 = v143; - let v147: &mut Option = &mut v143; - let v149: Option<&mut std::process::Child> = v147.as_mut(); - let v151: &mut std::process::Child = v149.unwrap(); - let v153: &mut Option = - &mut v151.stdout; - let v155: Option = - Option::take(v153); - let v157: std::process::ChildStdout = v155.unwrap(); - let v159: bool = true; - v157 + > = v1313.lock(); + let v1317: std::sync::MutexGuard> = + v1315.unwrap(); + let v1319: bool = true; + let mut v1317 = v1317; + let v1321: &mut Option = &mut v1317; + let v1323: Option<&mut std::process::Child> = v1321.as_mut(); + let v1325: &mut std::process::Child = v1323.unwrap(); + let v1327: &mut Option = + &mut v1325.stdout; + let v1329: Option = + Option::take(v1327); + let v1331: std::process::ChildStdout = v1329.unwrap(); + let v1333: bool = true; + v1331 })(); - let v161: std::process::ChildStdout = _result; - let v163: bool = true; + let v1335: std::process::ChildStdout = _result; + let v1337: bool = true; let _result = (|| { // rust.capture; - let v164: std::sync::Arc< + let v1338: std::sync::Arc< std::sync::Mutex>, - > = Documents::method65(v136.clone()); - let v166: Result< + > = Documents::method65(v1310.clone()); + let v1340: Result< std::sync::MutexGuard>, std::sync::PoisonError< std::sync::MutexGuard>, >, - > = v164.lock(); - let v168: std::sync::MutexGuard> = - v166.unwrap(); - let v170: bool = true; - let mut v168 = v168; - let v172: &mut Option = &mut v168; - let v174: Option<&mut std::process::Child> = v172.as_mut(); - let v176: &mut std::process::Child = v174.unwrap(); - let v178: &mut Option = - &mut v176.stderr; - let v180: Option = - Option::take(v178); - let v182: std::process::ChildStderr = v180.unwrap(); - let v184: bool = true; - v182 + > = v1338.lock(); + let v1342: std::sync::MutexGuard> = + v1340.unwrap(); + let v1344: bool = true; + let mut v1342 = v1342; + let v1346: &mut Option = &mut v1342; + let v1348: Option<&mut std::process::Child> = v1346.as_mut(); + let v1350: &mut std::process::Child = v1348.unwrap(); + let v1352: &mut Option = + &mut v1350.stderr; + let v1354: Option = + Option::take(v1352); + let v1356: std::process::ChildStderr = v1354.unwrap(); + let v1358: bool = true; + v1356 })(); - let v186: std::process::ChildStderr = _result; - let v188: bool = true; + let v1360: std::process::ChildStderr = _result; + let v1362: bool = true; let _result = (|| { // rust.capture; - let v189: std::sync::Arc< + let v1363: std::sync::Arc< std::sync::Mutex>, - > = Documents::method65(v136.clone()); - let v191: Result< + > = Documents::method65(v1310.clone()); + let v1365: Result< std::sync::MutexGuard>, std::sync::PoisonError< std::sync::MutexGuard>, >, - > = v189.lock(); - let v193: std::sync::MutexGuard> = - v191.unwrap(); - let v195: bool = true; - let mut v193 = v193; - let v197: &mut Option = &mut v193; - let v199: Option<&mut std::process::Child> = v197.as_mut(); - let v201: &mut std::process::Child = v199.unwrap(); - let v203: &mut Option = - &mut v201.stdin; - let v205: Option = Option::take(v203); - let v207: std::process::ChildStdin = v205.unwrap(); - let v212: std::sync::Mutex> = - std::sync::Mutex::new(Some(v207)); - let v214: std::sync::Arc< + > = v1363.lock(); + let v1367: std::sync::MutexGuard> = + v1365.unwrap(); + let v1369: bool = true; + let mut v1367 = v1367; + let v1371: &mut Option = &mut v1367; + let v1373: Option<&mut std::process::Child> = v1371.as_mut(); + let v1375: &mut std::process::Child = v1373.unwrap(); + let v1377: &mut Option = + &mut v1375.stdin; + let v1379: Option = + Option::take(v1377); + let v1381: std::process::ChildStdin = v1379.unwrap(); + let v1386: std::sync::Mutex> = + std::sync::Mutex::new(Some(v1381)); + let v1388: std::sync::Arc< std::sync::Mutex>, - > = std::sync::Arc::new(v212); - let v216: bool = true; - v214 + > = std::sync::Arc::new(v1386); + let v1390: bool = true; + v1388 })(); - let v218: std::sync::Arc< + let v1392: std::sync::Arc< std::sync::Mutex>, > = _result; let patternInput_2: ( @@ -7645,126 +7669,129 @@ mod module_2555ccf7 { let (sender, receiver) = std::sync::mpsc::channel(); (sender, std::sync::Arc::new(receiver)) }; - let v220: std::sync::mpsc::Sender = + let v1394: std::sync::mpsc::Sender = patternInput_2.0.clone(); - let v223: std::sync::Mutex< + let v1397: std::sync::Mutex< std::sync::mpsc::Sender, - > = std::sync::Mutex::new(v220.clone()); - let v225: std::sync::Arc< + > = std::sync::Mutex::new(v1394.clone()); + let v1399: std::sync::Arc< std::sync::Mutex>, - > = std::sync::Arc::new(v223); - let v227: std::sync::Mutex< + > = std::sync::Arc::new(v1397); + let v1401: std::sync::Mutex< std::sync::mpsc::Sender, - > = std::sync::Mutex::new(v220); - let v229: std::sync::Arc< + > = std::sync::Mutex::new(v1394); + let v1403: std::sync::Arc< std::sync::Mutex>, - > = std::sync::Arc::new(v227); - let v231: std::sync::Mutex< + > = std::sync::Arc::new(v1401); + let v1405: std::sync::Mutex< std::sync::Arc>, > = std::sync::Mutex::new(patternInput_2.1.clone()); - let v233: std::sync::Arc< + let v1407: std::sync::Arc< std::sync::Mutex< std::sync::Arc< std::sync::mpsc::Receiver, >, >, - > = std::sync::Arc::new(v231); - let v235: bool = true; + > = std::sync::Arc::new(v1405); + let v1409: bool = true; let __result = std::thread::spawn(move || { //; - let v237: encoding_rs_io::DecodeReaderBytes< + let v1411: encoding_rs_io::DecodeReaderBytes< std::process::ChildStdout, Vec, > = encoding_rs_io::DecodeReaderBytesBuilder::new() .utf8_passthru(true) - .build(v161); - let v239: std::io::BufReader< + .build(v1335); + let v1413: std::io::BufReader< encoding_rs_io::DecodeReaderBytes< std::process::ChildStdout, Vec, >, - > = std::io::BufReader::new(v237); - let v241: std::io::Lines< + > = std::io::BufReader::new(v1411); + let v1415: std::io::Lines< std::io::BufReader< encoding_rs_io::DecodeReaderBytes< std::process::ChildStdout, Vec, >, >, - > = std::io::BufRead::lines(v239); - let v243: bool = true; - let mut v241 = v241; - let _result = v241.try_for_each(|x| { + > = std::io::BufRead::lines(v1413); + let v1417: bool = true; + let mut v1415 = v1415; + let _result = v1415.try_for_each(|x| { //; - let v245: Result = x; - let v247: std::sync::Arc< + let v1419: Result = x; + let v1421: std::sync::Arc< std::sync::Mutex< std::sync::mpsc::Sender, >, - > = v225.clone(); - let v248 = Documents::method31(); - let v250: Result = - v245.map_err(|x| v248(x)); - let v251 = Documents::method66(); - let v252 = Documents::method67(); - let v254: Documents::US23 = match v250 { - Ok(x) => v251(x), - Err(e) => v252(e), + > = v1399.clone(); + let v1422 = Documents::method31(); + let v1424: Result< + std::string::String, + std::string::String, + > = v1419.map_err(|x| v1422(x)); + let v1425 = Documents::method66(); + let v1426 = Documents::method67(); + let v1428: Documents::US23 = match v1424 { + Ok(x) => v1425(x), + Err(e) => v1426(e), }; - let v289: std::string::String = match &v254 { - Documents::US23::US23_0(v254_0_0) => { - let v257: string = + let v2913: std::string::String = match &v1428 { + Documents::US23::US23_0(v1428_0_0) => { + let v1431: string = fable_library_rust::String_::fromString( - v254_0_0.clone(), + v1428_0_0.clone(), ); - let v259: &encoding_rs::Encoding = + let v1433: &encoding_rs::Encoding = encoding_rs::UTF_8; - let v261: std::borrow::Cow<[u8]> = - v259.encode(&*v257).0; - let v263: &[u8] = v261.as_ref(); - let v265: Result<&str, std::str::Utf8Error> = - std::str::from_utf8(v263); - let v267: &str = v265.unwrap(); - let v269: std::string::String = String::from(v267); - let v272: string = sprintf!( + let v1435: std::borrow::Cow<[u8]> = + v1433.encode(&*v1431).0; + let v1437: &[u8] = v1435.as_ref(); + let v1439: Result<&str, std::str::Utf8Error> = + std::str::from_utf8(v1437); + let v1441: &str = v1439.unwrap(); + let v1443: std::string::String = + String::from(v1441); + let v1446: string = sprintf!( "> {}", fable_library_rust::String_::fromString( - v269.clone() + v1443.clone() ) ); if v5 { - let v275: () = { - Documents::closure49(v272.clone(), ()); + let v1449: () = { + Documents::closure51(v1446.clone(), ()); () }; () } else { - let v278: () = { - Documents::closure51(v272, ()); + let v2141: () = { + Documents::closure14(v1446, ()); () }; () } - v269 + v1443 } - Documents::US23::US23_1(v254_1_0) => { - let v279: std::string::String = v254_1_0.clone(); - let v282: () = { - Documents::closure47(v279.clone(), ()); + Documents::US23::US23_1(v1428_1_0) => { + let v2143: std::string::String = v1428_1_0.clone(); + let v2146: () = { + Documents::closure49(v2143.clone(), ()); () }; - let v283: string = - sprintf!("\u{001b}[4;7m{}\u{001b}[0m", v279); - let v285: &str = &*v283; - String::from(v285) + let v2907: string = + sprintf!("\u{001b}[4;7m{}\u{001b}[0m", v2143); + let v2909: &str = &*v2907; + String::from(v2909) } }; - let v290: std::sync::Arc< + let v2914: std::sync::Arc< std::sync::Mutex< std::sync::mpsc::Sender, >, - > = Documents::method68(v247); - let v292: Result< + > = Documents::method68(v1421); + let v2916: Result< std::sync::MutexGuard< std::sync::mpsc::Sender, >, @@ -7773,134 +7800,137 @@ mod module_2555ccf7 { std::sync::mpsc::Sender, >, >, - > = v290.lock(); - let v294: std::sync::MutexGuard< + > = v2914.lock(); + let v2918: std::sync::MutexGuard< std::sync::mpsc::Sender, - > = v292.unwrap(); - let v296: &std::sync::mpsc::Sender = - &v294; - let v298: Result< + > = v2916.unwrap(); + let v2920: &std::sync::mpsc::Sender = + &v2918; + let v2922: Result< (), std::sync::mpsc::SendError, - > = v296.send(v289); - let v299 = Documents::method69(); - let v301: Result<(), std::string::String> = - v298.map_err(|x| v299(x)); - let v303: _ = v301; - let v305: bool = true; - v303 + > = v2920.send(v2913); + let v2923 = Documents::method69(); + let v2925: Result<(), std::string::String> = + v2922.map_err(|x| v2923(x)); + let v2927: _ = v2925; + let v2929: bool = true; + v2927 }); //; - let v308: Result<(), string> = + let v2932: Result<(), string> = Documents::method70(_result.map_err(|x| x.into())); - let v312: string = - string("true; v308 }); // rust.fix_closure\'"); - let v313: bool = true; - v308 + let v2936: string = + string("true; v2932 }); // rust.fix_closure\'"); + let v2937: bool = true; + v2932 }); // rust.fix_closure'; - let v315: std::thread::JoinHandle> = __result; - let v317: bool = true; + let v2939: std::thread::JoinHandle> = __result; + let v2941: bool = true; let __result = std::thread::spawn(move || { //; - let v319: encoding_rs_io::DecodeReaderBytes< + let v2943: encoding_rs_io::DecodeReaderBytes< std::process::ChildStderr, Vec, > = encoding_rs_io::DecodeReaderBytesBuilder::new() .utf8_passthru(true) - .build(v186); - let v321: std::io::BufReader< + .build(v1360); + let v2945: std::io::BufReader< encoding_rs_io::DecodeReaderBytes< std::process::ChildStderr, Vec, >, - > = std::io::BufReader::new(v319); - let v323: std::io::Lines< + > = std::io::BufReader::new(v2943); + let v2947: std::io::Lines< std::io::BufReader< encoding_rs_io::DecodeReaderBytes< std::process::ChildStderr, Vec, >, >, - > = std::io::BufRead::lines(v321); - let v325: bool = true; - let mut v323 = v323; - let _result = v323.try_for_each(|x| { + > = std::io::BufRead::lines(v2945); + let v2949: bool = true; + let mut v2947 = v2947; + let _result = v2947.try_for_each(|x| { //; - let v327: Result = x; - let v329: std::sync::Arc< + let v2951: Result = x; + let v2953: std::sync::Arc< std::sync::Mutex< std::sync::mpsc::Sender, >, - > = v229.clone(); - let v330 = Documents::method31(); - let v332: Result = - v327.map_err(|x| v330(x)); - let v333 = Documents::method66(); - let v334 = Documents::method67(); - let v336: Documents::US23 = match v332 { - Ok(x) => v333(x), - Err(e) => v334(e), + > = v1403.clone(); + let v2954 = Documents::method31(); + let v2956: Result< + std::string::String, + std::string::String, + > = v2951.map_err(|x| v2954(x)); + let v2957 = Documents::method66(); + let v2958 = Documents::method67(); + let v2960: Documents::US23 = match v2956 { + Ok(x) => v2957(x), + Err(e) => v2958(e), }; - let v376: std::string::String = match &v336 { - Documents::US23::US23_0(v336_0_0) => { - let v339: string = + let v4446: std::string::String = match &v2960 { + Documents::US23::US23_0(v2960_0_0) => { + let v2963: string = fable_library_rust::String_::fromString( - v336_0_0.clone(), + v2960_0_0.clone(), ); - let v341: &encoding_rs::Encoding = + let v2965: &encoding_rs::Encoding = encoding_rs::UTF_8; - let v343: std::borrow::Cow<[u8]> = - v341.encode(&*v339).0; - let v345: &[u8] = v343.as_ref(); - let v347: Result<&str, std::str::Utf8Error> = - std::str::from_utf8(v345); - let v349: &str = v347.unwrap(); - let v351: std::string::String = String::from(v349); - let v354: string = sprintf!( + let v2967: std::borrow::Cow<[u8]> = + v2965.encode(&*v2963).0; + let v2969: &[u8] = v2967.as_ref(); + let v2971: Result<&str, std::str::Utf8Error> = + std::str::from_utf8(v2969); + let v2973: &str = v2971.unwrap(); + let v2975: std::string::String = + String::from(v2973); + let v2978: string = sprintf!( "! {}", fable_library_rust::String_::fromString( - v351.clone() + v2975.clone() ) ); if v5 { - let v357: () = { - Documents::closure49(v354.clone(), ()); + let v2981: () = { + Documents::closure51(v2978.clone(), ()); () }; () } else { - let v360: () = { - Documents::closure51(v354, ()); + let v3671: () = { + Documents::closure14(v2978, ()); () }; () } { - let v361: string = sprintf!( + let v3673: string = sprintf!( "\u{001b}[4;7m{}\u{001b}[0m", - v351 + v2975 ); - let v363: &str = &*v361; - String::from(v363) + let v3675: &str = &*v3673; + String::from(v3675) } } - Documents::US23::US23_1(v336_1_0) => { - let v366: std::string::String = v336_1_0.clone(); - let v369: () = { - Documents::closure47(v366.clone(), ()); + Documents::US23::US23_1(v2960_1_0) => { + let v3678: std::string::String = v2960_1_0.clone(); + let v3681: () = { + Documents::closure49(v3678.clone(), ()); () }; - let v370: string = - sprintf!("\u{001b}[4;7m{}\u{001b}[0m", v366); - let v372: &str = &*v370; - String::from(v372) + let v4440: string = + sprintf!("\u{001b}[4;7m{}\u{001b}[0m", v3678); + let v4442: &str = &*v4440; + String::from(v4442) } }; - let v377: std::sync::Arc< + let v4447: std::sync::Arc< std::sync::Mutex< std::sync::mpsc::Sender, >, - > = Documents::method68(v329); - let v379: Result< + > = Documents::method68(v2953); + let v4449: Result< std::sync::MutexGuard< std::sync::mpsc::Sender, >, @@ -7909,124 +7939,125 @@ mod module_2555ccf7 { std::sync::mpsc::Sender, >, >, - > = v377.lock(); - let v381: std::sync::MutexGuard< + > = v4447.lock(); + let v4451: std::sync::MutexGuard< std::sync::mpsc::Sender, - > = v379.unwrap(); - let v383: &std::sync::mpsc::Sender = - &v381; - let v385: Result< + > = v4449.unwrap(); + let v4453: &std::sync::mpsc::Sender = + &v4451; + let v4455: Result< (), std::sync::mpsc::SendError, - > = v383.send(v376); - let v386 = Documents::method69(); - let v388: Result<(), std::string::String> = - v385.map_err(|x| v386(x)); - let v390: _ = v388; - let v392: bool = true; - v390 + > = v4453.send(v4446); + let v4456 = Documents::method69(); + let v4458: Result<(), std::string::String> = + v4455.map_err(|x| v4456(x)); + let v4460: _ = v4458; + let v4462: bool = true; + v4460 }); //; - let v395: Result<(), string> = + let v4465: Result<(), string> = Documents::method70(_result.map_err(|x| x.into())); - let v397: string = - string("true; v395 }); // rust.fix_closure\'"); - let v398: bool = true; - v395 + let v4467: string = + string("true; v4465 }); // rust.fix_closure\'"); + let v4468: bool = true; + v4465 }); // rust.fix_closure'; - let v400: std::thread::JoinHandle> = __result; - let _v401: LrcPtr>> = + let v4470: std::thread::JoinHandle> = __result; + let _v4471: LrcPtr>> = refCell(None::); - let v406: () = { - Documents::closure54( + let v4476: () = { + Documents::closure55( v4.clone(), Func1::new({ - let _v401 = _v401.clone(); + let _v4471 = _v4471.clone(); move |v_1: Option| { - Documents::closure53(_v401.clone(), v_1) + Documents::closure54(_v4471.clone(), v_1) } }), (), ); () }; - let v419: Documents::US24 = - defaultValue(Documents::US24::US24_1, _v401.get().clone()); - match &v419 { - Documents::US24::US24_0(v419_0_0) => { - let v424: std::sync::Arc< + let v4491: Documents::US24 = + defaultValue(Documents::US24::US24_1, _v4471.get().clone()); + match &v4491 { + Documents::US24::US24_0(v4491_0_0) => { + let v4496: std::sync::Arc< std::sync::Mutex>, - > = Documents::method71(v218); - let v426: Result< + > = Documents::method71(v1392); + let v4498: Result< std::sync::MutexGuard>, std::sync::PoisonError< std::sync::MutexGuard< Option, >, >, - > = v424.lock(); - let v428: std::sync::MutexGuard< + > = v4496.lock(); + let v4500: std::sync::MutexGuard< Option, - > = v426.unwrap(); - let v430: bool = true; - let mut v428 = v428; - let v432: &mut Option = &mut v428; - let v434: Option = - Option::take(v432); - let v436: bool = true; - let _result = v434.map(|x| { + > = v4498.unwrap(); + let v4502: bool = true; + let mut v4500 = v4500; + let v4504: &mut Option = + &mut v4500; + let v4506: Option = + Option::take(v4504); + let v4508: bool = true; + let _result = v4506.map(|x| { //; - let v438: std::process::ChildStdin = x; - let v440: std::sync::Mutex = - std::sync::Mutex::new(v438); - let v442: std::sync::Arc< + let v4510: std::process::ChildStdin = x; + let v4512: std::sync::Mutex = + std::sync::Mutex::new(v4510); + let v4514: std::sync::Arc< std::sync::Mutex, - > = std::sync::Arc::new(v440); - let v444: bool = true; - v442 + > = std::sync::Arc::new(v4512); + let v4516: bool = true; + v4514 }); - let v446: Option< + let v4518: Option< std::sync::Arc< std::sync::Mutex, >, > = _result; - let _v447: LrcPtr>> = + let _v4519: LrcPtr>> = refCell(None::); - let v452: () = { - Documents::closure56( - v446, + let v4524: () = { + Documents::closure57( + v4518, Func1::new({ - let _v447 = _v447.clone(); + let _v4519 = _v4519.clone(); move |v_2: Option| { - Documents::closure55(_v447.clone(), v_2) + Documents::closure56(_v4519.clone(), v_2) } }), (), ); () }; - let v465: Documents::US25 = defaultValue( + let v4539: Documents::US25 = defaultValue( Documents::US25::US25_1, - _v447.get().clone(), + _v4519.get().clone(), ); - match &v465 { - Documents::US25::US25_0(v465_0_0) => { - let v469: std::sync::Arc< + match &v4539 { + Documents::US25::US25_0(v4539_0_0) => { + let v4543: std::sync::Arc< std::sync::Mutex, - > = match &v465 { + > = match &v4539 { Documents::US25::US25_0(x) => x.clone(), _ => unreachable!(), }; - (match &v419 { + (match &v4491 { Documents::US24::US24_0(x) => x.clone(), _ => unreachable!(), })( - v469.clone() + v4543.clone() ); { - let v470: std::sync::Arc< + let v4544: std::sync::Arc< std::sync::Mutex, - > = Documents::method72(v469); - let v472: Result< + > = Documents::method72(v4543); + let v4546: Result< std::sync::MutexGuard< std::process::ChildStdin, >, @@ -8035,14 +8066,14 @@ mod module_2555ccf7 { std::process::ChildStdin, >, >, - > = v470.lock(); - let v475: std::sync::MutexGuard< + > = v4544.lock(); + let v4549: std::sync::MutexGuard< std::process::ChildStdin, - > = Documents::method73(v472.unwrap()); - let v477: bool = true; - let mut v475 = v475; - let v479: bool = true; - std::io::Write::flush(&mut *v475).unwrap(); + > = Documents::method73(v4546.unwrap()); + let v4551: bool = true; + let mut v4549 = v4549; + let v4553: bool = true; + std::io::Write::flush(&mut *v4549).unwrap(); () } } @@ -8052,79 +8083,79 @@ mod module_2555ccf7 { _ => (), } { - let v480: std::sync::Arc< + let v4554: std::sync::Arc< std::sync::Mutex>, - > = Documents::method65(v136); - let v482: Result< + > = Documents::method65(v1310); + let v4556: Result< std::sync::MutexGuard>, std::sync::PoisonError< std::sync::MutexGuard>, >, - > = v480.lock(); - let v484: std::sync::MutexGuard> = - v482.unwrap(); - let v486: bool = true; - let mut v484 = v484; - let v488: &mut Option = &mut v484; - let v490: Option = Option::take(v488); - let v492: std::process::Child = v490.unwrap(); - let v494: Result = - v492.wait_with_output(); - let v495 = Documents::method31(); - let v497: Result = - v494.map_err(|x| v495(x)); - let v498: std::thread::JoinHandle> = - Documents::method74(v400); - let v501: string = string("v498"); - let v502: std::thread::JoinHandle> = - Documents::method74(v315); - let v507: string = append( - append(string("vec!["), append(string("v502, "), v501)), + > = v4554.lock(); + let v4558: std::sync::MutexGuard> = + v4556.unwrap(); + let v4560: bool = true; + let mut v4558 = v4558; + let v4562: &mut Option = &mut v4558; + let v4564: Option = Option::take(v4562); + let v4566: std::process::Child = v4564.unwrap(); + let v4568: Result = + v4566.wait_with_output(); + let v4569 = Documents::method31(); + let v4571: Result = + v4568.map_err(|x| v4569(x)); + let v4572: std::thread::JoinHandle> = + Documents::method74(v4470); + let v4575: string = string("v4572"); + let v4576: std::thread::JoinHandle> = + Documents::method74(v2939); + let v4581: string = append( + append(string("vec!["), append(string("v4576, "), v4575)), string("]"), ); - let v508: Vec>> = - vec![v502, v498]; - let v510: bool = true; - v508.into_iter().for_each(|x| { + let v4582: Vec>> = + vec![v4576, v4572]; + let v4584: bool = true; + v4582.into_iter().for_each(|x| { //; - let v512: std::thread::JoinHandle> = x; - let v514: Result< + let v4586: std::thread::JoinHandle> = x; + let v4588: Result< Result<(), string>, Box, - > = std::thread::JoinHandle::join(v512); - let v516: Result<(), string> = v514.unwrap(); - v516.unwrap(); + > = std::thread::JoinHandle::join(v4586); + let v4590: Result<(), string> = v4588.unwrap(); + v4590.unwrap(); { - let v519: bool = true; + let v4593: bool = true; () } }); { //; - let v522: Documents::US26 = match &v497 { - Err(v497_1_0) => { - Documents::closure58((), v497_1_0.clone()) + let v4596: Documents::US26 = match &v4571 { + Err(v4571_1_0) => { + Documents::closure59((), v4571_1_0.clone()) } - Ok(v497_0_0) => { - Documents::closure57((), v497_0_0.clone()) + Ok(v4571_0_0) => { + Documents::closure58((), v4571_0_0.clone()) } }; - match &v522 { - Documents::US26::US26_0(v522_0_0) => { - let v525: std::process::ExitStatus = - v522_0_0.clone().status; - let v527: Option = v525.code(); - let _v528: LrcPtr< + match &v4596 { + Documents::US26::US26_0(v4596_0_0) => { + let v4599: std::process::ExitStatus = + v4596_0_0.clone().status; + let v4601: Option = v4599.code(); + let _v4602: LrcPtr< MutCell>, > = refCell(None::); - let v533: () = { - Documents::closure62( - v527, + let v4607: () = { + Documents::closure63( + v4601, Func1::new({ - let _v528 = _v528.clone(); + let _v4602 = _v4602.clone(); move |v_5: Option| { - Documents::closure61( - _v528.clone(), + Documents::closure62( + _v4602.clone(), v_5, ) } @@ -8133,42 +8164,42 @@ mod module_2555ccf7 { ); () }; - let v546: Documents::US27 = defaultValue( + let v4622: Documents::US27 = defaultValue( Documents::US27::US27_1, - _v528.get().clone(), + _v4602.get().clone(), ); - match &v546 { - Documents::US27::US27_0(v546_0_0) => ( - match &v546 { + match &v4622 { + Documents::US27::US27_0(v4622_0_0) => ( + match &v4622 { Documents::US27::US27_0(x) => x.clone(), _ => unreachable!(), }, Documents::US4::US4_1, - Documents::US22::US22_0(v233.clone()), + Documents::US22::US22_0(v1407.clone()), ), _ => { - let v555: + let v4631: &str = &*string("runtime.execute_with_options / exit_code=None"); ( -1_i32, Documents::US4::US4_0(String::from( - v555, + v4631, )), - Documents::US22::US22_0(v233.clone()), + Documents::US22::US22_0(v1407.clone()), ) } } } - Documents::US26::US26_1(v522_1_0) => { - let v566: std::string::String = v522_1_0.clone(); - let v569: () = { - Documents::closure59(v566.clone(), ()); + Documents::US26::US26_1(v4596_1_0) => { + let v4642: std::string::String = v4596_1_0.clone(); + let v4645: () = { + Documents::closure60(v4642.clone(), ()); () }; ( -2_i32, - Documents::US4::US4_0(v566), + Documents::US4::US4_0(v4642), Documents::US22::US22_1, ) } @@ -8176,26 +8207,30 @@ mod module_2555ccf7 { } } } - Documents::US21::US21_1(v135_1_0) => { - let v578: std::string::String = v135_1_0.clone(); - let v581: () = { - Documents::closure43(v578.clone(), ()); + Documents::US21::US21_1(v1309_1_0) => { + let v5412: std::string::String = v1309_1_0.clone(); + let v5415: () = { + Documents::closure45(v5412.clone(), ()); () }; - (-1_i32, Documents::US4::US4_0(v578), Documents::US22::US22_1) + ( + -1_i32, + Documents::US4::US4_0(v5412), + Documents::US22::US22_1, + ) } }; - let v589: Documents::US22 = patternInput_3.2.clone(); - let v588: Documents::US4 = patternInput_3.1.clone(); - let v587: i32 = patternInput_3.0.clone(); - let v596: Option< + let v6183: Documents::US22 = patternInput_3.2.clone(); + let v6182: Documents::US4 = patternInput_3.1.clone(); + let v6181: i32 = patternInput_3.0.clone(); + let v6190: Option< std::sync::Arc< std::sync::Mutex< std::sync::Arc>, >, >, - > = match &v589 { - Documents::US22::US22_0(v589_0_0) => Some(match &v589 { + > = match &v6183 { + Documents::US22::US22_0(v6183_0_0) => Some(match &v6183 { Documents::US22::US22_0(x) => x.clone(), _ => unreachable!(), }), @@ -8211,15 +8246,15 @@ mod module_2555ccf7 { > } }; - let v598: bool = true; - let _result = v596.map(|x| { + let v6192: bool = true; + let _result = v6190.map(|x| { //; - let v601: std::sync::Arc< + let v6195: std::sync::Arc< std::sync::Mutex< std::sync::Arc>, >, > = Documents::method75(x); - let v603: Result< + let v6197: Result< std::sync::MutexGuard< std::sync::Arc>, >, @@ -8230,69 +8265,69 @@ mod module_2555ccf7 { >, >, >, - > = v601.lock(); - let v605: std::sync::MutexGuard< + > = v6195.lock(); + let v6199: std::sync::MutexGuard< std::sync::Arc>, - > = v603.unwrap(); - let v607 = v605.iter(); - let v609: Vec = v607.collect::>(); - let v611: bool = true; - let _result: Vec<_> = v609 + > = v6197.unwrap(); + let v6201 = v6199.iter(); + let v6203: Vec = v6201.collect::>(); + let v6205: bool = true; + let _result: Vec<_> = v6203 .into_iter() .map(|x| { //; - let v613: std::string::String = x; - let v615: string = - fable_library_rust::String_::fromString(v613); - let v617: bool = true; - v615 + let v6207: std::string::String = x; + let v6209: string = + fable_library_rust::String_::fromString(v6207); + let v6211: bool = true; + v6209 }) .collect::>(); - let v619: Vec = _result; - let v628: string = join( + let v6213: Vec = _result; + let v6222: string = join( string("\n"), toArray_1(ofArray_1(fable_library_rust::NativeArray_::array_from( - v619, + v6213, ))), ); - let v632: bool = true; - v628 + let v6226: bool = true; + v6222 }); - let v634: Option = _result; - let v641: Documents::US1 = match &v588 { - Documents::US4::US4_0(v588_0_0) => Documents::US1::US1_0( - fable_library_rust::String_::fromString(match &v588 { + let v6228: Option = _result; + let v6235: Documents::US1 = match &v6182 { + Documents::US4::US4_0(v6182_0_0) => Documents::US1::US1_0( + fable_library_rust::String_::fromString(match &v6182 { Documents::US4::US4_0(x) => x.clone(), _ => unreachable!(), }), ), _ => Documents::US1::US1_1, }; - let v646: string = defaultValue( - match &v641 { - Documents::US1::US1_0(v641_0_0) => match &v641 { + let v6240: string = defaultValue( + match &v6235 { + Documents::US1::US1_0(v6235_0_0) => match &v6235 { Documents::US1::US1_0(x) => x.clone(), _ => unreachable!(), }, _ => string(""), }, - v634, + v6228, ); - let v651: () = { - Documents::closure63(v587, v646.clone(), ()); + let v6245: () = { + Documents::closure64(v6181, v6240.clone(), ()); () }; - LrcPtr::new((v587, v646)) + LrcPtr::new((v6181, v6240)) } }))(); - _v48.set(Some(x_3)) + _v1220.set(Some(x_3)) } { - let v653: LrcPtr<(i32, string)> = match &_v48.get().clone() { - None => panic!("{}", string("base.capture / _v48=None"),), - Some(_v48_0_0) => _v48_0_0.clone(), + let v7015: LrcPtr<(i32, string)> = match &_v1220.get().clone() { + None => panic!("{}", string("base.capture / _v1220=None"),), + Some(_v1220_0_0) => _v1220_0_0.clone(), }; - let _v7: (i32, string) = (v653.0.clone(), v653.1.clone()); + let _v7: (i32, string) = (v7015.0.clone(), v7015.1.clone()); (_v7.0.clone(), _v7.1.clone()) } } @@ -8337,17 +8372,17 @@ mod module_2555ccf7 { pub fn method79() -> string { string("") } - pub fn closure80(unitVar: (), v0_1: string) -> Documents::US31 { + pub fn closure81(unitVar: (), v0_1: string) -> Documents::US31 { Documents::US31::US31_0(v0_1) } pub fn method80() -> Func1 { - Func1::new(move |v: string| Documents::closure80((), v)) + Func1::new(move |v: string| Documents::closure81((), v)) } - pub fn closure81(unitVar: (), v0_1: std::string::String) -> Documents::US31 { + pub fn closure82(unitVar: (), v0_1: std::string::String) -> Documents::US31 { Documents::US31::US31_1(v0_1) } pub fn method81() -> Func1 { - Func1::new(move |v: std::string::String| Documents::closure81((), v)) + Func1::new(move |v: std::string::String| Documents::closure82((), v)) } pub fn method82(v0_1: string) -> bool { let v3: &str = &*v0_1; @@ -8359,12 +8394,12 @@ mod module_2555ccf7 { false } } - pub fn closure83(unitVar: (), unitVar_1: ()) -> string { + pub fn closure84(unitVar: (), unitVar_1: ()) -> string { let v0_1: string = string("documents.run / par_map / origin_hash |> sm\'.contains local_git_hash |> not / hash2 = None || hash1 <>. (hash2 |> optionm.value)"); v0_1 } - pub fn closure82( + pub fn closure83( v0_1: string, v1_1: string, v2: string, @@ -8392,7 +8427,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v32: () = { + let v42: () = { v12(); () }; @@ -8403,13 +8438,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v50: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v70: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 2_i32 >= find( - v50, + v70, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -8419,11 +8454,11 @@ mod module_2555ccf7 { ])))), ) } { - let v58: () = { + let v78: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v60: () = { + let v82: () = { v12(); () }; @@ -8434,26 +8469,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v79: LrcPtr>> = refCell(None::); - let v84: () = { + let _v111: LrcPtr>> = + refCell(None::); + let v116: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v79 = _v79.clone(); - move |v: Option| Documents::closure9(_v79.clone(), v) + let _v111 = _v111.clone(); + move |v: Option| Documents::closure9(_v111.clone(), v) }), (), ); () }; - let v97: Documents::US3 = defaultValue(Documents::US3::US3_1, _v79.get().clone()); - let v137: DateTime = match &v97 { - Documents::US3::US3_0(v97_0_0) => { - let v111: TimeSpan = TimeSpan::new_ticks( + let v131: Documents::US3 = defaultValue(Documents::US3::US3_1, _v111.get().clone()); + let v171: DateTime = match &v131 { + Documents::US3::US3_0(v131_0_0) => { + let v145: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v97 { + } - match &v131 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -8462,239 +8498,239 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v111.hours(), - v111.minutes(), - v111.seconds(), - v111.milliseconds(), + v145.hours(), + v145.minutes(), + v145.seconds(), + v145.milliseconds(), ) } _ => DateTime::now(), }; - let v142: string = { + let v176: string = { let provider: string = Documents::method6(); - v137.toString(provider) - }; - let v522: string = padLeft(toLower(string("Info")), 7_i32, ' '); - let v538: &str = inline_colorization::color_bright_green; - let v540: &str = &*v522; - let v542: &str = inline_colorization::color_reset; - let v544: string = string("format!(\"{v538}{v540}{v542}\")"); - let v545: std::string::String = format!("{v538}{v540}{v542}"); - let v547: string = fable_library_rust::String_::fromString(v545); - let v588: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v590: LrcPtr = LrcPtr::new(Documents::Mut4 { + v171.toString(provider) + }; + let v568: string = padLeft(toLower(string("Info")), 7_i32, ' '); + let v584: &str = inline_colorization::color_bright_green; + let v586: &str = &*v568; + let v588: &str = inline_colorization::color_reset; + let v590: string = string("format!(\"{v584}{v586}{v588}\")"); + let v591: std::string::String = format!("{v584}{v586}{v588}"); + let v593: string = fable_library_rust::String_::fromString(v591); + let v634: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v636: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v597: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("{ ")), ()); + let v643: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v604: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("file")), ()); + let v652: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("file")), ()); () }; - let v611: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v661: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v617: () = { - Documents::closure11(v590.clone(), sprintf!("{}", v1_1), ()); + let v669: () = { + Documents::closure11(v636.clone(), sprintf!("{}", v1_1), ()); () }; - let v624: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("; ")), ()); + let v678: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("; ")), ()); () }; - let v631: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("real_path")), ()); + let v687: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("real_path")), ()); () }; - let v637: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v695: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v643: () = { - Documents::closure11(v590.clone(), sprintf!("{}", v2), ()); + let v703: () = { + Documents::closure11(v636.clone(), sprintf!("{}", v2), ()); () }; - let v649: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("; ")), ()); + let v711: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("; ")), ()); () }; - let v656: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("relative_path")), ()); + let v720: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("relative_path")), ()); () }; - let v662: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v728: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v668: () = { - Documents::closure11(v590.clone(), sprintf!("{}", v0_1), ()); + let v736: () = { + Documents::closure11(v636.clone(), sprintf!("{}", v0_1), ()); () }; - let v674: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("; ")), ()); + let v744: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("; ")), ()); () }; - let v681: () = { + let v753: () = { Documents::closure11( - v590.clone(), + v636.clone(), sprintf!("{}", string("origin_hash_exit_code")), (), ); () }; - let v687: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v761: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v693: () = { - Documents::closure11(v590.clone(), sprintf!("{}", v4), ()); + let v769: () = { + Documents::closure11(v636.clone(), sprintf!("{}", v4), ()); () }; - let v699: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("; ")), ()); + let v777: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("; ")), ()); () }; - let v706: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("origin_hash")), ()); + let v786: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("origin_hash")), ()); () }; - let v712: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v794: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v718: () = { - Documents::closure11(v590.clone(), sprintf!("{}", v3), ()); + let v802: () = { + Documents::closure11(v636.clone(), sprintf!("{}", v3), ()); () }; - let v724: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("; ")), ()); + let v810: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("; ")), ()); () }; - let v731: () = { + let v819: () = { Documents::closure11( - v590.clone(), + v636.clone(), sprintf!("{}", string("local_git_hash_exit_code")), (), ); () }; - let v737: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v827: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v743: () = { - Documents::closure11(v590.clone(), sprintf!("{}", v7), ()); + let v835: () = { + Documents::closure11(v636.clone(), sprintf!("{}", v7), ()); () }; - let v749: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("; ")), ()); + let v843: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("; ")), ()); () }; - let v756: () = { + let v852: () = { Documents::closure11( - v590.clone(), + v636.clone(), sprintf!("{}", string("local_git_hash")), (), ); () }; - let v762: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v860: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v768: () = { - Documents::closure11(v590.clone(), sprintf!("{}", v6), ()); + let v868: () = { + Documents::closure11(v636.clone(), sprintf!("{}", v6), ()); () }; - let v774: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("; ")), ()); + let v876: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("; ")), ()); () }; - let v781: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("hash1")), ()); + let v885: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("hash1")), ()); () }; - let v787: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v893: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v793: () = { - Documents::closure11(v590.clone(), sprintf!("{}", v9), ()); + let v901: () = { + Documents::closure11(v636.clone(), sprintf!("{}", v9), ()); () }; - let v799: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("; ")), ()); + let v909: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("; ")), ()); () }; - let v806: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("hash2")), ()); + let v918: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("hash2")), ()); () }; - let v812: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v926: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v821: () = { - Documents::closure11(v590.clone(), sprintf!("{}", sprintf!("{:?}", v10)), ()); + let v937: () = { + Documents::closure11(v636.clone(), sprintf!("{}", sprintf!("{:?}", v10)), ()); () }; - let v827: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("; ")), ()); + let v945: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("; ")), ()); () }; - let v834: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("dist_path")), ()); + let v954: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("dist_path")), ()); () }; - let v840: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v962: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v846: () = { - Documents::closure11(v590.clone(), sprintf!("{}", v5), ()); + let v970: () = { + Documents::closure11(v636.clone(), sprintf!("{}", v5), ()); () }; - let v852: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("; ")), ()); + let v978: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("; ")), ()); () }; - let v859: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string("cache_path")), ()); + let v987: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string("cache_path")), ()); () }; - let v865: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" = ")), ()); + let v995: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v871: () = { - Documents::closure11(v590.clone(), sprintf!("{}", v8), ()); + let v1003: () = { + Documents::closure11(v636.clone(), sprintf!("{}", v8), ()); () }; - let v878: () = { - Documents::closure11(v590.clone(), sprintf!("{}", string(" }")), ()); + let v1012: () = { + Documents::closure11(v636.clone(), sprintf!("{}", string(" }")), ()); () }; - let v879: string = v590.l0.get().clone(); - let v918: string = trimEndChars( + let v1015: string = v636.l0.get().clone(); + let v1054: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v142, - v547, - v588, - Documents::closure83((), ()), - v879 + v176, + v593, + v634, + Documents::closure84((), ()), + v1015 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v918.clone()); + println!("{}", v1054.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v918) + ((patternInput.1.clone()).l0.get().clone())(v1054) } } pub fn method84(v0_1: string) -> string { @@ -8721,7 +8757,7 @@ mod module_2555ccf7 { ) -> std::sync::MutexGuard { v0_1 } - pub fn closure86( + pub fn closure87( v0_1: string, v1_1: std::sync::Arc>, ) { @@ -8747,10 +8783,10 @@ mod module_2555ccf7 { pub fn method91(v0_1: string) -> string { v0_1 } - pub fn closure88(unitVar: (), unitVar_1: ()) -> string { + pub fn closure89(unitVar: (), unitVar_1: ()) -> string { string("documents.hangul") } - pub fn closure87(v0_1: string, v1_1: i32, v2: string, unitVar: ()) { + pub fn closure88(v0_1: string, v1_1: i32, v2: string, unitVar: ()) { fn v4() { Documents::closure7((), ()); } @@ -8765,7 +8801,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v24: () = { + let v34: () = { v4(); () }; @@ -8776,13 +8812,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v42: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v62: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 2_i32 >= find( - v42, + v62, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -8792,11 +8828,11 @@ mod module_2555ccf7 { ])))), ) } { - let v50: () = { + let v70: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v52: () = { + let v74: () = { v4(); () }; @@ -8807,26 +8843,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v71: LrcPtr>> = refCell(None::); - let v76: () = { + let _v103: LrcPtr>> = + refCell(None::); + let v108: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v71 = _v71.clone(); - move |v: Option| Documents::closure9(_v71.clone(), v) + let _v103 = _v103.clone(); + move |v: Option| Documents::closure9(_v103.clone(), v) }), (), ); () }; - let v89: Documents::US3 = defaultValue(Documents::US3::US3_1, _v71.get().clone()); - let v129: DateTime = match &v89 { - Documents::US3::US3_0(v89_0_0) => { - let v103: TimeSpan = TimeSpan::new_ticks( + let v123: Documents::US3 = defaultValue(Documents::US3::US3_1, _v103.get().clone()); + let v163: DateTime = match &v123 { + Documents::US3::US3_0(v123_0_0) => { + let v137: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v89 { + } - match &v123 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -8835,100 +8872,100 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v103.hours(), - v103.minutes(), - v103.seconds(), - v103.milliseconds(), + v137.hours(), + v137.minutes(), + v137.seconds(), + v137.milliseconds(), ) } _ => DateTime::now(), }; - let v134: string = { + let v168: string = { let provider: string = Documents::method6(); - v129.toString(provider) - }; - let v514: string = padLeft(toLower(string("Info")), 7_i32, ' '); - let v530: &str = inline_colorization::color_bright_green; - let v532: &str = &*v514; - let v534: &str = inline_colorization::color_reset; - let v536: string = string("format!(\"{v530}{v532}{v534}\")"); - let v537: std::string::String = format!("{v530}{v532}{v534}"); - let v539: string = fable_library_rust::String_::fromString(v537); - let v580: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v581: i32 = length(v2); - let v583: LrcPtr = LrcPtr::new(Documents::Mut4 { + v163.toString(provider) + }; + let v560: string = padLeft(toLower(string("Info")), 7_i32, ' '); + let v576: &str = inline_colorization::color_bright_green; + let v578: &str = &*v560; + let v580: &str = inline_colorization::color_reset; + let v582: string = string("format!(\"{v576}{v578}{v580}\")"); + let v583: std::string::String = format!("{v576}{v578}{v580}"); + let v585: string = fable_library_rust::String_::fromString(v583); + let v626: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v627: i32 = length(v2); + let v629: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v590: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("{ ")), ()); + let v636: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v597: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("exit_code")), ()); + let v645: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("exit_code")), ()); () }; - let v604: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string(" = ")), ()); + let v654: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v610: () = { - Documents::closure11(v583.clone(), sprintf!("{}", v1_1), ()); + let v662: () = { + Documents::closure11(v629.clone(), sprintf!("{}", v1_1), ()); () }; - let v617: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("; ")), ()); + let v671: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("; ")), ()); () }; - let v624: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("result_len")), ()); + let v680: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("result_len")), ()); () }; - let v630: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string(" = ")), ()); + let v688: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v636: () = { - Documents::closure11(v583.clone(), sprintf!("{}", v581), ()); + let v696: () = { + Documents::closure11(v629.clone(), sprintf!("{}", v627), ()); () }; - let v642: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("; ")), ()); + let v704: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("; ")), ()); () }; - let v649: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string("output_path")), ()); + let v713: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string("output_path")), ()); () }; - let v655: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string(" = ")), ()); + let v721: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v661: () = { - Documents::closure11(v583.clone(), sprintf!("{}", v0_1), ()); + let v729: () = { + Documents::closure11(v629.clone(), sprintf!("{}", v0_1), ()); () }; - let v668: () = { - Documents::closure11(v583.clone(), sprintf!("{}", string(" }")), ()); + let v738: () = { + Documents::closure11(v629.clone(), sprintf!("{}", string(" }")), ()); () }; - let v669: string = v583.l0.get().clone(); - let v708: string = trimEndChars( + let v741: string = v629.l0.get().clone(); + let v780: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v134, - v539, - v580, - Documents::closure88((), ()), - v669 + v168, + v585, + v626, + Documents::closure89((), ()), + v741 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v708.clone()); + println!("{}", v780.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v708) + ((patternInput.1.clone()).l0.get().clone())(v780) } } pub fn method85(v0_1: string, v1_1: string, v2: string, v3: string) -> Documents::US32 { @@ -9043,7 +9080,7 @@ mod module_2555ccf7 { move |v: std::sync::Arc< std::sync::Mutex, >| { - Documents::closure86(v95.clone(), v) + Documents::closure87(v95.clone(), v) } })), true, @@ -9102,7 +9139,7 @@ mod module_2555ccf7 { (); { let v174: () = { - Documents::closure87(v2, v136, v166.clone(), ()); + Documents::closure88(v2, v136, v166.clone(), ()); () }; Documents::US32::US32_0(v136, v166) @@ -9112,10 +9149,10 @@ mod module_2555ccf7 { } } } - pub fn closure90(unitVar: (), unitVar_1: ()) -> string { + pub fn closure91(unitVar: (), unitVar_1: ()) -> string { string("documents.files_fn / error") } - pub fn closure89(v0_1: string, v1_1: i32, unitVar: ()) { + pub fn closure90(v0_1: string, v1_1: i32, unitVar: ()) { fn v3() { Documents::closure7((), ()); } @@ -9130,7 +9167,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v23: () = { + let v33: () = { v3(); () }; @@ -9141,13 +9178,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v41: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v61: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 2_i32 >= find( - v41, + v61, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -9157,11 +9194,11 @@ mod module_2555ccf7 { ])))), ) } { - let v49: () = { + let v69: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v51: () = { + let v73: () = { v3(); () }; @@ -9172,26 +9209,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v70: LrcPtr>> = refCell(None::); - let v75: () = { + let _v102: LrcPtr>> = + refCell(None::); + let v107: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v70 = _v70.clone(); - move |v: Option| Documents::closure9(_v70.clone(), v) + let _v102 = _v102.clone(); + move |v: Option| Documents::closure9(_v102.clone(), v) }), (), ); () }; - let v88: Documents::US3 = defaultValue(Documents::US3::US3_1, _v70.get().clone()); - let v128: DateTime = match &v88 { - Documents::US3::US3_0(v88_0_0) => { - let v102: TimeSpan = TimeSpan::new_ticks( + let v122: Documents::US3 = defaultValue(Documents::US3::US3_1, _v102.get().clone()); + let v162: DateTime = match &v122 { + Documents::US3::US3_0(v122_0_0) => { + let v136: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v88 { + } - match &v122 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -9200,86 +9238,86 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v102.hours(), - v102.minutes(), - v102.seconds(), - v102.milliseconds(), + v136.hours(), + v136.minutes(), + v136.seconds(), + v136.milliseconds(), ) } _ => DateTime::now(), }; - let v133: string = { + let v167: string = { let provider: string = Documents::method6(); - v128.toString(provider) - }; - let v513: string = padLeft(toLower(string("Info")), 7_i32, ' '); - let v529: &str = inline_colorization::color_bright_green; - let v531: &str = &*v513; - let v533: &str = inline_colorization::color_reset; - let v535: string = string("format!(\"{v529}{v531}{v533}\")"); - let v536: std::string::String = format!("{v529}{v531}{v533}"); - let v538: string = fable_library_rust::String_::fromString(v536); - let v579: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v581: LrcPtr = LrcPtr::new(Documents::Mut4 { + v162.toString(provider) + }; + let v559: string = padLeft(toLower(string("Info")), 7_i32, ' '); + let v575: &str = inline_colorization::color_bright_green; + let v577: &str = &*v559; + let v579: &str = inline_colorization::color_reset; + let v581: string = string("format!(\"{v575}{v577}{v579}\")"); + let v582: std::string::String = format!("{v575}{v577}{v579}"); + let v584: string = fable_library_rust::String_::fromString(v582); + let v625: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v627: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v588: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string("{ ")), ()); + let v634: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v595: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string("exit_code")), ()); + let v643: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string("exit_code")), ()); () }; - let v602: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string(" = ")), ()); + let v652: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v608: () = { - Documents::closure11(v581.clone(), sprintf!("{}", v1_1), ()); + let v660: () = { + Documents::closure11(v627.clone(), sprintf!("{}", v1_1), ()); () }; - let v615: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string("; ")), ()); + let v669: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string("; ")), ()); () }; - let v622: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string("result")), ()); + let v678: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string("result")), ()); () }; - let v628: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string(" = ")), ()); + let v686: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v634: () = { - Documents::closure11(v581.clone(), sprintf!("{}", v0_1), ()); + let v694: () = { + Documents::closure11(v627.clone(), sprintf!("{}", v0_1), ()); () }; - let v641: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string(" }")), ()); + let v703: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string(" }")), ()); () }; - let v642: string = v581.l0.get().clone(); - let v681: string = trimEndChars( + let v706: string = v627.l0.get().clone(); + let v745: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v133, - v538, - v579, - Documents::closure90((), ()), - v642 + v167, + v584, + v625, + Documents::closure91((), ()), + v706 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v681.clone()); + println!("{}", v745.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v681) + ((patternInput.1.clone()).l0.get().clone())(v745) } } - pub fn closure85( + pub fn closure86( v0_1: string, v1_1: string, v2: string, @@ -9523,7 +9561,7 @@ mod module_2555ccf7 { let v225: i32 = v224_0_0.clone(); if v225 != 0_i32 { let v232: () = { - Documents::closure89(v226.clone(), v225, ()); + Documents::closure90(v226.clone(), v225, ()); () }; Documents::US30::US30_0(Err::>( @@ -9553,7 +9591,7 @@ mod module_2555ccf7 { Documents::US30::US30_1 } } - pub fn closure84( + pub fn closure85( v0_1: string, v1_1: string, v2: string, @@ -9567,7 +9605,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v: string| { - Documents::closure85( + Documents::closure86( v0_1.clone(), v1_1.clone(), v2.clone(), @@ -9578,10 +9616,10 @@ mod module_2555ccf7 { } }) } - pub fn closure94(unitVar: (), unitVar_1: ()) -> string { + pub fn closure95(unitVar: (), unitVar_1: ()) -> string { string("documents.crowbook / result contains ERROR") } - pub fn closure93(v0_1: string, v1_1: string, v2: i32, unitVar: ()) { + pub fn closure94(v0_1: string, v1_1: string, v2: i32, unitVar: ()) { fn v4() { Documents::closure7((), ()); } @@ -9596,7 +9634,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v24: () = { + let v34: () = { v4(); () }; @@ -9607,13 +9645,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v42: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v62: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 3_i32 >= find( - v42, + v62, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -9623,11 +9661,11 @@ mod module_2555ccf7 { ])))), ) } { - let v50: () = { + let v70: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v52: () = { + let v74: () = { v4(); () }; @@ -9638,26 +9676,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v71: LrcPtr>> = refCell(None::); - let v76: () = { + let _v103: LrcPtr>> = + refCell(None::); + let v108: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v71 = _v71.clone(); - move |v: Option| Documents::closure9(_v71.clone(), v) + let _v103 = _v103.clone(); + move |v: Option| Documents::closure9(_v103.clone(), v) }), (), ); () }; - let v89: Documents::US3 = defaultValue(Documents::US3::US3_1, _v71.get().clone()); - let v129: DateTime = match &v89 { - Documents::US3::US3_0(v89_0_0) => { - let v103: TimeSpan = TimeSpan::new_ticks( + let v123: Documents::US3 = defaultValue(Documents::US3::US3_1, _v103.get().clone()); + let v163: DateTime = match &v123 { + Documents::US3::US3_0(v123_0_0) => { + let v137: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v89 { + } - match &v123 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -9666,99 +9705,99 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v103.hours(), - v103.minutes(), - v103.seconds(), - v103.milliseconds(), + v137.hours(), + v137.minutes(), + v137.seconds(), + v137.milliseconds(), ) } _ => DateTime::now(), }; - let v134: string = { + let v168: string = { let provider: string = Documents::method6(); - v129.toString(provider) - }; - let v514: string = padLeft(toLower(string("Warning")), 7_i32, ' '); - let v530: &str = inline_colorization::color_yellow; - let v532: &str = &*v514; - let v534: &str = inline_colorization::color_reset; - let v536: string = string("format!(\"{v530}{v532}{v534}\")"); - let v537: std::string::String = format!("{v530}{v532}{v534}"); - let v539: string = fable_library_rust::String_::fromString(v537); - let v580: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v582: LrcPtr = LrcPtr::new(Documents::Mut4 { + v163.toString(provider) + }; + let v560: string = padLeft(toLower(string("Warning")), 7_i32, ' '); + let v576: &str = inline_colorization::color_yellow; + let v578: &str = &*v560; + let v580: &str = inline_colorization::color_reset; + let v582: string = string("format!(\"{v576}{v578}{v580}\")"); + let v583: std::string::String = format!("{v576}{v578}{v580}"); + let v585: string = fable_library_rust::String_::fromString(v583); + let v626: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v628: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v589: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("{ ")), ()); + let v635: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v596: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("exit_code")), ()); + let v644: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("exit_code")), ()); () }; - let v603: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" = ")), ()); + let v653: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v609: () = { - Documents::closure11(v582.clone(), sprintf!("{}", v2), ()); + let v661: () = { + Documents::closure11(v628.clone(), sprintf!("{}", v2), ()); () }; - let v616: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("; ")), ()); + let v670: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("; ")), ()); () }; - let v623: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("output_path")), ()); + let v679: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("output_path")), ()); () }; - let v629: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" = ")), ()); + let v687: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v635: () = { - Documents::closure11(v582.clone(), sprintf!("{}", v0_1), ()); + let v695: () = { + Documents::closure11(v628.clone(), sprintf!("{}", v0_1), ()); () }; - let v641: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("; ")), ()); + let v703: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("; ")), ()); () }; - let v648: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("result")), ()); + let v712: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("result")), ()); () }; - let v654: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" = ")), ()); + let v720: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v660: () = { - Documents::closure11(v582.clone(), sprintf!("{}", v1_1), ()); + let v728: () = { + Documents::closure11(v628.clone(), sprintf!("{}", v1_1), ()); () }; - let v667: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" }")), ()); + let v737: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" }")), ()); () }; - let v668: string = v582.l0.get().clone(); - let v707: string = trimEndChars( + let v740: string = v628.l0.get().clone(); + let v779: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v134, - v539, - v580, - Documents::closure94((), ()), - v668 + v168, + v585, + v626, + Documents::closure95((), ()), + v740 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v707.clone()); + println!("{}", v779.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v707) + ((patternInput.1.clone()).l0.get().clone())(v779) } } pub fn method92( @@ -9814,7 +9853,7 @@ mod module_2555ccf7 { let v60: i32 = patternInput.0.clone(); if contains(v61.clone(), string("ERROR")) { let v68: () = { - Documents::closure93(v1_1, v61.clone(), v60, ()); + Documents::closure94(v1_1, v61.clone(), v60, ()); () }; Documents::US32::US32_1(v60, v61.clone()) @@ -9822,7 +9861,7 @@ mod module_2555ccf7 { Documents::US32::US32_0(v60, v61) } } - pub fn closure92( + pub fn closure93( v0_1: string, v1_1: string, v2: bool, @@ -10065,7 +10104,7 @@ mod module_2555ccf7 { let v224: i32 = v223_0_0.clone(); if v224 != 0_i32 { let v231: () = { - Documents::closure89(v225.clone(), v224, ()); + Documents::closure90(v225.clone(), v224, ()); () }; Documents::US30::US30_0(Err::>( @@ -10095,7 +10134,7 @@ mod module_2555ccf7 { Documents::US30::US30_1 } } - pub fn closure91( + pub fn closure92( v0_1: string, v1_1: string, v2: bool, @@ -10106,13 +10145,13 @@ mod module_2555ccf7 { let v1_1 = v1_1.clone(); let v2 = v2.clone(); let v3 = v3.clone(); - move |v: string| Documents::closure92(v0_1.clone(), v1_1.clone(), v2, v3.clone(), v) + move |v: string| Documents::closure93(v0_1.clone(), v1_1.clone(), v2, v3.clone(), v) }) } - pub fn closure96(unitVar: (), unitVar_1: ()) -> string { + pub fn closure97(unitVar: (), unitVar_1: ()) -> string { string("documents.run / par_map / files\' = [] / listm.iter") } - pub fn closure95(v0_1: string, v1_1: string, unitVar: ()) { + pub fn closure96(v0_1: string, v1_1: string, unitVar: ()) { fn v3() { Documents::closure7((), ()); } @@ -10127,7 +10166,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v23: () = { + let v33: () = { v3(); () }; @@ -10138,13 +10177,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v41: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v61: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 2_i32 >= find( - v41, + v61, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -10154,11 +10193,11 @@ mod module_2555ccf7 { ])))), ) } { - let v49: () = { + let v69: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v51: () = { + let v73: () = { v3(); () }; @@ -10169,26 +10208,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v70: LrcPtr>> = refCell(None::); - let v75: () = { + let _v102: LrcPtr>> = + refCell(None::); + let v107: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v70 = _v70.clone(); - move |v: Option| Documents::closure9(_v70.clone(), v) + let _v102 = _v102.clone(); + move |v: Option| Documents::closure9(_v102.clone(), v) }), (), ); () }; - let v88: Documents::US3 = defaultValue(Documents::US3::US3_1, _v70.get().clone()); - let v128: DateTime = match &v88 { - Documents::US3::US3_0(v88_0_0) => { - let v102: TimeSpan = TimeSpan::new_ticks( + let v122: Documents::US3 = defaultValue(Documents::US3::US3_1, _v102.get().clone()); + let v162: DateTime = match &v122 { + Documents::US3::US3_0(v122_0_0) => { + let v136: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v88 { + } - match &v122 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -10197,87 +10237,87 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v102.hours(), - v102.minutes(), - v102.seconds(), - v102.milliseconds(), + v136.hours(), + v136.minutes(), + v136.seconds(), + v136.milliseconds(), ) } _ => DateTime::now(), }; - let v133: string = { + let v167: string = { let provider: string = Documents::method6(); - v128.toString(provider) - }; - let v513: string = padLeft(toLower(string("Info")), 7_i32, ' '); - let v529: &str = inline_colorization::color_bright_green; - let v531: &str = &*v513; - let v533: &str = inline_colorization::color_reset; - let v535: string = string("format!(\"{v529}{v531}{v533}\")"); - let v536: std::string::String = format!("{v529}{v531}{v533}"); - let v538: string = fable_library_rust::String_::fromString(v536); - let v579: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v581: LrcPtr = LrcPtr::new(Documents::Mut4 { + v162.toString(provider) + }; + let v559: string = padLeft(toLower(string("Info")), 7_i32, ' '); + let v575: &str = inline_colorization::color_bright_green; + let v577: &str = &*v559; + let v579: &str = inline_colorization::color_reset; + let v581: string = string("format!(\"{v575}{v577}{v579}\")"); + let v582: std::string::String = format!("{v575}{v577}{v579}"); + let v584: string = fable_library_rust::String_::fromString(v582); + let v625: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v627: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v588: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string("{ ")), ()); + let v634: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v595: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string("output_path")), ()); + let v643: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string("output_path")), ()); () }; - let v602: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string(" = ")), ()); + let v652: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v608: () = { - Documents::closure11(v581.clone(), sprintf!("{}", v1_1), ()); + let v660: () = { + Documents::closure11(v627.clone(), sprintf!("{}", v1_1), ()); () }; - let v615: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string("; ")), ()); + let v669: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string("; ")), ()); () }; - let v622: () = { + let v678: () = { Documents::closure11( - v581.clone(), + v627.clone(), sprintf!("{}", string("output_cache_path")), (), ); () }; - let v628: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string(" = ")), ()); + let v686: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v634: () = { - Documents::closure11(v581.clone(), sprintf!("{}", v0_1), ()); + let v694: () = { + Documents::closure11(v627.clone(), sprintf!("{}", v0_1), ()); () }; - let v641: () = { - Documents::closure11(v581.clone(), sprintf!("{}", string(" }")), ()); + let v703: () = { + Documents::closure11(v627.clone(), sprintf!("{}", string(" }")), ()); () }; - let v642: string = v581.l0.get().clone(); - let v681: string = trimEndChars( + let v706: string = v627.l0.get().clone(); + let v745: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v133, - v538, - v579, - Documents::closure96((), ()), - v642 + v167, + v584, + v625, + Documents::closure97((), ()), + v706 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v681.clone()); + println!("{}", v745.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v681) + ((patternInput.1.clone()).l0.get().clone())(v745) } } pub fn method93( @@ -10354,7 +10394,7 @@ mod module_2555ccf7 { ), } } - pub fn closure97( + pub fn closure98( unitVar: (), _arg: ( string, @@ -10381,7 +10421,7 @@ mod module_2555ccf7 { ) -> Vec>>> { v0_1 } - pub fn closure32( + pub fn closure34( v0_1: string, v1_1: string, v2: string, @@ -10443,7 +10483,7 @@ mod module_2555ccf7 { let v76: string = (Documents::method77(string("hangul.md"), v60.clone(), v4.clone())) .0 .clone(); - let v339: LrcPtr = if contains(v58.clone(), v72.clone()) == false { + let v1406: LrcPtr = if contains(v58.clone(), v72.clone()) == false { let v88: string = Documents::method25(v60.clone()); let v90: Result = std::fs::File::open(&*v88); let v92: std::fs::File = v90.unwrap(); @@ -10680,7 +10720,7 @@ mod module_2555ccf7 { } } { let v313: () = { - Documents::closure82( + Documents::closure83( v43, v44.clone(), v46, @@ -10713,7 +10753,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v: string| { - Documents::closure84( + Documents::closure85( v4.clone(), v3.clone(), v1_1.clone(), @@ -10740,7 +10780,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_1: string| { - Documents::closure91( + Documents::closure92( v4.clone(), v3.clone(), false, @@ -10765,7 +10805,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_2: string| { - Documents::closure91( + Documents::closure92( v4.clone(), v3.clone(), false, @@ -10790,7 +10830,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_3: string| { - Documents::closure91( + Documents::closure92( v4.clone(), v3.clone(), false, @@ -10815,7 +10855,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_4: string| { - Documents::closure91( + Documents::closure92( v4.clone(), v3.clone(), true, @@ -10840,7 +10880,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_5: string| { - Documents::closure91( + Documents::closure92( v4.clone(), v3.clone(), true, @@ -10865,7 +10905,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_6: string| { - Documents::closure91( + Documents::closure92( v4.clone(), v3.clone(), true, @@ -10898,28 +10938,28 @@ mod module_2555ccf7 { } else { LrcPtr::new(Documents::UH4::UH4_0) }; - let v447: Array> = toArray(Documents::method93( - if (if let Documents::UH4::UH4_0 = v339.as_ref() { + let v6883: Array> = toArray(Documents::method93( + if (if let Documents::UH4::UH4_0 = v1406.as_ref() { true } else { false }) != true { - v339 + v1406 } else { let patternInput_3: (string, string) = Documents::method77(string("epub"), v76.clone(), v4.clone()); - let v344: string = patternInput_3.1.clone(); - let v343: string = patternInput_3.0.clone(); - let v357: LrcPtr = if if Documents::method82(v343.clone()) + let v1411: string = patternInput_3.1.clone(); + let v1410: string = patternInput_3.0.clone(); + let v2191: LrcPtr = if if Documents::method82(v1410.clone()) == false { - if Documents::method82(v344.clone()) { - let v350: () = { - Documents::closure95(v344.clone(), v343.clone(), ()); + if Documents::method82(v1411.clone()) { + let v1417: () = { + Documents::closure96(v1411.clone(), v1410.clone(), ()); () }; - Documents::method83(v343, v344); + Documents::method83(v1410, v1411); false } else { true @@ -10938,7 +10978,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_7: string| { - Documents::closure91(v4.clone(), v3.clone(), true, v_7) + Documents::closure92(v4.clone(), v3.clone(), true, v_7) } }))(b0)(b1) } @@ -10950,17 +10990,17 @@ mod module_2555ccf7 { }; let patternInput_4: (string, string) = Documents::method77(string("pdf"), v76.clone(), v4.clone()); - let v360: string = patternInput_4.1.clone(); - let v359: string = patternInput_4.0.clone(); - let v371: LrcPtr = if if Documents::method82(v359.clone()) + let v2194: string = patternInput_4.1.clone(); + let v2193: string = patternInput_4.0.clone(); + let v2972: LrcPtr = if if Documents::method82(v2193.clone()) == false { - if Documents::method82(v360.clone()) { - let v366: () = { - Documents::closure95(v360.clone(), v359.clone(), ()); + if Documents::method82(v2194.clone()) { + let v2200: () = { + Documents::closure96(v2194.clone(), v2193.clone(), ()); () }; - Documents::method83(v359, v360); + Documents::method83(v2193, v2194); false } else { true @@ -10979,29 +11019,29 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_8: string| { - Documents::closure91(v4.clone(), v3.clone(), true, v_8) + Documents::closure92(v4.clone(), v3.clone(), true, v_8) } }))(b0)(b1) } }), - v357.clone(), + v2191.clone(), )) } else { - v357 + v2191 }; let patternInput_5: (string, string) = Documents::method77(string("html"), v76.clone(), v4.clone()); - let v374: string = patternInput_5.1.clone(); - let v373: string = patternInput_5.0.clone(); - let v385: LrcPtr = if if Documents::method82(v373.clone()) + let v2975: string = patternInput_5.1.clone(); + let v2974: string = patternInput_5.0.clone(); + let v3753: LrcPtr = if if Documents::method82(v2974.clone()) == false { - if Documents::method82(v374.clone()) { - let v380: () = { - Documents::closure95(v374.clone(), v373.clone(), ()); + if Documents::method82(v2975.clone()) { + let v2981: () = { + Documents::closure96(v2975.clone(), v2974.clone(), ()); () }; - Documents::method83(v373, v374); + Documents::method83(v2974, v2975); false } else { true @@ -11020,28 +11060,28 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_9: string| { - Documents::closure91(v4.clone(), v3.clone(), true, v_9) + Documents::closure92(v4.clone(), v3.clone(), true, v_9) } }))(b0)(b1) } }), - v371.clone(), + v2972.clone(), )) } else { - v371 + v2972 }; let patternInput_6: (string, string) = Documents::method77(string("epub"), v60.clone(), v4.clone()); - let v387: string = patternInput_6.1.clone(); - let v386: string = patternInput_6.0.clone(); - let v398: LrcPtr = - if if Documents::method82(v386.clone()) == false { - if Documents::method82(v387.clone()) { - let v393: () = { - Documents::closure95(v387.clone(), v386.clone(), ()); + let v3755: string = patternInput_6.1.clone(); + let v3754: string = patternInput_6.0.clone(); + let v4533: LrcPtr = + if if Documents::method82(v3754.clone()) == false { + if Documents::method82(v3755.clone()) { + let v3761: () = { + Documents::closure96(v3755.clone(), v3754.clone(), ()); () }; - Documents::method83(v386, v387); + Documents::method83(v3754, v3755); false } else { true @@ -11060,7 +11100,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_10: string| { - Documents::closure91( + Documents::closure92( v4.clone(), v3.clone(), false, @@ -11070,23 +11110,23 @@ mod module_2555ccf7 { }))(b0)(b1) } }), - v385.clone(), + v3753.clone(), )) } else { - v385 + v3753 }; let patternInput_7: (string, string) = Documents::method77(string("pdf"), v60.clone(), v4.clone()); - let v400: string = patternInput_7.1.clone(); - let v399: string = patternInput_7.0.clone(); - let v411: LrcPtr = - if if Documents::method82(v399.clone()) == false { - if Documents::method82(v400.clone()) { - let v406: () = { - Documents::closure95(v400.clone(), v399.clone(), ()); + let v4535: string = patternInput_7.1.clone(); + let v4534: string = patternInput_7.0.clone(); + let v5313: LrcPtr = + if if Documents::method82(v4534.clone()) == false { + if Documents::method82(v4535.clone()) { + let v4541: () = { + Documents::closure96(v4535.clone(), v4534.clone(), ()); () }; - Documents::method83(v399, v400); + Documents::method83(v4534, v4535); false } else { true @@ -11105,7 +11145,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_11: string| { - Documents::closure91( + Documents::closure92( v4.clone(), v3.clone(), false, @@ -11115,23 +11155,23 @@ mod module_2555ccf7 { }))(b0)(b1) } }), - v398.clone(), + v4533.clone(), )) } else { - v398 + v4533 }; let patternInput_8: (string, string) = Documents::method77(string("html"), v60.clone(), v4.clone()); - let v413: string = patternInput_8.1.clone(); - let v412: string = patternInput_8.0.clone(); - let v424: LrcPtr = - if if Documents::method82(v412.clone()) == false { - if Documents::method82(v413.clone()) { - let v419: () = { - Documents::closure95(v413.clone(), v412.clone(), ()); + let v5315: string = patternInput_8.1.clone(); + let v5314: string = patternInput_8.0.clone(); + let v6093: LrcPtr = + if if Documents::method82(v5314.clone()) == false { + if Documents::method82(v5315.clone()) { + let v5321: () = { + Documents::closure96(v5315.clone(), v5314.clone(), ()); () }; - Documents::method83(v412, v413); + Documents::method83(v5314, v5315); false } else { true @@ -11150,7 +11190,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_12: string| { - Documents::closure91( + Documents::closure92( v4.clone(), v3.clone(), false, @@ -11160,23 +11200,23 @@ mod module_2555ccf7 { }))(b0)(b1) } }), - v411.clone(), + v5313.clone(), )) } else { - v411 + v5313 }; let patternInput_9: (string, string) = Documents::method77(string("hangul.md"), v60.clone(), v4.clone()); - let v426: string = patternInput_9.1.clone(); - let v425: string = patternInput_9.0.clone(); + let v6095: string = patternInput_9.1.clone(); + let v6094: string = patternInput_9.0.clone(); LrcPtr::new(Documents::UH4::UH4_1( - if if Documents::method82(v425.clone()) == false { - if Documents::method82(v426.clone()) { - let v432: () = { - Documents::closure95(v426.clone(), v425.clone(), ()); + if if Documents::method82(v6094.clone()) == false { + if Documents::method82(v6095.clone()) { + let v6101: () = { + Documents::closure96(v6095.clone(), v6094.clone(), ()); () }; - Documents::method83(v425, v426); + Documents::method83(v6094, v6095); false } else { true @@ -11199,7 +11239,7 @@ mod module_2555ccf7 { let v3 = v3.clone(); let v4 = v4.clone(); move |v_13: string| { - Documents::closure84( + Documents::closure85( v4.clone(), v3.clone(), v1_1.clone(), @@ -11216,58 +11256,58 @@ mod module_2555ccf7 { LrcPtr::new(Documents::UH5::UH5_0) }, LrcPtr::new(Documents::UH4::UH4_1( - v424, + v6093, LrcPtr::new(Documents::UH4::UH4_0), )), )) }, empty::>(), )); - let v451: Vec> = v447.to_vec(); - let v454: Vec>>> = + let v6887: Vec> = v6883.to_vec(); + let v6890: Vec>>> = new_empty::>>>().to_vec(); - let v456: Array> = - fable_library_rust::NativeArray_::array_from(v451); - let v457: i32 = count_2(v456.clone()); - let v458: LrcPtr = LrcPtr::new(Documents::Mut9 { + let v6892: Array> = + fable_library_rust::NativeArray_::array_from(v6887); + let v6893: i32 = count_2(v6892.clone()); + let v6894: LrcPtr = LrcPtr::new(Documents::Mut9 { l0: MutCell::new(0_i32), - l1: MutCell::new(v454), + l1: MutCell::new(v6890), }); - while Documents::method94(v457, v458.clone()) { - let v460: i32 = v458.l0.get().clone(); - let v461: Vec>>> = - v458.l1.get().clone(); - let v466 = toArray(Documents::method95( - v456[v460].clone(), + while Documents::method94(v6893, v6894.clone()) { + let v6896: i32 = v6894.l0.get().clone(); + let v6897: Vec>>> = + v6894.l1.get().clone(); + let v6902 = toArray(Documents::method95( + v6892[v6896].clone(), empty::<( string, string, Func1>, )>(), )); - let v470 = v466.to_vec(); - let v472 = rayon::iter::IntoParallelIterator::into_par_iter(v470); - let v475 = rayon::iter::ParallelIterator::map(v472, |x| { + let v6906 = v6902.to_vec(); + let v6908 = rayon::iter::IntoParallelIterator::into_par_iter(v6906); + let v6911 = rayon::iter::ParallelIterator::map(v6908, |x| { Func1::new( move |arg10_0040_8: ( string, string, Func1>, - )| Documents::closure97((), arg10_0040_8), + )| Documents::closure98((), arg10_0040_8), )(x) }); - let v478: Vec>>> = - Documents::method96(rayon::iter::ParallelIterator::collect(v475)); - let v479: Vec>>> = - Documents::method97(v461); - let v481: bool = true; - let mut v479 = v479; - let v483: bool = true; - v479.extend(v478); - let v485: Vec>>> = v479; - let v486: i32 = v460 + 1_i32; - v458.l0.set(v486); - v458.l1.set(v485); + let v6914: Vec>>> = + Documents::method96(rayon::iter::ParallelIterator::collect(v6911)); + let v6915: Vec>>> = + Documents::method97(v6897); + let v6917: bool = true; + let mut v6915 = v6915; + let v6919: bool = true; + v6915.extend(v6914); + let v6921: Vec>>> = v6915; + let v6922: i32 = v6896 + 1_i32; + v6894.l0.set(v6922); + v6894.l1.set(v6921); () } Ok::< @@ -11276,12 +11316,12 @@ mod module_2555ccf7 { Vec>>>, )>, std::string::String, - >(LrcPtr::new((v44, v458.l1.get().clone()))) + >(LrcPtr::new((v44, v6894.l1.get().clone()))) } - pub fn closure99(unitVar: (), unitVar_1: ()) -> string { + pub fn closure100(unitVar: (), unitVar_1: ()) -> string { string("documents.run") } - pub fn closure98( + pub fn closure99( v0_1: Vec< Result< LrcPtr<( @@ -11307,7 +11347,7 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v22: () = { + let v32: () = { v2(); () }; @@ -11318,13 +11358,13 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let v40: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); + let v60: Documents::US0 = (patternInput_1.3.clone()).l0.get().clone(); if if (patternInput_1.2.clone()).l0.get().clone() == false { false } else { 2_i32 >= find( - v40, + v60, ofSeq(ofList(ofArray(new_array(&[ LrcPtr::new((Documents::US0::US0_0, 0_i32)), LrcPtr::new((Documents::US0::US0_1, 1_i32)), @@ -11334,11 +11374,11 @@ mod module_2555ccf7 { ])))), ) } { - let v48: () = { + let v68: () = { Documents::closure8(patternInput.0.clone(), ()); () }; - let v50: () = { + let v72: () = { v2(); () }; @@ -11349,26 +11389,27 @@ mod module_2555ccf7 { LrcPtr, Option, ) = getValue(Documents::State::trace_state().get().clone()); - let _v69: LrcPtr>> = refCell(None::); - let v74: () = { + let _v101: LrcPtr>> = + refCell(None::); + let v106: () = { Documents::closure10( patternInput_2.4.clone(), Func1::new({ - let _v69 = _v69.clone(); - move |v: Option| Documents::closure9(_v69.clone(), v) + let _v101 = _v101.clone(); + move |v: Option| Documents::closure9(_v101.clone(), v) }), (), ); () }; - let v87: Documents::US3 = defaultValue(Documents::US3::US3_1, _v69.get().clone()); - let v127: DateTime = match &v87 { - Documents::US3::US3_0(v87_0_0) => { - let v101: TimeSpan = TimeSpan::new_ticks( + let v121: Documents::US3 = defaultValue(Documents::US3::US3_1, _v101.get().clone()); + let v161: DateTime = match &v121 { + Documents::US3::US3_0(v121_0_0) => { + let v135: TimeSpan = TimeSpan::new_ticks( { let _arg: DateTime = DateTime::now(); _arg.ticks() - } - match &v87 { + } - match &v121 { Documents::US3::US3_0(x) => x.clone(), _ => unreachable!(), }, @@ -11377,73 +11418,73 @@ mod module_2555ccf7 { 1_i32, 1_i32, 1_i32, - v101.hours(), - v101.minutes(), - v101.seconds(), - v101.milliseconds(), + v135.hours(), + v135.minutes(), + v135.seconds(), + v135.milliseconds(), ) } _ => DateTime::now(), }; - let v132: string = { + let v166: string = { let provider: string = Documents::method6(); - v127.toString(provider) - }; - let v512: string = padLeft(toLower(string("Info")), 7_i32, ' '); - let v528: &str = inline_colorization::color_bright_green; - let v530: &str = &*v512; - let v532: &str = inline_colorization::color_reset; - let v534: string = string("format!(\"{v528}{v530}{v532}\")"); - let v535: std::string::String = format!("{v528}{v530}{v532}"); - let v537: string = fable_library_rust::String_::fromString(v535); - let v578: i64 = (patternInput_2.0.clone()).l0.get().clone(); - let v580: usize = v0_1.len(); - let v582: LrcPtr = LrcPtr::new(Documents::Mut4 { + v161.toString(provider) + }; + let v558: string = padLeft(toLower(string("Info")), 7_i32, ' '); + let v574: &str = inline_colorization::color_bright_green; + let v576: &str = &*v558; + let v578: &str = inline_colorization::color_reset; + let v580: string = string("format!(\"{v574}{v576}{v578}\")"); + let v581: std::string::String = format!("{v574}{v576}{v578}"); + let v583: string = fable_library_rust::String_::fromString(v581); + let v624: i64 = (patternInput_2.0.clone()).l0.get().clone(); + let v626: usize = v0_1.len(); + let v628: LrcPtr = LrcPtr::new(Documents::Mut4 { l0: MutCell::new(Documents::method9()), }); - let v589: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("{ ")), ()); + let v635: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("{ ")), ()); () }; - let v596: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string("result_len")), ()); + let v644: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string("result_len")), ()); () }; - let v603: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" = ")), ()); + let v653: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" = ")), ()); () }; - let v606: std::string::String = format!("{:#?}", v580); - let v636: () = { + let v658: std::string::String = format!("{:#?}", v626); + let v688: () = { Documents::closure11( - v582.clone(), - sprintf!("{}", fable_library_rust::String_::fromString(v606)), + v628.clone(), + sprintf!("{}", fable_library_rust::String_::fromString(v658)), (), ); () }; - let v643: () = { - Documents::closure11(v582.clone(), sprintf!("{}", string(" }")), ()); + let v697: () = { + Documents::closure11(v628.clone(), sprintf!("{}", string(" }")), ()); () }; - let v644: string = v582.l0.get().clone(); - let v683: string = trimEndChars( + let v700: string = v628.l0.get().clone(); + let v739: string = trimEndChars( trimStartChars( sprintf!( "{} {} #{} {} / {}", - v132, - v537, - v578, - Documents::closure99((), ()), - v644 + v166, + v583, + v624, + Documents::closure100((), ()), + v700 ), toArray(empty::()), ), toArray(ofArray(new_array(&[' ', '/']))), ); - println!("{}", v683.clone()); + println!("{}", v739.clone()); (); - ((patternInput.1.clone()).l0.get().clone())(v683) + ((patternInput.1.clone()).l0.get().clone())(v739) } } pub fn method98( @@ -11500,32 +11541,32 @@ mod module_2555ccf7 { Documents::method15(string("polyglot"), string(".devcontainer")), string("C:\\home\\git\\polyglot\\target\\Builder\\documents"), ); - let v17: Documents::US1 = match &v8 { + let v750: Documents::US1 = match &v8 { Documents::US7::US7_0(v8_0_0) => Documents::US1::US1_0(v8_0_0.clone()), Documents::US7::US7_1(v8_1_0) => { let v14: () = { - Documents::closure16(v8_1_0.clone(), ()); + Documents::closure18(v8_1_0.clone(), ()); () }; Documents::US1::US1_1 } }; - let v33: Documents::US1 = match &v17 { - Documents::US1::US1_0(v17_0_0) => Documents::US1::US1_0(match &v17 { + let v1499: Documents::US1 = match &v750 { + Documents::US1::US1_0(v750_0_0) => Documents::US1::US1_0(match &v750 { Documents::US1::US1_0(x) => x.clone(), _ => unreachable!(), }), _ => { - let v20: string = Documents::method23(); - let v22: Documents::US7 = Documents::method18( + let v753: string = Documents::method23(); + let v755: Documents::US7 = Documents::method18( Documents::method15(string("polyglot"), string(".devcontainer")), - v20, + v753, ); - match &v22 { - Documents::US7::US7_0(v22_0_0) => Documents::US1::US1_0(v22_0_0.clone()), - Documents::US7::US7_1(v22_1_0) => { - let v28: () = { - Documents::closure16(v22_1_0.clone(), ()); + match &v755 { + Documents::US7::US7_0(v755_0_0) => Documents::US1::US1_0(v755_0_0.clone()), + Documents::US7::US7_1(v755_1_0) => { + let v761: () = { + Documents::closure18(v755_1_0.clone(), ()); () }; Documents::US1::US1_1 @@ -11533,9 +11574,9 @@ mod module_2555ccf7 { } } }; - let v38: string = Documents::method15( - match &v33 { - Documents::US1::US1_0(v33_0_0) => match &v33 { + let v1504: string = Documents::method15( + match &v1499 { + Documents::US1::US1_0(v1499_0_0) => match &v1499 { Documents::US1::US1_0(x) => x.clone(), _ => unreachable!(), }, @@ -11543,52 +11584,58 @@ mod module_2555ccf7 { }, string("polyglot"), ); - let v39: string = Documents::method24(v3); - let v40: string = Documents::method24(v2); - let v41: string = Documents::method24(v1_1); - let v44: () = { - Documents::closure18(v0_1.clone(), v39.clone(), v40.clone(), v41.clone(), ()); + let v1505: string = Documents::method24(v3); + let v1506: string = Documents::method24(v2); + let v1507: string = Documents::method24(v1_1); + let v1510: () = { + Documents::closure20( + v0_1.clone(), + v1505.clone(), + v1506.clone(), + v1507.clone(), + (), + ); () }; - let v46: bool = true; + let v2345: bool = true; let __result = Box::pin(async move { //; - let v48: async_walkdir::WalkDir = async_walkdir::WalkDir::new(&*v40.clone()); - let v51: async_walkdir::WalkDir = async_walkdir::WalkDir::filter(v48, |x| { - Func1::new(move |v: async_walkdir::DirEntry| Documents::closure20((), v))(x) + let v2347: async_walkdir::WalkDir = async_walkdir::WalkDir::new(&*v1506.clone()); + let v2350: async_walkdir::WalkDir = async_walkdir::WalkDir::filter(v2347, |x| { + Func1::new(move |v: async_walkdir::DirEntry| Documents::closure22((), v))(x) }); - let v52 = Documents::method35(); - let v54 = tokio_stream::StreamExt::filter_map(v51, |x| v52(x)); - let v56: std::pin::Pin>>> = - Box::pin(tokio_stream::StreamExt::collect(v54)); - let v58: Vec = v56.await; - let v61: () = { - Documents::closure30(v58.clone(), ()); - () - }; - let v63: rayon::vec::IntoIter = - rayon::iter::IntoParallelIterator::into_par_iter(v58); - let v66: rayon::iter::Map, _> = - rayon::iter::ParallelIterator::map(v63, |x| { + let v2351 = Documents::method35(); + let v2353 = tokio_stream::StreamExt::filter_map(v2350, |x| v2351(x)); + let v2355: std::pin::Pin>>> = + Box::pin(tokio_stream::StreamExt::collect(v2353)); + let v2357: Vec = v2355.await; + let v2360: () = { + Documents::closure32(v2357.clone(), ()); + () + }; + let v3124: rayon::vec::IntoIter = + rayon::iter::IntoParallelIterator::into_par_iter(v2357); + let v3127: rayon::iter::Map, _> = + rayon::iter::ParallelIterator::map(v3124, |x| { Func1::new({ let v0_1 = v0_1.clone(); - let v38 = v38.clone(); - let v39 = v39.clone(); - let v40 = v40.clone(); - let v41 = v41.clone(); + let v1504 = v1504.clone(); + let v1505 = v1505.clone(); + let v1506 = v1506.clone(); + let v1507 = v1507.clone(); move |v_1: string| { - Documents::closure32( + Documents::closure34( v0_1.clone(), - v38.clone(), - v39.clone(), - v40.clone(), - v41.clone(), + v1504.clone(), + v1505.clone(), + v1506.clone(), + v1507.clone(), v_1, ) } })(x) }); - let v68: Vec< + let v3129: Vec< Result< LrcPtr<( string, @@ -11596,12 +11643,12 @@ mod module_2555ccf7 { )>, std::string::String, >, - > = rayon::iter::ParallelIterator::collect(v66); - let v71: () = { - Documents::closure98(v68.clone(), ()); + > = rayon::iter::ParallelIterator::collect(v3127); + let v3132: () = { + Documents::closure99(v3129.clone(), ()); () }; - let v73: Result< + let v3896: Result< Vec< Result< LrcPtr<( @@ -11623,124 +11670,124 @@ mod module_2555ccf7 { >, >, std::string::String, - >(v68)); - let v77: string = string("true; v73 }); // rust.fix_closure\'"); - let v78: bool = true; - v73 + >(v3129)); + let v3900: string = string("true; v3896 }); // rust.fix_closure\'"); + let v3901: bool = true; + v3896 }); // rust.fix_closure'; - let v80 = __result; - v80 + let v3903 = __result; + v3903 } pub fn closure1(unitVar: (), v0_1: Array) -> i32 { let v3: () = { Documents::closure2((), ()); () }; - let v8: () = { + let v18: () = { Documents::closure6(v0_1, ()); () }; - let v9: clap::Command = Documents::method0(); - let v11: clap::ArgMatches = clap::Command::get_matches(v9); - let v12: string = Documents::method10(); - let v14: &str = &*v12; - let v16: Option = - clap::ArgMatches::get_one(&v11.clone(), v14).cloned(); - let _v17: LrcPtr>> = refCell(None::); - let v22: () = { - Documents::closure14( - v16, + let v755: clap::Command = Documents::method0(); + let v757: clap::ArgMatches = clap::Command::get_matches(v755); + let v758: string = Documents::method10(); + let v760: &str = &*v758; + let v762: Option = + clap::ArgMatches::get_one(&v757.clone(), v760).cloned(); + let _v763: LrcPtr>> = refCell(None::); + let v768: () = { + Documents::closure16( + v762, Func1::new({ - let _v17 = _v17.clone(); - move |v: Option| Documents::closure13(_v17.clone(), v) + let _v763 = _v763.clone(); + move |v: Option| Documents::closure15(_v763.clone(), v) }), (), ); () }; - let v35: Documents::US4 = defaultValue(Documents::US4::US4_1, _v17.get().clone()); - let v42: std::string::String = match &v35 { - Documents::US4::US4_0(v35_0_0) => match &v35 { + let v783: Documents::US4 = defaultValue(Documents::US4::US4_1, _v763.get().clone()); + let v790: std::string::String = match &v783 { + Documents::US4::US4_0(v783_0_0) => match &v783 { Documents::US4::US4_0(x) => x.clone(), _ => unreachable!(), }, _ => panic!("{}", string("Option does not have a value."),), }; - let v44: string = fable_library_rust::String_::fromString(v42); - let v45: string = Documents::method11(); - let v47: &str = &*v45; - let v49: Option = - clap::ArgMatches::get_one(&v11.clone(), v47).cloned(); - let _v50: LrcPtr>> = refCell(None::); - let v55: () = { - Documents::closure14( - v49, + let v792: string = fable_library_rust::String_::fromString(v790); + let v793: string = Documents::method11(); + let v795: &str = &*v793; + let v797: Option = + clap::ArgMatches::get_one(&v757.clone(), v795).cloned(); + let _v798: LrcPtr>> = refCell(None::); + let v803: () = { + Documents::closure16( + v797, Func1::new({ - let _v50 = _v50.clone(); - move |v_1: Option| Documents::closure13(_v50.clone(), v_1) + let _v798 = _v798.clone(); + move |v_1: Option| Documents::closure15(_v798.clone(), v_1) }), (), ); () }; - let v68: Documents::US4 = defaultValue(Documents::US4::US4_1, _v50.get().clone()); - let v75: std::string::String = match &v68 { - Documents::US4::US4_0(v68_0_0) => match &v68 { + let v818: Documents::US4 = defaultValue(Documents::US4::US4_1, _v798.get().clone()); + let v825: std::string::String = match &v818 { + Documents::US4::US4_0(v818_0_0) => match &v818 { Documents::US4::US4_0(x) => x.clone(), _ => unreachable!(), }, _ => panic!("{}", string("Option does not have a value."),), }; - let v77: string = fable_library_rust::String_::fromString(v75); - let v78: string = Documents::method12(); - let v80: &str = &*v78; - let v82: Option = - clap::ArgMatches::get_one(&v11.clone(), v80).cloned(); - let _v83: LrcPtr>> = refCell(None::); - let v88: () = { - Documents::closure14( - v82, + let v827: string = fable_library_rust::String_::fromString(v825); + let v828: string = Documents::method12(); + let v830: &str = &*v828; + let v832: Option = + clap::ArgMatches::get_one(&v757.clone(), v830).cloned(); + let _v833: LrcPtr>> = refCell(None::); + let v838: () = { + Documents::closure16( + v832, Func1::new({ - let _v83 = _v83.clone(); - move |v_2: Option| Documents::closure13(_v83.clone(), v_2) + let _v833 = _v833.clone(); + move |v_2: Option| Documents::closure15(_v833.clone(), v_2) }), (), ); () }; - let v101: Documents::US4 = defaultValue(Documents::US4::US4_1, _v83.get().clone()); - let v108: std::string::String = match &v101 { - Documents::US4::US4_0(v101_0_0) => match &v101 { + let v853: Documents::US4 = defaultValue(Documents::US4::US4_1, _v833.get().clone()); + let v860: std::string::String = match &v853 { + Documents::US4::US4_0(v853_0_0) => match &v853 { Documents::US4::US4_0(x) => x.clone(), _ => unreachable!(), }, _ => panic!("{}", string("Option does not have a value."),), }; - let v110: string = fable_library_rust::String_::fromString(v108); - let v111: string = Documents::method13(); - let v113: &str = &*v111; - let v115: Option = clap::ArgMatches::get_one(&v11, v113).cloned(); - let _v116: LrcPtr>> = refCell(None::); - let v121: () = { - Documents::closure14( - v115, + let v862: string = fable_library_rust::String_::fromString(v860); + let v863: string = Documents::method13(); + let v865: &str = &*v863; + let v867: Option = clap::ArgMatches::get_one(&v757, v865).cloned(); + let _v868: LrcPtr>> = refCell(None::); + let v873: () = { + Documents::closure16( + v867, Func1::new({ - let _v116 = _v116.clone(); - move |v_3: Option| Documents::closure13(_v116.clone(), v_3) + let _v868 = _v868.clone(); + move |v_3: Option| Documents::closure15(_v868.clone(), v_3) }), (), ); () }; - let v134: Documents::US4 = defaultValue(Documents::US4::US4_1, _v116.get().clone()); - let v141: std::string::String = match &v134 { - Documents::US4::US4_0(v134_0_0) => match &v134 { + let v888: Documents::US4 = defaultValue(Documents::US4::US4_1, _v868.get().clone()); + let v895: std::string::String = match &v888 { + Documents::US4::US4_0(v888_0_0) => match &v888 { Documents::US4::US4_0(x) => x.clone(), _ => unreachable!(), }, _ => panic!("{}", string("Option does not have a value."),), }; - let v144: std::pin::Pin< + let v898: std::pin::Pin< Box< dyn std::future::Future< Output = Result< @@ -11758,16 +11805,16 @@ mod module_2555ccf7 { >, >, > = Documents::method14( - fable_library_rust::String_::fromString(v141), - v110, - v77, - v44, + fable_library_rust::String_::fromString(v895), + v862, + v827, + v792, ); - let v146 = tokio::runtime::Builder::new_multi_thread() + let v900 = tokio::runtime::Builder::new_multi_thread() .enable_all() .build() .unwrap(); - let v148: Result< + let v902: Result< Vec< Result< LrcPtr<( @@ -11778,8 +11825,8 @@ mod module_2555ccf7 { >, >, std::string::String, - > = v146.handle().block_on(v144); - let v150: Vec< + > = v900.handle().block_on(v898); + let v904: Vec< Result< LrcPtr<( string, @@ -11787,7 +11834,7 @@ mod module_2555ccf7 { )>, std::string::String, >, - > = v148.unwrap(); + > = v902.unwrap(); 0_i32 } pub fn v0() -> Func0<()> {